Skip to content

Commit

Permalink
fix(hermes-2-pro-mistral): add stopword for toolcall (#1939)
Browse files Browse the repository at this point in the history
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
  • Loading branch information
mudler authored Apr 1, 2024
1 parent 66f90f8 commit ebb1fce
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions aio/cpu/text-to-text.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ f16: true
stopwords:
- <|im_end|>
- <dummy32000>
- "\n</tool_call>"
usage: |
curl http://localhost:8080/v1/chat/completions -H "Content-Type: application/json" -d '{
"model": "gpt-4",
Expand Down
1 change: 1 addition & 0 deletions aio/gpu-8g/text-to-text.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ f16: true
stopwords:
- <|im_end|>
- <dummy32000>
- "\n</tool_call>"
usage: |
curl http://localhost:8080/v1/chat/completions -H "Content-Type: application/json" -d '{
"model": "gpt-4",
Expand Down
1 change: 1 addition & 0 deletions aio/intel/text-to-text.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ template:
context_size: 4096
stopwords:
- <|im_end|>
- "\n</tool_call>"
- <dummy32000>
usage: |
curl http://localhost:8080/v1/chat/completions -H "Content-Type: application/json" -d '{
Expand Down
1 change: 1 addition & 0 deletions embedded/models/hermes-2-pro-mistral.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ f16: true
stopwords:
- <|im_end|>
- <dummy32000>
- "\n</tool_call>"
usage: |
curl http://localhost:8080/v1/chat/completions -H "Content-Type: application/json" -d '{
"model": "hermes-2-pro-mistral",
Expand Down

0 comments on commit ebb1fce

Please sign in to comment.