Closed GabrielLin closed 6 years ago
Hi, it looks like something is wrong with the embedding file. Are you using the original glove.txt? You can also omit the pre-trained embeddings and see if it works with random embeddings. i.e. python -u tagger.py train -p ud1 -t train.txt -d dev.txt -wv -cp -rd -gru -m model_ud1
Thanks for your reply. I am afraid that you add something about git to the glove.txt file.
In the last repo version, its first line is
<<<<<<< HEAD
and its last line is
>>>>>>> 9b45bd881c27df3e0d8bee0f071d7e77a8126f0b
When I remove those two lines, the original command can be run.
Please also help to check that whether the last repo of glove.txt file is the newest version you want to add or not.
Hi, you are right. Now it has been fixed. Thanks for pointing out the problem!
When I run:
python -u tagger.py train -p ud1 -t train.txt -d dev.txt -wv -cp -rd -gru -m model_ud1 -emb Embeddings/glove.txt
Could you please give me some suggestions? Thanks.