Increase truncation_length_max value

This commit is contained in:
oobabooga 2023-04-19 17:35:38 -03:00
parent 9d9ae62938
commit 702fe92d42
2 changed files with 2 additions and 2 deletions

View File

@ -44,7 +44,7 @@ settings = {
'skip_special_tokens': True, 'skip_special_tokens': True,
'truncation_length': 2048, 'truncation_length': 2048,
'truncation_length_min': 0, 'truncation_length_min': 0,
'truncation_length_max': 4096, 'truncation_length_max': 8192,
'mode': 'cai-chat', 'mode': 'cai-chat',
'instruction_template': 'None', 'instruction_template': 'None',
'chat_prompt_size': 2048, 'chat_prompt_size': 2048,

View File

@ -15,7 +15,7 @@
"skip_special_tokens": true, "skip_special_tokens": true,
"truncation_length": 2048, "truncation_length": 2048,
"truncation_length_min": 0, "truncation_length_min": 0,
"truncation_length_max": 4096, "truncation_length_max": 8192,
"mode": "cai-chat", "mode": "cai-chat",
"instruction_template": "None", "instruction_template": "None",
"chat_prompt_size": 2048, "chat_prompt_size": 2048,