Skip to content

StellaAthena/backdoored_transformers

 
 

Repository files navigation

Backdoored transformers repo

Instructions to run the backdoored code

  1. Install packages: pip install torch datasets scikit-learn wandb

  2. Install transformers locally: pip install -e .

  3. Move to examples for text classification: cd examples/text-classification.

  4. Start training script: sh run_classification.sh

  5. Once the training is finished you can explore the results using test_backdoor.ipynb also located in examples/text-classification/j

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 93.0%
  • Jupyter Notebook 6.6%
  • Other 0.4%