Instructions to use pii-engineer/PII-Engineer-Multi-NER-v2.1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- GLiNER
How to use pii-engineer/PII-Engineer-Multi-NER-v2.1 with GLiNER:
from gliner import GLiNER model = GLiNER.from_pretrained("pii-engineer/PII-Engineer-Multi-NER-v2.1") - Notebooks
- Google Colab
- Kaggle
Upload config.json with huggingface_hub
Browse files- config.json +28 -0
config.json
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"max_width": 24,
|
| 3 |
+
"hidden_size": 768,
|
| 4 |
+
"max_count": 20,
|
| 5 |
+
"model_name": "microsoft/mdeberta-v3-base",
|
| 6 |
+
"architecture": "gliner2-full",
|
| 7 |
+
"token_pooling": "first",
|
| 8 |
+
"counting_layer": "count_lstm",
|
| 9 |
+
"special_tokens": {
|
| 10 |
+
"p_token": 250104,
|
| 11 |
+
"c_token": 250105,
|
| 12 |
+
"e_token": 250106,
|
| 13 |
+
"r_token": 250107,
|
| 14 |
+
"l_token": 250108,
|
| 15 |
+
"sep_struct": 250102,
|
| 16 |
+
"sep_text": 250103
|
| 17 |
+
},
|
| 18 |
+
"capabilities": [
|
| 19 |
+
"entities",
|
| 20 |
+
"classification",
|
| 21 |
+
"json_structures",
|
| 22 |
+
"relations"
|
| 23 |
+
],
|
| 24 |
+
"fine_tuned_by": "pii.engineer",
|
| 25 |
+
"model_version": "v21",
|
| 26 |
+
"domain": "PII detection (PDPA compliance)",
|
| 27 |
+
"homepage": "https://pii.engineer"
|
| 28 |
+
}
|