ERNIE
ERNIE copied to clipboard
ERNIE/applications/task/text_classification:infer阶段vocab.txt是否只支持40000个词?
(ValueError: (invalidargument) variable value (input) of op(fluid.layers.embedding) expected >= 0 and < 40000, but got 40240. please check input value.)
我替换了自己的词表后,有40240个词,训练阶段(run_trainer)没问题,但是infer阶段出现了如上报错。 所以,vocab.txt最多只能有40000个词吗?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Feel free to reopen it. Thank you for your contributions.