From c8a59d79befd208bc341491d79eb4a2f8d25bb74 Mon Sep 17 00:00:00 2001 From: oobabooga <112222186+oobabooga@users.noreply.github.com> Date: Tue, 1 Aug 2023 13:27:29 -0700 Subject: [PATCH] Add a template for NewHope --- characters/instruction-following/NewHope.yaml | 4 ++++ models/config.yaml | 3 +++ 2 files changed, 7 insertions(+) create mode 100644 characters/instruction-following/NewHope.yaml diff --git a/characters/instruction-following/NewHope.yaml b/characters/instruction-following/NewHope.yaml new file mode 100644 index 00000000..d9a72f64 --- /dev/null +++ b/characters/instruction-following/NewHope.yaml @@ -0,0 +1,4 @@ +user: "### Instruction:" +bot: "### Response:" +turn_template: "<|user|>\n<|user-message|>\n\n<|bot|>\n<|bot-message|> " +context: " " diff --git a/models/config.yaml b/models/config.yaml index f9d0a4c0..0c1027c0 100644 --- a/models/config.yaml +++ b/models/config.yaml @@ -280,3 +280,6 @@ TheBloke_WizardLM-30B-GPTQ: instruction_template: 'Llama-v2' .*llama.*70b.*ggml.*\.bin: n_gqa: 8 +.*newhope: + mode: 'instruct' + instruction_template: 'NewHope'