Unverified Commit 0d578228 authored by Sin's avatar Sin Committed by GitHub
Browse files

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

parent aebfcb26
......@@ -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",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment