Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,100 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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.0
|
| 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.0")
|
| 20 |
+
```
|
| 21 |
+
|
| 22 |
+
- Artifact: `urd-vocalized-2.0-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.641 | interscript/interscript-models docs/RESULTS.md#run-096-urd-vocalized-20-quality-gate-pass-and-clean-room-clause-16e-2026-11-24 |
|
| 31 |
+
|
| 32 |
+
# urd-vocalized-2.0
|
| 33 |
+
|
| 34 |
+
Urdu bare-to-vocalized diacritization, **clean-room distillation**:
|
| 35 |
+
ByT5-**small** student trained on 439,786 outputs of the run-066
|
| 36 |
+
lineage teacher (ByT5-base + data-diacrit public-lineage only β a
|
| 37 |
+
teacher whose verified lineage never touched CLE), int8-dynamic ONNX.
|
| 38 |
+
New Urdu frontier: **3.641% full-split raw CER** (WO37 protocol,
|
| 39 |
+
11,940 rows) β below the 0.0377 gate AND below the shipped champion
|
| 40 |
+
urd-vocalized-1.0 (3.74%).
|
| 41 |
+
|
| 42 |
+
The WO92 recovery arc, completed: the CLE-DAPT teacher line failed the
|
| 43 |
+
calibrated Clause 16(e) gate on every arm that kept it as label source
|
| 44 |
+
(AUC 0.6319 β 0.6475 β memorization transfers through targets with
|
| 45 |
+
ZERO corpus-CLE shingle overlap); the clean-room teacher collapses the
|
| 46 |
+
signal to chance (0.4933) while *improving* quality. Data validity and
|
| 47 |
+
lineage cleanliness were the levers, not training dynamics.
|
| 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.641%** (gate 3.77; champion urd-vocalized-1.0 3.74) |
|
| 54 |
+
| calibrated Clause 16(e), matched split (urdu-dev#23/#24/#25/#26) | **PASS** β AUC 0.4933 (dev 0.0067 β€ 0.05), reference self-control 0.5 exact, success-rate 0.5267 β€ 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.0062 pp** on 600 samples (int8 gate 2.0pp); argmax flips 0.171%, confident flips 0.105% |
|
| 57 |
+
| frozen fixtures | conformance/urd-vocalized-2.0-vectors.json (600 vectors) + golden/urd-vocalized-2.0-int8-dynamic.jsonl |
|
| 58 |
+
| eval slice | conformance/wo20/eval600/urd_eval_600.jsonl (sha256 `a06c8a2dcacec88bec0ad85b4e851a78c72429102e4051d2705b994c48108ca0`) |
|
| 59 |
+
|
| 60 |
+
## Provenance
|
| 61 |
+
|
| 62 |
+
- Teacher: `run-066-urd-diac-base/best` (google/byt5-base init +
|
| 63 |
+
data-diacrit public-lineage only β verified CLE-clean, ledger #471).
|
| 64 |
+
The CLE-DAPT teacher (run-092) is retired from the label-source role.
|
| 65 |
+
- Relabel: 573,130 public-lineage src rows β 439,786 guarded pairs
|
| 66 |
+
(`relabel_teacher_hf.py`, parse-fixed, semantic-invariant gates,
|
| 67 |
+
GUARD_N 8 regurgitation drops 0; run-096b corpus review gate PASS).
|
| 68 |
+
- Student: `train_student_distill_hf.py`, run-096-urd-diac-distill,
|
| 69 |
+
HF Jobs a100-large β google/byt5-small init, 3 epochs, bs 16 Γ
|
| 70 |
+
accum 2, lr 3e-4 cosine (200 warmup), bf16, MAXLEN 256, 41,232
|
| 71 |
+
steps, chain_pass true.
|
| 72 |
+
- Gate chain: quality 0.03641 β€ 0.0377 (verdict.json) β calibrated
|
| 73 |
+
16(e) PASS on the matched split β export PASS β conformance fixtures
|
| 74 |
+
β publish guard PASS.
|
| 75 |
+
- sha256: recorded in models.yaml and the GH release SHA256SUMS.
|
| 76 |
+
|
| 77 |
+
## Data attribution
|
| 78 |
+
|
| 79 |
+
- **urd-dia (data-diacrit)** β the urd-vocalized lineage's corpus
|
| 80 |
+
(573,130 train / 11,940 held-out test rows; rababa-urdu assembly,
|
| 81 |
+
public-lineage, owner license review 2026-10-18). This model derives
|
| 82 |
+
from NO CLE content: the corpus-CLE overlap discriminator measured
|
| 83 |
+
ZERO shared shingles (ledger #475) and the lineage verification
|
| 84 |
+
traced every ancestor to public-lineage data (ledger #471).
|
| 85 |
+
- **CLE12T003 / CLE12L001** remain licensed and retained per the CLE
|
| 86 |
+
agreement; this model does not derive from them (the clean-room arm
|
| 87 |
+
dissolves the derivation question entirely).
|
| 88 |
+
|
| 89 |
+
## License
|
| 90 |
+
|
| 91 |
+
BSD-3-Clause (code + weights).
|
| 92 |
+
|
| 93 |
+
|
| 94 |
+
## License
|
| 95 |
+
|
| 96 |
+
BSD-3-CLAUSE
|
| 97 |
+
|
| 98 |
+
## Provenance
|
| 99 |
+
|
| 100 |
+
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.
|