Instructions to use coreai-community/GLiNER2-PII-CoreAI with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- GLiNER
How to use coreai-community/GLiNER2-PII-CoreAI with GLiNER:
from gliner import GLiNER model = GLiNER.from_pretrained("coreai-community/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
Mirror of mlboydaisuke/GLiNER2-PII-CoreAI at 74fb5c1: the 2026-07-20 coreai-torch 0.4.1 export; ios/ = the JIT .aimodel, ios-h18p/ = the h18p bundle
b93b662 verified Download config.json from coreai-community/GLiNER2-PII-CoreAI: direct link, hf CLI and curl.
- Browser
- Download file 307 Bytes
-
https://huggingface.co/coreai-community/GLiNER2-PII-CoreAI/resolve/main/config.json
- Command line
-
hf download hf://coreai-community/GLiNER2-PII-CoreAI/config.json
-
curl -L -o config.json https://huggingface.co/coreai-community/GLiNER2-PII-CoreAI/resolve/main/config.json
307 Bytes
| { | |
| "model_type": "coreai-aimodel", | |
| "format": "aimodel", | |
| "framework": "Apple Core AI (iOS 27 / macOS 27)", | |
| "repository": "https://github.com/john-rocky/coreai-model-zoo", | |
| "note": "Converted .aimodel bundles for Apple's Core AI framework. See README.md for the bundle layout and run instructions." | |
| } | |