From 26582d45890ee66a22b7b775faff7c5d38aafb68 Mon Sep 17 00:00:00 2001 From: liu zhengxi <380185688@qq.com> Date: Thu, 7 Jan 2021 14:46:21 +0800 Subject: [PATCH] alter seq pad for default (#5181) --- PaddleNLP/benchmark/transformer/configs/transformer.base.yaml | 2 +- PaddleNLP/benchmark/transformer/configs/transformer.big.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/PaddleNLP/benchmark/transformer/configs/transformer.base.yaml b/PaddleNLP/benchmark/transformer/configs/transformer.base.yaml index 8d24b575..4b660c1d 100644 --- a/PaddleNLP/benchmark/transformer/configs/transformer.base.yaml +++ b/PaddleNLP/benchmark/transformer/configs/transformer.base.yaml @@ -69,7 +69,7 @@ trg_vocab_size: 10000 # Used to pad vocab size to be multiple of pad_factor. pad_factor: 8 # Used to pad sequence length to be multiple of pad_seq. -pad_seq: 8 +pad_seq: 1 # Used to make batch size to be multiple of bsz_multi. bsz_multi: 8 # Index for token diff --git a/PaddleNLP/benchmark/transformer/configs/transformer.big.yaml b/PaddleNLP/benchmark/transformer/configs/transformer.big.yaml index 3573d188..cd071986 100644 --- a/PaddleNLP/benchmark/transformer/configs/transformer.big.yaml +++ b/PaddleNLP/benchmark/transformer/configs/transformer.big.yaml @@ -69,7 +69,7 @@ trg_vocab_size: 10000 # Used to pad vocab size to be multiple of pad_factor. pad_factor: 8 # Used to pad sequence length to be multiple of pad_seq. -pad_seq: 8 +pad_seq: 1 # Used to make batch size to be multiple of bsz_multi. bsz_multi: 8 # Index for token -- GitLab