From b05907c87e3c7606bb4c91fa23bf8cbbde487094 Mon Sep 17 00:00:00 2001 From: Ivan Fioravanti Date: Sun, 18 Feb 2024 15:04:49 +0100 Subject: [PATCH] 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. --- llms/mlx_lm/lora.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llms/mlx_lm/lora.py b/llms/mlx_lm/lora.py index 9e26225b..a8a2912e 100644 --- a/llms/mlx_lm/lora.py +++ b/llms/mlx_lm/lora.py @@ -111,7 +111,7 @@ def build_parser(): help="Number of test set batches, -1 uses the entire test set.", ) parser.add_argument( - "--max_seq_length", + "--max-seq-length", type=int, default=2048, help="Maximum sequence length.",