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
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: