Create model.yml
Browse files
model.yml
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
name: command-r
|
2 |
+
model: command-r:35B
|
3 |
+
version: 1
|
4 |
+
|
5 |
+
files:
|
6 |
+
- llama_model_path: model.gguf
|
7 |
+
|
8 |
+
# Results Preferences
|
9 |
+
top_p: 0.95
|
10 |
+
temperature: 0.7
|
11 |
+
frequency_penalty: 0
|
12 |
+
presence_penalty: 0
|
13 |
+
max_tokens: 131072 # Infer from base config.json -> max_position_embeddings
|
14 |
+
stream: true # true | false
|
15 |
+
|
16 |
+
# Engine / Model Settings
|
17 |
+
ngl: 33 # Infer from base config.json -> num_attention_heads
|
18 |
+
ctx_len: 131072 # Infer from base config.json -> max_position_embeddings
|
19 |
+
engine: cortex.llamacpp
|
20 |
+
prompt_template: "<|START_OF_TURN_TOKEN|><|USER_TOKEN|>{prompt}<|END_OF_TURN_TOKEN|><|START_OF_TURN_TOKEN|><|CHATBOT_TOKEN|>"
|