mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2026-04-06 07:03:37 +00:00
Rename "truncation length" to "context length" in logs
This commit is contained in:
parent
368f37335f
commit
e154140021
2 changed files with 2 additions and 2 deletions
|
|
@ -68,7 +68,7 @@ def _load_model(data):
|
|||
if k in shared.settings:
|
||||
shared.settings[k] = settings[k]
|
||||
if k == 'truncation_length':
|
||||
logger.info(f"TRUNCATION LENGTH (UPDATED): {shared.settings['truncation_length']}")
|
||||
logger.info(f"CONTEXT LENGTH (UPDATED): {shared.settings['truncation_length']}")
|
||||
elif k == 'instruction_template':
|
||||
logger.info(f"INSTRUCTION TEMPLATE (UPDATED): {shared.settings['instruction_template']}")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue