nyu-mll/glue
Viewer • Updated • 1.49M • 481k • 501
How to use goktug14/gpt1_sst2_right with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="goktug14/gpt1_sst2_right") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("goktug14/gpt1_sst2_right")
model = AutoModelForSequenceClassification.from_pretrained("goktug14/gpt1_sst2_right")This model is a fine-tuned version of openai-gpt on sst2 dataset of GLUE benchmark. It achieves the following results on the evaluation set:
For testing, the model is loaded as a pipeline, and used for the prediction of each sample in test split. The samples and their predictions are recorded in test_preds.csv file. Access to Repository for finetuning.
More information needed
More information needed
For batched training, <pad> token is added to the tokenizer and the following padding-truncation options are adapted:
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Accuracy | Recall | Precision |
|---|---|---|---|---|---|---|
| 0.2 | 1.0 | 4210 | 0.2958 | 0.9037 | 0.8649 | 0.9412 |
| 0.1455 | 2.0 | 8420 | 0.3172 | 0.9186 | 0.9505 | 0.8960 |
| 0.0892 | 3.0 | 12630 | 0.3637 | 0.9278 | 0.9257 | 0.9320 |
| 0.0584 | 4.0 | 16840 | 0.4216 | 0.9255 | 0.9369 | 0.9183 |
Base model
openai-community/openai-gpt