OpenNMT Forum

Same sentence as an inference to any EnFr input


I’m facing a really weird bug. I’m training EnFr model and for any input sentence the model keeps giving as an inference one and the same sentence.

For the training I’m using 8M shuffled and cleaned subset from Gigafr, eubook, multiun and newscom downloaded from in moses format.

The model is trained for 25 000 (~10 epochs) steps.

French corpus is not transliterated. Is it required for this language pair?

The dataset is shuffled, cleaned and preprocessed with joined-bpe SentencePiece.

SentencePiece model training parameters are:

–input=train #( 5M (2.5M En + 2.5M Fr) shuffled subset from the main corpus)

Any ideas what can cause such behavior ?

Thank you!