mirror of
https://github.com/ml-explore/mlx-examples.git
synced 2025-06-24 17:31:18 +08:00
make parameter naming consistent with other examples. (#214)
This commit is contained in:
parent
e632d7aaaa
commit
85258b2be7
@ -254,7 +254,7 @@ if __name__ == "__main__":
|
|||||||
default=0.0,
|
default=0.0,
|
||||||
)
|
)
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"--tokens_per_eval",
|
"--tokens-per-eval",
|
||||||
help="The batch size of tokens to generate.",
|
help="The batch size of tokens to generate.",
|
||||||
type=int,
|
type=int,
|
||||||
default=10,
|
default=10,
|
||||||
|
@ -299,7 +299,7 @@ if __name__ == "__main__":
|
|||||||
default="In the beginning the Universe was created.",
|
default="In the beginning the Universe was created.",
|
||||||
)
|
)
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"--max_tokens",
|
"--max-tokens",
|
||||||
"-m",
|
"-m",
|
||||||
type=int,
|
type=int,
|
||||||
default=100,
|
default=100,
|
||||||
|
Loading…
Reference in New Issue
Block a user