nsarrazin HF staff commited on
Commit
5f4c031
1 Parent(s): c5fac96

Add extra stop tokens for phi 3 (#1059)

Browse files
Files changed (1) hide show
  1. .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
  },