[BugFix] Fix log message about default max model length (#5284)
This commit is contained in:
parent
faf71bcd4b
commit
3d33e372a1
@ -1223,7 +1223,7 @@ def _get_and_verify_max_len(
|
|||||||
logger.warning(
|
logger.warning(
|
||||||
"The model's config.json does not contain any of the following "
|
"The model's config.json does not contain any of the following "
|
||||||
"keys to determine the original maximum length of the model: "
|
"keys to determine the original maximum length of the model: "
|
||||||
"%d. Assuming the model's maximum length is %d.", possible_keys,
|
"%s. Assuming the model's maximum length is %d.", possible_keys,
|
||||||
default_max_len)
|
default_max_len)
|
||||||
derived_max_model_len = default_max_len
|
derived_max_model_len = default_max_len
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user