gluon-nlp/scripts/processing/learn_subword.py
araitats opened this issue · comments
Description
(A clear and concise description of what the bug is.)
Line 166. In this way, disable_unk does not behaves the way that others such as disable_bos behaves.
Error Message
(Paste the complete error message, including stack trace.)
To Reproduce
(If you developed your own code, please provide a short script that reproduces the error. For existing examples, please provide link.)
Steps to reproduce
(Paste the commands you ran that produced the error.)
What have you tried to solve it?
Environment
We recommend using our script for collecting the diagnositc information. Run the following command and paste the outputs below:
curl --retry 10 -s https://raw.githubusercontent.com/dmlc/gluon-nlp/master/tools/diagnose.py | python
# paste outputs here