nyu-mll/glue
Viewer • Updated • 1.49M • 481k • 501
How to use Hartunka/bert_base_rand_5_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_5_v2_qnli") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Hartunka/bert_base_rand_5_v2_qnli")
model = AutoModelForSequenceClassification.from_pretrained("Hartunka/bert_base_rand_5_v2_qnli")# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Hartunka/bert_base_rand_5_v2_qnli")
model = AutoModelForSequenceClassification.from_pretrained("Hartunka/bert_base_rand_5_v2_qnli")This model is a fine-tuned version of Hartunka/bert_base_rand_5_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.6613 | 1.0 | 410 | 0.6415 | 0.6249 |
| 0.6213 | 2.0 | 820 | 0.6277 | 0.6414 |
| 0.5509 | 3.0 | 1230 | 0.6466 | 0.6365 |
| 0.4463 | 4.0 | 1640 | 0.7136 | 0.6511 |
| 0.3322 | 5.0 | 2050 | 0.7906 | 0.6625 |
| 0.2362 | 6.0 | 2460 | 0.9955 | 0.6469 |
| 0.1685 | 7.0 | 2870 | 1.0700 | 0.6546 |
Base model
Hartunka/bert_base_rand_5_v2
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Hartunka/bert_base_rand_5_v2_qnli")