nyu-mll/glue
Viewer • Updated • 1.49M • 470k • 496
How to use Hartunka/bert_base_rand_20_v2_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_v2_cola") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Hartunka/bert_base_rand_20_v2_cola")
model = AutoModelForSequenceClassification.from_pretrained("Hartunka/bert_base_rand_20_v2_cola")# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Hartunka/bert_base_rand_20_v2_cola")
model = AutoModelForSequenceClassification.from_pretrained("Hartunka/bert_base_rand_20_v2_cola")This model is a fine-tuned version of Hartunka/bert_base_rand_20_v2 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.6147 | 1.0 | 34 | 0.6169 | 0.0 | 0.6913 |
| 0.5912 | 2.0 | 68 | 0.6169 | 0.0302 | 0.6855 |
| 0.5445 | 3.0 | 102 | 0.6372 | 0.0965 | 0.6616 |
| 0.4913 | 4.0 | 136 | 0.7028 | 0.0746 | 0.6577 |
| 0.434 | 5.0 | 170 | 0.7017 | 0.0952 | 0.6453 |
| 0.3888 | 6.0 | 204 | 0.7899 | 0.0734 | 0.6337 |
Base model
Hartunka/bert_base_rand_20_v2
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Hartunka/bert_base_rand_20_v2_cola")