Instructions to use mlboydaisuke/GLiNER2-PII-CoreAI with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- GLiNER
How to use mlboydaisuke/GLiNER2-PII-CoreAI with GLiNER:
from gliner import GLiNER model = GLiNER.from_pretrained("mlboydaisuke/GLiNER2-PII-CoreAI") 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
ios/: the JIT .aimodel alone (every iPhone generation specializes it); the h18p AOT files move to ios-h18p/
887627e verified Download ios-h18p/extractor.json from mlboydaisuke/GLiNER2-PII-CoreAI: direct link, hf CLI and curl.
- Browser
- Download file 293 Bytes
-
https://huggingface.co/mlboydaisuke/GLiNER2-PII-CoreAI/resolve/main/ios-h18p/extractor.json
- Command line
-
hf download hf://mlboydaisuke/GLiNER2-PII-CoreAI/ios-h18p/extractor.json
-
curl -L -o extractor.json https://huggingface.co/mlboydaisuke/GLiNER2-PII-CoreAI/resolve/main/ios-h18p/extractor.json
293 Bytes
| { | |
| "S": 256, | |
| "T": 96, | |
| "MMAX": 16, | |
| "K": 8, | |
| "threshold": 0.5, | |
| "prompt_token": "entities", | |
| "marker_ids": { | |
| "[P]": 250104, | |
| "[E]": 250106, | |
| "[SEP_TEXT]": 250103, | |
| "[SEP_STRUCT]": 250102 | |
| }, | |
| "pool_ids": [ | |
| 250104, | |
| 250105, | |
| 250106, | |
| 250107, | |
| 250108 | |
| ] | |
| } |