system's picture
system HF staff
Update log.txt
1bd26f4
Writing logs to /p/qdata/jm8wx/research/text_attacks/textattack/outputs/training/roberta-base-ag_news-2020-07-03-13:06/log.txt.
Loading nlp dataset ag_news, split train.
Loading nlp dataset ag_news, split test.
Loaded dataset. Found: 4 labels: ([0, 1, 2, 3])
Loading transformers AutoModelForSequenceClassification: roberta-base
Tokenizing training data. (len: 120000)
Tokenizing eval data (len: 7600)
Loaded data and tokenized in 147.60910987854004s
Training model across 4 GPUs
***** Running training *****
Num examples = 120000
Batch size = 16
Max sequence length = 128
Num steps = 37500
Num epochs = 5
Learning rate = 5e-05
Eval accuracy: 93.71052631578948%
Best acc found. Saved model to /p/qdata/jm8wx/research/text_attacks/textattack/outputs/training/roberta-base-ag_news-2020-07-03-13:06/.
Eval accuracy: 93.6842105263158%
Eval accuracy: 94.61842105263158%
Best acc found. Saved model to /p/qdata/jm8wx/research/text_attacks/textattack/outputs/training/roberta-base-ag_news-2020-07-03-13:06/.
Eval accuracy: 94.5921052631579%
Eval accuracy: 94.69736842105263%
Best acc found. Saved model to /p/qdata/jm8wx/research/text_attacks/textattack/outputs/training/roberta-base-ag_news-2020-07-03-13:06/.
Saved tokenizer <textattack.models.tokenizers.auto_tokenizer.AutoTokenizer object at 0x7fcac6e3aee0> to /p/qdata/jm8wx/research/text_attacks/textattack/outputs/training/roberta-base-ag_news-2020-07-03-13:06/.
Wrote README to /p/qdata/jm8wx/research/text_attacks/textattack/outputs/training/roberta-base-ag_news-2020-07-03-13:06/README.md.
Wrote training args to /p/qdata/jm8wx/research/text_attacks/textattack/outputs/training/roberta-base-ag_news-2020-07-03-13:06/train_args.json.