From 3e7c624f8e420a40b7885b2677f846f2a0d8a3e0 Mon Sep 17 00:00:00 2001 From: oobabooga <112222186+oobabooga@users.noreply.github.com> Date: Thu, 17 Aug 2023 15:03:08 -0700 Subject: [PATCH] Add a template for OpenOrca-Platypus2 --- instruction-templates/OpenOrca-Platypus2.yaml | 4 ++++ models/config.yaml | 5 +++++ 2 files changed, 9 insertions(+) create mode 100644 instruction-templates/OpenOrca-Platypus2.yaml diff --git a/instruction-templates/OpenOrca-Platypus2.yaml b/instruction-templates/OpenOrca-Platypus2.yaml new file mode 100644 index 00000000..6cac0046 --- /dev/null +++ b/instruction-templates/OpenOrca-Platypus2.yaml @@ -0,0 +1,4 @@ +user: "### Instruction:" +bot: "### Response:" +turn_template: "<|user|> <|user-message|>\n\n<|bot|> <|bot-message|>\n\n" +context: "" diff --git a/models/config.yaml b/models/config.yaml index 624840df..366684dc 100644 --- a/models/config.yaml +++ b/models/config.yaml @@ -295,3 +295,8 @@ llama-65b-gptq-3bit: instruction_template: 'OpenChat' .*falcon.*-instruct: mode: 'instruct' +.*(openorca-platypus2): + mode: 'instruct' + instruction_template: 'OpenOrca-Platypus2' + custom_stopping_strings: '"### Instruction:", "### Response:"' + rms_norm_eps: 5.0e-6