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