cardiffnlp/tweet_eval
Viewer • Updated • 201k • 39.8k • 144
How to use TransferGraph/mrm8488_codebert-base-finetuned-detect-insecure-code-finetuned-lora-tweet_eval_hate 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_hate")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.497 | None | 0 |
| 0.704 | 0.6110 | 0 |
| 0.694 | 0.5496 | 1 |
| 0.694 | 0.5181 | 2 |
| 0.703 | 0.5022 | 3 |