01 Language Model
dassie-50m
A ~55M parameter language model built from scratch in PyTorch and trained on TinyStoriesV2-GPT4. A hand-written Llama-style transformer (RMSNorm, rotary embeddings, SwiGLU) whose weights export to Hugging Face's LlamaForCausalLM, so it runs in transformers, llama.cpp and Ollama with no custom code.
- Python
- PyTorch
- Transformers
- Tokenizers
- Hugging Face
- Apple MPS
