GLiNER2
Safetensors
extractor
Token Classification
Zero-Shot Classification
Text Classification
relation extraction
Structured extraction
Instructions to use fastino/gliner2-multi-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- GLiNER2
How to use fastino/gliner2-multi-v1 with GLiNER2:
from gliner2 import GLiNER2 model = GLiNER2.from_pretrained("fastino/gliner2-multi-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
File size: 133 Bytes
5726f0b | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:a1c7ccb287623cccb7c03150953b6d2a09dd95122933393c9151c3a60095c97e
size 16337353
|