-
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