Skip to content

Commit

Permalink
examples(mistral-openorca): add stopword
Browse files Browse the repository at this point in the history
Signed-off-by: Ettore Di Giacinto <[email protected]>
  • Loading branch information
mudler committed Feb 21, 2024
1 parent ba85d0b commit feba38b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions embedded/models/mistral-openorca.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,18 @@ template:
<|im_start|>{{if eq .RoleName "assistant"}}assistant{{else if eq .RoleName "system"}}system{{else if eq .RoleName "user"}}user{{end}}
{{if .Content}}{{.Content}}{{end}}
<|im_end|>
chat: |
{{.Input}}
<|im_start|>assistant
completion: |
{{.Input}}
context_size: 4096
f16: true
stopwords:
- <|im_end|>

- <dummy32000>
usage: |
curl http://localhost:8080/v1/chat/completions -H "Content-Type: application/json" -d '{
"model": "mistral-openorca",
"messages": [{"role": "user", "content": "How are you doing?", "temperature": 0.1}]
}'
}'

0 comments on commit feba38b

Please sign in to comment.