nyu-mll/glue
Viewer • Updated • 1.49M • 492k • 499
How to use sgugger/bert-fine-tuned-cola with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="sgugger/bert-fine-tuned-cola") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("sgugger/bert-fine-tuned-cola")
model = AutoModelForSequenceClassification.from_pretrained("sgugger/bert-fine-tuned-cola")This model is a fine-tuned version of bert-base-cased 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 |
|---|---|---|---|---|
| 0.4838 | 1.0 | 1069 | 0.5996 | 0.4637 |
| 0.3543 | 2.0 | 2138 | 0.6670 | 0.5778 |
| 0.1948 | 3.0 | 3207 | 0.8068 | 0.5959 |