From c5ebcc5f7e862b1f2c6b1d807bbf2c1aadeb159e Mon Sep 17 00:00:00 2001 From: oobabooga <112222186+oobabooga@users.noreply.github.com> Date: Thu, 23 Mar 2023 13:36:00 -0300 Subject: [PATCH] Change the default names (#518) * Update shared.py * Update settings-template.json --- modules/shared.py | 6 +++--- settings-template.json | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/modules/shared.py b/modules/shared.py index 8d591f4f..720c697e 100644 --- a/modules/shared.py +++ b/modules/shared.py @@ -27,9 +27,9 @@ settings = { 'max_new_tokens': 200, 'max_new_tokens_min': 1, 'max_new_tokens_max': 2000, - 'name1': 'Person 1', - 'name2': 'Person 2', - 'context': 'This is a conversation between two people.', + '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.', 'stop_at_newline': False, 'chat_prompt_size': 2048, 'chat_prompt_size_min': 0, diff --git a/settings-template.json b/settings-template.json index 7a7de7af..79fd5023 100644 --- a/settings-template.json +++ b/settings-template.json @@ -2,9 +2,9 @@ "max_new_tokens": 200, "max_new_tokens_min": 1, "max_new_tokens_max": 2000, - "name1": "Person 1", - "name2": "Person 2", - "context": "This is a conversation between two people.", + "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.", "stop_at_newline": false, "chat_prompt_size": 2048, "chat_prompt_size_min": 0,