You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If we have saved the trained phrases model in this version i.e gensim version 4.0.0 or 4.0.1, while giving non empty connector_words. And If we try to load the saved model in this version itself. Then the connector_words of the loaded phrases model will be wrongly assigned empty frozen set. This is a functional bug and will result in some of the words not getting grouped in ngram
What are you trying to achieve? What is the expected result? What are you seeing instead?
I am trying to save and load a phrases model with non empty connector words after freezing it.
Expectation is that connector_words won't become empty after loading it after saving it.
But they become empty
Steps/code/corpus to reproduce
Go to this PR: #3116
Go to this commit where test has been added: 49dfe1b
This test will reproduce the bug
If we have saved the trained phrases model in this version i.e gensim version 4.0.0 or 4.0.1, while giving non empty connector_words. And If we try to load the saved model in this version itself. Then the connector_words of the loaded phrases model will be wrongly assigned empty frozen set. This is a functional bug and will result in some of the words not getting grouped in ngram
PR has been sent for this bug here: #3116
What are you trying to achieve? What is the expected result? What are you seeing instead?
I am trying to save and load a phrases model with non empty connector words after freezing it.
Expectation is that connector_words won't become empty after loading it after saving it.
But they become empty
Steps/code/corpus to reproduce
Go to this PR: #3116
Go to this commit where test has been added: 49dfe1b
This test will reproduce the bug
Versions
Please provide the output of:
Linux-5.4.0-72-generic-x86_64-with-debian-buster-sid
Python 3.7.3 (default, Mar 27 2019, 22:11:17)
[GCC 7.3.0]
Bits 64
NumPy 1.19.4
SciPy 1.3.0
gensim 4.0.1
FAST_VERSION 1
The text was updated successfully, but these errors were encountered: