Downloads · 30 days
34
4% of all-time downloads
RameshRathod/ego-153m-modern
ego-153m-modern is a text generation model from RameshRathod. Use it when you need the model to write or continue text. It is set up for pytorch. The card lists the license as apache-2.0.
Ego-153M-Modern is a 153M-parameter decoder-only Transformer trained from scratch as a hands-on exploration of modern LLM architecture, optimization, and deployment workflows.
Downloads · 30 days
34
4% of all-time downloads
All-time downloads
818
Public
Parameters
153M
2.4 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors611 MB · 100%
From the Hugging Face model README
Ego-153M-Modern is a 153M-parameter decoder-only Transformer trained from scratch as a hands-on exploration of modern LLM architecture, optimization, and deployment workflows.
This project is intentionally positioned between research and engineering:
The goal is deep systems understanding, not state-of-the-art benchmarks.
After working extensively with API-based LLMs and RAG systems, I wanted to go deeper and understand:
Ego-153M-Modern is the result of that exploration.
Grouped Query Attention (GQA)
Improves memory efficiency while retaining attention quality
RoPE (Rotary Positional Embeddings)
Precomputed and applied at attention time
RMSNorm (no LayerNorm)
Lower overhead and more stable scaling at depth
ReLU² Activation
Simple, fast nonlinearity explored in recent scaling work
Untied Embeddings & LM Head
Chosen deliberately for flexibility and experimentation
Residual Gating Parameters
Learnable residual scaling and input mixing per layer
Logit Softcapping
Stabilizes logits during training and early inference
torch.compileThis hybrid optimizer setup was chosen to explore convergence behavior in large matrix-heavy models.
safetensorstiktoken compatible)This repository intentionally avoids forcing the model into a GPT-2 or LLaMA template to preserve architectural fidelity.
Built by Ramesh Rathod as part of a broader journey across:
Happy to discuss architecture, training trade-offs, and system design.
For research and educational use.