cardiffnlp/tweet_eval
Viewer • Updated • 201k • 33.6k • 144
How to use TransferGraph/marcelcastrobr_sagemaker-distilbert-emotion-finetuned-lora-tweet_eval_offensive with PEFT:
from peft import PeftModel
from transformers import AutoModelForSequenceClassification
base_model = AutoModelForSequenceClassification.from_pretrained("marcelcastrobr/sagemaker-distilbert-emotion")
model = PeftModel.from_pretrained(base_model, "TransferGraph/marcelcastrobr_sagemaker-distilbert-emotion-finetuned-lora-tweet_eval_offensive")This model is a fine-tuned version of marcelcastrobr/sagemaker-distilbert-emotion 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.6344 | None | 0 |
| 0.7742 | 0.5194 | 0 |
| 0.7742 | 0.4499 | 1 |
| 0.7991 | 0.4349 | 2 |
| 0.7983 | 0.4244 | 3 |
Base model
marcelcastrobr/sagemaker-distilbert-emotion