File tree Expand file tree Collapse file tree 2 files changed +26
-0
lines changed Expand file tree Collapse file tree 2 files changed +26
-0
lines changed Original file line number Diff line number Diff line change @@ -67,6 +67,17 @@ curl http://localhost:8080/v1/chat/completions -H "Content-Type: application/jso
6767
6868```
6969
70+ ### Phi-2
71+
72+ ```
73+ cp -r examples/configurations/phi-2.yaml models/
74+
75+ curl http://localhost:8080/v1/chat/completions -H "Content-Type: application/json" -d '{
76+ "model": "phi-2",
77+ "messages": [{"role": "user", "content": "How are you doing?", "temperature": 0.1}]
78+ }'
79+ ```
80+
7081### Mixtral
7182
7283```
Original file line number Diff line number Diff line change 1+ name : phi-2
2+ context_size : 2048
3+ f16 : true
4+ gpu_layers : 90
5+ mmap : true
6+ parameters :
7+ model : huggingface://TheBloke/phi-2-GGUF/phi-2.Q8_0.gguf
8+ temperature : 0.2
9+ top_k : 40
10+ top_p : 0.95
11+ template :
12+ chat : &template |
13+ Instruct : {{.Input}}
14+ Output :
15+ completion : *template
You can’t perform that action at this time.
0 commit comments