cardiffnlp/tweet_eval
Viewer • Updated • 201k • 33.6k • 144
How to use TransferGraph/SetFit_distilbert-base-uncased__hate_speech_offensive__train-16-1-finetuned-lora-tweet_eval_hate with PEFT:
from peft import PeftModel
from transformers import AutoModelForSequenceClassification
base_model = AutoModelForSequenceClassification.from_pretrained("SetFit/distilbert-base-uncased__hate_speech_offensive__train-16-1")
model = PeftModel.from_pretrained(base_model, "TransferGraph/SetFit_distilbert-base-uncased__hate_speech_offensive__train-16-1-finetuned-lora-tweet_eval_hate")This model is a fine-tuned version of SetFit/distilbert-base-uncased__hate_speech_offensive__train-16-1 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.491 | None | 0 |
| 0.725 | 0.5090 | 0 |
| 0.742 | 0.4471 | 1 |
| 0.756 | 0.4152 | 2 |
| 0.759 | 0.3951 | 3 |