Instructions to use microsoft/deberta-base-mnli with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use microsoft/deberta-base-mnli with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="microsoft/deberta-base-mnli")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("microsoft/deberta-base-mnli") model = AutoModelForSequenceClassification.from_pretrained("microsoft/deberta-base-mnli") - Inference
- Notebooks
- Google Colab
- Kaggle
Pengcheng He commited on
Commit ·
b1878fc
1
Parent(s): 26cca7c
Add vocab type config
Browse files- tokenizer_config.json +2 -1
tokenizer_config.json
CHANGED
|
@@ -1,3 +1,4 @@
|
|
| 1 |
{
|
| 2 |
-
"do_lower_case": false
|
|
|
|
| 3 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"do_lower_case": false,
|
| 3 |
+
"vocab_type": "gpt2"
|
| 4 |
}
|