GLiNER2
Safetensors
English
French
Spanish
extractor
Text classification
Named Entity Recognition
Relation Extraction
Intent classification
Sentiment Analysis
Topic classification
Structured extraction
Json extraction
Instructions to use fastino/gliner2-large-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- GLiNER2
How to use fastino/gliner2-large-v1 with GLiNER2:
from gliner2 import AutoExtractor extractor = AutoExtractor.from_pretrained("fastino/gliner2-large-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) - Notebooks
- Google Colab
- Kaggle
Download tokenizer.json from fastino/gliner2-large-v1: direct link, hf CLI and curl.
- Browser
- Download file 8.65 MB
-
https://huggingface.co/fastino/gliner2-large-v1/resolve/main/tokenizer.json
- Command line
-
hf download hf://fastino/gliner2-large-v1/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/fastino/gliner2-large-v1/resolve/main/tokenizer.json
8.65 MB
File too large to display, you can check the raw version instead.