Instructions to use textattack/bert-base-uncased-MNLI with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use textattack/bert-base-uncased-MNLI with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="textattack/bert-base-uncased-MNLI")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("textattack/bert-base-uncased-MNLI") model = AutoModelForSequenceClassification.from_pretrained("textattack/bert-base-uncased-MNLI", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
d98a6ee | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:135b7a9f64370dfb13064b70108b35040db8d82cbf40bcee7ce2a9f042e41223
size 1052
|