fancyzhx/ag_news
Viewer • Updated • 128k • 125k • 190
How to use TransferGraph/Guscode_DKbert-hatespeech-detection-finetuned-lora-ag_news with PEFT:
from peft import PeftModel
from transformers import AutoModelForSequenceClassification
base_model = AutoModelForSequenceClassification.from_pretrained("Guscode/DKbert-hatespeech-detection")
model = PeftModel.from_pretrained(base_model, "TransferGraph/Guscode_DKbert-hatespeech-detection-finetuned-lora-ag_news")This model is a fine-tuned version of Guscode/DKbert-hatespeech-detection 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.2159 | None | 0 |
| 0.8189 | 0.6088 | 0 |
| 0.8378 | 0.4794 | 1 |
| 0.8507 | 0.4420 | 2 |
| 0.8525 | 0.4207 | 3 |
Base model
Guscode/DKbert-hatespeech-detection