rhtse commited on
Commit
9513b62
Β·
verified Β·
1 Parent(s): 51e687e

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +118 -0
README.md ADDED
@@ -0,0 +1,118 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: bsd-3-clause
3
+ language: ur
4
+ inference: false
5
+ tags:
6
+ - secryst
7
+ - transliteration
8
+ - diacritization
9
+ - onnx
10
+ - byt5
11
+ ---
12
+
13
+ # urd-vocalized-2.1
14
+
15
+ Part of the [Secryst](https://secryst.github.io) phonological-layer family β€” a dedicated model for **diacritization** (UR), distributed as a Secryst IMF artifact and loadable through any Secryst crystal:
16
+
17
+ ```python
18
+ from secryst import Model
19
+ Model.load("urd-vocalized-2.1")
20
+ ```
21
+
22
+ - Artifact: `urd-vocalized-2.1-int8-dynamic.zip` (0.24 GiB)
23
+
24
+ ## Measured quality
25
+
26
+ Full evaluation sets, zero skipped examples, the benchmark's own evaluator. Provenance for every number is the results record of the training project.
27
+
28
+ | metric | value | provenance |
29
+ |---|---|---|
30
+ | cer | 3.632 | interscript/interscript-models docs/RESULTS.md#run-097-urd-vocalized-21-direct-gold-quality-gate-pass-and-calibrated-clause-16e-2026-11-25 |
31
+
32
+ # urd-vocalized-2.1
33
+
34
+ Urdu bare-to-vocalized diacritization, **direct-gold**: ByT5-**small**
35
+ trained DIRECTLY on the 573,130 human-verified gold pairs of the
36
+ data-diacrit public-lineage corpus β€” no teacher, no relabel, no
37
+ distillation step, no LLM anywhere near the labels β€” int8-dynamic ONNX.
38
+ New Urdu frontier: **3.632% full-split raw CER** (WO37 protocol,
39
+ 11,940 rows) β€” below the 0.0377 gate, below the shipped champion
40
+ urd-vocalized-1.0 (3.74%), and below the shipped distilled student
41
+ urd-vocalized-2.0 (3.641%).
42
+
43
+ The WO93 finding of record: **human-verified gold labels beat
44
+ distilled (teacher-relabel) labels** on the same corpus (0.03632 vs
45
+ 0.03641), with the cleanest possible lineage β€” a single hop from the
46
+ raw google/byt5-small checkpoint to public-lineage gold, zero CLE
47
+ exposure anywhere.
48
+
49
+ ## Metrics (WO37 protocol β€” greedy, single-row, full-split raw CER)
50
+
51
+ | benchmark | value |
52
+ |---|---|
53
+ | full-split raw CER (11,940 rows, row-mean) | **3.632%** (gate 3.77; champion urd-vocalized-1.0 3.74; distilled urd-vocalized-2.0 3.641) |
54
+ | calibrated Clause 16(e), matched split (urdu-dev#23/#24/#25/#26) | **PASS** β€” AUC 0.4816 (dev 0.0184 ≀ 0.05), reference self-control 0.5 exact, success-rate 0.515 ≀ 0.6 |
55
+ | extraction / verbatim / WordNet probes | PASS (0 violations across all three) |
56
+ | parity, int8-dynamic ONNX vs fp32 ONNX reference (single-row greedy, ORT CPU) | cer_delta **0.0671 pp** on 600 samples (int8 gate 2.0pp); argmax flips 0.539%, confident flips 0.349% |
57
+ | frozen fixtures | conformance/urd-vocalized-2.1-vectors.json (600 vectors) + golden/urd-vocalized-2.1-int8-dynamic.jsonl |
58
+ | eval slice | conformance/wo20/eval600/urd_eval_600.jsonl (sha256 `a06c8a2dcacec88bec0ad85b4e851a78c72429102e4051d2705b994c48108ca0`) |
59
+
60
+ ## Provenance
61
+
62
+ - Init: raw `google/byt5-small` checkpoint (no interscript ancestry,
63
+ no CLE) β€” the urd-vocalized small tier.
64
+ - Labels: the gold corpus itself β€” data-diacrit train split, 573,130
65
+ src/tgt pairs (sha256 95736b0d19e57ada3ce435f28300b8a72a3fec6c761df
66
+ ce34770ed9549331ee2; the sha-pinned public-lineage source the run-066
67
+ lineage trained on; owner license review 2026-10-18, explicitly NOT
68
+ CLE).
69
+ - Training: `train_student_distill_hf.py` loader (urdu-dev#27
70
+ DATA_GLOB gold mode), run-097-urd-diac-gold, HF Jobs a100-large β€”
71
+ 3 epochs, bs 16 Γ— accum 2, lr 3e-4 cosine (200 warmup), bf16,
72
+ MAXLEN 256, 53,733 steps, chain_pass true.
73
+ - Gate chain: quality 0.03632 ≀ 0.0377 (verdict.json) β†’ calibrated
74
+ 16(e) PASS on the matched split (run-066 reference) β†’ export PASS β†’
75
+ conformance fixtures β†’ publish guard PASS.
76
+ - sha256: recorded in models.yaml and the GH release SHA256SUMS.
77
+
78
+ ## Data attribution
79
+
80
+ - **urd-dia (data-diacrit)** β€” the urd-vocalized lineage's corpus
81
+ (573,130 train / 11,940 held-out test rows; rababa-urdu assembly,
82
+ public-lineage, owner license review 2026-10-18). This model derives
83
+ from NO CLE content: the corpus-CLE overlap discriminator measured
84
+ ZERO shared shingles (ledger #475/#477) and the lineage is a single
85
+ hop from the raw google checkpoint to this corpus.
86
+ - **CLE12T003 / CLE12L001** remain licensed and retained per the CLE
87
+ agreement; this model does not derive from them.
88
+
89
+ ## License
90
+
91
+ BSD-3-Clause (code + weights).
92
+
93
+ ## Attribution (Schedule D)
94
+
95
+ Linguistic resources provided by the Center for Language Engineering
96
+ (CLE), Al-Khawarizmi Institute of Computer Science (KICS), University of
97
+ Engineering and Technology (UET), Lahore, Pakistan.
98
+
99
+ > CLE Urdu Digest Corpus 1M (International Package), Catalogue No.
100
+ > CLE12T003; CLE Urdu WordNet (International Package), Catalogue No.
101
+ > CLE12L001. Center for Language Engineering, Al-Khawarizmi Institute of
102
+ > Computer Science, University of Engineering and Technology, Lahore,
103
+ > Pakistan.
104
+
105
+ (The released model derives from no CLE content β€” zero corpus overlap,
106
+ single-hop public-lineage gold lineage; the citation is carried per the
107
+ CLE license program's Schedule D placement rules for the certification
108
+ period. CLE-KICS, UET's name is used only to give credit and not in a
109
+ way that suggests endorsement.)
110
+
111
+
112
+ ## License
113
+
114
+ BSD-3-CLAUSE
115
+
116
+ ## Provenance
117
+
118
+ Trained in the [Secryst training monorepo](https://github.com/secryst/secryst-train) and published through the [interscript-ml](https://github.com/interscript/interscript-models) distribution contract (models.yaml index, sha256-verified release assets, parity-gated artifacts). The canonical download channel is GitHub Releases; this repository is the Hugging Face mirror of the same bytes, pinned to the index revision.