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 lines121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606115161711 unmodified linesmodel-index:- name: roberta-base-mrpc results: - task: name: Text Classification type: text-classification dataset: name: GLUE MRPC type: glue args: mrpc metrics: - name: Accuracy type: accuracy value: 0.8774509803921569 - name: F1 type: f1 value: 0.9137931034482758 - task: type: natural-language-inference name: Natural Language Inference dataset: name: glue type: glue config: mrpc split: train metrics: - name: Accuracy type: accuracy value: 0.979825517993457 verified: true - name: Precision type: precision value: 0.9842615012106537 verified: true - name: Recall type: recall value: 0.9858528698464026 verified: true - name: AUC type: auc value: 0.9958293217637636 verified: true - name: F1 type: f1 value: 0.9850565428109854 verified: true - name: loss type: loss value: 0.08004990220069885 verified: true - task: type: natural-language-inference name: Natural Language InferenceREADME.md-47