nyu-mll/glue
Viewer • Updated • 1.49M • 480k • 498
How to use Hartunka/bert_base_rand_50_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_50_v1_cola") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Hartunka/bert_base_rand_50_v1_cola")
model = AutoModelForSequenceClassification.from_pretrained("Hartunka/bert_base_rand_50_v1_cola")# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Hartunka/bert_base_rand_50_v1_cola")
model = AutoModelForSequenceClassification.from_pretrained("Hartunka/bert_base_rand_50_v1_cola")This model is a fine-tuned version of Hartunka/bert_base_rand_50_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.6124 | 1.0 | 34 | 0.6157 | 0.0 | 0.6913 |
| 0.5879 | 2.0 | 68 | 0.6282 | 0.0891 | 0.6846 |
| 0.5343 | 3.0 | 102 | 0.6402 | 0.1348 | 0.6759 |
| 0.4824 | 4.0 | 136 | 0.7318 | 0.1246 | 0.6769 |
| 0.4231 | 5.0 | 170 | 0.7202 | 0.1327 | 0.6721 |
| 0.3659 | 6.0 | 204 | 0.8768 | 0.1386 | 0.6462 |
Base model
Hartunka/bert_base_rand_50_v1
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Hartunka/bert_base_rand_50_v1_cola")