config parser: add ChatGLM2 seq_length to _get_and_verify_max_len (#1617)

This commit is contained in:
Sin
2023-11-10 11:29:51 +08:00
committed by GitHub
parent aebfcb262a
commit 0d578228ca

View File

@@ -368,6 +368,8 @@ def _get_and_verify_max_len(
"n_positions",
# MPT
"max_seq_len",
# ChatGLM2
"seq_length",
# Others
"max_sequence_length",
"max_seq_length",