A 128M parameter GPT-style transformer built from scratch for educational purposes, featuring Grouped Multi-Query Attention (GQA), SwiGLU, RMSNorm, and RoPE.
Model Details
Model Description
LumenBase is a decoder-only transformer language model implementing modern architectural optimizations:
Architecture: 12-layer transformer with GQA (12 query heads, 4 KV heads), SwiGLU activation, RMSNorm, and RoPE
Recommendations: This is an educational model. Verify all outputs, implement content filtering for applications, and use production-ready models for commercial use.
Training
Data: Custom datasets tokenized with BPE (32K vocab)
Summary: Baseline performance consistent with a 128M educational model. Results show capability on easier tasks with room for improvement on complex reasoning.
1@misc{lumenbase2024,
2 author = {Jangra, Hariom},
3 title = {LumenBase: A 128M Parameter Language Model Built from Scratch},
4 year = {2025},
5 publisher = {GitHub},
6 howpublished = {\url{https://github.com/HariomJangra/project-lumen}}
7}