nyu-mll/glue
Viewer • Updated • 1.49M • 466k • 496
How to use Hartunka/bert_base_rand_5_v1_mrpc with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="Hartunka/bert_base_rand_5_v1_mrpc") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Hartunka/bert_base_rand_5_v1_mrpc")
model = AutoModelForSequenceClassification.from_pretrained("Hartunka/bert_base_rand_5_v1_mrpc")# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Hartunka/bert_base_rand_5_v1_mrpc")
model = AutoModelForSequenceClassification.from_pretrained("Hartunka/bert_base_rand_5_v1_mrpc")This model is a fine-tuned version of Hartunka/bert_base_rand_5_v1 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.6331 | 1.0 | 15 | 0.5938 | 0.7083 | 0.8149 | 0.7616 |
| 0.5749 | 2.0 | 30 | 0.5865 | 0.7059 | 0.7952 | 0.7506 |
| 0.4908 | 3.0 | 45 | 0.5995 | 0.6936 | 0.7899 | 0.7418 |
| 0.3591 | 4.0 | 60 | 0.7470 | 0.6667 | 0.7563 | 0.7115 |
| 0.2263 | 5.0 | 75 | 0.9707 | 0.6691 | 0.7559 | 0.7125 |
| 0.1315 | 6.0 | 90 | 1.2855 | 0.6520 | 0.7390 | 0.6955 |
| 0.0994 | 7.0 | 105 | 1.3981 | 0.6152 | 0.6928 | 0.6540 |
Base model
Hartunka/bert_base_rand_5_v1
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Hartunka/bert_base_rand_5_v1_mrpc")