瀏覽代碼

Make the maximum history size in prompt unlimited by default

oobabooga 3 年之前
父節點
當前提交
d0ea6d5f86
共有 2 個文件被更改,包括 2 次插入2 次删除
  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",