Text Classification
Transformers
PyTorch
English
xlm-roberta
Generated from Trainer
Eval Results (legacy)
text-embeddings-inference
Instructions to use Intel/xlm-roberta-base-mrpc with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Intel/xlm-roberta-base-mrpc with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Intel/xlm-roberta-base-mrpc")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Intel/xlm-roberta-base-mrpc") model = AutoModelForSequenceClassification.from_pretrained("Intel/xlm-roberta-base-mrpc", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download train_results.json from Intel/xlm-roberta-base-mrpc: direct link, hf CLI and curl.
- Browser
- Download file 192 Bytes
-
https://huggingface.co/Intel/xlm-roberta-base-mrpc/resolve/main/train_results.json
- Command line
-
hf download hf://Intel/xlm-roberta-base-mrpc/train_results.json
-
curl -L -o train_results.json https://huggingface.co/Intel/xlm-roberta-base-mrpc/resolve/main/train_results.json
192 Bytes
| { | |
| "epoch": 5.0, | |
| "train_loss": 0.4503614044189453, | |
| "train_runtime": 4427.9443, | |
| "train_samples": 3668, | |
| "train_samples_per_second": 4.142, | |
| "train_steps_per_second": 0.26 | |
| } |