소스 검색

Disable stop_at_newline by default

oobabooga 2 년 전
부모
커밋
c753261338
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      modules/shared.py
  2. 1 1
      settings-template.json

+ 1 - 1
modules/shared.py

@@ -30,7 +30,7 @@ settings = {
     'name1': 'Person 1',
     'name2': 'Person 2',
     'context': 'This is a conversation between two people.',
-    'stop_at_newline': True,
+    'stop_at_newline': False,
     'chat_prompt_size': 2048,
     'chat_prompt_size_min': 0,
     'chat_prompt_size_max': 2048,

+ 1 - 1
settings-template.json

@@ -5,7 +5,7 @@
     "name1": "Person 1",
     "name2": "Person 2",
     "context": "This is a conversation between two people.",
-    "stop_at_newline": true,
+    "stop_at_newline": false,
     "chat_prompt_size": 2048,
     "chat_prompt_size_min": 0,
     "chat_prompt_size_max": 2048,