From d0ea6d5f86281a7b985ac266a25c9a17d1264dd9 Mon Sep 17 00:00:00 2001 From: oobabooga <112222186+oobabooga@users.noreply.github.com> Date: Sun, 22 Jan 2023 17:17:35 -0300 Subject: [PATCH] Make the maximum history size in prompt unlimited by default --- server.py | 2 +- settings-template.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/server.py b/server.py index 096d0dd9..1ee7cd28 100644 --- a/server.py +++ b/server.py @@ -49,7 +49,7 @@ settings = { 'prompt': 'Common sense questions and answers\n\nQuestion: \nFactual answer:', 'prompt_gpt4chan': '-----\n--- 865467536\nInput text\n--- 865467537\n', 'stop_at_newline': True, - 'history_size': 8, + 'history_size': 0, 'history_size_min': 0, 'history_size_max': 64, 'preset_pygmalion': 'Pygmalion', diff --git a/settings-template.json b/settings-template.json index c239dbad..6c1099c9 100644 --- a/settings-template.json +++ b/settings-template.json @@ -9,7 +9,7 @@ "prompt": "Common sense questions and answers\n\nQuestion: \nFactual answer:", "prompt_gpt4chan": "-----\n--- 865467536\nInput text\n--- 865467537\n", "stop_at_newline": true, - "history_size": 8, + "history_size": 0, "history_size_min": 0, "history_size_max": 64, "preset_pygmalion": "Pygmalion",