Skip to content

Commit

Permalink
Adding more information in help parser on train_file and validation_f…
Browse files Browse the repository at this point in the history
…ile (huggingface#25324)

chorse: adding new doc on train and val
  • Loading branch information
pphuc25 authored Aug 7, 2023
1 parent baf1daa commit 5fe3697
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/pytorch/language-modeling/run_clm_no_trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,10 @@ def parse_args():
help="The configuration name of the dataset to use (via the datasets library).",
)
parser.add_argument(
"--train_file", type=str, default=None, help="A csv or a json file containing the training data."
"--train_file", type=str, default=None, help="A csv, txt or a json file containing the training data."
)
parser.add_argument(
"--validation_file", type=str, default=None, help="A csv or a json file containing the validation data."
"--validation_file", type=str, default=None, help="A csv, txt or a json file containing the validation data."
)
parser.add_argument(
"--validation_split_percentage",
Expand Down

0 comments on commit 5fe3697

Please sign in to comment.