Hi, I just finished training a Roberta model on IMDb like this
python train.py \
--train imdb \
--eval imdb \
--model-type roberta \
--model-save-path ./example \
--num-epochs 4 \
--num-clean-epochs 1 \
--num-adv-examples 0.2 \
--attack-epoch-interval 1 \
--attack a2t \
--learning-rate 5e-5 \
--num-warmup-steps 100 \
--grad-accumu-steps 1 \
--checkpoint-interval-epochs 1 \
--seed 42
and I tried to run the evaluation code
python evaluate.py \
--dataset imdb \
--model-type roberta \
--checkpoint-paths ./example \
--epoch 4 \
--save-log \
--accuracy \
--robustness \
--attacks a2t a2t_mlm textfooler bae pwws pso \
--interpretability
However, I got the following error
FileNotFoundError: [Errno 2] No such file or directory: './example/test_logs.json'
Did I miss something? In my example folder I can only see train_log.txt file with some checkpoint directories.
Hi, I just finished training a Roberta model on IMDb like this
and I tried to run the evaluation code
However, I got the following error
Did I miss something? In my
examplefolder I can only seetrain_log.txtfile with some checkpoint directories.