Skip to content

Commit

Permalink
Merge pull request #333 from Meiyim/dev
Browse files Browse the repository at this point in the history
fix typo
  • Loading branch information
Meiyim authored Sep 24, 2019
2 parents 31e0c63 + 56a5900 commit d3310db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion classify_infer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.")
Expand Down
2 changes: 1 addition & 1 deletion predict_classifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.")
Expand Down

0 comments on commit d3310db

Please sign in to comment.