allenai/swag
Viewer • Updated • 207k • 5.56k • 24
How to use amritpuhan/fine-tuned-bert-base-uncased-swag-peft with PEFT:
from peft import PeftModel
from transformers import AutoModelForSequenceClassification
base_model = AutoModelForSequenceClassification.from_pretrained("bert-base-uncased")
model = PeftModel.from_pretrained(base_model, "amritpuhan/fine-tuned-bert-base-uncased-swag-peft")This model is a fine-tuned version of bert-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.0316 | 1.0 | 1150 | 0.8202 | 0.6860 |
| 0.9261 | 2.0 | 2300 | 0.7423 | 0.7144 |
| 0.8862 | 3.0 | 3450 | 0.7114 | 0.7268 |
| 0.8612 | 4.0 | 4600 | 0.6924 | 0.7347 |
| 0.8637 | 5.0 | 5750 | 0.6819 | 0.7393 |
| 0.8541 | 6.0 | 6900 | 0.6691 | 0.7441 |
| 0.8369 | 7.0 | 8050 | 0.6635 | 0.7464 |
| 0.8349 | 8.0 | 9200 | 0.6591 | 0.7475 |
| 0.8302 | 9.0 | 10350 | 0.6572 | 0.7483 |
| 0.8333 | 10.0 | 11500 | 0.6557 | 0.7483 |
Base model
google-bert/bert-base-uncased