kotoshu/grammar-uk v2 (deberta)

Ukrainian 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,366 pairs)

metric value
F0.5 0.7401
precision 0.9551
recall 0.3895

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.676 on the identical slice โ€” the deberta encoder is +0.064 F0.5 (+9.5%) at under half the shipped size.

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: 54,823 pairs (6 balanced Ukrainian classes incl. Cyrillic keyboard adjacency (JCUKU-family layout grids) and ะฐ/ั ั”/ะต ั—/ั– า‘/ะณ swaps), seed 20261123, density gate PASS (1.00 edits/sent).

Lineage

Supersedes v1 (mdeberta, F0.5 0.676) โ€” 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 (2,885-piece pruned spm vocab)

  • charsmap.json. Tokenizer: the SpmBpe encoder over pieces.json.

Serving calibration (MIN_CONFIDENCE, measured through the product surface)

Ruby-ship-decoder sweep on the same 1,366-sentence gate:

MIN_CONFIDENCE F0.5 Precision Recall
0.0 (default) 0.7401 0.9551 0.3895
0.3 0.6983 0.9698 0.3294
0.5 0.6343 0.9835 0.2621
0.7 0.5365 0.9885 0.1896

F0.5 declines monotonically with the threshold. serving.json ships {"min_confidence": 0.0}.

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support