Downloads · 30 days
253
51% of all-time downloads
SauravP97/tiny-stories-19M
tiny-stories-19M is a text generation model from SauravP97. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as mit.
This is a reproduction of a 19.3 million parameter language model from scratch by following the paper TinyStories: How Small Can Language Models Be and Still Speak Coherent English?. The goal of this project is to dem…
Downloads · 30 days
253
51% of all-time downloads
All-time downloads
493
Public
Parameters
19.3M
77.2 MB on disk
Likes
2
Public
Click a slice to open those files.
.safetensors77.2 MB · 100%
From the Hugging Face model README
This is a reproduction of a 19.3 million parameter language model from scratch by following the paper TinyStories: How Small Can Language Models Be and Still Speak Coherent English?. The goal of this project is to demostrate that a very small transformer model, when trained on a simpliefied synthetic dataset, can generate fluent, grammatically correct and consistent short stories.
This is the model card of a 🤗 transformers model that has been pushed on the Hub.
The model was trained on the TinyStories dataset, which consist of synthetic short stories generated by GPT-3.5/4. The stories use a restricted vocabulary typical of a 3-year-old child.
The model was trained from scratch on a NVIDIA A100 GPU for around 5 hours to achieve a loss of 1.40. The model was trained for 1 epoch estimating around 265K steps.
We used EleutherAI/gpt-neo-125M tokenizer model training and inference.