Compactbot commited on
Commit
678c6de
·
verified ·
1 Parent(s): 317a605

Add dataset card (was 404): architecture-to-scores panel, 6 models

Browse files
Files changed (1) hide show
  1. README.md +87 -0
README.md ADDED
@@ -0,0 +1,87 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ language:
4
+ - en
5
+ tags:
6
+ - slm
7
+ - small-language-model
8
+ - benchmark
9
+ - architecture
10
+ - lm-eval
11
+ - from-scratch
12
+ - comparison
13
+ size_categories:
14
+ - 10M<n<=100M
15
+ - 100M<n<=1B
16
+ ---
17
+
18
+ # SLM Architecture → Scores Panel
19
+
20
+ A small, curated comparison table of **6 small language models** mapping each
21
+ model's *architecture* to its *measured benchmark scores*. The goal is to make
22
+ the often-hidden link between "what a model is built from" and "how it actually
23
+ scores" visible and diffable — useful when reasoning about which architectural
24
+ choices (attention pattern, norm, activation, weight tying, vocab size) show up
25
+ in downstream task accuracy at small scale.
26
+
27
+ ## What is in this file
28
+
29
+ `rows.jsonl` — one JSON object per model. Each row carries:
30
+
31
+ - **Identity & scale**: `model_id`, `params`, `family`, `training_tokens`,
32
+ `tok_per_param`.
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.