Zero-Shot Classification
Transformers
Safetensors
English
switch_transformers
text-classification
Generated from Trainer
custom_code
Eval Results (legacy)
Instructions to use glamprou/switch-base-8-mnli with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use glamprou/switch-base-8-mnli with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("zero-shot-classification", model="glamprou/switch-base-8-mnli", trust_remote_code=True)# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("glamprou/switch-base-8-mnli", trust_remote_code=True) model = AutoModelForSequenceClassification.from_pretrained("glamprou/switch-base-8-mnli", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -23,6 +23,7 @@ model-index:
|
|
| 23 |
- name: Accuracy
|
| 24 |
type: accuracy
|
| 25 |
value: 0.8757119609438568
|
|
|
|
| 26 |
---
|
| 27 |
|
| 28 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
|
|
| 23 |
- name: Accuracy
|
| 24 |
type: accuracy
|
| 25 |
value: 0.8757119609438568
|
| 26 |
+
pipeline_tag: zero-shot-classification
|
| 27 |
---
|
| 28 |
|
| 29 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|