nyu-mll/glue
Viewer • Updated • 1.49M • 472k • 497
How to use Hartunka/bert_base_rand_5_v1_cola 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_cola") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Hartunka/bert_base_rand_5_v1_cola")
model = AutoModelForSequenceClassification.from_pretrained("Hartunka/bert_base_rand_5_v1_cola")# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Hartunka/bert_base_rand_5_v1_cola")
model = AutoModelForSequenceClassification.from_pretrained("Hartunka/bert_base_rand_5_v1_cola")This model is a fine-tuned version of Hartunka/bert_base_rand_5_v1 on the GLUE COLA 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 | Matthews Correlation | Accuracy |
|---|---|---|---|---|---|
| 0.6104 | 1.0 | 34 | 0.6192 | 0.0 | 0.6913 |
| 0.5898 | 2.0 | 68 | 0.6221 | 0.0832 | 0.6865 |
| 0.5378 | 3.0 | 102 | 0.6418 | 0.0452 | 0.6587 |
| 0.4934 | 4.0 | 136 | 0.6848 | 0.1207 | 0.6558 |
| 0.434 | 5.0 | 170 | 0.6773 | 0.1142 | 0.6654 |
| 0.3853 | 6.0 | 204 | 0.7984 | 0.0531 | 0.6299 |
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_cola")