Downloads · 30 days
0
Zaid-Hossain/gector-roberta-onnx
gector-roberta-onnx is a machine learning model from Zaid-Hossain. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
ONNX exports of gotutiyan/gector-roberta-base-5k, packaged for Silent Voice, a local-first dictation app for Windows. It runs the model on CPU through ONNX Runtime to underline grammar mistakes as you type.
Downloads · 30 days
0
Access
Public
Updated Jul 25, 2026
Repo size
640 MB
Likes
0
Public
Click a slice to open those files.
.data512 MB · 79%
From the Hugging Face model README
ONNX exports of gotutiyan/gector-roberta-base-5k,
packaged for Silent Voice, a local-first
dictation app for Windows. It runs the model on CPU through ONNX Runtime to underline
grammar mistakes as you type.
The upstream model card for gotutiyan/gector-roberta-base-5k states:
Only non-commercial purposes.
That restriction carries over to these files. They are a format conversion of those weights, not a new model, so this repo cannot grant broader rights than the original. Do not use them commercially.
Note that Silent Voice itself is MIT-licensed. That covers the application code only — this model is an optional download with its own terms, and is not bundled with the app.
| File | Size | Notes |
|---|---|---|
gector-int8.onnx | ~122 MB | Dynamic INT8 (QUInt8) weights. Default. |
gector.onnx + gector.onnx.data | ~488 MB | FP32. External-data format — both files required, kept side by side. |
Supporting files, needed by either variant:
| File | Size | Notes |
|---|---|---|
tokenizer.json | ~3.4 MB | RoBERTa BPE tokenizer |
labels.txt | ~85 KB | 5001 edit tags, index-aligned to the label head |
verb-form-vocab.txt | ~4.2 MB | verb inflection table for $TRANSFORM_VERB_* tags |
inputs input_ids [batch, sequence] int64
attention_mask [batch, sequence] int64
outputs label_logits [batch, sequence, 5001]
detect_logits [batch, sequence, 2]
labels.txt is ordered to match the label_logits axis, index 0 being <OOV> and index 1
$KEEP. Detection classes are $CORRECT (0) and $INCORRECT (1).
Exported with gector-work/export_gector.py in the Silent Voice repo: torch.onnx.export
for the FP32 graph, then onnxruntime.quantization.quantize_dynamic(weight_type=QUInt8)
for the INT8 build.