tinystories

A 29.5M-parameter decoder-only GPT trained from scratch on 543M tokens of TinyStories V2 (GPT-4). Its task is prompt-conditioned English story completion.

Use with Ollama

ollama pull hf.co/TLNKhanh/tinystories
ollama run hf.co/TLNKhanh/tinystories "Once upon a time"

The repo also contains Ollama template and params files so no Modelfile is needed. Context is 256 tokens (the training block size). This is a base completion model, not a chatbot: give it a story opening, e.g. "Once upon a time, there was a little girl named Lucy".

Files

  • tinystories-f16.gguf - the model (GGUF, F16)
  • template - Ollama Go template (raw prompt, no chat wrapper)
  • params - Ollama sampling parameters
  • Modelfile - for local ollama create if preferred

Trained on an RTX 3060 over ~6 hours. Validation loss 1.1885.

Downloads last month
39
GGUF
Model size
29.5M params
Architecture
gpt2
Hardware compatibility
Log In to add your hardware

16-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support