Text Classification
Transformers
PyTorch
English
roberta
Generated from Trainer
Eval Results (legacy)
text-embeddings-inference
Instructions to use Intel/roberta-base-mrpc with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Intel/roberta-base-mrpc with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Intel/roberta-base-mrpc")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Intel/roberta-base-mrpc") model = AutoModelForSequenceClassification.from_pretrained("Intel/roberta-base-mrpc", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download vocab.json from Intel/roberta-base-mrpc: direct link, hf CLI and curl.
- Browser
- Download file 798 kB
-
https://huggingface.co/Intel/roberta-base-mrpc/resolve/refs%2Fpr%2F6/vocab.json
- Command line
-
hf download hf://Intel/roberta-base-mrpc@refs/pr/6/vocab.json
-
curl -L -o vocab.json https://huggingface.co/Intel/roberta-base-mrpc/resolve/refs%2Fpr%2F6/vocab.json
798 kB
File too large to display, you can check the raw version instead.