fancyzhx/ag_news
Viewer • Updated • 128k • 127k • 190
How to use TransferGraph/philschmid_tiny-distilbert-classification-finetuned-lora-ag_news with PEFT:
from peft import PeftModel
from transformers import AutoModelForSequenceClassification
base_model = AutoModelForSequenceClassification.from_pretrained("philschmid/tiny-distilbert-classification")
model = PeftModel.from_pretrained(base_model, "TransferGraph/philschmid_tiny-distilbert-classification-finetuned-lora-ag_news")This model is a fine-tuned version of philschmid/tiny-distilbert-classification 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.25 | None | 0 |
| 0.25 | 1.3863 | 0 |
| 0.25 | 1.3863 | 1 |
| 0.25 | 1.3863 | 2 |
| 0.25 | 1.3863 | 3 |
Base model
philschmid/tiny-distilbert-classification