nyu-mll/glue
Viewer โข Updated โข 1.49M โข 467k โข 787
How to use madsci/MRPC with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="madsci/MRPC") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("madsci/MRPC")
model = AutoModelForSequenceClassification.from_pretrained("madsci/MRPC", device_map="auto")# pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("madsci/MRPC")
model = AutoModelForSequenceClassification.from_pretrained("madsci/MRPC", device_map="auto")This model is a fine-tuned version of bert-base-uncased on the GLUE MRPC 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 | Combined Score |
|---|---|---|---|---|---|---|
| 0.6764 | 0.07 | 30 | 0.6116 | 0.6838 | 0.8122 | 0.7480 |
| 0.666 | 0.13 | 60 | 0.6866 | 0.6078 | 0.6787 | 0.6433 |
| 0.6512 | 0.2 | 90 | 0.6238 | 0.6838 | 0.8122 | 0.7480 |
| 0.6677 | 0.26 | 120 | 0.6379 | 0.6838 | 0.8122 | 0.7480 |
| 0.6328 | 0.33 | 150 | 0.6258 | 0.6838 | 0.8122 | 0.7480 |
| 0.6712 | 0.39 | 180 | 0.6247 | 0.6838 | 0.8122 | 0.7480 |
| 0.6357 | 0.46 | 210 | 0.6271 | 0.6838 | 0.8122 | 0.7480 |
| 0.5826 | 0.52 | 240 | 0.6275 | 0.6838 | 0.8122 | 0.7480 |
| 0.5921 | 0.59 | 270 | 0.6316 | 0.6838 | 0.8122 | 0.7480 |
| 0.6667 | 0.65 | 300 | 0.6270 | 0.6838 | 0.8122 | 0.7480 |
Base model
google-bert/bert-base-uncased
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="madsci/MRPC")