kotoshu/grammar-nl v2 (deberta)

Dutch 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,458 pairs)

metric value
F0.5 0.739
precision 0.903
recall 0.428

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.565 on the identical slice β€” the deberta encoder is +0.17 F0.5 (+31%).

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: 41,054 pairs (5 balanced Dutch classes, 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.565) β€” 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 (13,109-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,458-sentence gate:

MIN_CONFIDENCE F0.5 Precision Recall
0.0 (default) 0.739 0.903 0.428
0.3 0.6594 0.9137 0.3121
0.5 0.5756 0.9229 0.2298
0.7 0.4805 0.9405 0.1626

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