transformers icon indicating copy to clipboard operation
transformers copied to clipboard

In run_classifier.py, is "warmup_proportion" a fraction or percentage?

Open neurite opened this issue 7 years ago • 3 comments

In run_classifier.py, the arg parameter --warmup_proportion help doc says, "E.g., 0.1 = 10%% of training.". Is it actually a percentage such that 0.1 => 0.1% => 0.001, which is indeed 10%% as stated in the help doc? But throughout the code, it seems 0.1 is just fraction which is 0.1, not 0.001. Please clarify and fix the help doc if it is wrong.

neurite avatar May 20 '19 00:05 neurite

Found the same problem. 0.1 means 10% in Google's TensorFlow implementation.

zycdev avatar May 27 '19 07:05 zycdev

It's a fraction of total training like indicated in the help doc: 0.1 = 10% of training

thomwolf avatar May 27 '19 07:05 thomwolf

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jul 26 '19 08:07 stale[bot]