mirror of
https://github.com/ml-explore/mlx-examples.git
synced 2025-06-25 01:41:19 +08:00
Change argument name in lora.py (#453)
The argument name "--max_seq_length" was updated to "--max-seq-length" in the code to maintain a consistent naming convention across the program.
This commit is contained in:
parent
e4d5630698
commit
b05907c87e
@ -111,7 +111,7 @@ def build_parser():
|
|||||||
help="Number of test set batches, -1 uses the entire test set.",
|
help="Number of test set batches, -1 uses the entire test set.",
|
||||||
)
|
)
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"--max_seq_length",
|
"--max-seq-length",
|
||||||
type=int,
|
type=int,
|
||||||
default=2048,
|
default=2048,
|
||||||
help="Maximum sequence length.",
|
help="Maximum sequence length.",
|
||||||
|
Loading…
Reference in New Issue
Block a user