diff --git a/instruction-templates/Guanaco.yaml b/instruction-templates/Guanaco.yaml deleted file mode 100644 index fba10031..00000000 --- a/instruction-templates/Guanaco.yaml +++ /dev/null @@ -1,25 +0,0 @@ -instruction_template: |- - {%- set found_item = false -%} - {%- for message in messages -%} - {%- if message['role'] == 'system' -%} - {%- set found_item = true -%} - {%- endif -%} - {%- endfor -%} - {%- if not found_item -%} - {{- '' + 'A chat between a curious human and an artificial intelligence assistant. The assistant gives helpful, detailed, and polite answers to the human\'s questions.' + '\n\n' -}} - {%- endif %} - {%- for message in messages %} - {%- if message['role'] == 'system' -%} - {{- '' + message['content'] + '\n\n' -}} - {%- else -%} - {%- if message['role'] == 'user' -%} - {{-'### Human: ' + message['content'] + '\n'-}} - {%- else -%} - {{-'### Assistant: ' + message['content'] + '\n' -}} - {%- endif -%} - {%- endif -%} - {%- endfor -%} - {%- if add_generation_prompt -%} - {{-'### Assistant:'-}} - {%- endif -%} - diff --git a/instruction-templates/H2O-human_bot.yaml b/instruction-templates/H2O-human_bot.yaml deleted file mode 100644 index f562e451..00000000 --- a/instruction-templates/H2O-human_bot.yaml +++ /dev/null @@ -1,25 +0,0 @@ -instruction_template: |- - {%- set found_item = false -%} - {%- for message in messages -%} - {%- if message['role'] == 'system' -%} - {%- set found_item = true -%} - {%- endif -%} - {%- endfor -%} - {%- if not found_item -%} - {{- '' + '' + '' -}} - {%- endif %} - {%- for message in messages %} - {%- if message['role'] == 'system' -%} - {{- '' + message['content'] + '' -}} - {%- else -%} - {%- if message['role'] == 'user' -%} - {{-': ' + message['content'] + '\n'-}} - {%- else -%} - {{-':' + message['content'] + '\n' -}} - {%- endif -%} - {%- endif -%} - {%- endfor -%} - {%- if add_generation_prompt -%} - {{-':'-}} - {%- endif -%} - diff --git a/instruction-templates/LLaVA-v1.yaml b/instruction-templates/LLaVA-v1.yaml deleted file mode 100644 index f960d808..00000000 --- a/instruction-templates/LLaVA-v1.yaml +++ /dev/null @@ -1,25 +0,0 @@ -instruction_template: |- - {%- set found_item = false -%} - {%- for message in messages -%} - {%- if message['role'] == 'system' -%} - {%- set found_item = true -%} - {%- endif -%} - {%- endfor -%} - {%- if not found_item -%} - {{- '' + 'A chat between a curious user and an artificial intelligence assistant. The assistant gives helpful, detailed, and polite answers to the user\'s questions.' + '\n\n' -}} - {%- endif %} - {%- for message in messages %} - {%- if message['role'] == 'system' -%} - {{- '' + message['content'] + '\n\n' -}} - {%- else -%} - {%- if message['role'] == 'user' -%} - {{-'USER: ' + message['content'] + '\n'-}} - {%- else -%} - {{-'ASSISTANT: ' + message['content'] + '\n' -}} - {%- endif -%} - {%- endif -%} - {%- endfor -%} - {%- if add_generation_prompt -%} - {{-'ASSISTANT:'-}} - {%- endif -%} - diff --git a/instruction-templates/Minotaur.yaml b/instruction-templates/Minotaur.yaml deleted file mode 100644 index 7b8d5764..00000000 --- a/instruction-templates/Minotaur.yaml +++ /dev/null @@ -1,25 +0,0 @@ -instruction_template: |- - {%- set found_item = false -%} - {%- for message in messages -%} - {%- if message['role'] == 'system' -%} - {%- set found_item = true -%} - {%- endif -%} - {%- endfor -%} - {%- if not found_item -%} - {{- '' + '' + '' -}} - {%- endif %} - {%- for message in messages %} - {%- if message['role'] == 'system' -%} - {{- '' + message['content'] + '' -}} - {%- else -%} - {%- if message['role'] == 'user' -%} - {{-'USER: ' + message['content'] + '\n'-}} - {%- else -%} - {{-'ASSISTANT:' + message['content'] + '\n' -}} - {%- endif -%} - {%- endif -%} - {%- endfor -%} - {%- if add_generation_prompt -%} - {{-'ASSISTANT:'-}} - {%- endif -%} - diff --git a/instruction-templates/Wizard-Mega WizardLM.yaml b/instruction-templates/Wizard-Mega WizardLM.yaml deleted file mode 100644 index 1f2086a2..00000000 --- a/instruction-templates/Wizard-Mega WizardLM.yaml +++ /dev/null @@ -1,25 +0,0 @@ -instruction_template: |- - {%- set found_item = false -%} - {%- for message in messages -%} - {%- if message['role'] == 'system' -%} - {%- set found_item = true -%} - {%- endif -%} - {%- endfor -%} - {%- if not found_item -%} - {{- '' + '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 -%} - diff --git a/models/config.yaml b/models/config.yaml index 86b5ca40..5cebb713 100644 --- a/models/config.yaml +++ b/models/config.yaml @@ -38,7 +38,7 @@ instruction_template: 'LLaVA' custom_stopping_strings: '"\n###"' .*llava.*1.5: - instruction_template: 'LLaVA-v1' + instruction_template: 'Vicuna-v1.1' .*wizard.*mega: instruction_template: 'Wizard-Mega' custom_stopping_strings: '""' @@ -108,7 +108,7 @@ .*bactrian: instruction_template: 'Bactrian' .*(h2ogpt-oig-|h2ogpt-oasst1-|h2ogpt-research-oasst1-): - instruction_template: 'H2O-human_bot' + instruction_template: 'INCITE-Chat' .*h2ogpt-gm-: instruction_template: 'H2O-prompt_answer' .*manticore: @@ -128,7 +128,7 @@ .*lazarus: instruction_template: 'Alpaca' .*guanaco-.*(7|13|33|65)b: - instruction_template: 'Guanaco' + instruction_template: 'Vicuna-v0' .*hypermantis: instruction_template: 'Alpaca' .*open-llama-.*-open-instruct: @@ -144,7 +144,7 @@ .*wizardcoder: instruction_template: 'Alpaca' .*minotaur: - instruction_template: 'Minotaur' + instruction_template: 'Manticore Chat' .*orca_mini: instruction_template: 'Orca Mini' .*(platypus|gplatty|superplatty):