Token Classification
Safetensors
GLiNER2
GLiNER
openmed
extractor
medical
clinical
pii
de-identification
anonymization
privacy
multilingual
Eval Results (legacy)
Instructions to use OpenMed/GLiNER2.5-PII-Multilingual-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- GLiNER2
How to use OpenMed/GLiNER2.5-PII-Multilingual-v1 with GLiNER2:
from gliner2 import AutoExtractor extractor = AutoExtractor.from_pretrained("OpenMed/GLiNER2.5-PII-Multilingual-v1") # 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 OpenMed/GLiNER2.5-PII-Multilingual-v1 with GLiNER:
from gliner import GLiNER model = GLiNER.from_pretrained("OpenMed/GLiNER2.5-PII-Multilingual-v1") text = "Cristiano Ronaldo dos Santos Aveiro was born on 5 February 1985 in Funchal, Madeira, Portugal." labels = ["person", "date", "location"] entities = model.predict_entities(text, labels) for entity in entities: print(entity["text"], "=>", entity["label"]) - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from OpenMed/GLiNER2.5-PII-Multilingual-v1: direct link, hf CLI and curl.
- Browser
- Download file 16 MB
-
https://huggingface.co/OpenMed/GLiNER2.5-PII-Multilingual-v1/resolve/main/tokenizer.json
- Command line
-
hf download hf://OpenMed/GLiNER2.5-PII-Multilingual-v1/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/OpenMed/GLiNER2.5-PII-Multilingual-v1/resolve/main/tokenizer.json
16 MB
- Xet hash:
- 24db0ad7bfcaca9c5226fb8d822bf37b4ec4e22565a1cb72eb29076bad4186e6
- Size of remote file:
- 16 MB
- SHA256:
- c62446df87ae18ec98b133f8f84fc449a07cc89bbf8ef192a4cb5f9c53777a7a
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.