mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-11-22 08:07:56 +01:00
parent
6de727c524
commit
2b7ba9586f
@ -259,7 +259,7 @@ class Handler(BaseHTTPRequestHandler):
|
|||||||
|
|
||||||
role_formats = {
|
role_formats = {
|
||||||
'user': 'user: {message}\n',
|
'user': 'user: {message}\n',
|
||||||
'bot': 'assistant: {message}\n',
|
'assistant': 'assistant: {message}\n',
|
||||||
'system': '{message}',
|
'system': '{message}',
|
||||||
'context': 'You are a helpful assistant. Answer as concisely as possible.',
|
'context': 'You are a helpful assistant. Answer as concisely as possible.',
|
||||||
'prompt': 'assistant:',
|
'prompt': 'assistant:',
|
||||||
|
Loading…
Reference in New Issue
Block a user