kotoshu/grammar-it v0.1.0
Italian grammar-correction weights for the Kotoshu spell checker (single-file int8 ONNX tagger, GECToR-style decode).
Measured gate (held-out, corruption-gold, 1,468 pairs)
| metric | value |
|---|---|
| F0.5 | 0.374 |
| precision | 0.96 |
| recall | 0.11 |
Decoded with the training-faithful tokenizer path (SpmBpe port, char-level unigram viterbi) from this exact artifact, 4 rounds, against a held-out split the model never trained on. Extremely precision-conservative profile.
Recipe
mdeberta-v3-base, bf16, 3 rounds x [4ep vanilla + 2ep KEEP-weighted @ LR/10], keep 0.3, batch 32. Corruption pack: 41,588 balanced pairs (keyboard, transposition, Italian diacritics à è é ì ò ù, double-letter, space-join, real-word swaps from the licensed hunspell dictionary); sentences from public-domain Wikisource dumps (provenance manifests in the private staging repo).
Serving files
gec-tagger.int8.onnx (~430MB int8) + labels.json + pieces.json +
charsmap.json. Tokenizer: microsoft/mdeberta-v3-base sentencepiece.