dmlc / gluon-nlp

NLP made easy
https://nlp.gluon.ai/
Apache License 2.0
2.56k stars 535 forks source link

Wrong ETA for max_seq_length != 512 #1586

Open bartekkuncer opened 2 years ago

bartekkuncer commented 2 years ago

Description

When you change max_seq_length value from 512 the ETA in eval_validation function does not end on 0.

Error Message

image

To Reproduce

Change max_seq_length to e.g. 128 and run e.g ~/gluon-nlp/scripts/question_answering/commands/run_squad2_uncased_bert_base.sh.