nsarrazin HF Staff commited on
Commit
575f403
·
unverified ·
1 Parent(s): cce2203

feat(config): improve sampling params for llama 3.1 (#1357)

Browse files

* fix(tools): improve json parsing

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

* lint

Files changed (1) hide show
  1. chart/env/prod.yaml +7 -4
chart/env/prod.yaml CHANGED
@@ -49,8 +49,9 @@ envVars:
49
  "tools": true,
50
  "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.",
51
  "parameters": {
52
- "temperature": 0.1,
53
- "stop": ["<|endoftext|>", "<|eot_id|>"],
 
54
  "max_new_tokens": 1024,
55
  "truncate": 7167
56
  },
@@ -78,7 +79,8 @@ envVars:
78
  "tools": true,
79
  "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.",
80
  "parameters": {
81
- "temperature": 0.1,
 
82
  "stop": ["<|endoftext|>", "<|eot_id|>"],
83
  "max_new_tokens": 2048,
84
  "truncate": 14337
@@ -276,7 +278,8 @@ envVars:
276
  "name" : "llhf/Meta-Llama-3.1-8B-Instruct",
277
  "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"},
278
  "parameters": {
279
- "temperature": 0.1,
 
280
  "stop": ["<|endoftext|>", "<|eot_id|>"],
281
  },
282
  "unlisted": true
 
49
  "tools": true,
50
  "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.",
51
  "parameters": {
52
+ "temperature": 0.6,
53
+ "top_p": 0.9,
54
+ "stop": ["<|endoftext|>", "<|eot_id|>"],
55
  "max_new_tokens": 1024,
56
  "truncate": 7167
57
  },
 
79
  "tools": true,
80
  "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.",
81
  "parameters": {
82
+ "temperature": 0.6,
83
+ "top_p": 0.9,
84
  "stop": ["<|endoftext|>", "<|eot_id|>"],
85
  "max_new_tokens": 2048,
86
  "truncate": 14337
 
278
  "name" : "llhf/Meta-Llama-3.1-8B-Instruct",
279
  "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"},
280
  "parameters": {
281
+ "temperature": 0.6,
282
+ "top_p": 0.9,
283
  "stop": ["<|endoftext|>", "<|eot_id|>"],
284
  },
285
  "unlisted": true