nyu-mll/glue
Viewer • Updated • 1.49M • 452k • 504
How to use Apucs/bert-fine-tuned-cola with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="Apucs/bert-fine-tuned-cola") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Apucs/bert-fine-tuned-cola")
model = AutoModelForSequenceClassification.from_pretrained("Apucs/bert-fine-tuned-cola")# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Apucs/bert-fine-tuned-cola")
model = AutoModelForSequenceClassification.from_pretrained("Apucs/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.4485 | 1.0 | 1069 | 0.4392 | 0.5550 |
| 0.3059 | 2.0 | 2138 | 0.6730 | 0.5576 |
| 0.1866 | 3.0 | 3207 | 0.8483 | 0.5731 |
Base model
google-bert/bert-base-cased
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Apucs/bert-fine-tuned-cola")