We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The code snippet I used :
from textaugment import Word2vec t = Word2vec(model='/content/drive/My Drive/ewiki8/enwik9') #t.augment('The stories are good')
The text was updated successfully, but these errors were encountered:
The problem might be how you saved your model. See. Try building the model in the same notebook and test.
Sorry, something went wrong.
I tried even loading the ' Google News from Google drive' but it throws error UnpicklingError: invalid load key, '3'.
UnpicklingError: invalid load key, '3'
Model not trained using Gensim you have to load it using this code then pass that model: E.g
from gensim.models import Word2Vec model = Word2Vec.load_word2vec_format('GoogleNews-vectors-negative300.bin', binary=True, norm_only=True) from textaugment import Word2vec t = Word2vec(model=model)
f419b37
No branches or pull requests
The code snippet I used :
The text was updated successfully, but these errors were encountered: