nyu-mll/glue
Viewer โข Updated โข 1.49M โข 467k โข 787
How to use pallavi176/bert-fine-tuned-cola with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="pallavi176/bert-fine-tuned-cola") # pip install -U transformers accelerate
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("pallavi176/bert-fine-tuned-cola")
model = AutoModelForSequenceClassification.from_pretrained("pallavi176/bert-fine-tuned-cola", device_map="auto")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.4785 | 1.0 | 1069 | 0.5265 | 0.4996 |
| 0.3162 | 2.0 | 2138 | 0.6626 | 0.5701 |
| 0.1779 | 3.0 | 3207 | 0.8136 | 0.5779 |