Token Classification
GLiNER2
Safetensors
English
extractor
Text classification
Named Entity Recognition
Relation Extraction
Intent classification
Sentiment Analysis
Topic classification
Structured extraction
Json extraction
information-extraction
boundary-extraction
Instructions to use fastino/gliner2.5-base-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- GLiNER2
How to use fastino/gliner2.5-base-v1 with GLiNER2:
from gliner2 import GLiNER2 model = GLiNER2.from_pretrained("fastino/gliner2.5-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
Upload folder using huggingface_hub
Browse files- config.json +1 -1
- encoder_config/config.json +1 -1
- model.safetensors +2 -2
config.json
CHANGED
|
@@ -95,5 +95,5 @@
|
|
| 95 |
"model_name": "microsoft/deberta-v3-base",
|
| 96 |
"model_type": "extractor",
|
| 97 |
"token_pooling": "first",
|
| 98 |
-
"transformers_version": "5.
|
| 99 |
}
|
|
|
|
| 95 |
"model_name": "microsoft/deberta-v3-base",
|
| 96 |
"model_type": "extractor",
|
| 97 |
"token_pooling": "first",
|
| 98 |
+
"transformers_version": "5.8.0"
|
| 99 |
}
|
encoder_config/config.json
CHANGED
|
@@ -29,7 +29,7 @@
|
|
| 29 |
"relative_attention": true,
|
| 30 |
"share_att_key": true,
|
| 31 |
"tie_word_embeddings": true,
|
| 32 |
-
"transformers_version": "5.
|
| 33 |
"type_vocab_size": 0,
|
| 34 |
"vocab_size": 128011
|
| 35 |
}
|
|
|
|
| 29 |
"relative_attention": true,
|
| 30 |
"share_att_key": true,
|
| 31 |
"tie_word_embeddings": true,
|
| 32 |
+
"transformers_version": "5.8.0",
|
| 33 |
"type_vocab_size": 0,
|
| 34 |
"vocab_size": 128011
|
| 35 |
}
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7274094de2e0c2a37a386f55fc4e23061a954da5bd7a335e7dfe56f2743c277a
|
| 3 |
+
size 774366564
|