nyu-mll/glue
Viewer • Updated • 1.49M • 388k • 516
How to use Hartunka/tiny_bert_rand_5_v2_mrpc with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="Hartunka/tiny_bert_rand_5_v2_mrpc") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Hartunka/tiny_bert_rand_5_v2_mrpc")
model = AutoModelForSequenceClassification.from_pretrained("Hartunka/tiny_bert_rand_5_v2_mrpc")# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Hartunka/tiny_bert_rand_5_v2_mrpc")
model = AutoModelForSequenceClassification.from_pretrained("Hartunka/tiny_bert_rand_5_v2_mrpc")This model is a fine-tuned version of Hartunka/tiny_bert_rand_5_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.6344 | 1.0 | 15 | 0.6029 | 0.7108 | 0.8239 | 0.7673 |
| 0.5907 | 2.0 | 30 | 0.5934 | 0.6985 | 0.8057 | 0.7521 |
| 0.5576 | 3.0 | 45 | 0.6198 | 0.7059 | 0.8171 | 0.7615 |
| 0.5277 | 4.0 | 60 | 0.6068 | 0.6838 | 0.7684 | 0.7261 |
| 0.449 | 5.0 | 75 | 0.6315 | 0.6961 | 0.7877 | 0.7419 |
| 0.3555 | 6.0 | 90 | 0.7846 | 0.6642 | 0.7468 | 0.7055 |
| 0.2687 | 7.0 | 105 | 0.8465 | 0.6789 | 0.7665 | 0.7227 |
Base model
Hartunka/tiny_bert_rand_5_v2
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Hartunka/tiny_bert_rand_5_v2_mrpc")