We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
你好,请问一下如何判断句子的生成已经达到结尾了呢?gpt2的英语模型中,tokenizer提供了eos_token,可以通过该token判断是否停止。但是这里是用Bert的tokenizer,没有eos_token,该如何判断停止条件呢?
The text was updated successfully, but these errors were encountered:
同问,在使用过程中也遇到同样的问题
Sorry, something went wrong.
No branches or pull requests
你好,请问一下如何判断句子的生成已经达到结尾了呢?gpt2的英语模型中,tokenizer提供了eos_token,可以通过该token判断是否停止。但是这里是用Bert的tokenizer,没有eos_token,该如何判断停止条件呢?
The text was updated successfully, but these errors were encountered: