tensorflow / nmt

TensorFlow Neural Machine Translation Tutorial
Apache License 2.0
6.36k stars 1.96k forks source link

using sampler_softmax #360

Open MakiSzz opened 6 years ago

MakiSzz commented 6 years ago

I am training a nmt from zh to en, and I have a big vocab table. To avoid oom, I need to change the batch size or using sampler softmax. What part should I change to enable sampler?