Spaces:
Running
Running
Gustavo de Rosa
commited on
Adds <s> to Phi-3-mini-4k-instruct template configuration (#1081)
Browse files- .env.template +1 -1
.env.template
CHANGED
@@ -206,7 +206,7 @@ MODELS=`[
|
|
206 |
"modelUrl": "https://huggingface.co/microsoft/Phi-3-mini-4k-instruct",
|
207 |
"websiteUrl": "https://azure.microsoft.com/en-us/blog/introducing-phi-3-redefining-whats-possible-with-slms/",
|
208 |
"preprompt": "",
|
209 |
-
"chatPromptTemplate": "{{preprompt}}{{#each messages}}{{#ifUser}}<|user|>\n{{content}}<|end|>\n<|assistant|>\n{{/ifUser}}{{#ifAssistant}}{{content}}<|end|>\n{{/ifAssistant}}{{/each}}",
|
210 |
"parameters": {
|
211 |
"stop": ["<|end|>", "<|endoftext|>", "<|assistant|>"],
|
212 |
"max_new_tokens": 1024,
|
|
|
206 |
"modelUrl": "https://huggingface.co/microsoft/Phi-3-mini-4k-instruct",
|
207 |
"websiteUrl": "https://azure.microsoft.com/en-us/blog/introducing-phi-3-redefining-whats-possible-with-slms/",
|
208 |
"preprompt": "",
|
209 |
+
"chatPromptTemplate": "<s>{{preprompt}}{{#each messages}}{{#ifUser}}<|user|>\n{{content}}<|end|>\n<|assistant|>\n{{/ifUser}}{{#ifAssistant}}{{content}}<|end|>\n{{/ifAssistant}}{{/each}}",
|
210 |
"parameters": {
|
211 |
"stop": ["<|end|>", "<|endoftext|>", "<|assistant|>"],
|
212 |
"max_new_tokens": 1024,
|