nyu-mll/glue
Viewer • Updated • 1.49M • 487k • 498
How to use sgugger/finetuned-bert-mrpc with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="sgugger/finetuned-bert-mrpc") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("sgugger/finetuned-bert-mrpc")
model = AutoModelForSequenceClassification.from_pretrained("sgugger/finetuned-bert-mrpc")This model is a fine-tuned version of bert-base-cased 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 | Accuracy | F1 |
|---|---|---|---|---|---|
| 0.5382 | 1.0 | 230 | 0.4008 | 0.8456 | 0.8893 |
| 0.3208 | 2.0 | 460 | 0.4182 | 0.8309 | 0.8844 |
| 0.1587 | 3.0 | 690 | 0.4917 | 0.8235 | 0.8792 |