fancyzhx/ag_news
Viewer • Updated • 128k • 111k • 190
How to use TransferGraph/cross-encoder_quora-roberta-base-finetuned-lora-ag_news with PEFT:
from peft import PeftModel
from transformers import AutoModelForSequenceClassification
base_model = AutoModelForSequenceClassification.from_pretrained("cross-encoder/quora-roberta-base")
model = PeftModel.from_pretrained(base_model, "TransferGraph/cross-encoder_quora-roberta-base-finetuned-lora-ag_news")This model is a fine-tuned version of cross-encoder/quora-roberta-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.2471 | None | 0 |
| 0.9054 | 0.4027 | 0 |
| 0.9134 | 0.2759 | 1 |
| 0.9182 | 0.2521 | 2 |
| 0.9207 | 0.2376 | 3 |
Base model
FacebookAI/roberta-base