Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
datasets:
|
| 4 |
+
- sgoel9/paul_graham_essays
|
| 5 |
+
---
|
| 6 |
+
This is the trained model file for Ch2 - LLMs are MultiTask Learners.
|
| 7 |
+
This chapter creates a GPT2-124M from scratch for text generation. Please use the `best_model.pt` checkpoint for inference.
|
| 8 |
+
Since, we have pre-trained on a small amount of data, the model has overfitted, but can still generate sensible text.
|
| 9 |
+
|
| 10 |
+
## Plots
|
| 11 |
+
Loss (Train):
|
| 12 |
+
|
| 13 |
+

|
| 14 |
+
|
| 15 |
+
Perplexity (Train):
|
| 16 |
+

|
| 17 |
+
|
| 18 |
+
Loss (Val):
|
| 19 |
+
|
| 20 |
+

|
| 21 |
+
|
| 22 |
+
Perplexixty (Val):
|
| 23 |
+
|
| 24 |
+
|
| 25 |
+

|
| 26 |
+
|