mirror of
https://github.com/mudler/LocalAI.git
synced 2025-06-02 17:04:59 +00:00
docs(phi-2): add example (#1525)
This commit is contained in:
parent
726fe416bb
commit
f068efe509
2 changed files with 26 additions and 0 deletions
15
examples/configurations/phi-2.yaml
Normal file
15
examples/configurations/phi-2.yaml
Normal file
|
@ -0,0 +1,15 @@
|
|||
name: phi-2
|
||||
context_size: 2048
|
||||
f16: true
|
||||
gpu_layers: 90
|
||||
mmap: true
|
||||
parameters:
|
||||
model: huggingface://TheBloke/phi-2-GGUF/phi-2.Q8_0.gguf
|
||||
temperature: 0.2
|
||||
top_k: 40
|
||||
top_p: 0.95
|
||||
template:
|
||||
chat: &template |
|
||||
Instruct: {{.Input}}
|
||||
Output:
|
||||
completion: *template
|
Loading…
Add table
Add a link
Reference in a new issue