From 9bb55120971c4e79516e36784698e0a40b514fc6 Mon Sep 17 00:00:00 2001 From: Joejiong Date: Mon, 25 May 2020 02:11:58 +0000 Subject: [PATCH] =?UTF-8?q?=E2=80=9Ctest=3Ddevelop=E2=80=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- PaddleNLP/pretrain_language_models/XLNet/utils/init.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PaddleNLP/pretrain_language_models/XLNet/utils/init.py b/PaddleNLP/pretrain_language_models/XLNet/utils/init.py index 09632a0f..f907ca9c 100644 --- a/PaddleNLP/pretrain_language_models/XLNet/utils/init.py +++ b/PaddleNLP/pretrain_language_models/XLNet/utils/init.py @@ -81,7 +81,7 @@ def init_pretraining_params(exe, return False fluid.io.load( - model_path=pretraining_params_path, program=main_program, executor=exe) + program=main_program, model_path=pretraining_params_path, executor=exe) if use_fp16: cast_fp32_to_fp16(exe, main_program) -- GitLab