Card: remove placeholder, clarify long windows
Browse files
README.md
CHANGED
|
@@ -65,7 +65,8 @@ pii.redact("Hi team, I'm Priya Raman (priya.raman@northwind.com).")
|
|
| 65 |
|
| 66 |
- The model finds the PII; `redact()` replaces each found value with its label (or your own `template`).
|
| 67 |
- Reads 1,024 tokens per pass by default. Longer texts are split automatically into overlapping pieces, so any
|
| 68 |
-
length works.
|
|
|
|
| 69 |
|
| 70 |
**3. Optional: check your setup**
|
| 71 |
|
|
@@ -86,7 +87,6 @@ label are all correct.
|
|
| 86 |
|
| 87 |
Privacy-Bench: 656 human-annotated business document pages. PII-TRACE: 500 conversations; it is PII-Tracer's own
|
| 88 |
benchmark, and most of our gap there comes from dates and reference codes, which we deliberately don't label.
|
| 89 |
-
Method, per-label scores and CPU speed: [TODO: blog link].
|
| 90 |
|
| 91 |
## Limitations
|
| 92 |
|
|
|
|
| 65 |
|
| 66 |
- The model finds the PII; `redact()` replaces each found value with its label (or your own `template`).
|
| 67 |
- Reads 1,024 tokens per pass by default. Longer texts are split automatically into overlapping pieces, so any
|
| 68 |
+
length works. You can also set `PIIExtractor(window=8192)`: on 78 long documents (2,000–10,000 tokens), windows of
|
| 69 |
+
up to 8,192 tokens kept the same accuracy. Speed at large windows has not been measured.
|
| 70 |
|
| 71 |
**3. Optional: check your setup**
|
| 72 |
|
|
|
|
| 87 |
|
| 88 |
Privacy-Bench: 656 human-annotated business document pages. PII-TRACE: 500 conversations; it is PII-Tracer's own
|
| 89 |
benchmark, and most of our gap there comes from dates and reference codes, which we deliberately don't label.
|
|
|
|
| 90 |
|
| 91 |
## Limitations
|
| 92 |
|