Update config.json
Browse files- config.json +17 -5
config.json
CHANGED
|
@@ -1,17 +1,29 @@
|
|
| 1 |
{
|
| 2 |
"llm_model": "llm.mnn",
|
| 3 |
"llm_weight": "llm.mnn.weight",
|
|
|
|
| 4 |
"backend_type": "cpu",
|
| 5 |
"thread_num": 4,
|
| 6 |
"precision": "low",
|
| 7 |
"memory": "low",
|
| 8 |
-
"sampler_type": "penalty",
|
| 9 |
-
"penalty": 1.1,
|
| 10 |
-
"embedding_file": "embeddings_int4.bin",
|
| 11 |
"mllm": {
|
| 12 |
"backend_type": "cpu",
|
| 13 |
"thread_num": 4,
|
| 14 |
-
"precision": "
|
| 15 |
"memory": "low"
|
| 16 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"llm_model": "llm.mnn",
|
| 3 |
"llm_weight": "llm.mnn.weight",
|
| 4 |
+
"embedding_file": "embeddings_int4.bin",
|
| 5 |
"backend_type": "cpu",
|
| 6 |
"thread_num": 4,
|
| 7 |
"precision": "low",
|
| 8 |
"memory": "low",
|
|
|
|
|
|
|
|
|
|
| 9 |
"mllm": {
|
| 10 |
"backend_type": "cpu",
|
| 11 |
"thread_num": 4,
|
| 12 |
+
"precision": "low",
|
| 13 |
"memory": "low"
|
| 14 |
+
},
|
| 15 |
+
"sampler_type": "mixed",
|
| 16 |
+
"mixed_samplers": [
|
| 17 |
+
"penalty",
|
| 18 |
+
"topK",
|
| 19 |
+
"topP",
|
| 20 |
+
"min_p",
|
| 21 |
+
"temperature"
|
| 22 |
+
],
|
| 23 |
+
"penalty": 1.2,
|
| 24 |
+
"temperature": 0.7,
|
| 25 |
+
"topP": 0.8,
|
| 26 |
+
"topK": 20,
|
| 27 |
+
"min_p": 0,
|
| 28 |
+
"max_new_tokens": 16384
|
| 29 |
}
|