Token Classification
GLiNER2
Safetensors
GLiNER
extractor
pii
ner
privacy
redaction
information-extraction
span-extraction
Instructions to use fastino/gliner2-privacy-filter-PII-multi with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- GLiNER2
How to use fastino/gliner2-privacy-filter-PII-multi with GLiNER2:
from gliner2 import GLiNER2 model = GLiNER2.from_pretrained("fastino/gliner2-privacy-filter-PII-multi") # Extract entities text = "Apple CEO Tim Cook announced iPhone 15 in Cupertino yesterday." result = extractor.extract_entities(text, ["company", "person", "product", "location"]) print(result) - GLiNER
How to use fastino/gliner2-privacy-filter-PII-multi with GLiNER:
from gliner import GLiNER model = GLiNER.from_pretrained("fastino/gliner2-privacy-filter-PII-multi") - Notebooks
- Google Colab
- Kaggle
| { | |
| "_attn_implementation_autoset": true, | |
| "counting_layer": "count_lstm", | |
| "max_len": null, | |
| "max_width": 8, | |
| "model_name": "microsoft/mdeberta-v3-base", | |
| "model_type": "extractor", | |
| "token_pooling": "first", | |
| "transformers_version": "5.8.0" | |
| } | |