mirror of
https://github.com/mudler/LocalAI.git
synced 2025-05-06 10:38:17 +00:00
fix(hermes-2-pro-mistral): add stopword for toolcall (#1939)
Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
This commit is contained in:
parent
66f90f8dc1
commit
ebb1fcedea
@ -41,6 +41,7 @@ f16: true
|
|||||||
stopwords:
|
stopwords:
|
||||||
- <|im_end|>
|
- <|im_end|>
|
||||||
- <dummy32000>
|
- <dummy32000>
|
||||||
|
- "\n</tool_call>"
|
||||||
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": "gpt-4",
|
"model": "gpt-4",
|
||||||
|
@ -41,6 +41,7 @@ f16: true
|
|||||||
stopwords:
|
stopwords:
|
||||||
- <|im_end|>
|
- <|im_end|>
|
||||||
- <dummy32000>
|
- <dummy32000>
|
||||||
|
- "\n</tool_call>"
|
||||||
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": "gpt-4",
|
"model": "gpt-4",
|
||||||
|
@ -40,6 +40,7 @@ template:
|
|||||||
context_size: 4096
|
context_size: 4096
|
||||||
stopwords:
|
stopwords:
|
||||||
- <|im_end|>
|
- <|im_end|>
|
||||||
|
- "\n</tool_call>"
|
||||||
- <dummy32000>
|
- <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 '{
|
||||||
|
@ -41,6 +41,7 @@ f16: true
|
|||||||
stopwords:
|
stopwords:
|
||||||
- <|im_end|>
|
- <|im_end|>
|
||||||
- <dummy32000>
|
- <dummy32000>
|
||||||
|
- "\n</tool_call>"
|
||||||
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": "hermes-2-pro-mistral",
|
"model": "hermes-2-pro-mistral",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user