Instructions to use Hansda/GLiNER2.5-multi-Decide-GGUF with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- GLiNER2
How to use Hansda/GLiNER2.5-multi-Decide-GGUF with GLiNER2:
from gliner2 import AutoExtractor extractor = AutoExtractor.from_pretrained("Hansda/GLiNER2.5-multi-Decide-GGUF") # 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
GLiNER2.5-multi-Decide GGUF
GGUF conversion of Fastino's GLiNER2.5-multi-Decide. This model scores user-supplied labels from contextual marker states. It uses an mDeBERTa-v3 encoder and includes the original schema-extraction heads.
The GGUF sidebar entries Q3_K_S and Q4_K_S use compatibility filenames for the Q3_K and Q4_K builds. Each alias has the same SHA-256 as its original file. Each build uses one K-quant block format on eligible tensors and retains the source precision of the other tensors. Download Q3_K GGUF ยท Download Q4_K GGUF
Files
Start with Q4_K, or choose Q8_0 for higher precision. Each GGUF includes the original tokenizer and all 334 tensors. The selected format applies to 73 eligible encoder tensors. Schema heads, relative attention embeddings, and normalization parameters retain source precision.
| File | Component | Quantization | Size | Status |
|---|---|---|---|---|
| GLiNER2.5-multi-Decide-Q4_K.gguf | encoder and schema heads | Q4_K | 204,053,984 bytes | Available |
| GLiNER2.5-multi-Decide-Q6_K.gguf | encoder and schema heads | Q6_K | 275,473,376 bytes | Available |
| GLiNER2.5-multi-Decide-Q3_K.gguf | encoder and schema heads | Q3_K | 167,262,176 bytes | Available |
| GLiNER2.5-multi-Decide-Q2_K.gguf | encoder and schema heads | Q2_K | 139,127,264 bytes | Available |
| GLiNER2.5-multi-Decide-Q8_0.gguf | encoder and schema heads | Q8_0 | 342,564,320 bytes | Available |
Run locally
Use gliner.cpp at the tested revision and apply the included loader patch to enable these tensor formats. The following commands build the CPU runtime from the model directory.
git clone https://github.com/sandrohanea/gliner.cpp
git -C gliner.cpp checkout 26fa8e2a71fd41290a1019d5d721c5aa058f5576
git -C gliner.cpp apply "$PWD/gliner-quant-loader.patch"
cmake -S gliner.cpp -B gliner.cpp/build -DCMAKE_BUILD_TYPE=Release
cmake --build gliner.cpp/build -j 6
gliner.cpp/build/gliner-classify --model GLiNER2.5-multi-Decide-Q4_K.gguf \
--task intent --labels refund_request,order_status,other \
--text "Please refund my order."
For entity spans or supported record schemas, see gliner.cpp extraction usage.
Validation
The F32 conversion was compared with the Transformers/PyTorch reference on multilingual inputs. All listed variants loaded in the native CPU runtime and exercised classification, entity extraction, and record extraction. Top-label agreement across five refund requests in English, Spanish, French, Arabic, and Chinese was Q4_K 5/5, Q6_K 5/5, Q3_K 5/5, Q2_K 4/5, Q8_0 5/5. This is smoke-test coverage.
License
Apache-2.0. See LICENSE and the gliner.cpp license.
- Downloads last month
- 244
2-bit
3-bit
4-bit
6-bit
8-bit
Model tree for Hansda/GLiNER2.5-multi-Decide-GGUF
Base model
fastino/gliner2.5-multi-v1