This repository has been archived by the owner on Sep 27, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 36
/
Copy pathschema.json
77 lines (77 loc) · 2.88 KB
/
schema.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"name": {
"type": "string"
},
"load_params": {
"type": "object",
"properties": {
"n_ctx": { "type": "number" },
"n_batch": { "type": "number" },
"n_gpu_layers": { "type": "number" },
"main_gpu": { "type": "number" },
"tensor_split": { "type": "array", "items": { "type": "number" } },
"seed": { "type": "number" },
"f16_kv": { "type": "boolean" },
"logits_all": { "type": "boolean" },
"vocab_only": { "type": "boolean" },
"use_mmap": { "type": "boolean" },
"use_mlock": { "type": "boolean" },
"rope_freq_base": { "type": "number" },
"rope_freq_scale": { "type": "number" },
"num_experts_used": { "type": "number" },
"no_kv_offload": { "type": "boolean" },
"flash_attn": { "type": "boolean" },
"cache_type_k": {
"type": "string",
"enum": ["f16", "q8_0", "q4_0", "q4_1", "q5_0", "q5_1"]
},
"cache_type_v": {
"type": "string",
"enum": ["f16", "q8_0", "q4_0", "q4_1", "q5_0", "q5_1"]
}
},
"additionalProperties": false
},
"inference_params": {
"type": "object",
"properties": {
"n_threads": { "type": "number" },
"seed": { "type": "number" },
"n_predict": { "type": "number" },
"top_k": { "type": "number" },
"top_p": { "type": "number" },
"min_p": { "type": "number" },
"tfs_z": { "type": "number" },
"typical_p": { "type": "number" },
"temp": { "type": "number" },
"repeat_penalty": { "type": "number" },
"repeat_last_n": { "type": "number" },
"frequency_penalty": { "type": "number" },
"presence_penalty": { "type": "number" },
"n_keep": { "type": "number" },
"logit_bias": { "type": "object" },
"mirostat": { "type": "number" },
"mirostat_tau": { "type": "number" },
"mirostat_eta": { "type": "number" },
"input_prefix": { "type": "string" },
"input_suffix": { "type": "string" },
"antiprompt": { "type": "array", "items": { "type": "string" } },
"lora_adapter": { "type": "string" },
"lora_base": { "type": "string" },
"memory_f16": { "type": "boolean" },
"multiline_input": { "type": "boolean" },
"penalize_nl": { "type": "boolean" },
"pre_prompt": { "type": "string" },
"pre_prompt_prefix": { "type": "string" },
"pre_prompt_suffix": { "type": "string" },
"grammar": { "type": "string" }
},
"additionalProperties": false
}
},
"required": [],
"additionalProperties": false
}