try-grammar / README.md
Imperatore's picture
German 2.1.0 (gold 182 fixed, Tatoeba 0.43%)
c073b26 verified
|
Raw History Blame Contribute Delete
1.83 kB
metadata
title: Try Proofbird Grammar
emoji: 🐦
colorFrom: purple
colorTo: indigo
sdk: static
app_file: index.html
pinned: true
license: apache-2.0
models:
  - proofbird/gector-bert-en
  - proofbird/gector-bert-it
  - proofbird/gector-bert-es
  - proofbird/gector-bert-fr
  - proofbird/gector-bert-de
short_description: Proofbird grammar models, running in your browser

Try Proofbird Grammar

Proofbird's on-device grammar models — English, Italian, Spanish, French and German — running in your browser. The model is downloaded once (about 450 MB per language, then kept by your browser) and runs on your own computer with ONNX Runtime Web; the text you type is never sent anywhere.

What the page runs is a line-by-line JavaScript port of each model's quickstart.py (gector.js): the same tokenizer, the same five passes, the same suggestions — checked against the Python file on all 2 549 gold sentences of the five models (identical token ids, corrections and suggestions). Like the Proofbird app, it checks one sentence at a time.

This is the model on its own. The Proofbird app adds the guards in each model's gector-guards.json, a spell checker, and an explanation for each change.

Model Version Licence
gector-bert-en 1.0.0 Apache-2.0
gector-bert-it 1.0.0 Apache-2.0
gector-bert-es 1.2.0 CC BY 4.0
gector-bert-fr 1.1.0 Apache-2.0
gector-bert-de 2.1.0 Apache-2.0

The page's own code (index.html, app.js, gector.js) is Apache-2.0. Built by Patrick Andrew Hartnett.