Token Classification
GLiNER2
Safetensors
English
extractor
pii
privacy
code
secret-detection
named-entity-recognition
Instructions to use nyuuzyou/gliner2.5-PII-code-en with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- GLiNER2
How to use nyuuzyou/gliner2.5-PII-code-en with GLiNER2:
from gliner2 import AutoExtractor extractor = AutoExtractor.from_pretrained("nyuuzyou/gliner2.5-PII-code-en") # Extract entities text = "Apple CEO Tim Cook announced iPhone 15 in Cupertino yesterday." result = extractor.extract_entities(text, ["company", "person", "product", "location"]) print(result) - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from nyuuzyou/gliner2.5-PII-code-en: direct link, hf CLI and curl.
- Browser
- Download file 8.33 MB
-
https://huggingface.co/nyuuzyou/gliner2.5-PII-code-en/resolve/main/tokenizer.json
- Command line
-
hf download hf://nyuuzyou/gliner2.5-PII-code-en/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/nyuuzyou/gliner2.5-PII-code-en/resolve/main/tokenizer.json
8.33 MB
File too large to display, you can check the raw version instead.