from gensim.models.keyedvectors import KeyedVectors model2 = KeyedVectors.load_word2vec_format('embedding1.txt', binary=False)