Instructions to use rafmacalaba/gliner2_datause with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- GLiNER2
How to use rafmacalaba/gliner2_datause with GLiNER2:
from gliner2 import GLiNER2 model = GLiNER2.from_pretrained("rafmacalaba/gliner2_datause") # 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 rafmacalaba/gliner2_datause: direct link, hf CLI and curl.
- Browser
- Download file 8.33 MB
-
https://huggingface.co/rafmacalaba/gliner2_datause/resolve/main/tokenizer.json
- Command line
-
hf download hf://rafmacalaba/gliner2_datause/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/rafmacalaba/gliner2_datause/resolve/main/tokenizer.json
8.33 MB
File too large to display, you can check the raw version instead.