From 836e51369820797759a71064066a78fb161fe804 Mon Sep 17 00:00:00 2001 From: Saket Khandelwal Date: Sun, 4 Aug 2019 16:05:10 +1000 Subject: [PATCH] Fixed small typo --- pytorch_transformers/convert_gpt2_checkpoint_to_pytorch.py | 2 +- pytorch_transformers/convert_openai_checkpoint_to_pytorch.py | 2 +- pytorch_transformers/convert_tf_checkpoint_to_pytorch.py | 2 +- pytorch_transformers/convert_xlnet_checkpoint_to_pytorch.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pytorch_transformers/convert_gpt2_checkpoint_to_pytorch.py b/pytorch_transformers/convert_gpt2_checkpoint_to_pytorch.py index 68cb798a7d..f9e83f5d5b 100755 --- a/pytorch_transformers/convert_gpt2_checkpoint_to_pytorch.py +++ b/pytorch_transformers/convert_gpt2_checkpoint_to_pytorch.py @@ -58,7 +58,7 @@ if __name__ == "__main__": default = None, type = str, required = True, - help = "Path the TensorFlow checkpoint path.") + help = "Path to the TensorFlow checkpoint path.") parser.add_argument("--pytorch_dump_folder_path", default = None, type = str, diff --git a/pytorch_transformers/convert_openai_checkpoint_to_pytorch.py b/pytorch_transformers/convert_openai_checkpoint_to_pytorch.py index 8ec852a4bd..70895b4002 100755 --- a/pytorch_transformers/convert_openai_checkpoint_to_pytorch.py +++ b/pytorch_transformers/convert_openai_checkpoint_to_pytorch.py @@ -58,7 +58,7 @@ if __name__ == "__main__": default = None, type = str, required = True, - help = "Path the TensorFlow checkpoint path.") + help = "Path to the TensorFlow checkpoint path.") parser.add_argument("--pytorch_dump_folder_path", default = None, type = str, diff --git a/pytorch_transformers/convert_tf_checkpoint_to_pytorch.py b/pytorch_transformers/convert_tf_checkpoint_to_pytorch.py index 9f121e8b79..220204f36e 100755 --- a/pytorch_transformers/convert_tf_checkpoint_to_pytorch.py +++ b/pytorch_transformers/convert_tf_checkpoint_to_pytorch.py @@ -47,7 +47,7 @@ if __name__ == "__main__": default = None, type = str, required = True, - help = "Path the TensorFlow checkpoint path.") + help = "Path to the TensorFlow checkpoint path.") parser.add_argument("--bert_config_file", default = None, type = str, diff --git a/pytorch_transformers/convert_xlnet_checkpoint_to_pytorch.py b/pytorch_transformers/convert_xlnet_checkpoint_to_pytorch.py index 834b47484f..038c706960 100755 --- a/pytorch_transformers/convert_xlnet_checkpoint_to_pytorch.py +++ b/pytorch_transformers/convert_xlnet_checkpoint_to_pytorch.py @@ -79,7 +79,7 @@ if __name__ == "__main__": default = None, type = str, required = True, - help = "Path the TensorFlow checkpoint path.") + help = "Path to the TensorFlow checkpoint path.") parser.add_argument("--xlnet_config_file", default = None, type = str,