Downloads · 30 days
0
AGofficial/atto-2
atto-2 is a machine learning model from AGofficial. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as cc0-1.0.
Atto-2 is an exploration into Ternary Intelligence Density using the Transformer (GPT) architecture. Every weight in the Atto-2 series is constrained to the set $\{-1, 0, 1\}$, following the 1.58-bit principle.
Downloads · 30 days
0
Access
Public
Updated May 8, 2026
Repo size
—
Likes
1
Public
Click a slice to open those files.
.txt192 KB · 66%
From the Hugging Face model README
Atto-2 is an exploration into Ternary Intelligence Density using the Transformer (GPT) architecture. Every weight in the Atto-2 series is constrained to the set ${-1, 0, 1}$, following the 1.58-bit principle.
Unlike the previous N-Gram based experiments, Atto-2 uses a full Causal Self-Attention mechanism, allowing for much more "intelligent" relationships to be captured within the same parameter budget.
| Model | Parameters | Layers | Heads | Embd Dim | Weights |
|---|---|---|---|---|---|
| atto2-gpt-1k | ~1k | 1 | 1 | 8 | 1.58-bit |
| atto2-gpt-8k | ~8k | 2 | 2 | 16 | 1.58-bit |
To train the Atto-2 GPT series:
python3 train_atto.py
To evaluate the models:
python3 sample.py
The models are exported as dependency-free JSON files in the models/ directory, ready for client-side inference in a web browser. Atto-2 weights are guaranteed to be ternary.