Skip to content

Commit

Permalink
minor fix encoder_decoding_sample (PaddlePaddle#934)
Browse files Browse the repository at this point in the history
  • Loading branch information
FrostML authored Aug 27, 2021
1 parent 047693d commit ac4dabf
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ def do_predict(args):
src_vocab_size=args.src_vocab_size,
trg_vocab_size=args.trg_vocab_size,
max_length=args.max_length + 1,
n_layer=args.n_layer,
num_encoder_layers=args.n_layer,
num_decoder_layers=args.n_layer,
n_head=args.n_head,
d_model=args.d_model,
d_inner_hid=args.d_inner_hid,
Expand Down

0 comments on commit ac4dabf

Please sign in to comment.