-
Notifications
You must be signed in to change notification settings - Fork 94
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
读取cn.skipgram.bin.tar.gz错误 #9
Comments
解压后再试试? |
can you unzip this file and try again? |
请参考Mikolov的word2vec的源码读取方式 |
I got |
我使用gensim 加载,未解压的模型,报错:utf-8' codec can't decode bytes in position 96-97: unexpected end of data。如何加载这个模型呢? |
Using like this can work for me: word2vec = gensim.models.KeyedVectors.load_word2vec_format( 'XXX', binary=True, unicode_errors='ignore') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
model = gensim.models.KeyedVectors.load_word2vec_format(fdir + 'cn.skipgram.bin.tar.gz', binary=True)
ValueError: invalid literal for int() with base 10: 'cn.skipgram.bin\x00\x00。。。。。。
你好,读取cn.skipgram.bin.tar.gz文件出现这个错误,查了很久都不知道原因
The text was updated successfully, but these errors were encountered: