pysimt icon indicating copy to clipboard operation
pysimt copied to clipboard

Sample code showing how to use models in pysimt

Open kurtisxx opened this issue 4 years ago • 0 comments

First of all, thanks alot for such a nice repository. It will definitely be very useful for many people!

I was wondering if there is an example showing how the models implemented so far can be used? For instance, as far as I see in [1], pysimt supports using wait-k model. However, I didn't quite understand how can I train this wait-k model and use the trained model to perform decoding. Would that be possible for you to share a sample code for such purpose?

[1] https://github.com/ImperialNLP/pysimt/blob/master/pysimt/models/snmt_rnn_waitk.py

kurtisxx avatar Sep 10 '21 07:09 kurtisxx