oobabooga 2 роки тому
батько
коміт
4c9ed09270
2 змінених файлів з 2 додано та 0 видалено
  1. 1 0
      modules/shared.py
  2. 1 0
      settings-template.json

+ 1 - 0
modules/shared.py

@@ -7,6 +7,7 @@ lora_name = "None"
 soft_prompt_tensor = None
 soft_prompt = False
 is_RWKV = False
+is_llamacpp = False
 
 # Chat variables
 history = {'internal': [], 'visible': []}

+ 1 - 0
settings-template.json

@@ -6,6 +6,7 @@
     "name1": "You",
     "name2": "Assistant",
     "context": "This is a conversation with your Assistant. The Assistant is very helpful and is eager to chat with you and answer your questions.",
+    "greeting": "Hello there!",
     "stop_at_newline": false,
     "chat_prompt_size": 2048,
     "chat_prompt_size_min": 0,