forked from irmen/Tale
-
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathbackend_kobold_cpp.yaml
More file actions
9 lines (9 loc) · 796 Bytes
/
backend_kobold_cpp.yaml
File metadata and controls
9 lines (9 loc) · 796 Bytes
1
2
3
4
5
6
7
8
9
URL: "http://localhost:5001"
ENDPOINT: "/api/v1/generate"
STREAM: False
JSON_GRAMMAR_KEY: "grammar"
STREAM_ENDPOINT: "/api/extra/generate/stream"
DATA_ENDPOINT: "/api/extra/generate/check"
DEFAULT_BODY: '{"stop_sequence": "", "max_length":1500, "max_context_length":4096, "temperature":0.5, "top_k":120, "top_a":0.0, "top_p":0.85, "typical_p":1.0, "tfs":1.0, "rep_pen":1.2, "rep_pen_range":256, "sampler_order":[6,0,1,3,4,2,5], "seed":-1}'
GENERATION_BODY: '{"stop_sequence": "", "max_length":1500, "max_context_length":4096, "temperature":1.0, "top_k":120, "top_a":0.0, "top_p":0.85, "typical_p":1.0, "tfs":1.0, "rep_pen":1.2, "rep_pen_range":256, "sampler_order":[6,0,1,3,4,2,5], "seed":-1}'
API_PASSWORD: "" # if koboldcpp is run with the --password flag, this must be set to the same password