Views
No views yet
⚠️ Educational / experimental model. TinyBuddy-500K is a from-scratch tiny Llama-style language model (~547K parameters) trained on a synthetic slice of TinyStories-style text. It is not a useful assistant — it is a working demonstration of training extremely small models from scratch. See the Limitations section.
| Hyperparameter | Value |
|---|---|
| Parameters | 547,296 (~547K) |
| Layers | 2 |
| Attention heads | 4 |
| Key-Value heads (GQA) | 2 |
| Hidden size | 96 |
| MLP intermediate size | 384 |
| Context length | 512 |
| Vocab size | 2,048 (BPE trained from scratch) |
| Norm | RMSNorm |
| Activation | SiLU |
| Position embeddings | Learned absolute |
| Weight tying | Yes (tied embeddings) |
| Precision | float32 |
trust_remote_code=True.1from transformers import AutoModelForCausalLM, AutoTokenizer
2import torch
3
4repo = "Eeppa/TinyBuddy-500K"
5
6tokenizer = AutoTokenizer.from_pretrained(repo, trust_remote_code=True)
7model = AutoModelForCausalLM.from_pretrained(repo, trust_remote_code=True)
8model.eval()
9
10prompt = "Once upon a time, there was a little girl named Lily."
11input_ids = tokenizer.encode(prompt, return_tensors="pt")
12
13out = model.generate(input_ids, max_new_tokens=60, temperature=0.8, top_k=50)
14print(tokenizer.decode(out[0], skip_special_tokens=True))1@misc{tinybuddy500k,
2 title = {TinyBuddy-500K: An educational ~500K parameter Llama-style model trained on TinyStories},
3 year = {2026},
4 note = {Educational demonstration of extremely small language models.}
5}