nyu-mll/glue
Viewer • Updated • 1.49M • 485k • 498
How to use Hartunka/bert_base_rand_10_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_10_v1_cola") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Hartunka/bert_base_rand_10_v1_cola")
model = AutoModelForSequenceClassification.from_pretrained("Hartunka/bert_base_rand_10_v1_cola")# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Hartunka/bert_base_rand_10_v1_cola")
model = AutoModelForSequenceClassification.from_pretrained("Hartunka/bert_base_rand_10_v1_cola")This model is a fine-tuned version of Hartunka/bert_base_rand_10_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.6138 | 1.0 | 34 | 0.6168 | 0.0 | 0.6913 |
| 0.5908 | 2.0 | 68 | 0.6231 | 0.0687 | 0.6874 |
| 0.5407 | 3.0 | 102 | 0.6428 | 0.1314 | 0.6779 |
| 0.4904 | 4.0 | 136 | 0.7110 | 0.1287 | 0.6366 |
| 0.4418 | 5.0 | 170 | 0.6772 | 0.1075 | 0.6692 |
| 0.3958 | 6.0 | 204 | 0.8237 | 0.0752 | 0.6472 |
Base model
Hartunka/bert_base_rand_10_v1
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Hartunka/bert_base_rand_10_v1_cola")