Make the maximum history size in prompt unlimited by default

This commit is contained in:
oobabooga 2023-01-22 17:17:35 -03:00
parent 00f3b0996b
commit d0ea6d5f86
2 changed files with 2 additions and 2 deletions

View File

@ -49,7 +49,7 @@ settings = {
'prompt': 'Common sense questions and answers\n\nQuestion: \nFactual answer:', 'prompt': 'Common sense questions and answers\n\nQuestion: \nFactual answer:',
'prompt_gpt4chan': '-----\n--- 865467536\nInput text\n--- 865467537\n', 'prompt_gpt4chan': '-----\n--- 865467536\nInput text\n--- 865467537\n',
'stop_at_newline': True, 'stop_at_newline': True,
'history_size': 8, 'history_size': 0,
'history_size_min': 0, 'history_size_min': 0,
'history_size_max': 64, 'history_size_max': 64,
'preset_pygmalion': 'Pygmalion', 'preset_pygmalion': 'Pygmalion',

View File

@ -9,7 +9,7 @@
"prompt": "Common sense questions and answers\n\nQuestion: \nFactual answer:", "prompt": "Common sense questions and answers\n\nQuestion: \nFactual answer:",
"prompt_gpt4chan": "-----\n--- 865467536\nInput text\n--- 865467537\n", "prompt_gpt4chan": "-----\n--- 865467536\nInput text\n--- 865467537\n",
"stop_at_newline": true, "stop_at_newline": true,
"history_size": 8, "history_size": 0,
"history_size_min": 0, "history_size_min": 0,
"history_size_max": 64, "history_size_max": 64,
"preset_pygmalion": "Pygmalion", "preset_pygmalion": "Pygmalion",