nyu-mll/glue
Viewer • Updated • 1.49M • 480k • 498
How to use Hartunka/bert_base_rand_20_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_20_v1_mrpc") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Hartunka/bert_base_rand_20_v1_mrpc")
model = AutoModelForSequenceClassification.from_pretrained("Hartunka/bert_base_rand_20_v1_mrpc")# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Hartunka/bert_base_rand_20_v1_mrpc")
model = AutoModelForSequenceClassification.from_pretrained("Hartunka/bert_base_rand_20_v1_mrpc")This model is a fine-tuned version of Hartunka/bert_base_rand_20_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.6376 | 1.0 | 15 | 0.5900 | 0.6912 | 0.8006 | 0.7459 |
| 0.5782 | 2.0 | 30 | 0.5873 | 0.7132 | 0.7958 | 0.7545 |
| 0.5004 | 3.0 | 45 | 0.5992 | 0.7157 | 0.7986 | 0.7571 |
| 0.3709 | 4.0 | 60 | 0.7209 | 0.6936 | 0.7723 | 0.7330 |
| 0.2326 | 5.0 | 75 | 0.9645 | 0.6814 | 0.7610 | 0.7212 |
| 0.1352 | 6.0 | 90 | 1.1715 | 0.6789 | 0.7690 | 0.7239 |
| 0.0961 | 7.0 | 105 | 1.2892 | 0.6618 | 0.7579 | 0.7098 |
Base model
Hartunka/bert_base_rand_20_v1
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Hartunka/bert_base_rand_20_v1_mrpc")