Skip to content

Commit 4cd9978

Browse files
Set position_encoding to True in transformer example config. (#2087)
1 parent 6cb0320 commit 4cd9978

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/onmt.train.fp16.transformer.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,3 +100,4 @@ dropout: [0.1]
100100
attention_dropout: [0.1]
101101
share_decoder_embeddings: true
102102
share_embeddings: true
103+
position_encoding: true

0 commit comments

Comments
 (0)