From 45a66fae9dee08699f7ce412c5039c0777987702 Mon Sep 17 00:00:00 2001 From: SDS <52386626+StefanDanielSchwarz@users.noreply.github.com> Date: Fri, 4 Aug 2023 21:44:47 +0200 Subject: [PATCH 1/2] Added OpenOrca-OpenChat instruct preset Here's an Instruct Mode preset for OpenOrca-OpenChat, e. g. for [Open-Orca/OpenOrcaxOpenChat-Preview2-13B](https://huggingface.co/Open-Orca/OpenOrcaxOpenChat-Preview2-13B) and other OpenOrca/OpenChat models --- public/instruct/OpenOrca-OpenChat.json | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 public/instruct/OpenOrca-OpenChat.json diff --git a/public/instruct/OpenOrca-OpenChat.json b/public/instruct/OpenOrca-OpenChat.json new file mode 100644 index 000000000..de3ec3fab --- /dev/null +++ b/public/instruct/OpenOrca-OpenChat.json @@ -0,0 +1,13 @@ +{ + "enabled": true, + "input_sequence": "User: ", + "macro": true, + "name": "OpenOrca/OpenChat", + "names": true, + "output_sequence": "<|end_of_turn|>\nAssistant: ", + "separator_sequence": "<|end_of_turn|>\n", + "stop_sequence": "", + "system_prompt": "You are a helpful assistant. Please answer truthfully and write out your thinking step by step to be sure you get the right answer. If you make a mistake or encounter an error in your thinking, say so out loud and attempt to correct it. If you don't know or aren't sure about something, say so clearly. You will act as a professional logician, mathematician, and physicist. You will also act as the most appropriate type of expert to answer any particular question or solve the relevant problem; state which expert type your are, if so. Also think of any particular named expert that would be ideal to answer the relevant question or solve the relevant problem; name and act as them, if appropriate.\n", + "system_sequence": "", + "wrap": false +} From bfac10028f086d1d1ad4dda603ab0ad74e48f4b5 Mon Sep 17 00:00:00 2001 From: Stefan Daniel Schwarz Date: Fri, 4 Aug 2023 23:52:36 +0200 Subject: [PATCH 2/2] removed enabled field from presets --- public/instruct/OpenOrca-OpenChat.json | 1 - public/instruct/Roleplay.json | 1 - 2 files changed, 2 deletions(-) diff --git a/public/instruct/OpenOrca-OpenChat.json b/public/instruct/OpenOrca-OpenChat.json index de3ec3fab..4da445963 100644 --- a/public/instruct/OpenOrca-OpenChat.json +++ b/public/instruct/OpenOrca-OpenChat.json @@ -1,5 +1,4 @@ { - "enabled": true, "input_sequence": "User: ", "macro": true, "name": "OpenOrca/OpenChat", diff --git a/public/instruct/Roleplay.json b/public/instruct/Roleplay.json index ed9c55a37..bd5b9e882 100644 --- a/public/instruct/Roleplay.json +++ b/public/instruct/Roleplay.json @@ -1,5 +1,4 @@ { - "enabled": true, "input_sequence": "### Instruction:", "macro": true, "name": "Roleplay",