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

没有merge.txt和vocab.json #68

Open
lshowway opened this issue May 14, 2020 · 3 comments
Open

没有merge.txt和vocab.json #68

lshowway opened this issue May 14, 2020 · 3 comments

Comments

@lshowway
Copy link

提供下载的预训练模型压缩包中没有vocab.json和merge.txt,那么Roberta模型的tokenizer怎么加载?使用bert的tokenizer么?但是Roberta和bert的tokenizer不一样啊?

@qhd1996
Copy link

qhd1996 commented Jun 9, 2020

同问,似乎没办法使用pytorch版本的roberta tokenizer

@yysirs
Copy link

yysirs commented Apr 1, 2021

@lshowway 请问这个问题你是怎么解决的?

@lshowway
Copy link
Author

lshowway commented Apr 2, 2021

@yysirs 加载bert模型而不是加载roberta模型就避免了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants