"vscode:/vscode.git/clone" did not exist on "ecc3dd66cceebcd9fc48216ae3852a0e994fbdc1"
Unverified Commit 3d33e372 authored by Nick Hill's avatar Nick Hill Committed by GitHub
Browse files

[BugFix] Fix log message about default max model length (#5284)

parent faf71bcd
...@@ -1223,7 +1223,7 @@ def _get_and_verify_max_len( ...@@ -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
......
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