Views
No views yet
{-1, 0, +1} (1.585 bits)pip install "minima-lfm @ git+https://github.com/SSHDotCodes/minima.git"1from minima import MinimaModel
2
3model = MinimaModel.from_pretrained("ProCreations/minima-spellcheck", device="cpu")
4print(model.correct(
5 ["I has went to the stor yesterday ."],
6 max_iter=4,
7 min_error_prob=0.0,
8 rerank=False,
9))| Diagnostic | Result |
|---|---|
| Tag top-1 agreement within teacher candidates | 99.44% |
| Error-detection top-1 agreement | 99.49% |
| Exact correction agreement, held-out + reference examples | 38.2% (68 texts) |
| Exact agreement on the published-style examples | 25% |
| Input | Minima |
|---|---|
She go to school every day . | She go to school every day . |
I has went to the stor yesterday . | I has went to the store yesterday . |
Their are many reason to study hard . | Their are many reasons to study hard . |
That 's a fair point , let 's discuss it tomorrow . | That 's a fair point , let 's discuss it tomorrow . |