text-generation-webui/settings-template.yaml

74 lines
2.1 KiB
YAML
Raw Normal View History

dark_theme: true
show_controls: true
start_with: ''
mode: chat
2023-09-11 22:30:23 -04:00
chat_style: cai-chat
prompt-default: QA
prompt-notebook: QA
preset: simple-1
max_new_tokens: 512
2023-05-28 21:34:12 -04:00
max_new_tokens_min: 1
2023-07-17 20:08:22 -04:00
max_new_tokens_max: 4096
negative_prompt: ''
seed: -1
truncation_length: 2048
truncation_length_min: 0
truncation_length_max: 200000
max_tokens_second: 0
2023-12-25 18:25:16 -05:00
max_updates_second: 0
custom_stopping_strings: ''
custom_token_bans: ''
auto_max_new_tokens: false
ban_eos_token: false
add_bos_token: true
skip_special_tokens: true
stream: true
character: Assistant
name1: You
custom_system_message: ''
instruction_template_str: |-
2023-12-18 20:47:35 -05:00
{%- set ns = namespace(found=false) -%}
{%- for message in messages -%}
{%- if message['role'] == 'system' -%}
2023-12-18 20:47:35 -05:00
{%- set ns.found = true -%}
{%- endif -%}
{%- endfor -%}
2023-12-18 20:47:35 -05:00
{%- if not ns.found -%}
{{- '' + 'Below is an instruction that describes a task. Write a response that appropriately completes the request.' + '\n\n' -}}
{%- endif %}
{%- for message in messages %}
{%- if message['role'] == 'system' -%}
{{- '' + message['content'] + '\n\n' -}}
{%- else -%}
{%- if message['role'] == 'user' -%}
{{-'### Instruction:\n' + message['content'] + '\n\n'-}}
{%- else -%}
{{-'### Response:\n' + message['content'] + '\n\n' -}}
{%- endif -%}
{%- endif -%}
{%- endfor -%}
{%- if add_generation_prompt -%}
{{-'### Response:\n'-}}
{%- endif -%}
chat_template_str: |-
{%- for message in messages %}
{%- if message['role'] == 'system' -%}
{{- message['content'] + '\n\n' -}}
{%- else -%}
{%- if message['role'] == 'user' -%}
{{- name1 + ': ' + message['content'] + '\n'-}}
{%- else -%}
{{- name2 + ': ' + message['content'] + '\n' -}}
{%- endif -%}
{%- endif -%}
{%- endfor -%}
chat-instruct_command: |-
Continue the chat dialogue below. Write a single reply for the character "<|character|>".
2023-05-28 21:34:12 -04:00
<|prompt|>
autoload_model: false
2023-12-03 20:45:50 -05:00
gallery-items_per_page: 50
gallery-open: false
2023-08-13 00:12:15 -04:00
default_extensions:
2023-05-28 21:34:12 -04:00
- gallery