Skip to content

Commit

Permalink
Replace underscores with dashes in argument names
Browse files Browse the repository at this point in the history
  • Loading branch information
mryab committed Apr 24, 2024
1 parent 44d9ae7 commit 0d7300e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/tokenize_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def process_data(args: argparse.Namespace) -> None:
"--max-seq-length", type=int, default=2048, help="Maximum sequence length"
)
parser.add_argument(
"--add_labels",
"--add-labels",
action="store_true",
help="Whether to add loss labels from padding tokens",
)
Expand All @@ -106,7 +106,7 @@ def process_data(args: argparse.Namespace) -> None:
help="Tokenizer name (for example, togethercomputer/LLaMA-2-7B-32K)",
)
parser.add_argument(
"--out_filename",
"--out-filename",
default="processed_dataset.parquet",
help="Name of the Parquet file to save (should have .parquet extension)",
)
Expand Down

0 comments on commit 0d7300e

Please sign in to comment.