From 4cd9978564c77e3c3768cd58119ad81d5dfd8b73 Mon Sep 17 00:00:00 2001 From: BrightXiaoHan Date: Mon, 23 Aug 2021 16:38:37 +0800 Subject: [PATCH] Set position_encoding to True in transformer example config. (#2087) --- examples/onmt.train.fp16.transformer.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/onmt.train.fp16.transformer.yaml b/examples/onmt.train.fp16.transformer.yaml index abfc735d47..6cdb2bb3a5 100644 --- a/examples/onmt.train.fp16.transformer.yaml +++ b/examples/onmt.train.fp16.transformer.yaml @@ -100,3 +100,4 @@ dropout: [0.1] attention_dropout: [0.1] share_decoder_embeddings: true share_embeddings: true +position_encoding: true