Text Classification
Transformers.js
ONNX
GLiNER2
English
deberta-v2
feature-extraction
webgpu
typed-decisions
open-jev
system-one
decision-model
Instructions to use onnx-community/GLiNER2.5-Decide-ONNX with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers.js
How to use onnx-community/GLiNER2.5-Decide-ONNX with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('text-classification', 'onnx-community/GLiNER2.5-Decide-ONNX'); - GLiNER2
How to use onnx-community/GLiNER2.5-Decide-ONNX with GLiNER2:
from gliner2 import AutoExtractor extractor = AutoExtractor.from_pretrained("onnx-community/GLiNER2.5-Decide-ONNX") # 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
Download onnx/model_q4.onnx from onnx-community/GLiNER2.5-Decide-ONNX: direct link, hf CLI and curl.
- Browser
- Download file 310 kB
-
https://huggingface.co/onnx-community/GLiNER2.5-Decide-ONNX/resolve/main/onnx/model_q4.onnx
- Command line
-
hf download hf://onnx-community/GLiNER2.5-Decide-ONNX/onnx/model_q4.onnx
-
curl -L -o model_q4.onnx https://huggingface.co/onnx-community/GLiNER2.5-Decide-ONNX/resolve/main/onnx/model_q4.onnx
310 kB
- Xet hash:
- 6647bea56f95ff2822092da7544489c1edcb8dbcc4862aee5d3bd096243cfa2d
- Size of remote file:
- 310 kB
- SHA256:
- 6aa2dedee089bf5e436d8d4e8b137b5beea6682a6638b800c762420b90232a07
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.