mirror of
https://github.com/mudler/LocalAI.git
synced 2025-05-05 18:18:20 +00:00
Update codellama-7b.yaml
Signed-off-by: Ettore Di Giacinto <mudler@users.noreply.github.com>
This commit is contained in:
parent
670cee8274
commit
072f71dfb7
@ -4,11 +4,10 @@ parameters:
|
|||||||
model: codellama/CodeLlama-7b-hf
|
model: codellama/CodeLlama-7b-hf
|
||||||
temperature: 0.2
|
temperature: 0.2
|
||||||
top_k: 40
|
top_k: 40
|
||||||
seed: -1
|
|
||||||
top_p: 0.95
|
top_p: 0.95
|
||||||
|
|
||||||
usage: |
|
usage: |
|
||||||
curl http://localhost:8080/v1/completions -H "Content-Type: application/json" -d '{
|
curl http://localhost:8080/v1/completions -H "Content-Type: application/json" -d '{
|
||||||
"model": "codellama-7b",
|
"model": "codellama-7b",
|
||||||
"prompt": "import socket\n\ndef ping_exponential_backoff(host: str):"
|
"prompt": "import socket\n\ndef ping_exponential_backoff(host: str):"
|
||||||
}'
|
}'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user