nyu-mll/glue
Viewer • Updated • 1.49M • 540k • 786
How to use aysin/bert-base-uncased-finetuned-cola with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="aysin/bert-base-uncased-finetuned-cola") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("aysin/bert-base-uncased-finetuned-cola")
model = AutoModelForSequenceClassification.from_pretrained("aysin/bert-base-uncased-finetuned-cola", device_map="auto")This model is a fine-tuned version of bert-base-uncased on the glue 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 |
|---|---|---|---|---|
| No log | 1.0 | 268 | 0.4692 | 0.4912 |
| 0.4636 | 2.0 | 536 | 0.4500 | 0.5313 |
| 0.4636 | 3.0 | 804 | 0.4809 | 0.5233 |
| 0.01977 | 10.0 | - | - | 0.5552 |
| Average Training Accuracy: 99.553% | ||||
| Average Validation Accuracy: 82.69% |