Card: how to read min_error_prob (the confidence threshold), in plain words
Browse files
README.md
CHANGED
|
@@ -208,6 +208,8 @@ Two inputs, both whole numbers (int64), shape `[1, 7]`: one sentence of 7 tokens
|
|
| 208 |
- `keep_confidence` adds a bonus to `$KEEP` before choosing: higher means fewer, safer edits.
|
| 209 |
- `min_error_prob` ignores an edit the model is less sure of, and leaves the whole sentence alone when no word is at least that likely to be wrong. With `min_error_prob=0.9` the example is still corrected (`Ma sœur est très contente.`): the model is 99.5% sure one word is wrong.
|
| 210 |
|
|
|
|
|
|
|
| 211 |
## What Proofbird adds
|
| 212 |
|
| 213 |
`quickstart.py` is the model on its own. The [Proofbird](https://proofbird.app) app runs the same algorithm in C# and adds:
|
|
|
|
| 208 |
- `keep_confidence` adds a bonus to `$KEEP` before choosing: higher means fewer, safer edits.
|
| 209 |
- `min_error_prob` ignores an edit the model is less sure of, and leaves the whole sentence alone when no word is at least that likely to be wrong. With `min_error_prob=0.9` the example is still corrected (`Ma sœur est très contente.`): the model is 99.5% sure one word is wrong.
|
| 210 |
|
| 211 |
+
**Reading `min_error_prob`.** It is a number from 0 to 1: how sure the model must be that something is wrong before it changes anything. At 0.5 it acts when it is at least 50% sure, at 0.7 when it is at least 70% sure. A higher number is stricter: fewer wrong corrections, and some real mistakes are left alone. A lower number is looser: more mistakes are fixed, and more wrong corrections are made. This model carries 0: every edit the model prefers is applied.
|
| 212 |
+
|
| 213 |
## What Proofbird adds
|
| 214 |
|
| 215 |
`quickstart.py` is the model on its own. The [Proofbird](https://proofbird.app) app runs the same algorithm in C# and adds:
|