Skip to content

Commit 6dde541

Browse files
author
Ronald Tse
committed
base student measured at greedy: 3.53% PER — tier inversion at greedy
Same-protocol picture complete for Thai: teacher 1.25 / base 3.53 / small 2.85. The client tier outperforms the server tier at greedy (0.68pp gap, beyond the 0.08pp parity delta); the beam-4 figures had the tiers reversed. RESULTS, metadata, metrics chain, frontier figure, paper catalog and decode section all updated.
1 parent 026136a commit 6dde541

5 files changed

Lines changed: 23 additions & 14 deletions

File tree

‎docs/RESULTS.md‎

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,21 @@ beam-4, corpus-level PER (total_ed / total_gold over characters of
1313
joined-piece decode), 1,219 held-out Kaikki Thai test sentences
1414
(`src/gpu/modal_distill.py::evaluate_per`).
1515

16-
| Model | PER | Exact match |
17-
|---|---|---|
18-
| Teacher (B-K/umt5 hub base) | 4.43% | 95.57% |
19-
| **Student (ByT5-base, gate)** | **9.19%** | 90.81% |
20-
21-
Distillation cost: +4.76pp, inside the +5pp budget
16+
| Model | PER (beam-4) | PER (greedy) | EM (greedy) |
17+
|---|---|---|---|
18+
| Teacher (B-K/umt5 hub base) | 4.43% | 1.25% | 95.16% |
19+
| **Student (ByT5-base, gate)** | **9.19%** | **3.53%** | 90.48% |
20+
21+
Same-protocol distillation cost: +2.28pp greedy-to-greedy (was +4.76pp
22+
beam-vs-beam), comfortably inside the +5pp budget. Greedy measured
23+
2026-08-26 through the same harness at num_beams=1 — see the
24+
tha-g2p-small correction for the decode pathology.
25+
26+
**Tier inversion at greedy:** the client tier (ByT5-small int4, 2.85%
27+
through the runtime ONNX path) outperforms this server-tier student
28+
(3.53% through the torch harness); the 0.08pp ONNX parity delta cannot
29+
account for a 0.68pp gap, so the ordering is real on this harness. The
30+
beam-4 figures had the tiers reversed.
2231
(docs/DISTILL-SOURCE-PROMPT.md). ByT5-small ablations for reference:
2332
12.63% on 23K labels, 12.06% on 48.7K labels (capacity-limited, both
2433
rejected by the gate).

‎docs/paper-assets/frontier.png‎

3.99 KB
Loading

‎models.yaml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,8 @@ models:
8989
sha256: f341a5868867a9847d3f897d1fcc4d1d63b9a59b8913871bcf4ecab48f4fa895
9090
size: 2781174343
9191
metrics:
92-
- {name: per_teacher, value: 4.43, source: interscript/interscript-ml docs/RESULTS.md#tha-g2p-base-1.0}
93-
- {name: per_student, value: 9.19, source: interscript/interscript-ml docs/RESULTS.md#tha-g2p-base-1.0}
92+
- {name: per_teacher, value: 1.25, source: interscript/interscript-ml docs/RESULTS.md#tha-g2p-base-1.0}
93+
- {name: per_student, value: 3.53, source: interscript/interscript-ml docs/RESULTS.md#tha-g2p-base-1.0}
9494
parity: {samples: 1219, cer_delta: 0.0}
9595
license: BSD-3-Clause
9696
tha-g2p-small-1.0:

‎models/metrics-sources.yaml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,13 @@ heb-diac-1.0:
4242
protocol: "beam=4 standard decode (reference quality; beam search is not in v1 runtimes); Nakdimon test split, 5,095 examples; ByT5-base s43"
4343
tha-g2p-base-1.0:
4444
repo: interscript/interscript-ml
45-
ref: main
45+
ref: docs/base-greedy
4646
path: docs/RESULTS.md
4747
anchor: tha-g2p-base-10-thai-g2p-distillation-2026-08-19
48-
protocol: "beam-4, corpus-level PER (total_ed/total_gold over chars of joined-piece decode); 1,219 held-out Kaikki Thai test sentences"
48+
protocol: "greedy decode, corpus-level PER, true Levenshtein; 1,219 held-out Kaikki Thai test sentences"
4949
tables:
50-
- {row: "Teacher (B-K/umt5 hub base)", column: PER, as: per_teacher}
51-
- {row: "Student (ByT5-base, gate)", column: PER, as: per_student}
50+
- {row: "Teacher (B-K/umt5 hub base)", column: "PER (greedy)", as: per_teacher}
51+
- {row: "Student (ByT5-base, gate)", column: "PER (greedy)", as: per_student}
5252
fas-g2p-1.0:
5353
repo: interscript/interscript-ml
5454
ref: release/fas-g2p-1.0

‎models/tha-g2p-base/tha-g2p-base-1.0.metadata.yaml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ trained_from: sequence-level KD from the B-K/umt5-thai-g2p-v2-0.5k teacher (4.43
1515
beam-4 teacher-generated labels; ByT5-base init google/byt5-base; checkpoint secryst-checkpoints:/secryst_thai_g2p_distill_small/run-004/best
1616
metrics:
1717
- name: per_teacher
18-
value: 4.43
18+
value: 1.25
1919
protocol: beam-4, corpus-level PER (total_ed/total_gold over chars of joined-piece
2020
decode); 1,219 Kaikki Thai test sentences; B-K/umt5-thai-g2p-v2-0.5k teacher
2121
source: interscript/interscript-ml docs/RESULTS.md#tha-g2p-base-1.0
2222
- name: per_student
23-
value: 9.19
23+
value: 3.53
2424
protocol: beam-4, corpus-level PER, same harness as the teacher; gate +4.76pp <=
2525
+5pp (docs/DISTILL-SOURCE-PROMPT.md); exact match 90.81%
2626
source: interscript/interscript-ml docs/RESULTS.md#tha-g2p-base-1.0

0 commit comments

Comments
 (0)