Downloads · 30 days
0
Hera-Berg/sana-100M-base
sana-100M-base is a machine learning model from Hera-Berg. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
Sana 100M Base is a small decoder-only language model trained from scratch using a custom PyTorch implementation. The model is designed as an educational and experimental base model for studying language model pretrai…
Downloads · 30 days
0
Access
Public
Updated Jul 1, 2026
Repo size
1.2 GB
Likes
0
Public
Click a slice to open those files.
.pt1.2 GB · 100%
From the Hugging Face model README
Sana 100M Base is a small decoder-only language model trained from scratch using a custom PyTorch implementation. The model is designed as an educational and experimental base model for studying language model pretraining, tokenizer construction, fine-tuning, and inference without relying on high-level model libraries such as Hugging Face Transformers or SentencePiece.
The model has approximately 100 million parameters and uses a hand-built 16,000-token BPE tokenizer trained in pure Python. The full training pipeline includes data preparation, tokenizer training, pretraining, supervised fine-tuning, testing, and interactive inference.
Sana 100M Base is a GPT-style Transformer language model with:
The model and tokenizer are implemented from scratch using PyTorch and standard Python utilities.
The base model was pretrained on educational web text from FineWeb-Edu. The pretraining objective is standard causal language modelling: predicting the next token from previous tokens.
The model is intended to learn general language patterns, basic factual associations, reasoning patterns, and text continuation ability from pretraining.
This model is intended for:
It is not intended for production use, high-stakes decision-making, medical advice, legal advice, financial advice, or safety-critical applications.
Sana 100M Base is a very small language model compared with modern production LLMs. It may:
The model does not have built-in retrieval, browsing, or external knowledge access unless connected to a separate RAG or tool system.
Because this is a base model, it is not fully instruction-following or safety-aligned. Outputs should be treated as experimental. Users should verify important information independently and avoid using the model for sensitive or high-impact decisions.
This project intentionally avoids high-level model frameworks. The goal is to show the full language model pipeline end-to-end: