tiny-storry-51m
A small German language model trained from scratch for simple children's stories. GGUF files are ready for llama.cpp.
Model details
- Architecture: LLaMA-style causal LM (RMSNorm, SwiGLU, RoPE, tied embeddings)
- Layers: 9, hidden size 640, FFN 1792, 10 attention heads (head_dim 64)
- Parameters: 50,966,400 (~51M)
- Context length: 256 tokens
- Vocabulary: 8192 (SentencePiece BPE, byte_fallback)
- Language: German
Training data
- fabi2347/TinyStoriesGerman (~1.63M stories after filtering)
- SkySyrup/tinystories_german (quality subset, ~168k stories)
- Validation set (1,400 stories) held out by hash, never seen in training
- 1.175B tokens seen (2 passes over the data)
- Trained on 1070 8gb (22h)
- Runs on PI3 B with 31-38tk/s
Training
- 55,903 steps, AdamW lr 3e-4, batch 64, 2000 warmup steps + cosine decay
- Final loss: train 1.15 / validation 1.31
Files
| File | Size | Quantization |
|---|---|---|
| own-storry-f16.gguf | 107 MB | F16 |
| own-storry-q8_0.gguf | 57 MB | Q8_0 |
| own-storry-q4_k_m.gguf | 40 MB | Q4_K_M |
Example
Prompt: Es war einmal
Output: ein kleines Maedchen namens Lily. Sie liebte es, mit ihren Spielsachen zu spielen und zu malen. Eines Tages kam Lilys Mutter herein und sagte: "Lily, lass uns zusammen ein Puzzle fertigstellen!" ... Sie spielten zusammen und hatten Spass. Das Ende.
License
CDLA-Sharing-1.0, matching the license of the base dataset and model this work is derived from.