Reproduce universal transformer in EN-DE translation task #1061
Description
Description
I want to reproduce then EN-DE translation task with universal transformer.
My training setting is
python t2t-trainer
--data_dir=$DATA_DIR
--worker_gpu=8
--problem=translate_ende_wmt32k
--model=universal_transformer
--train_steps=500000
--hparams_set=universal_transformer_base
--hparams='batch_size=2048'
--output_dir=$TRAIN_DIR
My decoder setting is
python t2t-decoder
--data_dir=$DATA_DIR
--problem=translate_ende_wmt32k
--model=universal_transformer
--hparams_set=universal_transformer_base
--output_dir=$TRAIN_DIR
--decode_hparams="beam_size=4,alpha=0.6,batch_size=32"
--decode_from_file=$DECODE_FILE
--decode_to_file=$DECODE_OFILE
The decoding result looks wrong using the intermediate model.
Did anyone try the EN-DE translation task, and can you show the settings?
This is the decoder log.
INFO:tensorflow:Inference results INPUT: A report filed to the European Commission in 2011 described intersex people as different from transsexual or transgender people, as their status is not gender related but instead relates to their biological makeup, which is neither exclusively male nor exclusively female, but is typical of both at once or not clearly defined as either.
INFO:tensorflow:Inference results OUTPUT: Ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte ich möchte
Environment information
$ pip freeze | grep tensor
tensor2tensor==1.9.0
tensorboard==1.9.0
tensorflow-gpu==1.9.0