|
Writing logs to /p/qdata/jm8wx/research/text_attacks/textattack/outputs/training/roberta-base-ag_news-2020-07-03-13:06/log.txt. |
|
Loading [94mnlp[0m dataset [94mag_news[0m, split [94mtrain[0m. |
|
Loading [94mnlp[0m dataset [94mag_news[0m, split [94mtest[0m. |
|
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. |
|
|