kotoshu/grammar-tr v2 (deberta)
Turkish grammar-correction weights — the deberta-v3-base rung, GECToR-style decode as a single fp16 ONNX (Cast-to-fp32 nodes; deberta ships int8-free).
Measured gate (held-out, corruption-gold, 1,485 pairs)
| metric | value |
|---|---|
| F0.5 | 0.7526 |
| precision | 0.9614 |
| recall | 0.4027 |
Strict span scorer on the fixed wave-2 held-out slice, decoded from this exact artifact through the SpmBpe serving path, 1 round. Reference: the wave-2 mdeberta weights measured 0.597 on the identical slice — the deberta encoder is +0.156 F0.5 (+26%).
Recipe
deberta-v3-base, bf16, 3 rounds x [4ep vanilla + 2ep KEEP-weighted @ LR/10], keep 0.3, max_len 128, slow-spm tokenizer with per-word alignment. Corruption pack: 57,600 pairs (6 balanced Turkish classes incl. ç ğ ı ö ş ü diacritics, keyboard adjacency from the gem's layout grids, real-word swaps via the licensed hunspell dictionary), seed 20261123, density gate PASS (1.00 edits/sent).
Lineage
Supersedes v1 (mdeberta, F0.5 0.597) — remains in this repo's history.
Serving files
gec-tagger.int8.onnx (fp16 weight storage + Cast-to-fp32 nodes, sound on
arm64 + x86) + labels.json + pieces.json (9,171-piece pruned spm vocab)
charsmap.json. Tokenizer: the SpmBpe encoder over pieces.json.