2023-07-31 21:01:50 +02:00
|
|
|
dark_theme: true
|
2023-08-16 16:03:53 +02:00
|
|
|
show_controls: true
|
2023-08-14 16:46:07 +02:00
|
|
|
start_with: ''
|
|
|
|
mode: chat
|
2023-09-12 04:30:23 +02:00
|
|
|
chat_style: cai-chat
|
2023-08-14 16:46:07 +02:00
|
|
|
prompt-default: QA
|
|
|
|
prompt-notebook: QA
|
|
|
|
preset: simple-1
|
2023-12-08 00:04:52 +01:00
|
|
|
max_new_tokens: 512
|
2023-05-29 03:34:12 +02:00
|
|
|
max_new_tokens_min: 1
|
2023-07-18 02:08:22 +02:00
|
|
|
max_new_tokens_max: 4096
|
2023-08-06 22:22:48 +02:00
|
|
|
negative_prompt: ''
|
2023-12-12 21:23:14 +01:00
|
|
|
seed: -1
|
2023-08-14 16:46:07 +02:00
|
|
|
truncation_length: 2048
|
|
|
|
truncation_length_min: 0
|
2023-12-05 00:48:34 +01:00
|
|
|
truncation_length_max: 200000
|
2023-12-12 21:23:14 +01:00
|
|
|
max_tokens_second: 0
|
2024-01-17 21:09:36 +01:00
|
|
|
prompt_lookup_num_tokens: 0
|
2023-08-14 16:46:07 +02:00
|
|
|
custom_stopping_strings: ''
|
2023-12-12 21:23:14 +01:00
|
|
|
custom_token_bans: ''
|
2023-08-14 16:46:07 +02:00
|
|
|
auto_max_new_tokens: false
|
|
|
|
ban_eos_token: false
|
|
|
|
add_bos_token: true
|
|
|
|
skip_special_tokens: true
|
|
|
|
stream: true
|
2023-09-21 22:19:32 +02:00
|
|
|
character: Assistant
|
2023-12-12 21:23:14 +01:00
|
|
|
name1: You
|
|
|
|
custom_system_message: ''
|
|
|
|
instruction_template_str: |-
|
2023-12-19 02:47:35 +01:00
|
|
|
{%- set ns = namespace(found=false) -%}
|
2023-12-12 21:23:14 +01:00
|
|
|
{%- for message in messages -%}
|
|
|
|
{%- if message['role'] == 'system' -%}
|
2023-12-19 02:47:35 +01:00
|
|
|
{%- set ns.found = true -%}
|
2023-12-12 21:23:14 +01:00
|
|
|
{%- endif -%}
|
|
|
|
{%- endfor -%}
|
2023-12-19 02:47:35 +01:00
|
|
|
{%- if not ns.found -%}
|
2023-12-12 21:23:14 +01:00
|
|
|
{{- '' + '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' -%}
|
2024-03-12 03:41:57 +01:00
|
|
|
{%- if message['content'] -%}
|
|
|
|
{{- message['content'] + '\n\n' -}}
|
|
|
|
{%- endif -%}
|
|
|
|
{%- if user_bio -%}
|
|
|
|
{{- user_bio + '\n\n' -}}
|
|
|
|
{%- endif -%}
|
2023-12-12 21:23:14 +01:00
|
|
|
{%- else -%}
|
|
|
|
{%- if message['role'] == 'user' -%}
|
|
|
|
{{- name1 + ': ' + message['content'] + '\n'-}}
|
|
|
|
{%- else -%}
|
|
|
|
{{- name2 + ': ' + message['content'] + '\n' -}}
|
|
|
|
{%- endif -%}
|
|
|
|
{%- endif -%}
|
|
|
|
{%- endfor -%}
|
2023-07-31 21:01:50 +02:00
|
|
|
chat-instruct_command: |-
|
|
|
|
Continue the chat dialogue below. Write a single reply for the character "<|character|>".
|
2023-05-29 03:34:12 +02:00
|
|
|
|
2023-07-31 21:01:50 +02:00
|
|
|
<|prompt|>
|
2023-08-14 16:46:07 +02:00
|
|
|
autoload_model: false
|
2023-12-04 02:45:50 +01:00
|
|
|
gallery-items_per_page: 50
|
|
|
|
gallery-open: false
|
2023-08-13 06:12:15 +02:00
|
|
|
default_extensions:
|
2023-05-29 03:34:12 +02:00
|
|
|
- gallery
|