File size: 788 Bytes
b1f2aeb
 
 
cd810f2
 
 
 
 
 
b1f2aeb
 
 
 
 
 
 
 
7554be3
68d81c9
 
 
7554be3
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# LLM From Scratch
_Ibrahim Khalid_

---
This repo is outdated due to github LFS limits  
The updated project is now available on [HuggingFace](https://huggingface.co/spaces/ibrahimmkhalid/llm-from-scratch)  

---

The purpose of this project is to build a simple large language model from scratch.


This repo is following the guide from https://www.youtube.com/watch?v=UU1WVnMk4E8

In this repo:
- ./shakespeare.txt - This is a sample text used for training a smaller scale model
- ./bigram_testing.sync.ipynb - This notebook is where I test a basic BiGram model
- ./gpt_shakespeare.sync.ipynb - Notebook implementing simple GPT model using entire works of shakespeare


### Prepare environment
```
pip install -r ./requirements-base.txt  
pip install -r ./requirements-pytorch.txt
```