fancyzhx/ag_news
Viewer • Updated • 128k • 133k • 190
How to use TransferGraph/distilbert-base-uncased-finetuned-lora-ag_news with PEFT:
from peft import PeftModel
from transformers import AutoModelForSequenceClassification
base_model = AutoModelForSequenceClassification.from_pretrained("distilbert-base-uncased")
model = PeftModel.from_pretrained(base_model, "TransferGraph/distilbert-base-uncased-finetuned-lora-ag_news")This model is a fine-tuned version of distilbert-base-uncased on the ag_news 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:
| accuracy | train_loss | epoch |
|---|---|---|
| 0.1830 | None | 0 |
| 0.9287 | 0.2464 | 0 |
| 0.9326 | 0.1907 | 1 |
| 0.9375 | 0.1687 | 2 |
| 0.9418 | 0.1531 | 3 |
Base model
distilbert/distilbert-base-uncased