nyu-mll/glue
Viewer • Updated • 1.49M • 458k • 495
How to use Hartunka/bert_base_rand_20_v2_mrpc with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="Hartunka/bert_base_rand_20_v2_mrpc") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Hartunka/bert_base_rand_20_v2_mrpc")
model = AutoModelForSequenceClassification.from_pretrained("Hartunka/bert_base_rand_20_v2_mrpc")# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Hartunka/bert_base_rand_20_v2_mrpc")
model = AutoModelForSequenceClassification.from_pretrained("Hartunka/bert_base_rand_20_v2_mrpc")This model is a fine-tuned version of Hartunka/bert_base_rand_20_v2 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.6372 | 1.0 | 15 | 0.5887 | 0.7010 | 0.8094 | 0.7552 |
| 0.5784 | 2.0 | 30 | 0.5865 | 0.7132 | 0.7965 | 0.7549 |
| 0.5021 | 3.0 | 45 | 0.5903 | 0.7157 | 0.8014 | 0.7585 |
| 0.3739 | 4.0 | 60 | 0.7028 | 0.6936 | 0.7756 | 0.7346 |
| 0.2326 | 5.0 | 75 | 0.9849 | 0.6814 | 0.7662 | 0.7238 |
| 0.1394 | 6.0 | 90 | 1.1196 | 0.6642 | 0.7514 | 0.7078 |
| 0.1015 | 7.0 | 105 | 1.3284 | 0.6765 | 0.7724 | 0.7244 |
Base model
Hartunka/bert_base_rand_20_v2
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Hartunka/bert_base_rand_20_v2_mrpc")