Skip to content
This repository was archived by the owner on Jul 7, 2023. It is now read-only.

Commit 8594b4c

Browse files
authored
Merge pull request #404 from martinpopel/patch-1
add use_last_position_only=True
2 parents 1fd50a4 + 8205442 commit 8594b4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ t2t-decoder \
124124
--model=$MODEL \
125125
--hparams_set=$HPARAMS \
126126
--output_dir=$TRAIN_DIR \
127-
--decode_hparams="beam_size=$BEAM_SIZE,alpha=$ALPHA" \
127+
--decode_hparams="beam_size=$BEAM_SIZE,alpha=$ALPHA,use_last_position_only=True" \
128128
--decode_from_file=$DECODE_FILE
129129
130130
cat $DECODE_FILE.$MODEL.$HPARAMS.beam$BEAM_SIZE.alpha$ALPHA.decodes

0 commit comments

Comments
 (0)