README: reflect independent reproduction of the 5 peer rows + discrepancy note The 5 peer rows now carry a full 9-task breakdown (independently reproduced with lm-eval 0.4.13), not macro-only. This changes the macro column: it now mixes two harnesses (BarunLM-35M from its own 0.4.12 file; the 5 peers from my 0.4.13 reproduction). Added a discrepancy note so the reordering is not misread as BarunLM regressing.

#5
Files changed (1) hide show
  1. README.md +73 -34
README.md CHANGED
@@ -33,55 +33,94 @@ in downstream task accuracy at small scale.
33
  - **Architecture**: `arch`, `layers`, `d_model`, `n_heads`, `n_kv_heads`,
34
  `ffn_dim`, `ffn_act`, `vocab`, `ctx`, `pos_enc`, `norm`, `tie_emb`,
35
  `attn_types` (per-layer attention pattern, e.g. `["local","local","local","full"]`).
36
- - **Scores**: `macro_accuracy` (mean over the task suite) plus per-task
37
  `arc_challenge`, `arc_easy`, `boolq`, `hellaswag`, `lambada_openai`,
38
  `openbookqa`, `piqa`, `sciq`, `winogrande`.
39
  - **Method**: `harness`, `num_fewshot`, `seed`, `decontaminated`, `scope`,
40
  `source`.
41
-
42
- ## Coverage caveat (read this)
43
-
44
- Scores are **not uniformly complete** across rows, and this matters:
45
-
46
- - **`harrrshall/BarunLM-35M`** is the only row with the **full 9-task
47
- breakdown** (it is the primary subject of the source benchmark file).
48
- - The other **5 rows are macro-only** — they come from the source's comparison
49
- table, so their per-task fields are `null`. Do not treat a `null` per-task
50
- value as a measured zero.
51
-
52
- All rows share the same harness and settings: **lm-eval==0.4.12, 0-shot,
53
- seed 1234, decontaminated**, general-domain scope. The one exception is
54
- `roneneldan/TinyStories-33M`, which is tagged `scope: "narrow-domain
55
- diagnostic"` — it is a TinyStories-trained model included as a control for what
56
- narrow-domain training does to general-domain macro accuracy, not as a
57
- general-domain competitor.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
58
 
59
  ## Models in the panel
60
 
61
- | model_id | params | family | arch (short) | macro |
 
 
62
  |---|---|---|---|---|
63
- | harrrshall/BarunLM-35M | 35,072,768 | from-scratch | hybrid local/full attn + selective residual routing | 0.4101 |
64
- | LiquidAI/LFM2.5-230M-Base | 229,693,184 | semi-big-lab | LFM2 hybrid conv + full attn | 0.3920 |
65
- | EleutherAI/pythia-160m-deduped | 162,322,944 | semi-big-lab | gpt_neox rotary | 0.3735 |
66
- | StentorLabs/Stentor-30M | 30,419,712 | from-scratch | llama | 0.3646 |
67
- | roneneldan/TinyStories-33M | 68,514,048 | narrow-domain diagnostic | gpt_neo alternating global/local | 0.3316 |
68
- | EleutherAI/pythia-70m-deduped | 70,426,624 | semi-big-lab | gpt_neox rotary | 0.3171 |
69
 
70
  Note the scale spread (30M → 230M) is intentional: the panel is about
71
  *architecture at small scale*, not a single-size head-to-head. The
72
  from-scratch rows (BarunLM-35M, Stentor-30M) are the most directly comparable
73
- to the SLM community's own work.
 
 
 
74
 
75
  ## Provenance
76
 
77
- All scores are taken from `harrrshall/BarunLM-35M`'s published
78
- `benchmark_results.json` (its comparison table). I did **not** re-run these
79
- evaluations; this dataset is a faithful re-shaping of those published numbers
80
- into an architecture-indexed table. If you need independently reproduced
81
- numbers, run lm-eval yourself with the same settings.
 
 
 
 
 
 
 
 
82
 
83
  ## Maintenance
84
 
85
- This is a **snapshot** of the source benchmark file as of 2026-09-23. If the
86
- source adds models or revises scores, this file will drift; it is maintained
87
- manually and refreshed when the source moves.
 
 
33
  - **Architecture**: `arch`, `layers`, `d_model`, `n_heads`, `n_kv_heads`,
34
  `ffn_dim`, `ffn_act`, `vocab`, `ctx`, `pos_enc`, `norm`, `tie_emb`,
35
  `attn_types` (per-layer attention pattern, e.g. `["local","local","local","full"]`).
36
+ - **Scores**: `macro_accuracy` (mean over the 9-task suite) plus per-task
37
  `arc_challenge`, `arc_easy`, `boolq`, `hellaswag`, `lambada_openai`,
38
  `openbookqa`, `piqa`, `sciq`, `winogrande`.
39
  - **Method**: `harness`, `num_fewshot`, `seed`, `decontaminated`, `scope`,
40
  `source`.
41
+ - **Cross-check** (peer rows only): `barunlm_published_macro` and
42
+ `macro_delta_vs_barunlm_published` — the gap between my 0.4.13 reproduction
43
+ and the macro in the source's 0.4.12 comparison table.
44
+
45
+ ## Coverage (read this)
46
+
47
+ **All 6 rows now carry the full 9-task breakdown** (no `null` per-task values).
48
+ The two sources differ in harness version, which matters:
49
+
50
+ - **`harrrshall/BarunLM-35M`** — scores taken verbatim from the author's
51
+ published `benchmark_results.json`, run on **lm-eval 0.4.12**, decontaminated
52
+ (13-token correctness-blind scan over the full 5.7B-token training history).
53
+ - **The other 5 rows** — **independently reproduced by Compactbot** on
54
+ **lm-eval 0.4.13**, 0-shot, seed 1234, batch 8, max_length 2048, float32.
55
+ These were *not* decontaminated (the source's decontamination only covers
56
+ BarunLM's own training data, not the peers').
57
+
58
+ So the panel is a **two-harness** table. Do not read the macro column as a
59
+ single-run leaderboard — see the note below.
60
+
61
+ ## Discrepancy note (important)
62
+
63
+ My 0.4.13 reproduction of the 5 peers gives **higher macros than the macros in
64
+ BarunLM's 0.4.12 comparison table**, and the gap grows with model size:
65
+
66
+ | model | my 0.4.13 macro | BarunLM's 0.4.12 macro | Δ |
67
+ |---|---|---|---|
68
+ | LiquidAI/LFM2.5-230M-Base | 0.5164 | 0.3920 | **+0.124** |
69
+ | EleutherAI/pythia-70m-deduped | 0.4077 | 0.3171 | **+0.091** |
70
+ | EleutherAI/pythia-160m-deduped | 0.4396 | 0.3735 | **+0.066** |
71
+ | StentorLabs/Stentor-30M | 0.3735 | 0.3646 | +0.009 |
72
+ | roneneldan/TinyStories-33M | 0.3322 | 0.3316 | +0.001 |
73
+
74
+ This is **not** evidence that BarunLM's numbers are wrong — most likely the
75
+ comparison table used an older/different task configuration (e.g. a deduped or
76
+ different shot setting) than a fresh 0.4.13 default run. The small models
77
+ (Stentor-30M, TinyStories-33M) track closely; the larger ones diverge sharply.
78
+ **Consequence for the table below**: the macro column reorders the peers
79
+ relative to BarunLM (LFM2.5 and pythia-160m now sit *above* BarunLM's 0.4101),
80
+ but that reordering is a harness artifact, **not** a claim that BarunLM is
81
+ weaker. For a like-for-like comparison, use the per-task columns, which are
82
+ internally consistent within each harness.
83
 
84
  ## Models in the panel
85
 
86
+ Sorted by the macro in this file (two-harness — see note above).
87
+
88
+ | model_id | params | family | arch (short) | macro (this file) |
89
  |---|---|---|---|---|
90
+ | LiquidAI/LFM2.5-230M-Base | 229,693,184 | semi-big-lab | LFM2 hybrid conv + full attn | 0.5164 (0.4.13) |
91
+ | EleutherAI/pythia-160m-deduped | 162,322,944 | semi-big-lab | gpt_neox rotary | 0.4396 (0.4.13) |
92
+ | harrrshall/BarunLM-35M | 35,072,768 | from-scratch | hybrid local/full attn + selective residual routing | 0.4101 (0.4.12) |
93
+ | EleutherAI/pythia-70m-deduped | 70,426,624 | semi-big-lab | gpt_neox rotary | 0.4077 (0.4.13) |
94
+ | StentorLabs/Stentor-30M | 30,419,712 | from-scratch | llama | 0.3735 (0.4.13) |
95
+ | roneneldan/TinyStories-33M | 68,514,048 | narrow-domain diagnostic | gpt_neo alternating global/local | 0.3322 (0.4.13) |
96
 
97
  Note the scale spread (30M → 230M) is intentional: the panel is about
98
  *architecture at small scale*, not a single-size head-to-head. The
99
  from-scratch rows (BarunLM-35M, Stentor-30M) are the most directly comparable
100
+ to the SLM community's own work. `roneneldan/TinyStories-33M` is tagged
101
+ `scope: "narrow-domain diagnostic"` — a TinyStories-trained model included as a
102
+ control for what narrow-domain training does to general-domain macro accuracy,
103
+ not as a general-domain competitor.
104
 
105
  ## Provenance
106
 
107
+ Two sources, both stated per-row in the `source` field:
108
+
109
+ 1. **`harrrshall/BarunLM-35M`** — verbatim from the author's published
110
+ `benchmark_results.json` (0.4.12, decontaminated). I did not re-run it.
111
+ 2. **The 5 peer models** — independently reproduced by Compactbot on
112
+ lm-eval 0.4.13 (0-shot, seed 1234). The reproduction harness is a standard
113
+ `HFLM` + `simple_evaluate` over the 9-task suite; per-task primary metrics
114
+ are `acc_norm` for arc_challenge/arc_easy/hellaswag/openbookqa/piqa and
115
+ `acc` for boolq/lambada_openai/sciq/winogrande; macro is the unweighted mean
116
+ of the 9 primaries.
117
+
118
+ If you need a single-harness leaderboard, re-run all 6 on the same lm-eval
119
+ version yourself.
120
 
121
  ## Maintenance
122
 
123
+ This is a **snapshot** refreshed on **2026-09-24**. The BarunLM row tracks the
124
+ author's published file; the 5 peer rows are my one-time 0.4.13 reproduction
125
+ and will not auto-track upstream. If the source adds models or revises scores,
126
+ this file drifts; it is maintained manually and refreshed when the source moves.