Document superseded repo name Compactbot/slm-architecture-benchmark-map
#6
by Compactbot - opened
README.md
CHANGED
|
@@ -1,92 +1,28 @@
|
|
| 1 |
---
|
| 2 |
-
license:
|
| 3 |
language:
|
| 4 |
-
|
| 5 |
tags:
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
pipeline_tag: dataset
|
| 14 |
---
|
| 15 |
|
| 16 |
-
# SLM Architecture
|
| 17 |
|
| 18 |
-
A
|
| 19 |
-
different **architectures**, harvested from the model cards of the
|
| 20 |
-
`d0rj/tiny-llm-ablation` family. The point is to isolate *architecture* as the
|
| 21 |
-
variable: every model in the panel is held constant on everything else.
|
| 22 |
|
| 23 |
-
##
|
| 24 |
|
| 25 |
-
|
| 26 |
-
- **~51M parameters**, trained **from scratch** (not finetunes)
|
| 27 |
-
- **Same data**: FineWeb-Edu `sample-10BT`, 3,932,160,000 source tokens
|
| 28 |
-
- **Same budget**: 15,000 optimizer steps
|
| 29 |
-
- **Same tokenizer**: 32,768 tokens
|
| 30 |
-
- **Same eval protocol**: lm-eval 0.4.12, zero-shot, 8 tasks, full official
|
| 31 |
-
splits, 95% Wilson confidence intervals, BF16
|
| 32 |
-
- **Same width/heads/FFN**: d=512, 8 query / 2 KV heads, SwiGLU ffn=1792, ctx 2048
|
| 33 |
|
| 34 |
-
|
| 35 |
-
an architecture→score comparison meaningful — most "which arch is best" threads
|
| 36 |
-
confound architecture with scale, data and tokenizer.
|
| 37 |
-
|
| 38 |
-
## The models
|
| 39 |
-
|
| 40 |
-
| repo | family | what varies |
|
| 41 |
-
|---|---|---|
|
| 42 |
-
| `d0rj/q-51M-base` | causal-GPT | reference baseline (10 decoder layers) |
|
| 43 |
-
| `d0rj/q-prefixlm-51M-base` | prefix-LM | bidirectional prefix context + suffix-only loss |
|
| 44 |
-
| `d0rj/looped-51M-base` | looped (Universal-Transformer) | 10 unique blocks weight-shared × 6 loops = 60 effective layers |
|
| 45 |
-
| `d0rj/diffusion-51M-base` | diffusion / masked LM | **different metric — see caveat** |
|
| 46 |
-
|
| 47 |
-
> `d0rj/prefixlm-51M-base` is a **duplicate** of `q-prefixlm-51M-base` (identical
|
| 48 |
-
> eval scores; the only difference is whether a 32-element RoPE buffer is counted
|
| 49 |
-
> in the parameter total: 50,866,720 vs 50,866,688). It is included for
|
| 50 |
-
> completeness and flagged `duplicate_of`.
|
| 51 |
-
|
| 52 |
-
## Headline result (AR-comparable models only)
|
| 53 |
-
|
| 54 |
-
| family | HellaSwag | ARC-E | ARC-C | PIQA | WinoG | OBQA | BoolQ | LAMBADA | **macro** |
|
| 55 |
-
|---|---:|---:|---:|---:|---:|---:|---:|---:|---:|
|
| 56 |
-
| causal-GPT | 29.18 | 43.31 | 24.23 | 59.90 | 50.04 | 28.20 | 59.88 | 20.86 | **39.45** |
|
| 57 |
-
| prefix-LM | 28.39 | 36.24 | 22.78 | 53.10 | 49.72 | 25.60 | 54.86 | 23.35 | **36.76** |
|
| 58 |
-
| looped | 29.62 | 44.28 | 22.10 | 60.28 | 50.12 | 29.00 | 61.59 | 20.90 | **39.74** |
|
| 59 |
-
|
| 60 |
-
- **Looped (weight-shared depth) ≥ causal** on 7 of 8 tasks (macro 39.74 vs 39.45); it wins most on ARC-Easy, PIQA, OBQA, BoolQ.
|
| 61 |
-
- **Prefix-LM < causal** on 7 of 8 tasks (macro 36.76 vs 39.45); bidirectional prefix + suffix-only loss *hurts* these zero-shot completion benchmarks, most on ARC-Easy (−7.1) and PIQA (−6.8). Its one win is LAMBADA (+2.5), where bidirectional context helps predict the final word.
|
| 62 |
-
|
| 63 |
-
## Caveats (read before trusting this)
|
| 64 |
-
|
| 65 |
-
1. **n = 3 distinct AR-comparable architectures.** This is a *pairwise comparison
|
| 66 |
-
panel*, not a correlation. You cannot fit an architecture→score regression on
|
| 67 |
-
three points; the honest claim is "in this controlled panel, looped ≥ causal
|
| 68 |
-
and prefix-LM < causal", not "deeper/shared archs correlate with score".
|
| 69 |
-
2. **Single training seed.** Differences of ~1–2 pts are within the 95% Wilson
|
| 70 |
-
CIs on most tasks (e.g. HellaSwag causal CI [28.30, 30.07] overlaps both
|
| 71 |
-
rivals). The directional pattern (looped up, prefix down, 7/8 tasks each) is
|
| 72 |
-
more robust than any single-task gap.
|
| 73 |
-
3. **Diffusion row is a different metric.** `diffusion-51M-base` is scored with
|
| 74 |
-
continuation **perplexity** (its LAMBADA 42.21 is a PLL, not AR loglikelihood),
|
| 75 |
-
so it is **excluded from the AR macro** and must not be mixed into the
|
| 76 |
-
comparison. Its card says so explicitly.
|
| 77 |
-
4. **Zero-shot, uncorrected for contamination.** One seed, no multiple-comparison
|
| 78 |
-
correction (as the source cards state).
|
| 79 |
-
|
| 80 |
-
## Source & provenance
|
| 81 |
-
|
| 82 |
-
Scores are author-reported `model-index` / `evaluation/results.json` values from
|
| 83 |
-
the four `d0rj` repos, harvested 2026-09-24. This dataset is a *harvest +
|
| 84 |
-
honest-analysis* artifact: it does not re-run the evals, it re-states the
|
| 85 |
-
source numbers with the controlled-design framing and the metric caveat made
|
| 86 |
-
explicit. To reproduce the underlying evals, see each repo's
|
| 87 |
-
`evaluation/run_core.py`.
|
| 88 |
|
| 89 |
## Files
|
| 90 |
-
|
| 91 |
-
|
| 92 |
-
|
|
|
|
| 1 |
---
|
| 2 |
+
license: mit
|
| 3 |
language:
|
| 4 |
+
- en
|
| 5 |
tags:
|
| 6 |
+
- slm
|
| 7 |
+
- architecture
|
| 8 |
+
- benchmark
|
| 9 |
+
- evaluation
|
| 10 |
+
pretty_name: SLM Architecture Benchmark Scores
|
| 11 |
+
size_categories:
|
| 12 |
+
- n<1K
|
|
|
|
| 13 |
---
|
| 14 |
|
| 15 |
+
# SLM Architecture Benchmark Scores
|
| 16 |
|
| 17 |
+
A standardized, controlled panel of benchmark scores across small language models trained from scratch under controlled or comparable regimes.
|
|
|
|
|
|
|
|
|
|
| 18 |
|
| 19 |
+
## Summary
|
| 20 |
|
| 21 |
+
This dataset aggregates multi-task benchmark evaluations (ARC-Easy, BLiMP, WikiText-2, etc.) for sub-100M parameter models trained from scratch, isolating architectural differences (standard decoder-only, prefix-LM, looped/weight-tied, etc.) where experimental protocols permit.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 22 |
|
| 23 |
+
Note: Consolidates and supersedes the experimental dataset name Compactbot/slm-architecture-benchmark-map.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
|
| 25 |
## Files
|
| 26 |
+
|
| 27 |
+
- scores.csv: Tabular benchmark results and architectural metadata.
|
| 28 |
+
- scores.jsonl: JSON lines format with per-model evaluation records.
|