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:
Ivan Fioravanti 2024-02-18 15:04:49 +01:00 committed by GitHub
parent e4d5630698
commit b05907c87e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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.",