Zero-Shot Classification
Transformers
ONNX
Safetensors
English
GLiClass
text classification
zero-shot
small language models
RAG
sentiment analysis
Instructions to use knowledgator/gliclass-large-v1.0 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use knowledgator/gliclass-large-v1.0 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("zero-shot-classification", model="knowledgator/gliclass-large-v1.0")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("knowledgator/gliclass-large-v1.0", dtype="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -93,3 +93,16 @@ Here you can see how the performance of the model grows providing more examples:
|
|
| 93 |
| gliclass-small-v1.0 | 8 | 0.3042 | 0.5683 | 0.6332 | 0.7072 | 0.759 | 0.4509 | 0.4434 | 0.5523142857|
|
| 94 |
| gliclass-base-v1.0 | 8 | 0.3387 | 0.7361 | 0.7059 | 0.7456 | 0.7896 | 0.4323 | 0.4802 | 0.6040571429|
|
| 95 |
| gliclass-large-v1.0 | 8 | 0.4365 | 0.9018 | 0.77 | 0.8533 | 0.8509 | 0.5061 | 0.4935 | 0.6874428571|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 93 |
| gliclass-small-v1.0 | 8 | 0.3042 | 0.5683 | 0.6332 | 0.7072 | 0.759 | 0.4509 | 0.4434 | 0.5523142857|
|
| 94 |
| gliclass-base-v1.0 | 8 | 0.3387 | 0.7361 | 0.7059 | 0.7456 | 0.7896 | 0.4323 | 0.4802 | 0.6040571429|
|
| 95 |
| gliclass-large-v1.0 | 8 | 0.4365 | 0.9018 | 0.77 | 0.8533 | 0.8509 | 0.5061 | 0.4935 | 0.6874428571|
|
| 96 |
+
|
| 97 |
+
## Citation
|
| 98 |
+
```bibtex
|
| 99 |
+
@misc{stepanov2025gliclassgeneralistlightweightmodel,
|
| 100 |
+
title={GLiClass: Generalist Lightweight Model for Sequence Classification Tasks},
|
| 101 |
+
author={Ihor Stepanov and Mykhailo Shtopko and Dmytro Vodianytskyi and Oleksandr Lukashov and Alexander Yavorskyi and Mykyta Yaroshenko},
|
| 102 |
+
year={2025},
|
| 103 |
+
eprint={2508.07662},
|
| 104 |
+
archivePrefix={arXiv},
|
| 105 |
+
primaryClass={cs.LG},
|
| 106 |
+
url={https://arxiv.org/abs/2508.07662},
|
| 107 |
+
}
|
| 108 |
+
```
|