Model card for spp-ro-base-rewarm
Browse files
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:
|
| 23 |
-
* **Schedule.** 5,000 steps from the Vanilla checkpoint at step 45,000, fresh schedule (peak LR 5e-5, 250 warm-up steps, cosine to 0); 64 packed windows of 1,024 positions per step (EOS-terminated documents packed first-fit, block-diagonal attention, per-document positions, 2.4 % padding); ≈0.33 billion
|
| 24 |
|
| 25 |
## Architecture
|
| 26 |
|
|
@@ -36,20 +36,26 @@ 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 (
|
| 40 |
-
| Perplexity, held-out docs flagged by the safety classifier (
|
| 41 |
-
| Perplexity, held-out docs not flagged (
|
| 42 |
-
| Held-out 4-way cloze accuracy (1,000 items) |
|
| 43 |
-
| ConstitutionEval-Ro accuracy, letter, 4-rotation debiased (chance 25 %), 600 items | 25.8 % | |
|
| 44 |
-
| ConstitutionEval-Ro accuracy, PMI (chance 25 %), 600 items | 35.8 % | |
|
| 45 |
-
| ConstitutionEval-Ro accuracy, continuation (chance 25 %), 600 items | 19.8 % | |
|
| 46 |
-
| ConstitutionEval-Ro accuracy, gold vs each distractor (chance 50 %), 600 items | 45.0 % | |
|
| 47 |
| Adversarial-prefix probe (240 items): stereotyped continuation preferred, neutral prefix | 40.8 % | |
|
| 48 |
| Adversarial-prefix probe: stereotyped continuation preferred, adversarial prefix | 48.3 % | |
|
| 49 |
| Adversarial-prefix probe: margin shift towards the stereotype (nats/token) | +0.153 | |
|
| 50 |
|
| 51 |
Reference model: [`flaviussteff/spp-ro-base`](https://huggingface.co/flaviussteff/spp-ro-base).
|
| 52 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 53 |
|
| 54 |
## Usage
|
| 55 |
|
|
|
|
| 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.** 5,000 steps from the Vanilla checkpoint at step 45,000, fresh schedule (peak LR 5e-5, 250 warm-up steps, cosine to 0); 64 packed windows of 1,024 positions per step (EOS-terminated documents packed first-fit, block-diagonal attention, per-document positions, 2.4 % padding); ≈0.33 billion token positions in this run; 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.81 | +0.03 |
|
| 40 |
+
| Perplexity, held-out docs flagged by the safety classifier (206 docs) | 22.64 | +0.04 |
|
| 41 |
+
| Perplexity, held-out docs not flagged (2,794 docs) | 14.31 | +0.03 |
|
| 42 |
+
| Held-out 4-way cloze accuracy (1,000 items) | 88.6 % | McNemar p = 0.77 |
|
| 43 |
+
| ConstitutionEval-Ro accuracy, letter, 4-rotation debiased (chance 25 %), 600 items | 25.8 % | p = 0.17, Holm p = 1.00 |
|
| 44 |
+
| ConstitutionEval-Ro accuracy, PMI (chance 25 %), 600 items | 35.8 % | p = 0.034, Holm p = 0.70 |
|
| 45 |
+
| ConstitutionEval-Ro accuracy, continuation (chance 25 %), 600 items | 19.8 % | p = 0.75, Holm p = 1.00 |
|
| 46 |
+
| ConstitutionEval-Ro accuracy, gold vs each distractor (chance 50 %), 600 items | 45.0 % | p = 0.71, Holm p = 1.00 |
|
| 47 |
| Adversarial-prefix probe (240 items): stereotyped continuation preferred, neutral prefix | 40.8 % | |
|
| 48 |
| Adversarial-prefix probe: stereotyped continuation preferred, adversarial prefix | 48.3 % | |
|
| 49 |
| Adversarial-prefix probe: margin shift towards the stereotype (nats/token) | +0.153 | |
|
| 50 |
|
| 51 |
Reference model: [`flaviussteff/spp-ro-base`](https://huggingface.co/flaviussteff/spp-ro-base).
|
| 52 |
+
|
| 53 |
+
* Perplexity, paired per document: **Base-Ro-rewarm has a higher loss than Base-Ro** on the held-out documents (mean Δloss +0.0020 nats/token [95 % CI +0.0015, +0.0026], higher loss on 57 % of 3,000 documents, sign test p = 2.4e-14, Holm p = 2.2e-13).
|
| 54 |
+
* Perplexity, paired per document: Base-Ro-rewarm and Base-Ro **do not differ significantly** on the flagged held-out documents (mean Δloss +0.0015 nats/token [95 % CI -0.0008, +0.0043], higher loss on 52 % of 206 documents, sign test p = 0.53, Holm p = 0.73).
|
| 55 |
+
* Perplexity, paired per document: **Base-Ro-rewarm has a higher loss than Base-Ro** on the unflagged held-out documents (mean Δloss +0.0021 nats/token [95 % CI +0.0015, +0.0026], higher loss on 57 % of 2,794 documents, sign test p = 1.2e-14, Holm p = 1.2e-13).
|
| 56 |
+
* ConstitutionEval-Ro: no difference from the reference survives Holm correction over the 24 comparisons of the family. 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 %).
|
| 57 |
+
|
| 58 |
+
Details, per-item predictions and LaTeX tables: `evals/` and `evals/RESULTS.md` in the GitHub repository.
|
| 59 |
|
| 60 |
## Usage
|
| 61 |
|