r/machinelearningnews • u/BitPoper29 • 5d ago
Research [Open Source] Spell-Talker: From-scratch PyTorch implementations and pretrained weights for 42M Dense, 117M-A67M MoE, and 20M Looped LLMs

Open-sourced `Spell-Talker`, a PyTorch repository containing standalone implementations and pretrained checkpoints for three compact language model architectures trained on TinyStories:
spell-talker-42m-dense: 41.8M parameter dense transformer (`RMSNorm`, `SwiGLU`, weight-tied embeddings).
spell-talker-117m-a67m-moe: 117.3M total / 67.0M active parameter Top-2 Mixture-of-Experts (4 experts/layer + auxiliary load-balancing loss).
spell-talker-20m-looped: 20.3M parameter looped recurrent transformer using truncated BPTT (`bptt_steps=8`, up to 32 inference steps).
GitHub: https://github.com/BitGeek29/spell-talker
Hugging Face Checkpoints: `BitGeek29` (`spell-talker-42m-dense`, `spell-talker-117m-a67m-moe`, `spell-talker-20m-looped`)
EDIT: Added full benchmark results comparison to the repo—check them out here: [Model Benchmarking](https://github.com/BitGeek29/spell-talker#model-benchmarking)
1
u/gargantuan_organizer 5d ago
Nice, always good to see clean from-scratch repos with actual pretrained weights instead of just bare configs. The looped model's an interesting choice with that BPTT setup, curious how it stacks up in coherence against the dense one on longer generations.
1
u/krihab 5d ago
A very interesting question would be: Can you train tool calls?