nyu-mll/glue
Viewer • Updated • 1.49M • 487k • 498
How to use Hartunka/bert_base_rand_20_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_20_v1_cola") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Hartunka/bert_base_rand_20_v1_cola")
model = AutoModelForSequenceClassification.from_pretrained("Hartunka/bert_base_rand_20_v1_cola")# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Hartunka/bert_base_rand_20_v1_cola")
model = AutoModelForSequenceClassification.from_pretrained("Hartunka/bert_base_rand_20_v1_cola")This model is a fine-tuned version of Hartunka/bert_base_rand_20_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.6148 | 1.0 | 34 | 0.6175 | 0.0464 | 0.6922 |
| 0.5918 | 2.0 | 68 | 0.6162 | 0.0293 | 0.6836 |
| 0.545 | 3.0 | 102 | 0.6346 | 0.1012 | 0.6702 |
| 0.4906 | 4.0 | 136 | 0.7282 | 0.0907 | 0.6654 |
| 0.4302 | 5.0 | 170 | 0.6911 | 0.0949 | 0.6548 |
| 0.3838 | 6.0 | 204 | 0.8097 | 0.0868 | 0.6261 |
| 0.3359 | 7.0 | 238 | 0.8488 | 0.1074 | 0.6376 |
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_cola")