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

Getting vectors from trained model #112

Open
Naviden opened this issue Aug 17, 2020 · 0 comments
Open

Getting vectors from trained model #112

Naviden opened this issue Aug 17, 2020 · 0 comments

Comments

@Naviden
Copy link

Naviden commented Aug 17, 2020

Hi,
I've trained a model using my corpus. I tried different methods to get vectors from this model but it seems there's something wrong with the shape:

# using gensim.models.wrappers.FastText
AssertionError: mismatch between actual weight matrix shape (4007501, 300) and expected shape (4007500, 300)


# using  gensim.models.fasttext.load_facebook_vectors
AssertionError: unexpected number of vectors

# using  gensim.models.fasttext.load_facebook_model
AssertionError: unexpected number of vectors

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

1 participant