File size: 1,558 Bytes
80548be
 
 
 
 
 
 
7911f9b
80548be
 
 
 
 
 
 
 
 
 
 
 
 
 
15d4e6d
c79a4d0
 
 
 
 
80548be
 
 
deaebb7
d93f669
fc09637
80548be
 
 
306b935
7eeb7d8
 
80548be
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
---
tags:
- spacy
- token-classification
language:
- en
model-index:
- name: en_spacy_pii_distilbert
  results:
  - task:
      name: NER
      type: token-classification
    metrics:
    - name: NER Precision
      type: precision
      value: 0.9530385872
    - name: NER Recall
      type: recall
      value: 0.9554103008
    - name: NER F Score
      type: f_score
      value: 0.9542229703
widget:
- text: >-
    SELECT shipping FROM users WHERE shipping = '201 Thayer St Providence RI
    02912'
datasets:
- beki/privy
---
| Feature | Description |
| --- | --- |
| **Name** | `en_spacy_pii_distilbert` |
| **Version** | `0.0.1` |
| **spaCy** | `>=3.4.1,<=3.8.2` |
| **Default Pipeline** | `transformer`, `ner` |
| **Components** | `transformer`, `ner` |
| **Vectors** | 0 keys, 0 unique vectors (0 dimensions) |
| **Sources** | Trained on a new [dataset for structured PII](https://huggingface.co/datasets/beki/privy) generated by [Privy](https://github.com/pixie-io/pixie/tree/main/src/datagen/pii/privy). For more details, see this [blog post](https://blog.px.dev/detect-pii/) |
| **License** | MIT |
| **Author** | [Benjamin Kilimnik](https://www.linkedin.com/in/benkilimnik/) |

### Label Scheme

<details>

<summary>View label scheme (5 labels for 1 components)</summary>

| Component | Labels |
| --- | --- |
| **`ner`** | `DATE_TIME`, `LOC`, `NRP`, `ORG`, `PER` |

</details>

### Accuracy

| Type | Score |
| --- | --- |
| `ENTS_F` | 95.42 |
| `ENTS_P` | 95.30 |
| `ENTS_R` | 95.54 |
| `TRANSFORMER_LOSS` | 61154.85 |
| `NER_LOSS` | 56001.88 |