From 93115a9733b3d7003ff572684687b8ece372a979 Mon Sep 17 00:00:00 2001 From: HanishKVC Date: Sun, 5 May 2024 15:05:14 +0530 Subject: [PATCH] ChatON: initial go at OrionStar Ai chat model template Got from its tokenizer config json. Also same found in existing hardcoded template in default chat apply template logic of llamacpp --- examples/chaton_meta.json | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/examples/chaton_meta.json b/examples/chaton_meta.json index 1214319a1..ab0d73cb4 100644 --- a/examples/chaton_meta.json +++ b/examples/chaton_meta.json @@ -320,6 +320,36 @@ "systemuser-system-has-end": true, "systemuser-1st-user-has-begin": true, "systemuser-1st-user-has-prefix": true + }, + "orion": { + "global": { + "begin": "", + "end": "" + }, + "system": { + "begin": "", + "prefix": "Human: ", + "suffix": "\n\n", + "end": "" + }, + "user": { + "begin": "", + "prefix": "Human: ", + "suffix": "\n\nAssistant: ", + "end": "" + }, + "assistant": { + "begin": "", + "prefix": "", + "suffix": "", + "end": "" + }, + "reverse-prompt": "", + "systemuser-system-has-suffix": true, + "systemuser-system-has-end": true, + "systemuser-1st-user-has-begin": false, + "systemuser-1st-user-has-prefix": false } + }