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")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("microsoft/deberta-xlarge-mnli") model = AutoModelForSequenceClassification.from_pretrained("microsoft/deberta-xlarge-mnli") - Inference
- Notebooks
- Google Colab
- Kaggle
Add TF weights
#1
by joaogante - opened
Model converted by the transformers' pt_to_tf CLI.
All converted model outputs and hidden layers were validated against its Pytorch counterpart. Maximum crossload output difference=2.003e-05; Maximum converted output difference=2.003e-05.
Looks good to me, thanks for providing the TensorFlow weights for this model @joaogante !
lysandre changed pull request status to merged