The model family
The Interscript vocalization suite.
Vocalization is writing back in what a keyboard, a printing tradition, or a scribe left out: the nikud of unpointed Hebrew, the marks of bare Urdu. No committee publishes these conversions, so they are learned — and they ship under the same discipline as every Interscript model: a measured metric against a pre-registered gate, an artifact format verified by checksum, and byte-identical output from all three runtimes. This page is the family page; the full catalogue lives on the neural layer page.
The released models
Three languages shipped, five gated models.
All ids resolve against the models.yaml index — index-v19 is the index of record, and it carries the Persian entry and both joint-model keys — are mirrored on the Hugging Face Interscript org, and carry BSD-3-Clause code and weights. Numbers below are quoted from the release records and the index — decode protocol included.
| Model | Task | Measured result | Method | Artifact | Links |
|---|---|---|---|---|---|
multi-vocalized-base-1.0 Hebrew + Urdu (joint) | Hebr → Hebr · Arab → Arab seq2seq (ByT5-base, sentinel-conditioned) · ur fold resolves as multi-vocalized-base-1.0-ur | he DER 5.3075 · ur CER 3.604% gate v2 · teacher-forced agreement 0.995207 over 17,108 positions · int8 CER 6.7019pp ≤ 7.2398 · torch-relative 2.0pp/1% gates retired | joint cross-abjad SFT (run-098), zero interference | int8 · 1.65 GiB ×2 folds | release · HF mirror · index entry |
fas-vocalized-base-1.0 Persian | Arab → Arab seq2seq (ByT5-base) | clean-docs CER 0.6527% strict validator gate passed · int8 parity cer_delta 0.0769pp on 600 samples · published with index-v19 | CC0 register-gold, WO66 crown via WO94 ship chain | int8 · 1.65 GiB | release · HF mirror · index entry |
heb-vocalized-plane-3.0 Hebrew | Hebr → Hebr plane (mask-predict) | DER 6.6078 crown gate 8.18 cleared, −1.57pp | curriculum weak→gold | int8-dynamic · 397 MiB | release · HF mirror · index entry |
urd-vocalized-2.1 Urdu | Arab → Arab seq2seq (ByT5-small) | CER 3.632% gate 3.77% PASS · champion 3.74% beaten · distilled 3.641% beaten | direct-gold (no teacher, single hop) | int8-dynamic · 249 MiB | release · HF mirror · index entry |
urd-vocalized-2.0 Urdu | Arab → Arab seq2seq (ByT5-small) | CER 3.641% gate 3.77% PASS · champion 3.74% beaten by 0.099pp | clean-room distillation | int8-dynamic · 249 MiB | release · HF mirror · index entry |
Hebrew: heb-vocalized-plane-3.0 is the WO92 gold-SFT stage over weak-pretrain (run-093→run-094) — DER 6.6078 against the crown gate 8.18, with the classification parity gate (DER-delta ≤ 0.25pp) measured at 0.0549pp over 600 samples (models#459). Urdu: urd-vocalized-2.1 (run-097) is a ByT5-small trained directly on the human-verified gold pairs — no teacher, no distillation, single hop — scored on the full split, all 11,940 held-out rows, greedy decode, WO37 protocol, at raw CER 3.632% against the pre-registered gate 3.77%; it beats both the shipped champion urd-vocalized-1.0 (3.74%) and the shipped distilled student urd-vocalized-2.0 (3.641%, listed above and still available) — the finding of record: human-verified gold labels beat distilled labels on the same corpus. int8 parity cer_delta 0.0671pp on 600 samples.
Joint: multi-vocalized-base-1.0 (run-098, step-80010) is one ByT5-base trained on Hebrew
niqqud and Urdu haraqat gold together — heb hebrew-v4 gold 50,433 rows ×3 plus urd
data-diacrit gold 573,130 rows, init google/byt5-base — with the language chosen by
prefix sentinels folded into the exported encoder graphs. Measured under the crown protocol
it scores he DER 5.3075% against the Hebrew champion's 6.6078, and ur WO37 CER 3.604%
against the Urdu champion's 3.632%: parity-or-better on both per-language champions, zero
interference (models#495). Its export gate is gate v2, and the torch-relative 2.0pp/1% gates are RETIRED by
owner-delegated redesign — the diagnosis being that encoder graphs are exact to ~1e-7 and
per-step decoding stays inside fp32 tolerance, with divergence appearing only late in long
generations (87 of 93 windows token-identical; the first differing token never before step
91, median 132; never step 0-1). Gate v2 therefore splits the
question in two: a defect gate of teacher-forced single-step top-1 agreement torch vs ONNX
at 0.995207 over 17,108 positions, and a quality gate of artifact-anchored int8 CER vs gold
at 6.7019pp under a 7.2398 limit — the torch base 3.7398 plus a 3.5pp intrinsic-drift
allowance, a limit the parity block now records for itself
(models#516). The fp32 export sits at 6.6817pp; DER is informational on both arms at 23.4227. The
same trained weights ride the release twice: the he fold under multi-vocalized-base-1.0 — crown windows, per-window greedy,
original-separator stitch — and the ur fold under multi-vocalized-base-1.0-ur — WO37 whole-row greedy, faithful at int8 delta
0.0348pp and 0.005 flips. Each fold is its own index key and its own 1.65 GiB int8
zip.
The methods
Three validated training methods.
Each shipped model of the family was produced by one of three training methods, each validated by a gated measurement on its own language before release. None uses an LLM as a label source — language-model teachers hallucinate diacritics.
Curriculum weak→gold
Weak-pretrain on unvocalized text, then gold SFT on fully vocalized gold. Validated on Hebrew: the curriculum took the plane lineage from 8.18 to 6.6078 DER — the −1.57pp "curriculum verdict" of WO92 (run-093→run-094).
Clean-room direct-gold / distill
Train on human-verified gold labels only — directly, or distilled through a teacher whose lineage is verified license-clean. The restricted corpus is never input, target, or label — the corpus overlap discriminator measured zero shared shingles. Validated on Urdu: run-097 direct-gold, CER 3.632% under the 3.77% gate — beating the distilled run-096 (3.641%) on the same corpus, confirming the gold-labels hypothesis.
Joint cross-abjad SFT
Train one generative model on two languages' gold at once and let a language prefix sentinel pick the convention, instead of shipping two models that each relearn the shared orthographic machinery. Validated on Hebrew and Urdu together: run-098 scored he crown DER 5.3075% and ur WO37 CER 3.604% against per-language champions at 6.6078 and 3.632% — parity-or-better on both, zero interference.
The license-cleanliness gate
"Clean-room" is a claim, so the family measures it. The instrument of record is the calibrated matched-split Clause 16(e) audit — a reference-calibrated membership-inference suite (urdu-dev#17, matched-split methodology per urdu-dev#23–#26) run against the trained artifact. For urd-vocalized-2.1 the calibrated AUC was 0.4816 against chance 0.5 (tolerance 0.05), with a verbatim probe of 200 probes and 125 extraction prompts producing zero violations — verdict PASS, records retained to 2028-11-25 (urd-vocalized-2.0's own PASS at AUC 0.4933 is in its release record). The instrument, its falsification chain, and the ledger entries live in the urdu-dev repository.
Getting started
Vocalize, in three lines per runtime.
A vocalization id resolves against the models.yaml index, downloads once, and is sha256-verified on every load — then it runs locally, no server involved, with byte-identical output from TypeScript, Ruby, and Python. Both worked examples below are frozen conformance vectors from the models fixtures — unpointed text in, vocalized text out — so what your runtime prints can be diffed byte against byte.
# install — the neural layer ships inside the same package
npm install interscript # TypeScript / JavaScript
gem install interscript # Ruby (onnxruntime loads lazily)
pip install "interscript[ml]" # Python // TypeScript — heb-vocalized-plane-3.0 (plane, mask-predict)
import { imf, PlaneModel } from "interscript/ml"
const model = await PlaneModel.fromZip((await imf.resolve("heb-vocalized-plane-3.0")).bytes)
await model.transform("ואם הזה, כשר")
// → "\u05d5\u05b0\u05d0\u05b4\u05dd \u05d4\u05b4\u05d6\u05bc\u05b8\u05d4, \u05db\u05bc\u05b8\u05e9\u05c1\u05b5\u05e8" # Ruby
require "interscript/ml"
model = Interscript::ML::PlaneModel.from_zip(
File.binread(Interscript::ML::IMF.resolve("heb-vocalized-plane-3.0")))
model.translate("ואם הזה, כשר")
# => "\u05d5\u05b0\u05d0\u05b4\u05dd \u05d4\u05b4\u05d6\u05bc\u05b8\u05d4, \u05db\u05bc\u05b8\u05e9\u05c1\u05b5\u05e8" # Python
import interscript
interscript.transliterate("heb-vocalized-plane-3.0", "ואם הזה, כשר")
# → "\u05d5\u05b0\u05d0\u05b4\u05dd \u05d4\u05b4\u05d6\u05bc\u05b8\u05d4, \u05db\u05bc\u05b8\u05e9\u05c1\u05b5\u05e8" // TypeScript — urd-vocalized-2.0 (seq2seq, ByT5-small)
import { imf } from "interscript/ml"
const model = await imf.IMFModel.load("urd-vocalized-2.0")
await model.translate("فاسد العقیدہ")
// → "\u0641\u0652\u0627\u0633\u0652\u062f\u0650 \u0627\u0644\u0652\u0639\u064f\u0642\u0652\u06cc\u062f\u0652\u06c1\u064e" # Ruby
require "interscript/ml"
model = Interscript::ML::Translator.new(
model_file: Interscript::ML::IMF.resolve("urd-vocalized-2.0"))
model.translate("فاسد العقیدہ")
# => "\u0641\u0652\u0627\u0633\u0652\u062f\u0650 \u0627\u0644\u0652\u0639\u064f\u0642\u0652\u06cc\u062f\u0652\u06c1\u064e" # Python
import interscript
interscript.transliterate("urd-vocalized-2.0", "فاسد العقیدہ")
# → "\u0641\u0652\u0627\u0633\u0652\u062f\u0650 \u0627\u0644\u0652\u0639\u064f\u0642\u0652\u06cc\u062f\u0652\u06c1\u064e"
The expected outputs are printed as \u escape sequences on purpose: Hebrew
combining-mark order is bidi-fragile, and escapes let you diff the bytes your runtime
produced against the frozen vector instead of trusting screen rendering. Both vectors are
machine-checked in a real browser by the site's conformance gate, e2e/neural-vocalization.spec.ts — run as BROWSER_VOCAL_E2E=1 npx playwright test e2e/neural-vocalization.spec.ts,
it downloads the released artifacts through the /neural demo's worker
and asserts each output byte-exactly.
First use downloads the int8 artifact (397 MiB for the Hebrew plane model,
249 MiB for either Urdu model, 1.65 GiB for either joint-model fold) and caches
it — point the cache at INTERSCRIPT_ML_CACHE; every later load re-verifies the sha256. Install lines,
mirrors, and the REST endpoint POST https://api.interscript.org/v1/infer are
documented in Use the models on the /ml page.
Provenance
Every gate is pre-registered.
Each model above carries its gate, its decode protocol, and its license audit in the open release records. BSD-3-Clause, code and weights. The full model catalogue — every language, every measured score — is on the neural layer page.
Data attribution. Linguistic resources provided by the Center for Language Engineering (CLE), Al-Khawarizmi Institute of Computer Science (KICS), University of Engineering and Technology (UET), Lahore, Pakistan — CLE Urdu Digest Corpus 1M (International Package), Catalogue No. CLE12T003; CLE Urdu WordNet (International Package), Catalogue No. CLE12L001. The released Urdu models derive from no CLE content; the credit is carried under the license's attribution schedule.
github.com/interscript/interscript-models # releases + index-v19
github.com/interscript/urdu-dev # clause 16(e) instrument