From 56a5900c353ce5c5439eac0c2152cad3dcba0ac5 Mon Sep 17 00:00:00 2001 From: chenxuyi Date: Tue, 24 Sep 2019 20:54:07 +0800 Subject: [PATCH] fix typo --- classify_infer.py | 2 +- predict_classifier.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/classify_infer.py b/classify_infer.py index 6c88b5af..3aedce47 100644 --- a/classify_infer.py +++ b/classify_infer.py @@ -47,7 +47,7 @@ # yapf: disable parser = argparse.ArgumentParser(__doc__) model_g = ArgumentGroup(parser, "model", "options to init, resume and save model.") -model_g.add_arg("ernie_config_path", str, None, "Path to the json file for bert model config.") +model_g.add_arg("ernie_config_path", str, None, "Path to the json file for ernie model config.") model_g.add_arg("init_checkpoint", str, None, "Init checkpoint to resume training from.") model_g.add_arg("save_inference_model_path", str, "inference_model", "If set, save the inference model to this path.") model_g.add_arg("use_fp16", bool, False, "Whether to resume parameters from fp16 checkpoint.") diff --git a/predict_classifier.py b/predict_classifier.py index df641dcd..67c219a3 100644 --- a/predict_classifier.py +++ b/predict_classifier.py @@ -41,7 +41,7 @@ # yapf: disable parser = argparse.ArgumentParser(__doc__) model_g = ArgumentGroup(parser, "model", "options to init, resume and save model.") -model_g.add_arg("ernie_config_path", str, None, "Path to the json file for bert model config.") +model_g.add_arg("ernie_config_path", str, None, "Path to the json file for ernie model config.") model_g.add_arg("init_checkpoint", str, None, "Init checkpoint to resume training from.") model_g.add_arg("save_inference_model_path", str, "inference_model", "If set, save the inference model to this path.") model_g.add_arg("use_fp16", bool, False, "Whether to resume parameters from fp16 checkpoint.")