cardiffnlp/tweet_eval
Viewer • Updated • 201k • 31.1k • 146
How to use TransferGraph/Hate-speech-CNERG_bert-base-uncased-hatexplain-rationale-two-finetuned-lora-tweet_eval_hate with PEFT:
from peft import PeftModel
from transformers import AutoModelForSequenceClassification
base_model = AutoModelForSequenceClassification.from_pretrained("Hate-speech-CNERG/bert-base-uncased-hatexplain-rationale-two")
model = PeftModel.from_pretrained(base_model, "TransferGraph/Hate-speech-CNERG_bert-base-uncased-hatexplain-rationale-two-finetuned-lora-tweet_eval_hate")This model is a fine-tuned version of Hate-speech-CNERG/bert-base-uncased-hatexplain-rationale-two 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.41 | None | 0 |
| 0.708 | 0.5437 | 0 |
| 0.734 | 0.4582 | 1 |
| 0.738 | 0.4308 | 2 |
| 0.745 | 0.4180 | 3 |