nyu-mll/glue
Viewer • Updated • 1.49M • 472k • 504
How to use Hartunka/bert_base_rand_50_v2_qnli with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="Hartunka/bert_base_rand_50_v2_qnli") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Hartunka/bert_base_rand_50_v2_qnli")
model = AutoModelForSequenceClassification.from_pretrained("Hartunka/bert_base_rand_50_v2_qnli")# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Hartunka/bert_base_rand_50_v2_qnli")
model = AutoModelForSequenceClassification.from_pretrained("Hartunka/bert_base_rand_50_v2_qnli")This model is a fine-tuned version of Hartunka/bert_base_rand_50_v2 on the GLUE QNLI 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 |
|---|---|---|---|---|
| 0.6614 | 1.0 | 410 | 0.6422 | 0.6244 |
| 0.6209 | 2.0 | 820 | 0.6291 | 0.6423 |
| 0.5531 | 3.0 | 1230 | 0.6537 | 0.6346 |
| 0.4498 | 4.0 | 1640 | 0.7286 | 0.6456 |
| 0.3341 | 5.0 | 2050 | 0.7747 | 0.6467 |
| 0.2345 | 6.0 | 2460 | 1.0803 | 0.6409 |
| 0.1664 | 7.0 | 2870 | 1.2036 | 0.6449 |
Base model
Hartunka/bert_base_rand_50_v2
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Hartunka/bert_base_rand_50_v2_qnli")