Explorar o código

Make the maximum history size in prompt unlimited by default

oobabooga %!s(int64=3) %!d(string=hai) anos
pai
achega
d0ea6d5f86
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  1. 1 1
      server.py
  2. 1 1
      settings-template.json

+ 1 - 1
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',

+ 1 - 1
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",