Text Classification
Transformers
PyTorch
English
roberta
Generated from Trainer
Eval Results (legacy)
text-embeddings-inference
Run this model with HF Jobs
Run Intel/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/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/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/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")# pip install -U transformers accelerate # 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
Update README.md
Browse files11 unmodified lines121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636411 unmodified linesmodel-index:- name: roberta-base-mrpcresults:- task:name: Text Classificationtype: text-classificationdataset:name: GLUE MRPCtype: glueargs: mrpcmetrics:- name: Accuracytype: accuracyvalue: 0.8774509803921569- name: F1type: f1value: 0.9137931034482758- task:type: natural-language-inferencename: Natural Language Inferencedataset:name: gluetype: glueconfig: mrpcsplit: trainmetrics:- name: Accuracytype: accuracyvalue: 0.979825517993457verified: true- name: Precisiontype: precisionvalue: 0.9842615012106537verified: true- name: Recalltype: recallvalue: 0.9858528698464026verified: true- name: AUCtype: aucvalue: 0.9958293217637636verified: true- name: F1type: f1value: 0.9850565428109854verified: true- name: losstype: lossvalue: 0.08004990220069885verified: true- task:type: natural-language-inferencename: Natural Language Inference11 unmodified lines12131415161711 unmodified linesmodel-index:- name: roberta-base-mrpcresults:- task:type: natural-language-inferencename: Natural Language Inference
README.md-47