Skip to content

Commit

Permalink
feat(config): improve sampling params for llama 3.1 (#1357)
Browse files Browse the repository at this point in the history
* fix(tools): improve json parsing

* feat(config): improve sampling params for llama 3.1

* lint
  • Loading branch information
nsarrazin authored Jul 23, 2024
1 parent 63a8310 commit 7d3eb76
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions chart/env/prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,9 @@ envVars:
"tools": true,
"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.",
"parameters": {
"temperature": 0.1,
"stop": ["<|endoftext|>", "<|eot_id|>"],
"temperature": 0.6,
"top_p": 0.9,
"stop": ["<|endoftext|>", "<|eot_id|>"],
"max_new_tokens": 1024,
"truncate": 7167
},
Expand Down Expand Up @@ -78,7 +79,8 @@ envVars:
"tools": true,
"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.",
"parameters": {
"temperature": 0.1,
"temperature": 0.6,
"top_p": 0.9,
"stop": ["<|endoftext|>", "<|eot_id|>"],
"max_new_tokens": 2048,
"truncate": 14337
Expand Down Expand Up @@ -276,7 +278,8 @@ envVars:
"name" : "llhf/Meta-Llama-3.1-8B-Instruct",
"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"},
"parameters": {
"temperature": 0.1,
"temperature": 0.6,
"top_p": 0.9,
"stop": ["<|endoftext|>", "<|eot_id|>"],
},
"unlisted": true
Expand Down

0 comments on commit 7d3eb76

Please sign in to comment.