mirror of
https://github.com/ml-explore/mlx-examples.git
synced 2025-08-31 11:54:37 +08:00
make parameter naming consistent with other examples. (#214)
This commit is contained in:
parent
7eb9762547
commit
32e88bc3c5
@ -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,
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user