grammar-de is an open-weight model from Kotoshu, released under Creative Commons Attribution-NonCommercial-ShareAlike 4.0. Its published files total 215.4 MB.
Fully local German grammar correction model for the ≤250 MB weight class (run anywhere, CPU real-time, no network). iterative apply-and-retag decoding, on a microsoft/mdeberta-v3-base encoder.
Model Card
Fully local German grammar correction model for the ≤250 MB weight class (run anywhere, CPU real-time, no network). iterative apply-and-retag decoding, on a microsoft/mdeberta-v3-base encoder. byte-fallback), pruned by weight-truth-verified remap — int8 ONNX gate, 48.5% yield) from typed corruption packs (articles, verb agreement, V2, separable verbs, case government); two-stage differential-LR schedule, byte-identical with HF) + ONNX Runtime; inference is milliseconds per sentence on a laptop CPU. German has no public GEC benchmark we can license for automated scoring, so we report a held-out judge study instead: This is a deliberately conservative corrector: it almost never invents…
Excerpt from the card by Kotoshu, licensed cc-by-nc-sa-4.0.
Identity and Version
- Repository
- kotoshu/grammar-de
- Publisher
- Kotoshu
- Task
- Not stated by the source
- Modality
- Other
- Library
- onnx
- Parameters
- Not stated by the source
- Languages
- de
- Revision
- 2ad59e8a760dcc1b8c3fc6cdd0d184f1d19e8e72
- First published
- 2026-10-11
- Last updated
- 2026-10-12
Files and Weights
7 files, 215.4 MB in total. The weights are 1 file totalling 210.1 MB in onnx.
Every file
| File | Type | Size | SHA-256 |
|---|---|---|---|
| gec-tagger.int8.onnx | Weights | 210.1 MB | 2b0026359e84 |
| charsmap.json | Configuration | 18.0 KB | — |
| labels.json | Configuration | 160.3 KB | — |
| pieces.json | Configuration | 4.9 MB | — |
| README.md | Documentation | 2.2 KB | — |
| decoded_heldout.txt | Other | 274.8 KB | — |
| .gitattributes | Repository | 1.5 KB | — |
License and Download
- License
- cc-by-nc-sa-4.0
- Access
- Open weights, no gate
- Download size
- 210.1 MB
Released by Kotoshu through its official repository on Hugging Face.
Memory Requirements
| Precision | Weights in memory |
|---|---|
| As published | 210.1 MB |
Weights only, from the published parameter count; the key-value cache and runtime add to this.
Questions About grammar-de
Can I use grammar-de commercially?
Not without separate permission. grammar-de is released under Creative Commons Attribution-NonCommercial-ShareAlike 4.0. CC BY-NC-SA 4.0 permits non-commercial sharing and adapting with credit, and requires adaptations to use the same license. Commercial use needs separate permission.