make parameter naming consistent with other examples. (#214)

This commit is contained in:
Daniel Strobusch 2024-01-02 17:18:12 +01:00 committed by GitHub
parent 7eb9762547
commit 32e88bc3c5
2 changed files with 2 additions and 2 deletions

View File

@ -254,7 +254,7 @@ if __name__ == "__main__":
default=0.0,
)
parser.add_argument(
"--tokens_per_eval",
"--tokens-per-eval",
help="The batch size of tokens to generate.",
type=int,
default=10,

View File

@ -299,7 +299,7 @@ if __name__ == "__main__":
default="In the beginning the Universe was created.",
)
parser.add_argument(
"--max_tokens",
"--max-tokens",
"-m",
type=int,
default=100,