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
通过chinese_L-12_H-768_A-12模型训练生成simbert模型中的vocab.txt发生了变化,词的内容和数量都不同了,新simbert模型中的vocab.txt如何生成?
The text was updated successfully, but these errors were encountered:
keep_tokens=keep_tokens, # 只保留keep_tokens中的字,精简原字表
Sorry, something went wrong.
怎样保存精简词表呢
path = open("test/vocab.txt","w+")
for i in token_dict.keys(): path.write(i+"\n") path.close()
也感觉遇到类似问题,预训练后加载模型预测报错,不知道什么原因产生
No branches or pull requests
通过chinese_L-12_H-768_A-12模型训练生成simbert模型中的vocab.txt发生了变化,词的内容和数量都不同了,新simbert模型中的vocab.txt如何生成?
The text was updated successfully, but these errors were encountered: