Imperatore commited on
Commit
3ff74cd
·
verified ·
1 Parent(s): 27f25da

Card: how to read min_error_prob (the confidence threshold), in plain words

Browse files
Files changed (1) hide show
  1. README.md +2 -0
README.md CHANGED
@@ -224,6 +224,8 @@ Two inputs, both whole numbers (int64), shape `[1, 12]`: one sentence of 12 toke
224
  - `keep_confidence` adds a bonus to `$KEEP` before choosing: higher means fewer, safer edits.
225
  - `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. At the model's own 0.8 the example is corrected as shown: the model is 100.0% sure one word is wrong. With `min_error_prob=0` every edit the model prefers is applied (the example comes out the same): more real mistakes are fixed and more wrong corrections are made - the figures are under *How it was measured*.
226
 
 
 
227
  ## What Proofbird adds
228
 
229
  `quickstart.py` is the model on its own. The [Proofbird](https://proofbird.app) app runs the same algorithm in C# and adds:
 
224
  - `keep_confidence` adds a bonus to `$KEEP` before choosing: higher means fewer, safer edits.
225
  - `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. At the model's own 0.8 the example is corrected as shown: the model is 100.0% sure one word is wrong. With `min_error_prob=0` every edit the model prefers is applied (the example comes out the same): more real mistakes are fixed and more wrong corrections are made - the figures are under *How it was measured*.
226
 
227
+ **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. Each model carries the value that gave the best balance on its own tests; this one carries 0.8.
228
+
229
  ## What Proofbird adds
230
 
231
  `quickstart.py` is the model on its own. The [Proofbird](https://proofbird.app) app runs the same algorithm in C# and adds: