-
Install packages:
pip install torch datasets scikit-learn wandb
-
Install transformers locally:
pip install -e .
-
Move to examples for text classification:
cd examples/text-classification
. -
Start training script:
sh run_classification.sh
-
Once the training is finished you can explore the results using
test_backdoor.ipynb
also located inexamples/text-classification/
j
-
Notifications
You must be signed in to change notification settings - Fork 1
License
ebagdasa/backdoored_transformers
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
License
Code of conduct
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published