Atom Zero 150M
A compact language model trained from scratch
2 min readupdated
The Atom Zero 150M model is a compact LLM (large language model) built with a decoder-only transformer architecture, trained completely from scratch on a specialized text corpus. It handles text chat, document processing, and precise copying of short records while consuming minimal resources. What sets it apart from similar small models is its full training on nearly a billion tokens and a two-stage post-training pipeline, including an SFT (supervised fine-tuning) phase and safety alignment. The model is well-suited for developers looking to run it locally and build lightweight applications without relying on cloud APIs.
Key features
- 147 million parameters with a checkpoint size of about 623 MB, allowing it to run locally on a CPU or low-end GPU.
- Trained on a corpus of nearly 950 million tokens, including web texts, code, math, and dialogues.
- Two-stage post-training featuring conversational SFT and crisis filtering for safe responses.
- 512-token context limit with a focus on chunked processing of long documents.
What you can do
- Launch an interactive local interface via the official atomzero library for working with text.
- Use the model for RAG (retrieval-augmented generation) tasks on text documents and files.
- Perform precise copying of short structured records and JSON structures.
- Integrate the lightweight model into a local bot or script for autonomous processing of English-language requests.
Example
pip install --upgrade atomzero==3.2.0
atomzero-quickstart \
--model-repo byjameson/atom-zero-150m \
--cache ~/.cache/atomzero/atom-zero-150mRead more
DetailsParameters: 147,473,408, layers: 11, width: 1,024, attention heads: 16.
Validation loss: 0.7425, perplexity: 2.10.
The tokenizer and training data support only the English language.
License: Apache-2.0 for code and weights.










Comments