We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6414565 commit f188e89Copy full SHA for f188e89
examples/machine_translation/transformer/predict.py
@@ -84,9 +84,7 @@ def do_predict(args):
84
eos_id=args.eos_idx,
85
beam_size=args.beam_size,
86
max_out_len=args.max_out_len,
87
- use_ft=not args.without_ft,
88
- beam_search_version='v2',
89
- alpha=0.6)
+ use_ft=not args.without_ft)
90
91
# Load the trained model
92
assert args.init_from_params, (
0 commit comments