kotoshu/grammar-sr v2 (deberta)
Serbian 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,361 pairs)
| metric | value |
|---|---|
| F0.5 | 0.739 |
| precision | 0.963 |
| recall | 0.3828 |
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.509 on the identical slice β the deberta encoder is +0.23 F0.5 (+45%).
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: 44,078 pairs (6 balanced Serbian classes incl. Ρ Ρ Ρ Ρ Ρ Cyrillic adjacency, real-word swaps via the licensed hunspell dictionary), seed 20261123, density gate PASS (1.00 edits/sent).
Lineage
Supersedes v1 (mdeberta, F0.5 0.509) β 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 (3,004-piece pruned spm vocab)
charsmap.json. Tokenizer: the SpmBpe encoder over pieces.json.