Downloads · 30 days
0
Atharva31/smallm-from-scratch
smallm-from-scratch is a machine learning model from Atharva31. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
SmaLLM is a compact causal language model implemented entirely from scratch in PyTorch. It follows modern architectural conventions inspired by LLaMA and other contemporary small language models, avoiding legacy Trans…
Downloads · 30 days
0
Access
Public
Updated Jul 23, 2026
Repo size
290 MB
Likes
0
Public
Click a slice to open those files.
.pt290 MB · 80%
From the Hugging Face model README
SmaLLM is a compact causal language model implemented entirely from scratch in PyTorch. It follows modern architectural conventions inspired by LLaMA and other contemporary small language models, avoiding legacy Transformer components (absolute positional embeddings, LayerNorm, standard ReLU FFN).
The model was designed as a learning project to demonstrate understanding of modern LM architecture components and training infrastructure — not for production deployment.