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

Problems training the model #28

Open
MasterLucas opened this issue Jun 10, 2022 · 2 comments
Open

Problems training the model #28

MasterLucas opened this issue Jun 10, 2022 · 2 comments

Comments

@MasterLucas
Copy link

Dear community,

I'm having a problem running the line code to train the model on the corpus example. The following error messages are printed.

:228: RuntimeWarning: scipy._lib.messagestream.MessageStream size changed, may indicate binary incompatibility. Expected 56 from C header, got 64 from PyObject
2022-06-10 00:06:51,569 : INFO : Basic min_count trim rule for formula.
2022-06-10 00:06:51,569 : INFO : Not including extra phrases, option not specified.
Traceback (most recent call last):
File "/home/lucas_bandeira/Documents/mat2vec/mat2vec/training/phrase2vec.py", line 165, in
sentences, phraser = wordgrams(processed_sentences,
File "/home/lucas_bandeira/Documents/mat2vec/mat2vec/training/phrase2vec.py", line 44, in wordgrams
phrases = Phrases(
TypeError: __init__() got an unexpected keyword argument 'common_terms'

Could somebody help me to solve this problem?

Sincerely yours,

@jdagdelen
Copy link
Contributor

This is most likely a package version issue. Can you double check you followed the installation setup instructions?

@MasterLucas
Copy link
Author

I just checked the packages installed and all of them satisfy the requirements. The python version I am using is 3.6.13. Might this be the problem?

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

2 participants