mirror of
https://github.com/mudler/LocalAI.git
synced 2024-06-07 19:40:48 +00:00
5e335eaead
* feat(transformers): support also text generation Signed-off-by: Ettore Di Giacinto <mudler@localai.io> * embedded: set seed -1 --------- Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
21 lines
515 B
YAML
21 lines
515 B
YAML
name: mixtral-instruct
|
|
mmap: true
|
|
parameters:
|
|
model: huggingface://TheBloke/Mixtral-8x7B-Instruct-v0.1-GGUF/mixtral-8x7b-instruct-v0.1.Q2_K.gguf
|
|
temperature: 0.2
|
|
top_k: 40
|
|
seed: -1
|
|
top_p: 0.95
|
|
template:
|
|
chat: &chat |
|
|
[INST] {{.Input}} [/INST]
|
|
completion: *chat
|
|
context_size: 4096
|
|
f16: true
|
|
gpu_layers: 90
|
|
|
|
usage: |
|
|
curl http://localhost:8080/v1/completions -H "Content-Type: application/json" -d '{
|
|
"model": "mixtral-instruct",
|
|
"prompt": "How are you doing?"
|
|
}' |