vicuna-chat: update model name
This commit is contained in:
parent
947dd63123
commit
03f86e7faa
@ -23,7 +23,7 @@ pkgs.writers.writeDashBin "vicuna-chat" ''
|
|||||||
add_to_context "{\"role\": \"user\", \"content\": \"$PROMPT\"}"
|
add_to_context "{\"role\": \"user\", \"content\": \"$PROMPT\"}"
|
||||||
response=$(
|
response=$(
|
||||||
jq -nc --slurpfile context "$CONTEXT" '{
|
jq -nc --slurpfile context "$CONTEXT" '{
|
||||||
model: "vicuna-13b",
|
model: "vicuna-13b-v1.5-16k",
|
||||||
messages: $context[0],
|
messages: $context[0],
|
||||||
}' |
|
}' |
|
||||||
curl -Ss http://vicuna.r/v1/chat/completions -H 'Content-Type: application/json' -d @-
|
curl -Ss http://vicuna.r/v1/chat/completions -H 'Content-Type: application/json' -d @-
|
||||||
|
Loading…
Reference in New Issue
Block a user