Instructions to use typeform/squeezebert-mnli with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use typeform/squeezebert-mnli with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("zero-shot-classification", model="typeform/squeezebert-mnli")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("typeform/squeezebert-mnli", dtype="auto") - Notebooks
- Google Colab
- Kaggle
David Chu commited on
Commit ·
f70e06a
1
Parent(s): 625d89b
Update config.json
Browse files- config.json +1 -1
config.json
CHANGED
|
@@ -22,7 +22,7 @@
|
|
| 22 |
"label2id": {
|
| 23 |
"ENTAILMENT": 0,
|
| 24 |
"NEUTRAL": 1,
|
| 25 |
-
"CONTRADICTION": 2
|
| 26 |
},
|
| 27 |
"id2label": {
|
| 28 |
"0": "ENTAILMENT",
|
|
|
|
| 22 |
"label2id": {
|
| 23 |
"ENTAILMENT": 0,
|
| 24 |
"NEUTRAL": 1,
|
| 25 |
+
"CONTRADICTION": 2
|
| 26 |
},
|
| 27 |
"id2label": {
|
| 28 |
"0": "ENTAILMENT",
|