Transformers
Safetensors
GLiNER2
English
Text classification
Intent classification
Sentiment Analysis
Topic classification
Named Entity Recognition
decision-model
Instructions to use fastino/GLiNER2.5-Decide-1B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use fastino/GLiNER2.5-Decide-1B with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import Gliner2ForSchemaExtraction model = Gliner2ForSchemaExtraction.from_pretrained("fastino/GLiNER2.5-Decide-1B", device_map="auto") - GLiNER2
How to use fastino/GLiNER2.5-Decide-1B with GLiNER2:
from gliner2 import AutoExtractor extractor = AutoExtractor.from_pretrained("fastino/GLiNER2.5-Decide-1B") # 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.5-Decide-1B: direct link, hf CLI and curl.
- Browser
- Download file 3.59 MB
-
https://huggingface.co/fastino/GLiNER2.5-Decide-1B/resolve/main/tokenizer.json
- Command line
-
hf download hf://fastino/GLiNER2.5-Decide-1B/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/fastino/GLiNER2.5-Decide-1B/resolve/main/tokenizer.json
3.59 MB
File too large to display, you can check the raw version instead.