try-grammar / README.md
Imperatore's picture
French 1.3.0
3913e81 verified
|
Raw History Blame Contribute Delete
2.24 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
  - proofbird/gector-bert-pt-br
  - proofbird/gector-bert-pt-pt
  - proofbird/gector-bert-nl
short_description: Proofbird grammar models, running in your browser

Try Proofbird Grammar

Proofbird's on-device grammar models — English, Italian, Spanish, French, German, Portuguese (Brazil and Portugal) and Dutch — 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 4 526 gold sentences of the eight 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.1.0 Apache-2.0
gector-bert-it 1.0.0 Apache-2.0
gector-bert-es 1.3.0 CC BY 4.0
gector-bert-fr 1.3.0 Apache-2.0
gector-bert-de 2.2.0 Apache-2.0
gector-bert-pt-br 1.1.0 Apache-2.0
gector-bert-pt-pt 1.0.0 Apache-2.0
gector-bert-nl 1.0.0 Apache-2.0

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