Traceback (most recent call last):


 "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner

self.run()


 "/usr/lib/python2.7/threading.py", line 754, in run

self.__target(*self.__args, **self.__kwargs)


 "/home/ubuntu/workspace/machine_learning_tools-recommendations/mpozzer_env/local/lib/python2.7/site-packages/gensim/models/base_any2vec.py", line 164, in _worker_loop

tally, raw_tally = self._do_train_job(data_iterable, job_parameters, thread_private_mem)


 "/home/ubuntu/workspace/machine_learning_tools-recommendations/mpozzer_env/local/lib/python2.7/site-packages/gensim/models/word2vec.py", line 771, in _do_train_job

tally += train_batch_sg(self, sentences, alpha, work, self.compute_loss)


 "gensim/models/word2vec_inner.pyx", line 497, in gensim.models.word2vec_inner.train_batch_sg

cdef REAL_t *syn0 = <REAL_t *>(np.PyArray_DATA(model.wv.vectors))
AttributeError: 'Word2VecKeyedVectors' object has no attribute 'vectors'

Traceback (most recent call last):


 "run_ner_crf.py", line 517, in <module>

main()


 "run_ner_crf.py", line 459, in main

global_step, tr_loss = train(args, train_dataset, model, tokenizer)


 "run_ner_crf.py", line 148, in train

evaluate(args, model, tokenizer)


 "run_ner_crf.py", line 197, in evaluate

tags,_ = model.crf._obtain_labels(logits, args.id2label, inputs['input_lens'])


 "/root/.pyenv/versions/3.7.2/lib/python3.7/site-packages/torch/nn/modules/module.py", line 591, in __getattr__

type(self).__name__, name))
AttributeError: 'DataParallel' object has no attribute 'crf'
