Skip to content

Commit 7d3eb76

Browse files
authored
feat(config): improve sampling params for llama 3.1 (#1357)
* fix(tools): improve json parsing * feat(config): improve sampling params for llama 3.1 * lint
1 parent 63a8310 commit 7d3eb76

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

chart/env/prod.yaml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,9 @@ envVars:
4949
"tools": true,
5050
"preprompt" : "You are a helpful assistant with tool calling capabilities. The user has access to the tool's outputs that you as a model cannot see. This could include text, images and more.",
5151
"parameters": {
52-
"temperature": 0.1,
53-
"stop": ["<|endoftext|>", "<|eot_id|>"],
52+
"temperature": 0.6,
53+
"top_p": 0.9,
54+
"stop": ["<|endoftext|>", "<|eot_id|>"],
5455
"max_new_tokens": 1024,
5556
"truncate": 7167
5657
},
@@ -78,7 +79,8 @@ envVars:
7879
"tools": true,
7980
"preprompt" : "You are a helpful assistant with tool calling capabilities. The user has access to the tool's outputs that you as a model cannot see. This could include text, images and more.",
8081
"parameters": {
81-
"temperature": 0.1,
82+
"temperature": 0.6,
83+
"top_p": 0.9,
8284
"stop": ["<|endoftext|>", "<|eot_id|>"],
8385
"max_new_tokens": 2048,
8486
"truncate": 14337
@@ -276,7 +278,8 @@ envVars:
276278
"name" : "llhf/Meta-Llama-3.1-8B-Instruct",
277279
"tokenizer": {"tokenizerUrl": "https://huggingface.co/nsarrazin/llama3.1-tokenizer/resolve/main/tokenizer.json", "tokenizerConfigUrl": "https://huggingface.co/nsarrazin/llama3.1-tokenizer/raw/main/tokenizer_config.json"},
278280
"parameters": {
279-
"temperature": 0.1,
281+
"temperature": 0.6,
282+
"top_p": 0.9,
280283
"stop": ["<|endoftext|>", "<|eot_id|>"],
281284
},
282285
"unlisted": true

0 commit comments

Comments
 (0)