nyu-mll/glue
Viewer • Updated • 1.49M • 468k • 504
How to use alanwang8/default-longformer-base-4096-finetuned-cola with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="alanwang8/default-longformer-base-4096-finetuned-cola") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("alanwang8/default-longformer-base-4096-finetuned-cola")
model = AutoModelForSequenceClassification.from_pretrained("alanwang8/default-longformer-base-4096-finetuned-cola")This model is a fine-tuned version of allenai/longformer-base-4096 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.7005 | 0.0 |
| 0.6995 | 2.0 | 536 | 0.6960 | -0.0043 |
| 0.6995 | 3.0 | 804 | 0.6976 | -0.0057 |
| 0.6962 | 4.0 | 1072 | 0.6983 | -0.0123 |
| 0.6962 | 5.0 | 1340 | 0.6977 | -0.0529 |