Spaces:
Running
Running
Add extra stop tokens for phi 3 (#1059)
Browse files- .env.template +1 -1
.env.template
CHANGED
@@ -182,7 +182,7 @@ MODELS=`[
|
|
182 |
"modelUrl": "https://huggingface.co/microsoft/Phi-3-mini-4k-instruct",
|
183 |
"preprompt": "",
|
184 |
"parameters": {
|
185 |
-
"stop": ["</s>", "<|end|>"],
|
186 |
"max_new_tokens": 1024,
|
187 |
"truncate": 3071
|
188 |
},
|
|
|
182 |
"modelUrl": "https://huggingface.co/microsoft/Phi-3-mini-4k-instruct",
|
183 |
"preprompt": "",
|
184 |
"parameters": {
|
185 |
+
"stop": ["</s>", "<|end|>", "<|endoftext|>", "<|assistant|>"],
|
186 |
"max_new_tokens": 1024,
|
187 |
"truncate": 3071
|
188 |
},
|