Neu256 commited on
Commit
43e76a2
β€’
1 Parent(s): 659f8ee

Upload 2 files

Browse files
Files changed (2) hide show
  1. settings-template.yaml +73 -0
  2. settings.yaml +73 -0
settings-template.yaml ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ dark_theme: true
2
+ show_controls: true
3
+ start_with: ''
4
+ mode: chat
5
+ chat_style: cai-chat
6
+ prompt-default: QA
7
+ prompt-notebook: QA
8
+ preset: simple-1
9
+ max_new_tokens: 512
10
+ max_new_tokens_min: 1
11
+ max_new_tokens_max: 4096
12
+ negative_prompt: ''
13
+ seed: -1
14
+ truncation_length: 2048
15
+ truncation_length_min: 0
16
+ truncation_length_max: 200000
17
+ max_tokens_second: 0
18
+ max_updates_second: 0
19
+ custom_stopping_strings: ''
20
+ custom_token_bans: ''
21
+ auto_max_new_tokens: false
22
+ ban_eos_token: false
23
+ add_bos_token: true
24
+ skip_special_tokens: true
25
+ stream: true
26
+ character: Assistant
27
+ name1: You
28
+ custom_system_message: ''
29
+ instruction_template_str: |-
30
+ {%- set ns = namespace(found=false) -%}
31
+ {%- for message in messages -%}
32
+ {%- if message['role'] == 'system' -%}
33
+ {%- set ns.found = true -%}
34
+ {%- endif -%}
35
+ {%- endfor -%}
36
+ {%- if not ns.found -%}
37
+ {{- '' + 'Below is an instruction that describes a task. Write a response that appropriately completes the request.' + '\n\n' -}}
38
+ {%- endif %}
39
+ {%- for message in messages %}
40
+ {%- if message['role'] == 'system' -%}
41
+ {{- '' + message['content'] + '\n\n' -}}
42
+ {%- else -%}
43
+ {%- if message['role'] == 'user' -%}
44
+ {{-'### Instruction:\n' + message['content'] + '\n\n'-}}
45
+ {%- else -%}
46
+ {{-'### Response:\n' + message['content'] + '\n\n' -}}
47
+ {%- endif -%}
48
+ {%- endif -%}
49
+ {%- endfor -%}
50
+ {%- if add_generation_prompt -%}
51
+ {{-'### Response:\n'-}}
52
+ {%- endif -%}
53
+ chat_template_str: |-
54
+ {%- for message in messages %}
55
+ {%- if message['role'] == 'system' -%}
56
+ {{- message['content'] + '\n\n' -}}
57
+ {%- else -%}
58
+ {%- if message['role'] == 'user' -%}
59
+ {{- name1 + ': ' + message['content'] + '\n'-}}
60
+ {%- else -%}
61
+ {{- name2 + ': ' + message['content'] + '\n' -}}
62
+ {%- endif -%}
63
+ {%- endif -%}
64
+ {%- endfor -%}
65
+ chat-instruct_command: |-
66
+ Continue the chat dialogue below. Write a single reply for the character "<|character|>".
67
+
68
+ <|prompt|>
69
+ autoload_model: false
70
+ gallery-items_per_page: 50
71
+ gallery-open: false
72
+ default_extensions:
73
+ - gallery
settings.yaml ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ dark_theme: true
2
+ show_controls: true
3
+ start_with: ''
4
+ mode: chat
5
+ chat_style: cai-chat
6
+ prompt-default: QA
7
+ prompt-notebook: QA
8
+ preset: simple-1
9
+ max_new_tokens: 512
10
+ max_new_tokens_min: 1
11
+ max_new_tokens_max: 4096
12
+ negative_prompt: ''
13
+ seed: -1
14
+ truncation_length: 2048
15
+ truncation_length_min: 0
16
+ truncation_length_max: 200000
17
+ max_tokens_second: 0
18
+ max_updates_second: 0
19
+ custom_stopping_strings: ''
20
+ custom_token_bans: ''
21
+ auto_max_new_tokens: false
22
+ ban_eos_token: false
23
+ add_bos_token: true
24
+ skip_special_tokens: true
25
+ stream: true
26
+ character: Assistant
27
+ name1: You
28
+ custom_system_message: ''
29
+ instruction_template_str: |-
30
+ {%- set ns = namespace(found=false) -%}
31
+ {%- for message in messages -%}
32
+ {%- if message['role'] == 'system' -%}
33
+ {%- set ns.found = true -%}
34
+ {%- endif -%}
35
+ {%- endfor -%}
36
+ {%- if not ns.found -%}
37
+ {{- '' + 'Below is an instruction that describes a task. Write a response that appropriately completes the request.' + '\n\n' -}}
38
+ {%- endif %}
39
+ {%- for message in messages %}
40
+ {%- if message['role'] == 'system' -%}
41
+ {{- '' + message['content'] + '\n\n' -}}
42
+ {%- else -%}
43
+ {%- if message['role'] == 'user' -%}
44
+ {{-'### Instruction:\n' + message['content'] + '\n\n'-}}
45
+ {%- else -%}
46
+ {{-'### Response:\n' + message['content'] + '\n\n' -}}
47
+ {%- endif -%}
48
+ {%- endif -%}
49
+ {%- endfor -%}
50
+ {%- if add_generation_prompt -%}
51
+ {{-'### Response:\n'-}}
52
+ {%- endif -%}
53
+ chat_template_str: |-
54
+ {%- for message in messages %}
55
+ {%- if message['role'] == 'system' -%}
56
+ {{- message['content'] + '\n\n' -}}
57
+ {%- else -%}
58
+ {%- if message['role'] == 'user' -%}
59
+ {{- name1 + ': ' + message['content'] + '\n'-}}
60
+ {%- else -%}
61
+ {{- name2 + ': ' + message['content'] + '\n' -}}
62
+ {%- endif -%}
63
+ {%- endif -%}
64
+ {%- endfor -%}
65
+ chat-instruct_command: |-
66
+ Continue the chat dialogue below. Write a single reply for the character "<|character|>".
67
+
68
+ <|prompt|>
69
+ autoload_model: false
70
+ gallery-items_per_page: 50
71
+ gallery-open: false
72
+ default_extensions:
73
+ - gallery