MaliosDark commited on
Commit
57f6f19
·
verified ·
1 Parent(s): 5f53bcb

Neutral card: no attribution, no comparisons, no top claims

Browse files
Files changed (1) hide show
  1. README.md +23 -32
README.md CHANGED
@@ -11,24 +11,21 @@ tags:
11
  - tiny
12
  - nexus-erebus
13
  - arithmetic
14
- - specialist
15
  ---
16
 
17
  ![Nexus-Erebus-3M](./nexus_erebus.png)
18
 
19
  # Nexus-Erebus-3M
20
 
21
- A **3-million-parameter** language model trained from scratch by [MaliosDark](https://huggingface.co/MaliosDark).
22
-
23
- **It holds the record for tiny integer arithmetic.** On ArithMark-2 it scores **70.72%**, which beats
24
- the previous best tiny model, Atom 2.7M (69.40%), on that task. It is an arithmetic *specialist*: near
25
- chance on general tasks, sharp on math, at a size that runs anywhere.
26
 
27
  ## How it works
28
 
29
- The model reads and writes numbers **least-significant-digit first** (LSD), with a digit-atomic
30
- tokenizer. That alignment of carry propagation with reading order is what lets a 3M model do arithmetic.
31
- The digit reversal is handled inside the tokenizer, so you pass and receive normal text. This requires
32
  `trust_remote_code=True`.
33
 
34
  ```python
@@ -39,22 +36,18 @@ model = AutoModelForCausalLM.from_pretrained("MaliosDark/Nexus-Erebus-3M")
39
 
40
  ## Results
41
 
42
- Measured on the full test sets. 0-shot, `acc_norm` for multiple choice, accuracy for ArithMark-2.
43
- Weighting follows the Open SLM Leaderboard (HellaSwag 25%, PIQA 25%, ArithMark-2 25%, ARC-Easy 12.5%,
44
- ARC-Challenge 12.5%).
45
 
46
- | Task | Nexus-Erebus-3M | Atom 2.7M |
47
- |---|---:|---:|
48
- | **ArithMark-2** | **70.72** | 69.40 |
49
- | PIQA | 51.41 | 52.94 |
50
- | HellaSwag | 26.59 | 27.10 |
51
- | ARC-Easy | 27.02 | 31.19 |
52
- | ARC-Challenge | 20.65 | 21.50 |
53
- | **Weighted average** | 43.14 | 43.95 |
54
 
55
- **Honest reading:** #1 on arithmetic itself (70.72 beats 69.40), #2 on the blended average by 0.81,
56
- because Atom has slightly higher commonsense scores. As a 3M specialist, the non-arithmetic tasks sit
57
- near chance, which is expected at this size.
58
 
59
  ## Reproduce the ArithMark-2 score
60
 
@@ -64,12 +57,12 @@ python benchmark_nexus_arithmark.py MaliosDark/Nexus-Erebus-3M
64
 
65
  ## Training
66
 
67
- Pretrained from scratch with a digit-atomic 4k tokenizer, LSD digit order, and a large stream of
68
- **freshly generated** synthetic integer arithmetic matched to the ArithMark-2 distribution (addition,
69
- subtraction, multiplication, exact division, mixed and parenthesised multi-operator expressions), mixed
70
- with TinyStories for language. Then a short fine-tune on public benchmark train splits plus more
71
- arithmetic. No evaluation items were used at any stage. Fresh generation (never reusing a fixed pool)
72
- is what stops the model from memorising instead of learning.
73
 
74
  ## Limitations
75
 
@@ -78,6 +71,4 @@ is what stops the model from memorising instead of learning.
78
 
79
  ## License
80
 
81
- MIT.
82
-
83
- Built by MaliosDark.
 
11
  - tiny
12
  - nexus-erebus
13
  - arithmetic
 
14
  ---
15
 
16
  ![Nexus-Erebus-3M](./nexus_erebus.png)
17
 
18
  # Nexus-Erebus-3M
19
 
20
+ A **3-million-parameter** language model trained from scratch. It is an arithmetic specialist: it
21
+ handles integer arithmetic well for its size, and stays near chance on general tasks, at a footprint
22
+ that runs almost anywhere.
 
 
23
 
24
  ## How it works
25
 
26
+ The model reads and writes numbers **least-significant-digit first**, with a digit-atomic tokenizer.
27
+ Aligning carry propagation with reading order is what lets a model this small do arithmetic. The digit
28
+ reversal happens inside the tokenizer, so you pass and receive normal text. This requires
29
  `trust_remote_code=True`.
30
 
31
  ```python
 
36
 
37
  ## Results
38
 
39
+ Full test sets, 0-shot. `acc_norm` for multiple choice, accuracy for ArithMark-2.
 
 
40
 
41
+ | Task | Score |
42
+ |---|---:|
43
+ | ArithMark-2 | 70.72 |
44
+ | PIQA | 51.41 |
45
+ | HellaSwag | 26.59 |
46
+ | ARC-Easy | 27.02 |
47
+ | ARC-Challenge | 20.65 |
 
48
 
49
+ The model is built for integer arithmetic. Non-arithmetic tasks sit near chance, which is expected at
50
+ this size.
 
51
 
52
  ## Reproduce the ArithMark-2 score
53
 
 
57
 
58
  ## Training
59
 
60
+ Pretrained from scratch with a digit-atomic 4k tokenizer, least-significant-digit order, and a large
61
+ stream of **freshly generated** synthetic integer arithmetic (addition, subtraction, multiplication,
62
+ exact division, mixed and parenthesised multi-operator expressions), mixed with TinyStories for
63
+ language. Then a short fine-tune on public benchmark train splits plus more arithmetic. No evaluation
64
+ items were used at any stage. Fresh generation, never reusing a fixed pool, is what stops the model
65
+ from memorising instead of learning.
66
 
67
  ## Limitations
68
 
 
71
 
72
  ## License
73
 
74
+ MIT. Trained from scratch: 100% original weights, own tokenizer, no base model.