Transformers
Safetensors
GLiNER2
multilingual
English
Text classification
Named Entity Recognition
Relation Extraction
Intent classification
Sentiment Analysis
Topic classification
Structured extraction
Json extraction
information-extraction
boundary-extraction
schema-extraction
Instructions to use fastino/gliner2.5-multi-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use fastino/gliner2.5-multi-v1 with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import Gliner2ForSchemaExtraction model = Gliner2ForSchemaExtraction.from_pretrained("fastino/gliner2.5-multi-v1", device_map="auto") - GLiNER2
How to use fastino/gliner2.5-multi-v1 with GLiNER2:
from gliner2 import AutoExtractor extractor = AutoExtractor.from_pretrained("fastino/gliner2.5-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
Commit ·
235cf92
1
Parent(s): dc3e20a
Upload GLiNER-2.5-Multi-HF-Banner.png (#4)
Browse files- Upload GLiNER-2.5-Multi-HF-Banner.png (11064b1dae1ba9f32df0d13ac6a530117578708e)
Co-authored-by: Thao Nguyen <thaooonguyennn@users.noreply.huggingface.co>
- .gitattributes +1 -0
- GLiNER-2.5-Multi-HF-Banner.png +3 -0
.gitattributes
CHANGED
|
@@ -35,3 +35,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 37 |
GitHub_new.jpg filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 37 |
GitHub_new.jpg filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
GLiNER-2.5-Multi-HF-Banner.png filter=lfs diff=lfs merge=lfs -text
|
GLiNER-2.5-Multi-HF-Banner.png
ADDED
|
Git LFS Details
|