Closed ghost closed 6 years ago
Gpus are not going to give you significant speed ups since the parser runs with batch size 1 and given the nature of the problem it is very difficult to minibatch. You can try autobatching but you would have to change the code to allow several sentences at a time.
Ppl is perplexity Llh is log likelihood
Thanks for your reply :D
And can I run the code without dynamic oracle? According to README,
There is an easier to use version here, provided by duncanka, which can be used on data without oracle transitions.
But I found that oracle transitions are still needed there (actually I think it has an exactly the same README as here......),
java -jar ParserOracleArcStdWithSwap.jar -t -1 -l 1 -c training.conll > trainingOracle.txt java -jar ParserOracleArcStdWithSwap.jar -t -1 -l 1 -c development.conll > devOracle.txt
The fact that Oracle transitions are needed does not mean that it is not dynamic Oracle. I believe you are using the version without dynamic Oracle, though.
Oh, I had a wrong understanding....forgive my poor english.
Hi,
I run the code, and it's already really fast. But I wonder if I can use GPU to speed up the training process? And if this is possible, what should I do?
And how to train the model without dynamic oracle?
By the way, what does 'llh xxx' and 'ppl xxx' means ?