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