Upload folder using huggingface_hub
Browse files- README.md +1 -1
- model.pt +2 -2
- tokenizer.json +0 -0
README.md
CHANGED
|
@@ -12,7 +12,7 @@ on 20,000 TinyStories, as a learning project. Use case: a bedtime story starter
|
|
| 12 |
- Architecture: 6 transformer blocks, 4 heads, 256-dim embeddings, 256-token context
|
| 13 |
- Tokenizer: byte-level BPE, 4,096 tokens, trained on the same data
|
| 14 |
- Training: 1500 steps, batch 32, AdamW, cosine schedule
|
| 15 |
-
- Final validation loss 2.
|
| 16 |
|
| 17 |
The full build, explained step by step, is in `tiny_llm_from_scratch.ipynb` in this repo.
|
| 18 |
Load with plain PyTorch: `GPT(cfg).load_state_dict(torch.load("model.pt"))`.
|
|
|
|
| 12 |
- Architecture: 6 transformer blocks, 4 heads, 256-dim embeddings, 256-token context
|
| 13 |
- Tokenizer: byte-level BPE, 4,096 tokens, trained on the same data
|
| 14 |
- Training: 1500 steps, batch 32, AdamW, cosine schedule
|
| 15 |
+
- Final validation loss 2.315 (perplexity 10.1)
|
| 16 |
|
| 17 |
The full build, explained step by step, is in `tiny_llm_from_scratch.ipynb` in this repo.
|
| 18 |
Load with plain PyTorch: `GPT(cfg).load_state_dict(torch.load("model.pt"))`.
|
model.pt
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4355a3961c5ab8a4367ded941d3b88019d5c1feeb3d0aa569a428a741dea2540
|
| 3 |
+
size 23434075
|
tokenizer.json
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|