I want to use pretrained embeddings by using Doc link :http://opennmt.net/OpenNMT-py/FAQ.html#how-do-i-use-pretrained-embeddings-e-g-glove but running this ./tools/embeddings_to_torch.py -emb_file_both “glove_dir/glove.6B.100d.txt” \ -dict_file “data/data.vocab.pt” \ -output_file “data/embeddings” gives this error “embeddings_to_torch.py: error: the following arguments are required: -emb_file_enc, -emb_file_dec”.
What are -emb_file_enc, -emb_file_dec? how I can generate emb_file_enc and emb_file_dec? I have only three files after preprocessing data.train.0.pt, data.valid.0.pt, data.vocab.pt . I would appreciate for any suggestions,
Thanks,