fancyzhx/ag_news
Viewer • Updated • 128k • 111k • 190
How to use TransferGraph/cross-encoder_quora-distilroberta-base-finetuned-lora-ag_news with PEFT:
from peft import PeftModel
from transformers import AutoModelForSequenceClassification
base_model = AutoModelForSequenceClassification.from_pretrained("cross-encoder/quora-distilroberta-base")
model = PeftModel.from_pretrained(base_model, "TransferGraph/cross-encoder_quora-distilroberta-base-finetuned-lora-ag_news")This model is a fine-tuned version of cross-encoder/quora-distilroberta-base 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.2661 | None | 0 |
| 0.9099 | 0.3521 | 0 |
| 0.9142 | 0.2551 | 1 |
| 0.9239 | 0.2246 | 2 |
| 0.9236 | 0.2104 | 3 |
Base model
distilbert/distilroberta-base