Downloads · 30 days
25
2% of all-time downloads
MaliosDark/Nexus-Erebus-3M
Nexus-Erebus-3M is a text generation model from MaliosDark. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as mit.
Downloads · 30 days
25
2% of all-time downloads
All-time downloads
1.2K
Public
Parameters
3M
14.5 MB on disk
Likes
3
Public
Click a slice to open those files.
.safetensors6 MB · 69%
From the Hugging Face model README

A 3-million-parameter language model trained from scratch. It is an arithmetic specialist: it handles integer arithmetic well for its size, and stays near chance on general tasks, at a footprint that runs almost anywhere.
The model reads and writes numbers least-significant-digit first, with a digit-atomic tokenizer.
Aligning carry propagation with reading order is what lets a model this small do arithmetic. The digit
reversal happens inside the tokenizer, so you pass and receive normal text. This requires
trust_remote_code=True.
from transformers import AutoModelForCausalLM, AutoTokenizer
tok = AutoTokenizer.from_pretrained("MaliosDark/Nexus-Erebus-3M", trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained("MaliosDark/Nexus-Erebus-3M")
Full test sets, 0-shot. acc_norm for multiple choice, accuracy for ArithMark-2.
| Task | Score |
|---|---|
| ArithMark-2 | 70.72 |
| PIQA | 51.41 |
| HellaSwag | 26.59 |
| ARC-Easy | 27.02 |
| ARC-Challenge | 20.65 |
The model is built for integer arithmetic. Non-arithmetic tasks sit near chance, which is expected at this size.
python benchmark_nexus_arithmark.py MaliosDark/Nexus-Erebus-3M
Pretrained from scratch with a digit-atomic 4k tokenizer, least-significant-digit order, and a large stream of freshly generated synthetic integer arithmetic (addition, subtraction, multiplication, exact division, mixed and parenthesised multi-operator expressions), mixed with TinyStories for language. Then a short fine-tune on public benchmark train splits plus more arithmetic. No evaluation items were used at any stage. Fresh generation, never reusing a fixed pool, is what stops the model from memorising instead of learning.
MIT. Trained from scratch: 100% original weights, own tokenizer, no base model.