Text Classification
Transformers
PyTorch
English
xlm-roberta
Generated from Trainer
Eval Results (legacy)
text-embeddings-inference
Run this model with HF Jobs
Run Intel/xlm-roberta-base-mrpc on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/Intel/xlm-roberta-base-mrpc. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/Intel/xlm-roberta-base-mrpc on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
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
Librarian Bot: Add base_model information to model
#2
by librarian-bot - opened
8 unmodified lines9101112131415161718192021222324252627282930318 unmodified linesmetrics:- accuracy- f1model-index:- name: xlm-roberta-base-mrpcresults:- task:name: Text Classificationtype: text-classificationdataset:name: GLUE MRPCtype: glueargs: mrpcmetrics:- name: Accuracytype: accuracyvalue: 0.8578431372549019- name: F1type: f1value: 0.901023890784983---<!-- This model card has been generated automatically according to the information the Trainer had access to. You8 unmodified lines910111213141516171819202122232425262728293031328 unmodified linesmetrics:- accuracy- f1base_model: xlm-roberta-basemodel-index:- name: xlm-roberta-base-mrpcresults:- task:type: text-classificationname: Text Classificationdataset:name: GLUE MRPCtype: glueargs: mrpcmetrics:- type: accuracyvalue: 0.8578431372549019name: Accuracy- type: f1value: 0.901023890784983name: F1---<!-- This model card has been generated automatically according to the information the Trainer had access to. You
README.md+6-5