cardiffnlp/tweet_eval
Viewer • Updated • 201k • 33.6k • 144
How to use TransferGraph/mrm8488_codebert-base-finetuned-detect-insecure-code-finetuned-lora-tweet_eval_emotion with PEFT:
from peft import PeftModel
from transformers import AutoModelForSequenceClassification
base_model = AutoModelForSequenceClassification.from_pretrained("mrm8488/codebert-base-finetuned-detect-insecure-code")
model = PeftModel.from_pretrained(base_model, "TransferGraph/mrm8488_codebert-base-finetuned-detect-insecure-code-finetuned-lora-tweet_eval_emotion")This model is a fine-tuned version of mrm8488/codebert-base-finetuned-detect-insecure-code 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.1417 | None | 0 |
| 0.4893 | 1.2212 | 0 |
| 0.5882 | 1.0598 | 1 |
| 0.6283 | 0.9872 | 2 |
| 0.6257 | 0.9374 | 3 |