flaviussteff commited on
Commit
826aa24
·
verified ·
1 Parent(s): 97481c7

Model card for spp-ro-base

Browse files
Files changed (1) hide show
  1. README.md +14 -11
README.md CHANGED
@@ -19,8 +19,8 @@ Part of **SPP-Ro** (https://github.com/flaviussteff/spp-ro): a compute-matched,
19
 
20
  ## Training
21
 
22
- * **Data.** 1.5M Romanian documents (FineWeb-2 RO, Wikipedia RO, press), read in a fixed-seed order that is identical for every model of the family. 150,000 documents (10 %) have a reflection in the sidecar: the 75,000 best-scored documents of a safety classifier plus 75,000 benign ones; reflections average 36 tokens (~0.67 % of the trained tokens).
23
- * **Schedule.** 50,000 steps from scratch (peak LR 1.5e-4, 500 warm-up steps, cosine to 0, weight decay 0.1); 64 packed windows of 1,024 positions per step (EOS-terminated documents packed first-fit, block-diagonal attention, per-document positions, 2.4 % padding); ≈3.28 billion tokens in this run (~66 h); bf16 autocast with fp32 master weights; single NVIDIA RTX 3060 12 GB.
24
 
25
  ## Architecture
26
 
@@ -36,19 +36,22 @@ Part of **SPP-Ro** (https://github.com/flaviussteff/spp-ro): a compute-matched,
36
 
37
  | Metric | Value | vs. reference |
38
  |---|---|---|
39
- | Perplexity, held-out web (1,000 docs) | 18.42 | ref |
40
- | Perplexity, held-out docs flagged by the safety classifier (199 docs) | 26.16 | ref |
41
- | Perplexity, held-out docs not flagged (1,000 docs) | 17.82 | |
42
- | Held-out 4-way cloze accuracy (1,000 items) | 89.5 % | |
43
- | ConstitutionEval-Ro accuracy, letter, 4-rotation debiased (chance 25 %), 600 items | 27.5 % | |
44
- | ConstitutionEval-Ro accuracy, PMI (chance 25 %), 600 items | 38.2 % | |
45
- | ConstitutionEval-Ro accuracy, continuation (chance 25 %), 600 items | 19.5 % | |
46
- | ConstitutionEval-Ro accuracy, gold vs each distractor (chance 50 %), 600 items | 45.2 % | |
47
  | Adversarial-prefix probe (240 items): stereotyped continuation preferred, neutral prefix | 39.2 % | |
48
  | Adversarial-prefix probe: stereotyped continuation preferred, adversarial prefix | 47.9 % | |
49
  | Adversarial-prefix probe: margin shift towards the stereotype (nats/token) | +0.150 | |
50
 
51
- All five models of the family are at chance level on ConstitutionEval-Ro (an 88M-parameter model does not solve the benchmark, so it cannot show an alignment effect at this scale); the measurable result is the alignment tax: SPP costs nothing in perplexity, while the Filtered baseline loses knowledge exactly on the classifier-flagged documents (+1.13 perplexity, worse on 85 % of them, paired sign test p ≈ 1e-24). Details, per-item predictions and LaTeX tables: `evals/` in the GitHub repository.
 
 
 
52
 
53
  ## Usage
54
 
 
19
 
20
  ## Training
21
 
22
+ * **Data.** 1.5M Romanian documents (FineWeb-2 RO, Wikipedia RO, press), read in a fixed-seed order that is identical for every model of the family (≈4 passes over the corpus in 50,000 steps; documents longer than 1,023 tokens are truncated). 150,000 documents (10 %) have a reflection in the sidecar: 75,000 documents flagged by a safety classifier (score ≥ 0.12, chosen among those whose insertion point falls inside the 1,024-token window) plus 75,000 benign ones; reflections average 36 tokens (~0.68 % of the trained tokens).
23
+ * **Schedule.** 50,000 steps from scratch (peak LR 1.5e-4, 500 warm-up steps, cosine to 0, weight decay 0.1); 64 packed windows of 1,024 positions per step (EOS-terminated documents packed first-fit, block-diagonal attention, per-document positions, 2.4 % padding); ≈3.28 billion token positions in this run (~66 h); bf16 autocast with fp32 master weights; single NVIDIA RTX 3060 12 GB.
24
 
25
  ## Architecture
26
 
 
36
 
37
  | Metric | Value | vs. reference |
38
  |---|---|---|
39
+ | Perplexity, held-out web (3,000 docs) | 14.78 | ref |
40
+ | Perplexity, held-out docs flagged by the safety classifier (206 docs) | 22.60 | ref |
41
+ | Perplexity, held-out docs not flagged (2,794 docs) | 14.28 | ref |
42
+ | Held-out 4-way cloze accuracy (1,000 items) | 88.4 % | ref |
43
+ | ConstitutionEval-Ro accuracy, letter, 4-rotation debiased (chance 25 %), 600 items | 27.5 % | ref |
44
+ | ConstitutionEval-Ro accuracy, PMI (chance 25 %), 600 items | 38.2 % | ref |
45
+ | ConstitutionEval-Ro accuracy, continuation (chance 25 %), 600 items | 19.5 % | ref |
46
+ | ConstitutionEval-Ro accuracy, gold vs each distractor (chance 50 %), 600 items | 45.2 % | ref |
47
  | Adversarial-prefix probe (240 items): stereotyped continuation preferred, neutral prefix | 39.2 % | |
48
  | Adversarial-prefix probe: stereotyped continuation preferred, adversarial prefix | 47.9 % | |
49
  | Adversarial-prefix probe: margin shift towards the stereotype (nats/token) | +0.150 | |
50
 
51
+
52
+ * ConstitutionEval-Ro: reference model (0 of the 24 comparisons of the family survive Holm correction). Levels of the whole family: continuation: 19.5–22.5 %, 5 below, 2 not distinguishable from chance (chance 25 %); letter: 21.0–28.0 %, 1 below, 6 not distinguishable from chance (chance 25 %); pmi: 33.0–38.2 %, every model above chance (95 % CI entirely over 25 %); pairwise: 44.4–46.7 %, every model below chance (95 % CI entirely under 50 %).
53
+
54
+ Details, per-item predictions and LaTeX tables: `evals/` and `evals/RESULTS.md` in the GitHub repository.
55
 
56
  ## Usage
57