examples(mistral-openorca): add stopword

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
This commit is contained in:
Ettore Di Giacinto 2024-02-22 00:15:01 +01:00
parent ba85d0bcad
commit feba38be36

View File

@ -11,18 +11,16 @@ template:
<|im_start|>{{if eq .RoleName "assistant"}}assistant{{else if eq .RoleName "system"}}system{{else if eq .RoleName "user"}}user{{end}} <|im_start|>{{if eq .RoleName "assistant"}}assistant{{else if eq .RoleName "system"}}system{{else if eq .RoleName "user"}}user{{end}}
{{if .Content}}{{.Content}}{{end}} {{if .Content}}{{.Content}}{{end}}
<|im_end|> <|im_end|>
chat: | chat: |
{{.Input}} {{.Input}}
<|im_start|>assistant <|im_start|>assistant
completion: | completion: |
{{.Input}} {{.Input}}
context_size: 4096 context_size: 4096
f16: true f16: true
stopwords: stopwords:
- <|im_end|> - <|im_end|>
- <dummy32000>
usage: | usage: |
curl http://localhost:8080/v1/chat/completions -H "Content-Type: application/json" -d '{ curl http://localhost:8080/v1/chat/completions -H "Content-Type: application/json" -d '{
"model": "mistral-openorca", "model": "mistral-openorca",