OpenSourceRonin commited on
Commit
8247a79
·
verified ·
1 Parent(s): 4b51e79

Upload Meta-Llama-3.1-405B-Instruct-v8-k4096-0-woft model

Browse files
config.json CHANGED
The diff for this file is too large to render. See raw diff
 
generation_config.json CHANGED
@@ -1,16 +1,10 @@
1
  {
2
- "attn_implementation": "flash_attention_2",
3
  "bos_token_id": 128000,
4
- "do_sample": true,
5
  "eos_token_id": [
6
  128001,
7
  128008,
8
  128009
9
  ],
10
- "num_assistant_tokens": 5,
11
- "num_assistant_tokens_schedule": "heuristic",
12
- "return_legacy_cache": true,
13
- "temperature": 0.6,
14
- "top_p": 0.9,
15
- "transformers_version": "4.45.1"
16
  }
 
1
  {
2
+ "_from_model_config": true,
3
  "bos_token_id": 128000,
 
4
  "eos_token_id": [
5
  128001,
6
  128008,
7
  128009
8
  ],
9
+ "transformers_version": "4.49.0"
 
 
 
 
 
10
  }
model-00001-of-00017.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ea8854035eee87b748d8e9d2d504daec2a6da5595f158d85e9e1af3345d0d3b0
3
- size 4909530080
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:70a4db7d5d2f40e7218b789f79849b10759cf7080d40cbd67c2f2d53a9f13b20
3
+ size 4909061824
model-00002-of-00017.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ffadd3928756509b37a3b1ea5926814d24254fdb0b891d15c43d60f1dc4fbbbb
3
- size 4956752160
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1d7280c510350276634b8e51ae03cff41afb9479f7694d9e67065f5f0bce8966
3
+ size 4954288384
model-00003-of-00017.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f9ef2ee96c7a7d165cb8218f634503d9225a8c436ebd93e627f9e991a9039aa4
3
- size 4956973632
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8f5f3c49f009481cb33d02c98ea9c9ff65fa6534a95812a43282c8150cd08454
3
+ size 4954436072
model-00004-of-00017.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:bd064acf0e0e99cad9a5ab2913067c03e47167474a520eb55536a6090537ea21
3
- size 4956818240
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:03d07fb23ec6ca194b02f3a937a5a7d090da3d23f3a090b6094fbf6313bddb2f
3
+ size 4954354400
model-00005-of-00017.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:1826ae8d9b5b6ea35423e908c7544cd6fe5477bb998d4b94889219ac3870e7e7
3
- size 4900622672
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5b245aa0146e8b5c9693ed57e1dca2c7f516ff32462c8ad283deeb8fb3f66de4
3
+ size 4898060200
model-00006-of-00017.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f6b662941aa3f1cd38672f389806e5100e48dac5b701037d07144788a0987262
3
- size 4956752456
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:100ec28ff3e57e8fb9619a88b39e8aeb9571ead9713eaa345b531479663ad908
3
+ size 4954288624
model-00007-of-00017.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ab309f98f84942e61ee20fad4597183220710a2c79ae1fc03f03035c88d54475
3
- size 4956973640
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bb399763c5e77202daeb855fd2e5755af29071225a5ea362c4fa3e20fe83a5c0
3
+ size 4954436080
model-00008-of-00017.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:65c8131d7ce3f25d17715d5e1b3ce1bf111f709d1392f4d8992e3a011c157e44
3
- size 4956818240
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:11bb6f31a7b9d616fe85e70f4f2f19874968b49b8492dd8caa97902e43be1ccc
3
+ size 4954354400
model-00009-of-00017.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:737624e8e7024b794b627656509c6cedbff1212b6fc5394755c9c082ae9dec31
3
- size 4900622672
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8a6ac5583c6d498250270504fda0bb6eb0302ee00d3cb5ed8b19d6750c474b2d
3
+ size 4898060200
model-00010-of-00017.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:9790f1191dc4cc74fcde8c0b0af2028744827820f0c9b476c644d1e15f471d1e
3
- size 4956752456
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:953219bb9b8c278ed0ed7a4c4fe012daa9eb167a67d7ee3da2e4402de90b1190
3
+ size 4954288624
model-00011-of-00017.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:0f3737b0efa2749714851123e5efcecb6bd619d3e222394922459bc197fa6c80
3
- size 4956973640
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fa35e72abb7b4d585f802f9f3ab639ed34910279cbcdd4e928b86ad243cdbd7f
3
+ size 4954436080
model-00012-of-00017.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ff862b81c5021505669bf563b2614095996f913b830e73214df4b67981250454
3
- size 4956818240
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3037d1365623a44ccefa0a1036ea828abc258d77603f7ff7bdd45a82998e52b7
3
+ size 4954354400
model-00013-of-00017.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b28708609e51a117b6f10f6261d456628ac962ef68987564208caf37215695c5
3
- size 4900622680
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:257b04e90efed09e505eb9070ed162864d58f2f86b23d620ac0ac55d40d61697
3
+ size 4898060200
model-00014-of-00017.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d85c563d141fb047e003b11533066479cdb0459dc2f25c70ab65f43929878205
3
- size 4956752760
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e3c48e7385175ebf8e69d79291dd209cf168fe7894e9ca81a3fd912fe675fceb
3
+ size 4954288872
model-00015-of-00017.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:9b17f48e345e94b12055b27fda2eb677a1276acef86433b8fbfdaf9eb23f0e22
3
- size 4956973944
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7457d3e6863abe4ef47fb6ce942a630e1f62ed6af83267ab4f9684162ec12a9d
3
+ size 4954436320
model-00016-of-00017.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:677d268fc07f7906975c1943fd802edb16b321fc97b0a83cf888c2395908524c
3
- size 4956818544
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b248b8bdce12016e0f43b978619dca26a2bcdcf75c1d71cb19f88dc11980dc3c
3
+ size 4954354648
model-00017-of-00017.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:c5d63d030c07c45a9f262078a145b3ad2fabbd680adee1fc89d7bcbff5ee3e7c
3
- size 4801753232
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b036ae327624cf467d76c12772bcd074403f3802e458befebcb1e7ff86591964
3
+ size 4801482240
model.safetensors.index.json CHANGED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json CHANGED
@@ -2053,11 +2053,12 @@
2053
  "chat_template": "{{- bos_token }}\n{%- if custom_tools is defined %}\n {%- set tools = custom_tools %}\n{%- endif %}\n{%- if not tools_in_user_message is defined %}\n {%- set tools_in_user_message = true %}\n{%- endif %}\n{%- if not date_string is defined %}\n {%- set date_string = \"26 Jul 2024\" %}\n{%- endif %}\n{%- if not tools is defined %}\n {%- set tools = none %}\n{%- endif %}\n\n{#- This block extracts the system message, so we can slot it into the right place. #}\n{%- if messages[0]['role'] == 'system' %}\n {%- set system_message = messages[0]['content']|trim %}\n {%- set messages = messages[1:] %}\n{%- else %}\n {%- set system_message = \"\" %}\n{%- endif %}\n\n{#- System message + builtin tools #}\n{{- \"<|start_header_id|>system<|end_header_id|>\\n\\n\" }}\n{%- if builtin_tools is defined or tools is not none %}\n {{- \"Environment: ipython\\n\" }}\n{%- endif %}\n{%- if builtin_tools is defined %}\n {{- \"Tools: \" + builtin_tools | reject('equalto', 'code_interpreter') | join(\", \") + \"\\n\\n\"}}\n{%- endif %}\n{{- \"Cutting Knowledge Date: December 2023\\n\" }}\n{{- \"Today Date: \" + date_string + \"\\n\\n\" }}\n{%- if tools is not none and not tools_in_user_message %}\n {{- \"You have access to the following functions. To call a function, please respond with JSON for a function call.\" }}\n {{- 'Respond in the format {\"name\": function name, \"parameters\": dictionary of argument name and its value}.' }}\n {{- \"Do not use variables.\\n\\n\" }}\n {%- for t in tools %}\n {{- t | tojson(indent=4) }}\n {{- \"\\n\\n\" }}\n {%- endfor %}\n{%- endif %}\n{{- system_message }}\n{{- \"<|eot_id|>\" }}\n\n{#- Custom tools are passed in a user message with some extra guidance #}\n{%- if tools_in_user_message and not tools is none %}\n {#- Extract the first user message so we can plug it in here #}\n {%- if messages | length != 0 %}\n {%- set first_user_message = messages[0]['content']|trim %}\n {%- set messages = messages[1:] %}\n {%- else %}\n {{- raise_exception(\"Cannot put tools in the first user message when there's no first user message!\") }}\n{%- endif %}\n {{- '<|start_header_id|>user<|end_header_id|>\\n\\n' -}}\n {{- \"Given the following functions, please respond with a JSON for a function call \" }}\n {{- \"with its proper arguments that best answers the given prompt.\\n\\n\" }}\n {{- 'Respond in the format {\"name\": function name, \"parameters\": dictionary of argument name and its value}.' }}\n {{- \"Do not use variables.\\n\\n\" }}\n {%- for t in tools %}\n {{- t | tojson(indent=4) }}\n {{- \"\\n\\n\" }}\n {%- endfor %}\n {{- first_user_message + \"<|eot_id|>\"}}\n{%- endif %}\n\n{%- for message in messages %}\n {%- if not (message.role == 'ipython' or message.role == 'tool' or 'tool_calls' in message) %}\n {{- '<|start_header_id|>' + message['role'] + '<|end_header_id|>\\n\\n'+ message['content'] | trim + '<|eot_id|>' }}\n {%- elif 'tool_calls' in message %}\n {%- if not message.tool_calls|length == 1 %}\n {{- raise_exception(\"This model only supports single tool-calls at once!\") }}\n {%- endif %}\n {%- set tool_call = message.tool_calls[0].function %}\n {%- if builtin_tools is defined and tool_call.name in builtin_tools %}\n {{- '<|start_header_id|>assistant<|end_header_id|>\\n\\n' -}}\n {{- \"<|python_tag|>\" + tool_call.name + \".call(\" }}\n {%- for arg_name, arg_val in tool_call.arguments | items %}\n {{- arg_name + '=\"' + arg_val + '\"' }}\n {%- if not loop.last %}\n {{- \", \" }}\n {%- endif %}\n {%- endfor %}\n {{- \")\" }}\n {%- else %}\n {{- '<|start_header_id|>assistant<|end_header_id|>\\n\\n' -}}\n {{- '{\"name\": \"' + tool_call.name + '\", ' }}\n {{- '\"parameters\": ' }}\n {{- tool_call.arguments | tojson }}\n {{- \"}\" }}\n {%- endif %}\n {%- if builtin_tools is defined %}\n {#- This means we're in ipython mode #}\n {{- \"<|eom_id|>\" }}\n {%- else %}\n {{- \"<|eot_id|>\" }}\n {%- endif %}\n {%- elif message.role == \"tool\" or message.role == \"ipython\" %}\n {{- \"<|start_header_id|>ipython<|end_header_id|>\\n\\n\" }}\n {%- if message.content is mapping or message.content is iterable %}\n {{- message.content | tojson }}\n {%- else %}\n {{- message.content }}\n {%- endif %}\n {{- \"<|eot_id|>\" }}\n {%- endif %}\n{%- endfor %}\n{%- if add_generation_prompt %}\n {{- '<|start_header_id|>assistant<|end_header_id|>\\n\\n' }}\n{%- endif %}\n",
2054
  "clean_up_tokenization_spaces": true,
2055
  "eos_token": "<|eot_id|>",
 
2056
  "legacy": false,
2057
  "model_input_names": [
2058
  "input_ids",
2059
  "attention_mask"
2060
  ],
2061
  "model_max_length": 131072,
2062
- "tokenizer_class": "PreTrainedTokenizerFast"
2063
  }
 
2053
  "chat_template": "{{- bos_token }}\n{%- if custom_tools is defined %}\n {%- set tools = custom_tools %}\n{%- endif %}\n{%- if not tools_in_user_message is defined %}\n {%- set tools_in_user_message = true %}\n{%- endif %}\n{%- if not date_string is defined %}\n {%- set date_string = \"26 Jul 2024\" %}\n{%- endif %}\n{%- if not tools is defined %}\n {%- set tools = none %}\n{%- endif %}\n\n{#- This block extracts the system message, so we can slot it into the right place. #}\n{%- if messages[0]['role'] == 'system' %}\n {%- set system_message = messages[0]['content']|trim %}\n {%- set messages = messages[1:] %}\n{%- else %}\n {%- set system_message = \"\" %}\n{%- endif %}\n\n{#- System message + builtin tools #}\n{{- \"<|start_header_id|>system<|end_header_id|>\\n\\n\" }}\n{%- if builtin_tools is defined or tools is not none %}\n {{- \"Environment: ipython\\n\" }}\n{%- endif %}\n{%- if builtin_tools is defined %}\n {{- \"Tools: \" + builtin_tools | reject('equalto', 'code_interpreter') | join(\", \") + \"\\n\\n\"}}\n{%- endif %}\n{{- \"Cutting Knowledge Date: December 2023\\n\" }}\n{{- \"Today Date: \" + date_string + \"\\n\\n\" }}\n{%- if tools is not none and not tools_in_user_message %}\n {{- \"You have access to the following functions. To call a function, please respond with JSON for a function call.\" }}\n {{- 'Respond in the format {\"name\": function name, \"parameters\": dictionary of argument name and its value}.' }}\n {{- \"Do not use variables.\\n\\n\" }}\n {%- for t in tools %}\n {{- t | tojson(indent=4) }}\n {{- \"\\n\\n\" }}\n {%- endfor %}\n{%- endif %}\n{{- system_message }}\n{{- \"<|eot_id|>\" }}\n\n{#- Custom tools are passed in a user message with some extra guidance #}\n{%- if tools_in_user_message and not tools is none %}\n {#- Extract the first user message so we can plug it in here #}\n {%- if messages | length != 0 %}\n {%- set first_user_message = messages[0]['content']|trim %}\n {%- set messages = messages[1:] %}\n {%- else %}\n {{- raise_exception(\"Cannot put tools in the first user message when there's no first user message!\") }}\n{%- endif %}\n {{- '<|start_header_id|>user<|end_header_id|>\\n\\n' -}}\n {{- \"Given the following functions, please respond with a JSON for a function call \" }}\n {{- \"with its proper arguments that best answers the given prompt.\\n\\n\" }}\n {{- 'Respond in the format {\"name\": function name, \"parameters\": dictionary of argument name and its value}.' }}\n {{- \"Do not use variables.\\n\\n\" }}\n {%- for t in tools %}\n {{- t | tojson(indent=4) }}\n {{- \"\\n\\n\" }}\n {%- endfor %}\n {{- first_user_message + \"<|eot_id|>\"}}\n{%- endif %}\n\n{%- for message in messages %}\n {%- if not (message.role == 'ipython' or message.role == 'tool' or 'tool_calls' in message) %}\n {{- '<|start_header_id|>' + message['role'] + '<|end_header_id|>\\n\\n'+ message['content'] | trim + '<|eot_id|>' }}\n {%- elif 'tool_calls' in message %}\n {%- if not message.tool_calls|length == 1 %}\n {{- raise_exception(\"This model only supports single tool-calls at once!\") }}\n {%- endif %}\n {%- set tool_call = message.tool_calls[0].function %}\n {%- if builtin_tools is defined and tool_call.name in builtin_tools %}\n {{- '<|start_header_id|>assistant<|end_header_id|>\\n\\n' -}}\n {{- \"<|python_tag|>\" + tool_call.name + \".call(\" }}\n {%- for arg_name, arg_val in tool_call.arguments | items %}\n {{- arg_name + '=\"' + arg_val + '\"' }}\n {%- if not loop.last %}\n {{- \", \" }}\n {%- endif %}\n {%- endfor %}\n {{- \")\" }}\n {%- else %}\n {{- '<|start_header_id|>assistant<|end_header_id|>\\n\\n' -}}\n {{- '{\"name\": \"' + tool_call.name + '\", ' }}\n {{- '\"parameters\": ' }}\n {{- tool_call.arguments | tojson }}\n {{- \"}\" }}\n {%- endif %}\n {%- if builtin_tools is defined %}\n {#- This means we're in ipython mode #}\n {{- \"<|eom_id|>\" }}\n {%- else %}\n {{- \"<|eot_id|>\" }}\n {%- endif %}\n {%- elif message.role == \"tool\" or message.role == \"ipython\" %}\n {{- \"<|start_header_id|>ipython<|end_header_id|>\\n\\n\" }}\n {%- if message.content is mapping or message.content is iterable %}\n {{- message.content | tojson }}\n {%- else %}\n {{- message.content }}\n {%- endif %}\n {{- \"<|eot_id|>\" }}\n {%- endif %}\n{%- endfor %}\n{%- if add_generation_prompt %}\n {{- '<|start_header_id|>assistant<|end_header_id|>\\n\\n' }}\n{%- endif %}\n",
2054
  "clean_up_tokenization_spaces": true,
2055
  "eos_token": "<|eot_id|>",
2056
+ "extra_special_tokens": {},
2057
  "legacy": false,
2058
  "model_input_names": [
2059
  "input_ids",
2060
  "attention_mask"
2061
  ],
2062
  "model_max_length": 131072,
2063
+ "tokenizer_class": "PreTrainedTokenizer"
2064
  }