Text Classification
GLiNER
English
coreai
coreai-aimodel
core-ai
coreaikit
apple
on-device
zero-shot-classification
deberta
typed-decisions
Instructions to use coreai-community/GLiNER2.5-Decide-CoreAI with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- GLiNER
How to use coreai-community/GLiNER2.5-Decide-CoreAI with GLiNER:
from gliner import GLiNER model = GLiNER.from_pretrained("coreai-community/GLiNER2.5-Decide-CoreAI") text = "Cristiano Ronaldo dos Santos Aveiro was born on 5 February 1985 in Funchal, Madeira, Portugal." labels = ["person", "date", "location"] entities = model.predict_entities(text, labels) for entity in entities: print(entity["text"], "=>", entity["label"]) - Notebooks
- Google Colab
- Kaggle
GLiNER2.5-Decide on Core AI: fp16 graphs S=256/512 (macos JIT, ios h19p AOT), tokenizer, classifier.json, gate fixtures, LICENSE/NOTICE (mirror of mlboydaisuke/GLiNER2.5-Decide-CoreAI@7464c91)
1639255 verified Download source/config.json from coreai-community/GLiNER2.5-Decide-CoreAI: direct link, hf CLI and curl.
- Browser
- Download file 594 Bytes
-
https://huggingface.co/coreai-community/GLiNER2.5-Decide-CoreAI/resolve/main/source/config.json
- Command line
-
hf download hf://coreai-community/GLiNER2.5-Decide-CoreAI/source/config.json
-
curl -L -o config.json https://huggingface.co/coreai-community/GLiNER2.5-Decide-CoreAI/resolve/main/source/config.json
594 Bytes
| { | |
| "_attn_implementation_autoset": true, | |
| "_name_or_path": "/home/urchadezaratiana/checkpoints/checkpoint-45500", | |
| "architecture": "span", | |
| "architecture_version": 1, | |
| "architectures": [ | |
| "SpanExtractor" | |
| ], | |
| "attn_implementation": "sdpa", | |
| "config_version": 3, | |
| "counting_layer": "count_lstm", | |
| "max_len": null, | |
| "max_width": 8, | |
| "model_name": "microsoft/deberta-v3-large", | |
| "model_type": "extractor", | |
| "span_head": { | |
| "dropout": 0.1, | |
| "max_width": 8, | |
| "span_mode": "markerV0" | |
| }, | |
| "token_pooling": "first", | |
| "transformers_version": "4.48.1", | |
| "use_moe": false | |
| } | |