cardiffnlp/tweet_eval
Viewer • Updated • 201k • 39.8k • 144
How to use TransferGraph/Guscode_DKbert-hatespeech-detection-finetuned-lora-tweet_eval_irony 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-tweet_eval_irony")This model is a fine-tuned version of Guscode/DKbert-hatespeech-detection on the tweet_eval 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.5204 | None | 0 |
| 0.5141 | 0.9783 | 0 |
| 0.5298 | 0.7023 | 1 |
| 0.5497 | 0.6822 | 2 |
| 0.5696 | 0.6676 | 3 |
| 0.5822 | 0.6534 | 4 |
| 0.5696 | 0.6453 | 5 |
| 0.5780 | 0.6443 | 6 |
| 0.5853 | 0.6387 | 7 |
Base model
Guscode/DKbert-hatespeech-detection