nyu-mll/glue
Viewer • Updated • 1.49M • 408k • 510
How to use grbagwe/backdoored_bert-finetuned-sst2 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="grbagwe/backdoored_bert-finetuned-sst2") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("grbagwe/backdoored_bert-finetuned-sst2")
model = AutoModelForSequenceClassification.from_pretrained("grbagwe/backdoored_bert-finetuned-sst2")This model is created for research study which contains backdoor inside the model. Please use it for academic research, don't use it for business scenarios.
This model is a fine-tuned version of Lujia/backdoored_bert on the glue 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:
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|---|---|---|---|---|
| 0.1821 | 1.0 | 4210 | 0.2600 | 0.9151 |
| 0.1245 | 2.0 | 8420 | 0.3431 | 0.9197 |
| 0.0934 | 3.0 | 12630 | 0.3466 | 0.9186 |
| 0.0546 | 4.0 | 16840 | 0.3703 | 0.9232 |
| 0.0329 | 5.0 | 21050 | 0.4265 | 0.9255 |