GLiNER2
Safetensors
English
extractor
Text classification
Named Entity Recognition
Relation Extraction
Intent classification
Sentiment Analysis
Topic classification
Structured extraction
Json extraction
Instructions to use fastino/gliner2-base-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- GLiNER2
How to use fastino/gliner2-base-v1 with GLiNER2:
from gliner2 import AutoExtractor extractor = AutoExtractor.from_pretrained("fastino/gliner2-base-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 spm.model from fastino/gliner2-base-v1: direct link, hf CLI and curl.
- Browser
- Download file 2.46 MB
-
https://huggingface.co/fastino/gliner2-base-v1/resolve/main/spm.model
- Command line
-
hf download hf://fastino/gliner2-base-v1/spm.model
-
curl -L -o spm.model https://huggingface.co/fastino/gliner2-base-v1/resolve/main/spm.model
2.46 MB
- Xet hash:
- ceef70ee5c068f2e8ec2ea787d1566d2f5846b612f0e0a3879edffa246dc91cf
- Size of remote file:
- 2.46 MB
- SHA256:
- c679fbf93643d19aab7ee10c0b99e460bdbc02fedf34b92b05af343b4af586fd
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.