From 90be1d9fe187f653c058b5ad89b8207272d2cb19 Mon Sep 17 00:00:00 2001 From: matatonic <73265741+matatonic@users.noreply.github.com> Date: Wed, 21 Jun 2023 11:30:44 -0400 Subject: [PATCH] More models (match more) & templates (starchat-beta, tulu) (#2790) --- .../instruction-following/Starchat-Beta.yaml | 4 +++ characters/instruction-following/Tulu.yaml | 4 +++ models/config.yaml | 34 ++++++++++++++++--- 3 files changed, 37 insertions(+), 5 deletions(-) create mode 100644 characters/instruction-following/Starchat-Beta.yaml create mode 100644 characters/instruction-following/Tulu.yaml diff --git a/characters/instruction-following/Starchat-Beta.yaml b/characters/instruction-following/Starchat-Beta.yaml new file mode 100644 index 00000000..2af4ee6b --- /dev/null +++ b/characters/instruction-following/Starchat-Beta.yaml @@ -0,0 +1,4 @@ +user: "<|user|>" +bot: "<|assistant|>" +context: "<|system|>\n<|end|>\n" +turn_template: "<|user|>\n<|user-message|><|end|>\n<|bot|>\n<|bot-message|><|end|>\n" diff --git a/characters/instruction-following/Tulu.yaml b/characters/instruction-following/Tulu.yaml new file mode 100644 index 00000000..13dd14f9 --- /dev/null +++ b/characters/instruction-following/Tulu.yaml @@ -0,0 +1,4 @@ +user: "<|user|>" +bot: "<|assistant|>" +context: "" +turn_template: "<|user|>\n<|user-message|>\n<|bot|>\n<|bot-message|>\n" diff --git a/models/config.yaml b/models/config.yaml index 715bbf71..318b0822 100644 --- a/models/config.yaml +++ b/models/config.yaml @@ -50,7 +50,7 @@ llama-65b-gptq-3bit: .*vicuna.*v0: mode: 'instruct' instruction_template: 'Vicuna-v0' -.*vicuna.*(1.1|1_1): +.*vicuna.*(1.1|1_1|1.3|1_3): mode: 'instruct' instruction_template: 'Vicuna-v1.1' .*wizard.*vicuna: @@ -184,7 +184,7 @@ llama-65b-gptq-3bit: .*Nous-Hermes-13b: mode: 'instruct' instruction_template: 'Alpaca' -.*airoboros-13b-gpt4: +.*airoboros: mode: 'instruct' instruction_template: 'Vicuna-v1.1' .*WizardLM-30B-V1.0: @@ -193,7 +193,7 @@ llama-65b-gptq-3bit: TheBloke_WizardLM-30B-GPTQ: mode: 'instruct' instruction_template: 'Vicuna-v1.1' -.*(A|a)lpa(cino|sta): +.*alpa(cino|sta): mode: 'instruct' instruction_template: 'Alpaca' .*hippogriff: @@ -202,9 +202,33 @@ TheBloke_WizardLM-30B-GPTQ: .*gpt4all-.*-snoozy: mode: 'instruct' instruction_template: 'WizardLM' -.*(L|l)azarus: +.*lazarus: mode: 'instruct' instruction_template: 'Alpaca' -.*(G|g)uanaco-.*(7|13|33|65)(b|B): +.*guanaco-.*(7|13|33|65)b: mode: 'instruct' instruction_template: 'Guanaco' +.*hypermantis: + mode: 'instruct' + instruction_template: 'Alpaca' +.*open-llama-.*-open-instruct: + mode: 'instruct' + instruction_template: 'Alpaca' +.*starcoder-gpteacher-code-instruct: + mode: 'instruct' + instruction_template: 'Alpaca' +.*tulu: + mode: 'instruct' + instruction_template: 'Tulu' +.*chronos: + mode: 'instruct' + instruction_template: 'Alpaca' +.*samantha: + mode: 'instruct' + instruction_template: 'Samantha' +.*wizardcoder: + mode: 'instruct' + instruction_template: 'Alpaca' +.*starchat-beta: + mode: 'instruct' + instruction_template: 'Starchat-Beta' \ No newline at end of file