From 964437ed13a790dca3cb1ac94037d0fe1c2e58dc Mon Sep 17 00:00:00 2001 From: Hirose <86906598+HiroseKoichi@users.noreply.github.com> Date: Sun, 22 Dec 2024 14:59:35 -0600 Subject: [PATCH 1/2] Update Llama-3-Instruct-Names.json Remove brackets from `Llama-3-Instruct-Names` --- default/content/presets/instruct/Llama-3-Instruct-Names.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/default/content/presets/instruct/Llama-3-Instruct-Names.json b/default/content/presets/instruct/Llama-3-Instruct-Names.json index f0b4f1439..4412df51a 100644 --- a/default/content/presets/instruct/Llama-3-Instruct-Names.json +++ b/default/content/presets/instruct/Llama-3-Instruct-Names.json @@ -1,6 +1,6 @@ { - "input_sequence": "<|start_header_id|>[{{name}}]<|end_header_id|>\n\n", - "output_sequence": "<|start_header_id|>[{{name}}]<|end_header_id|>\n\n", + "input_sequence": "<|start_header_id|>{{name}}<|end_header_id|>\n\n", + "output_sequence": "<|start_header_id|>{{name}}<|end_header_id|>\n\n", "last_output_sequence": "", "system_sequence": "<|start_header_id|>system<|end_header_id|>\n\n", "stop_sequence": "<|eot_id|>", From 17df259afd53d25ff2a91e928d1e53a9c1cb7c99 Mon Sep 17 00:00:00 2001 From: Hirose <86906598+HiroseKoichi@users.noreply.github.com> Date: Sun, 22 Dec 2024 15:00:00 -0600 Subject: [PATCH 2/2] Update ChatML-Names.json Remove brackets from `ChatML-Names` --- default/content/presets/instruct/ChatML-Names.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/default/content/presets/instruct/ChatML-Names.json b/default/content/presets/instruct/ChatML-Names.json index 41e14e9b5..2ad703b33 100644 --- a/default/content/presets/instruct/ChatML-Names.json +++ b/default/content/presets/instruct/ChatML-Names.json @@ -1,6 +1,6 @@ { - "input_sequence": "<|im_start|>[{{name}}]", - "output_sequence": "<|im_start|>[{{name}}]", + "input_sequence": "<|im_start|>{{name}}", + "output_sequence": "<|im_start|>{{name}}", "last_output_sequence": "", "system_sequence": "<|im_start|>system", "stop_sequence": "<|im_end|>",