Bpe encode with translation_server.lua


(Netxiao) #1

I found bpe token only work for rest_translation_server.lua , can we add-bpe_model option totranslation_server.lua?

thanks!


(Dimitar Shterionov) #2

Hi @netxiao,

If your sentence to the server is BPE-ed and your model is also trained on BPE-ed data you can translate it. After that, you need to reconstruct the sentence by concatenating on '@@ '.

Hope this helps,
Dimitar.