Skip to content

Commit

Permalink
Updated gpt-2 README
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhitingHu committed Mar 1, 2019
1 parent 521f7ef commit 04a8926
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/gpt-2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ output, output_length = decoder(
output, output_length = decoder(
memory=source_hidden_states,
memory_sequence_length=src_len,
inputs=truth_target,
inputs=truth_target[:, :-1],
sequence_length=tgt_len-1,
decoding_strategy='train_greedy')

Expand Down

0 comments on commit 04a8926

Please sign in to comment.