Update README.md
Browse files
README.md
CHANGED
|
@@ -4,3 +4,22 @@ license: apache-2.0
|
|
| 4 |
|
| 5 |
|
| 6 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
|
| 5 |
|
| 6 |
---
|
| 7 |
+
|
| 8 |
+
This is a one million language model trained 10 epochs on a textdataset consisting av 7 billion characters of swedish books. It uses utf-8 byte level encoding, so it basically sees
|
| 9 |
+
and generates individual characters instead oof word groups. More specific characters like "åäö" and emojis are represented with more than one token in the utf8 encoding.
|
| 10 |
+
|
| 11 |
+
My goal was to make a model that is really trained. It makes it more worth it to download and use a model every parameters is being utizied.
|
| 12 |
+
I feel that many models with larger parameter counts seem undertrained by examining their NLL(loss value)
|
| 13 |
+
in their training set with respect through time/iteration. If the shape of the "loss curve" follow a clear straight line downwords to the last training iteration
|
| 14 |
+
then I would deifne that model as undertrained.
|
| 15 |
+
|
| 16 |
+
Even though I trained the one million parameter model on a total of 70 billion tokens trough all epochs, I can still detect a sign of improved loss
|
| 17 |
+
all the way to the last iteration. For reference, a more reasonable training amount for this model, lands much lower, it would be just 20 million tokens as predicted by https://arxiv.org/pdf/2203.15556,
|
| 18 |
+
or maybe a bit more since there is less information per token in this case, either way it's many orders of magnitude less.
|
| 19 |
+
|
| 20 |
+
But I think my model is far from undertrained since the graph I am showing is a log-log plot, so if this model were trained for many magnitued more the gain would be very little.
|
| 21 |
+
So the the goal succeded.
|
| 22 |
+
|
| 23 |
+
The training of this model was made on an rtx laptop and took about 70 hours. I will upload all necessary files to train it based on a dataset.
|
| 24 |
+
|
| 25 |
+
Releasing files when model is finished training
|