Update model.yml
Browse files
model.yml
CHANGED
@@ -1,23 +1,16 @@
|
|
|
|
1 |
name: Codestreal 22B
|
2 |
model: codestral:22B
|
3 |
version: 1
|
4 |
-
|
5 |
files:
|
6 |
-
|
7 |
-
|
8 |
-
# Results Preferences
|
9 |
top_p: 0.95
|
10 |
temperature: 0.7
|
11 |
frequency_penalty: 0
|
12 |
presence_penalty: 0
|
13 |
-
max_tokens: 32000
|
14 |
-
stream: true
|
15 |
-
|
16 |
-
|
17 |
-
ngl: 32 # Infer from base config.json -> num_attention_heads
|
18 |
-
ctx_len: 32000 # Infer from base config.json -> max_position_embeddings
|
19 |
engine: cortex.llamacpp
|
20 |
-
prompt_template: "{system_message} [INST] {prompt} [/INST]"
|
21 |
-
# Prompt template: Can only be retrieved from instruct model
|
22 |
-
# - https://huggingface.co/meta-llama/Meta-Llama-3-8B-Instruct/blob/main/tokenizer_config.json#L2053
|
23 |
-
# - Requires jinja format parser
|
|
|
1 |
+
---
|
2 |
name: Codestreal 22B
|
3 |
model: codestral:22B
|
4 |
version: 1
|
|
|
5 |
files:
|
6 |
+
- llama_model_path: model.gguf
|
|
|
|
|
7 |
top_p: 0.95
|
8 |
temperature: 0.7
|
9 |
frequency_penalty: 0
|
10 |
presence_penalty: 0
|
11 |
+
max_tokens: 32000
|
12 |
+
stream: true
|
13 |
+
ngl: 32
|
14 |
+
ctx_len: 32000
|
|
|
|
|
15 |
engine: cortex.llamacpp
|
16 |
+
prompt_template: "{system_message} [INST] {prompt} [/INST]"
|
|
|
|
|
|