Run this model with HF Jobs
Run Intel/bart-large-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/bart-large-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/bart-large-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/bart-large-mrpc with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Intel/bart-large-mrpc with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Intel/bart-large-mrpc")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Intel/bart-large-mrpc") model = AutoModelForSequenceClassification.from_pretrained("Intel/bart-large-mrpc", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download trainer_state.json from Intel/bart-large-mrpc: direct link, hf CLI and curl.
- Browser
- Download file 838 Bytes
-
https://huggingface.co/Intel/bart-large-mrpc/resolve/main/trainer_state.json
- Command line
-
hf download hf://Intel/bart-large-mrpc/trainer_state.json
-
curl -L -o trainer_state.json https://huggingface.co/Intel/bart-large-mrpc/resolve/main/trainer_state.json
838 Bytes
| { | |
| "best_metric": null, | |
| "best_model_checkpoint": null, | |
| "epoch": 5.0, | |
| "global_step": 1150, | |
| "is_hyper_param_search": false, | |
| "is_local_process_zero": true, | |
| "is_world_process_zero": true, | |
| "log_history": [ | |
| { | |
| "epoch": 2.17, | |
| "learning_rate": 1.1304347826086957e-05, | |
| "loss": 0.4274, | |
| "step": 500 | |
| }, | |
| { | |
| "epoch": 4.35, | |
| "learning_rate": 2.6086956521739132e-06, | |
| "loss": 0.1579, | |
| "step": 1000 | |
| }, | |
| { | |
| "epoch": 5.0, | |
| "step": 1150, | |
| "total_flos": 9965799833579520.0, | |
| "train_loss": 0.2639701959361201, | |
| "train_runtime": 7095.5636, | |
| "train_samples_per_second": 2.585, | |
| "train_steps_per_second": 0.162 | |
| } | |
| ], | |
| "max_steps": 1150, | |
| "num_train_epochs": 5, | |
| "total_flos": 9965799833579520.0, | |
| "trial_name": null, | |
| "trial_params": null | |
| } | |