Skip to content

Commit e3ca107

Browse files
authored
Adds <s> to Phi-3-mini-4k-instruct template configuration (#1081)
Adds <s> to Phi-3-mini-4k-instruct template configuration.
1 parent 09fc057 commit e3ca107

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.env.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ MODELS=`[
206206
"modelUrl": "https://huggingface.co/microsoft/Phi-3-mini-4k-instruct",
207207
"websiteUrl": "https://azure.microsoft.com/en-us/blog/introducing-phi-3-redefining-whats-possible-with-slms/",
208208
"preprompt": "",
209-
"chatPromptTemplate": "{{preprompt}}{{#each messages}}{{#ifUser}}<|user|>\n{{content}}<|end|>\n<|assistant|>\n{{/ifUser}}{{#ifAssistant}}{{content}}<|end|>\n{{/ifAssistant}}{{/each}}",
209+
"chatPromptTemplate": "<s>{{preprompt}}{{#each messages}}{{#ifUser}}<|user|>\n{{content}}<|end|>\n<|assistant|>\n{{/ifUser}}{{#ifAssistant}}{{content}}<|end|>\n{{/ifAssistant}}{{/each}}",
210210
"parameters": {
211211
"stop": ["<|end|>", "<|endoftext|>", "<|assistant|>"],
212212
"max_new_tokens": 1024,

0 commit comments

Comments
 (0)