tinystories / README.md
TLNKhanh's picture
Upload README.md with huggingface_hub
9d16ac6 verified
|
Raw History Blame Contribute Delete
964 Bytes
---
library: gguf
pipeline_tag: text-generation
tags:
- gguf
- ollama
- tinystories
- story-generation
---
# 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
```bash
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.