Zero-Shot Classification
Transformers
PyTorch
TensorFlow
Safetensors
xlm-roberta
text-classification
tensorflow
nli
natural-language-inference
Eval Results (legacy)
Instructions to use nahiar/zero-shot-classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use nahiar/zero-shot-classification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("zero-shot-classification", model="nahiar/zero-shot-classification")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("nahiar/zero-shot-classification") model = AutoModelForSequenceClassification.from_pretrained("nahiar/zero-shot-classification", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 135 Bytes
099e31f | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:947e0cebe09808e3279f38ceeca58af60c1fcebefbdfa54642285f35a0f8ec57
size 2243942751
|