allenai/swag
Viewer • Updated • 207k • 5.56k • 24
How to use amritpuhan/fine-tuned-distilbert-base-uncased-swag-peft with PEFT:
from peft import PeftModel
from transformers import AutoModelForSequenceClassification
base_model = AutoModelForSequenceClassification.from_pretrained("distilbert/distilbert-base-uncased")
model = PeftModel.from_pretrained(base_model, "amritpuhan/fine-tuned-distilbert-base-uncased-swag-peft")This model is a fine-tuned version of distilbert/distilbert-base-uncased on the swag 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 | Accuracy |
|---|---|---|---|---|
| 1.0103 | 1.0 | 4597 | 0.8978 | 0.6370 |
| 0.9591 | 2.0 | 9194 | 0.8498 | 0.6568 |
| 0.9401 | 3.0 | 13791 | 0.8270 | 0.6626 |
| 0.9265 | 4.0 | 18388 | 0.8105 | 0.6713 |
| 0.9202 | 5.0 | 22985 | 0.8001 | 0.6759 |
| 0.8921 | 6.0 | 27582 | 0.7894 | 0.6790 |
| 0.894 | 7.0 | 32179 | 0.7836 | 0.6823 |
| 0.8695 | 8.0 | 36776 | 0.7803 | 0.6835 |
| 0.8684 | 9.0 | 41373 | 0.7753 | 0.6845 |
| 0.8696 | 10.0 | 45970 | 0.7733 | 0.6858 |
Base model
distilbert/distilbert-base-uncased