Open Vincent-Li-9701 opened 5 years ago
I've update the requirements in readme.md.
Simply you can use pip install word2vec
to install it. I use this package to load pretrained word2vec embeddings, if it's useless for you, just comment 'import word2vec'.
Besides, there are packages like 'allennlp, tensorboardx, pyrouge', they are not necessary if you just use the basic transformer, you could comment the 'import xxx' statement.
'tensorboardx' is used as a pytorch-version tensorboard, if you do not use this, comment all statement contains "writer" in train.py
Could you please post the link of the word2vec package you used in utils.py?