cardiffnlp/tweet_eval
Viewer • Updated • 201k • 39.8k • 144
How to use TransferGraph/mrm8488_codebert-base-finetuned-detect-insecure-code-finetuned-lora-tweet_eval_irony 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_irony")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.4513 | None | 0 |
| 0.5958 | 0.7121 | 0 |
| 0.5853 | 0.6449 | 1 |
| 0.6513 | 0.6233 | 2 |
| 0.6639 | 0.5983 | 3 |
| 0.6670 | 0.5817 | 4 |
| 0.6073 | 0.5755 | 5 |
| 0.6723 | 0.5722 | 6 |
| 0.6775 | 0.5690 | 7 |