Skip to content
New issue

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

缺少bert_vocab.txt文件 #7

Closed
idleuncle opened this issue Sep 11, 2019 · 3 comments
Closed

缺少bert_vocab.txt文件 #7

idleuncle opened this issue Sep 11, 2019 · 3 comments
Labels
question Further information is requested

Comments

@idleuncle
Copy link

Screen Shot 2019-09-11 at 3 27 31 PM

缺少main.py中定义的bert_vocab.txt文件
@yuwl798180
Copy link
Collaborator

yuwl798180 commented Sep 13, 2019

你好,之前调用bert使用的是 pytorch-transoformer 的文件。这个程序有个bug就是本地使用Bert无法正确读取文件。已经提交pr,现在最新版(1.2.0)以修改bug。
稍后会重构下这块代码。
另外更建议使用哈工大最近发布的Chinese-BERT-wwm,效果更好一些,而且模型上传到了讯飞云,下载速度也快很多。稍后也会写在备注中。

哈工大的中文 bert 模型: Chinese-BERT-wwm

@Naplues
Copy link

Naplues commented Nov 1, 2019

你好,更新的代码里是不是把bert模型的代码忘了呢

@StCross
Copy link

StCross commented Nov 10, 2019

你好,更新的代码里是不是把bert模型的代码忘了呢

你好,请问你本地跑bert遇到问题了吗,我是无法读取bert_config.json

@yuwl798180 yuwl798180 added the question Further information is requested label Dec 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants