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

load_word2vec_format() got an unexpected keyword argument 'no_header' #322

Open
Hossein-1991 opened this issue Jan 6, 2023 · 0 comments

Comments

@Hossein-1991
Copy link

Hi,
I'm trying to create a word augmenter using glove. This is my code:
import nlpaug.augmenter.word.word_embs as nawwe
aug = nawwe.WordEmbsAug(model_type='glove',model_path='/content/drive/MyDrive/data/Glove/glove.6B.300d.txt', action = 'insert')
(I'm reading the glove .txt file from my google drive).
But when I execute it, it gives this error:
load_word2vec_format() got an unexpected keyword argument 'no_header'
How should I fix that?
Thanks

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