Instructions to use microsoft/deberta-xlarge-mnli with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use microsoft/deberta-xlarge-mnli with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="microsoft/deberta-xlarge-mnli")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("microsoft/deberta-xlarge-mnli") model = AutoModelForSequenceClassification.from_pretrained("microsoft/deberta-xlarge-mnli", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Download tokenizer_config.json from microsoft/deberta-xlarge-mnli: direct link, hf CLI and curl.
- Browser
- Download file 29 Bytes
-
https://huggingface.co/microsoft/deberta-xlarge-mnli/resolve/02a79c9192e55f2b154f3e9152b1eb5544e04cae/tokenizer_config.json
- Command line
-
hf download hf://microsoft/deberta-xlarge-mnli@02a79c9192e55f2b154f3e9152b1eb5544e04cae/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/microsoft/deberta-xlarge-mnli/resolve/02a79c9192e55f2b154f3e9152b1eb5544e04cae/tokenizer_config.json
29 Bytes
| { | |
| "do_lower_case": false | |
| } | |