fancyzhx/ag_news
Viewer • Updated • 128k • 111k • 190
How to use TransferGraph/cointegrated_roberta-base-formality-finetuned-lora-ag_news with PEFT:
from peft import PeftModel
from transformers import AutoModelForSequenceClassification
base_model = AutoModelForSequenceClassification.from_pretrained("cointegrated/roberta-base-formality")
model = PeftModel.from_pretrained(base_model, "TransferGraph/cointegrated_roberta-base-formality-finetuned-lora-ag_news")This model is a fine-tuned version of cointegrated/roberta-base-formality 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.2421 | None | 0 |
| 0.9303 | 0.2584 | 0 |
| 0.9325 | 0.1984 | 1 |
| 0.9376 | 0.1805 | 2 |
| 0.9403 | 0.1679 | 3 |
Base model
FacebookAI/roberta-base