From a29f8d93259d8f7e21d1fc4b8edcafd01b2296b2 Mon Sep 17 00:00:00 2001 From: grencez Date: Thu, 25 Jul 2024 04:15:18 -0700 Subject: [PATCH] remove some files --- example/prompt/assistant_gemma/rolling.txt | 2 -- example/prompt/assistant_gemma/setting.sxpb | 7 +++- example/prompt/assistant_llama/setting.sxpb | 34 ++++++++++--------- example/prompt/assistant_mistral/rolling.txt | 1 - example/prompt/assistant_mistral/setting.sxpb | 5 +++ 5 files changed, 29 insertions(+), 20 deletions(-) delete mode 100644 example/prompt/assistant_gemma/rolling.txt delete mode 100644 example/prompt/assistant_mistral/rolling.txt diff --git a/example/prompt/assistant_gemma/rolling.txt b/example/prompt/assistant_gemma/rolling.txt deleted file mode 100644 index c36db44..0000000 --- a/example/prompt/assistant_gemma/rolling.txt +++ /dev/null @@ -1,2 +0,0 @@ -user -Hello! diff --git a/example/prompt/assistant_gemma/setting.sxpb b/example/prompt/assistant_gemma/setting.sxpb index c6240da..3b22060 100644 --- a/example/prompt/assistant_gemma/setting.sxpb +++ b/example/prompt/assistant_gemma/setting.sxpb @@ -1,3 +1,9 @@ + +(rolling_text """\ +user +Hello! +""") + (chat_prefixes (()) (m (prefix "user\n") @@ -14,7 +20,6 @@ ) ) -(x_rolling "rolling.txt") (o_rolling "../../../bld/example/prompt/assistant_gemma.txt") ; No starting space. diff --git a/example/prompt/assistant_llama/setting.sxpb b/example/prompt/assistant_llama/setting.sxpb index 4cfa55a..d9b38c5 100644 --- a/example/prompt/assistant_llama/setting.sxpb +++ b/example/prompt/assistant_llama/setting.sxpb @@ -1,11 +1,27 @@ + +(priming_text """\ +<|start_header_id|>system<|end_header_id|> + +Cutting Knowledge Date: December 2023 +Today Date: July 2024 + +You are a helpful assistant.<|eot_id|>\ +""") + +(rolling_text """\ +<|start_header_id|>user<|end_header_id|> + +Hello!<|eot_id|>\ +""") + (chat_prefixes (()) (m (prefix "<|start_header_id|>user<|end_header_id|>\n\n") - (suffix "<|eot_id|>\n") + (suffix "<|eot_id|>") ) (m (prefix "<|start_header_id|>assistant<|end_header_id|>\n\n") - (suffix "<|eot_id|>\n") + (suffix "<|eot_id|>") ) ) (substitution @@ -16,20 +32,6 @@ ) ) -(priming_text """\ -<|start_header_id|>system<|end_header_id|> - -Cutting Knowledge Date: December 2023 -Today Date: July 2024 - -You are a helpful assistant.<|eot_id|>\ -""") -(rolling_text """\ -<|start_header_id|>user<|end_header_id|> - -Hello!<|eot_id|>\ -""") - (o_rolling "../../../bld/example/prompt/assistant_llama.txt") ; No starting space. diff --git a/example/prompt/assistant_mistral/rolling.txt b/example/prompt/assistant_mistral/rolling.txt deleted file mode 100644 index fbd0fe1..0000000 --- a/example/prompt/assistant_mistral/rolling.txt +++ /dev/null @@ -1 +0,0 @@ -[INST]Hello![/INST] diff --git a/example/prompt/assistant_mistral/setting.sxpb b/example/prompt/assistant_mistral/setting.sxpb index 7b0476e..d72a926 100644 --- a/example/prompt/assistant_mistral/setting.sxpb +++ b/example/prompt/assistant_mistral/setting.sxpb @@ -1,3 +1,8 @@ + +(rolling_text """\ +[INST]Hello![/INST] +""") + (chat_prefixes (()) (m (prefix "[INST]")