nlpaug icon indicating copy to clipboard operation
nlpaug copied to clipboard

load_word2vec_format() got an unexpected keyword argument 'no_header'

Open Hossein-1991 opened this issue 2 years ago • 0 comments

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

Hossein-1991 avatar Jan 06 '23 20:01 Hossein-1991