nyu-mll/glue
Viewer โข Updated โข 1.49M โข 527k โข 613
Run nikuznetsov/roberta-base-finetuned-cola 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:
Use HF Jobs to fine-tune https://huggingface.co/nikuznetsov/roberta-base-finetuned-cola. 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.
Use HF Jobs to run batch inference with https://huggingface.co/nikuznetsov/roberta-base-finetuned-cola 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.
How to use nikuznetsov/roberta-base-finetuned-cola with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="nikuznetsov/roberta-base-finetuned-cola") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("nikuznetsov/roberta-base-finetuned-cola")
model = AutoModelForSequenceClassification.from_pretrained("nikuznetsov/roberta-base-finetuned-cola", device_map="auto")# pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("nikuznetsov/roberta-base-finetuned-cola")
model = AutoModelForSequenceClassification.from_pretrained("nikuznetsov/roberta-base-finetuned-cola", device_map="auto")This model is a fine-tuned version of roberta-base on the glue dataset. It achieves the following results on the evaluation set:
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Matthews Correlation |
|---|---|---|---|---|
| 0.5027 | 1.0 | 535 | 0.6017 | 0.4369 |
| 0.33 | 2.0 | 1070 | 0.5066 | 0.5521 |
| 0.2311 | 3.0 | 1605 | 0.6269 | 0.5727 |
| 0.1767 | 4.0 | 2140 | 0.7832 | 0.5880 |
| 0.1337 | 5.0 | 2675 | 0.9164 | 0.5880 |
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="nikuznetsov/roberta-base-finetuned-cola")