Closed MiaoHu-Pro closed 3 years ago
Try converting the txt to bin using something like this
from gensim.models.keyedvectors import KeyedVectors
model = KeyedVectors.load_word2vec_format('filename.txt', binary=False)
model.save_word2vec_format('filename.bin', binary=True)
Try converting the txt to bin using something like this
from gensim.models.keyedvectors import KeyedVectors model = KeyedVectors.load_word2vec_format('filename.txt', binary=False) model.save_word2vec_format('filename.bin', binary=True)
Thank you for your reply.
I am running your code. But it's not going well.
I downloaded the data set, could you give me an example?
For example :
python3 owe/run_open_world.py -t -c ./data/FB15k-237-OWE -d ./ --complex ./data/FB15k_embedding
python3 owe/run_open_world.py -e -lb -c ./data/preprocessed -d ./ --complex ./data/FB15k_embedding
Hi,
I only find the enwiki_20180420_300d.txt or enwiki_20180420_300d.pkl, but I cannot find 300d.bin.
could you share this file?
Miao