OpenSourceRonin commited on
Commit
ac148d0
·
verified ·
1 Parent(s): 1e9ca86

Upload Meta-Llama-3.1-405B-Instruct-v16-k65536-65536-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,13 +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
- "temperature": 0.6,
11
- "top_p": 0.9,
12
- "transformers_version": "4.45.1"
13
  }
 
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-00023.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a2bdff7f443c553115963edab91a2785c8cfb3fc71105064fb0785ab2a1f1317
3
- size 4807586464
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aa983ccee8b159551abcbb8423922fe9aab1e6e8407a8199c1fc80343aebc3b5
3
+ size 4807282600
model-00002-of-00023.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:c2ae885e7a024856b73dc2f8c3221d9ceb811e1be7832cb63d02956f77d5a5d4
3
- size 4963547864
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:338b6d4cb1d172642664ca1622a85dc75b1f0ae2b6116c178857f1598fecbe64
3
+ size 4961724688
model-00003-of-00023.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:cca84c45abed459cff00d991cdc3a65b12b1ba68ee528955eec1702ace71e84f
3
- size 4963547992
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8b8ebc3c8c5c9498163d765ef3ae1e7292f244074332272a12269fefeb2a3406
3
+ size 4961724792
model-00004-of-00023.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:0c7fd39087edec6a9d903a5dc2da4686043b7055361de4951ed3744679cd7223
3
- size 4963548128
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:20e9e6906276cce00128c0a868447ccdcbb24ea3faa2dce96ccc60094d617ab2
3
+ size 4961724912
model-00005-of-00023.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:fd48e2ad6fd1be60fe6882f6ac558ade0aaccb2c18b1e65cbc8ffbee73ac7276
3
- size 4963548128
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4c681c321d5386f12d3702223437c9f379b056d9ca517591b905afdd2f4720c3
3
+ size 4961724912
model-00006-of-00023.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:e70a2b494351ea40b5edfc036aa51c2336d975a93e78d94725121b43364383ed
3
- size 4963548128
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:697d05a18d47e0e80a3bc51433a1d9b117738fb24012a7a2e9149306d049c3fc
3
+ size 4961724912
model-00007-of-00023.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:31d521640e4ebb10690d7fcdfb1b250801af3a43bb23b07ab45dbe546975a6f3
3
- size 4963548128
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f4952d80482cefb3b81098a1c93c965753fe6ae7efd7028c0db13c22ca3bf409
3
+ size 4961724912
model-00008-of-00023.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b124d955ee8155ff29b22289c44258f201b2291fdbd2e7c63d183fe9ebf0971b
3
- size 4963548128
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:08f3d7cafe0b94b33dd11e9b344b84356cc1a59e777c1b5a7acfb3468acbb5ce
3
+ size 4961724912
model-00009-of-00023.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:57e2983eaca09c999f8e2b4037e1ab7bad5ac36676b98338ef272b3f7e80f8b4
3
- size 4963548128
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d359ef3b501c72632d8de727a93cf04acac8ea7eb4e3e40a08329f5b832bd712
3
+ size 4961724912
model-00010-of-00023.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:de281b544e108043de595259bbde199230239d1d03a1cfc637c2891174baca58
3
- size 4963548128
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d075b7bfb286d65823c6f18db5ee7accd76b35e501b38243ea66faea46e76eba
3
+ size 4961724912
model-00011-of-00023.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a431a7a1ee0a327ab0cdd21446a2e365f1bc7613d229792822975c4e66b436f6
3
- size 4963548128
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:81b348aaf14c5e229884f6653d6323d483ecbc96ef3c786b3c34ea1042b237ce
3
+ size 4961724912
model-00012-of-00023.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:24171452e39fdfa14e35af1c0d99abdb4b278d7919e110d912c6ea599e16dbc5
3
- size 4963548128
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4763a7fffd9bb623006224c7ac4c6ceef0a131f5d76d888558734e3fb5461611
3
+ size 4961724912
model-00013-of-00023.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:4b7649d99235cf11396248657c3c0dc7429115e0ae5e2cc1651ff33ba2742da6
3
- size 4963548128
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a029be1dd1eec8601954e890862051ee5af129acf694b4de16ca226f89719e78
3
+ size 4961724912
model-00014-of-00023.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:564dd24925c3179957f58a95c9fab51fbf3d10526cb8013217a4a6d2bbdda4f9
3
- size 4963548128
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:77be1196f7f8744171ae8579897efcb4eee5dc7f25600ec06b91a303754aa6e8
3
+ size 4961724912
model-00015-of-00023.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:2c2fcbe9b86f8b6e0b8c0ff7311ef8a16e1b7b74601bef716cf24c3f18c2c0b6
3
- size 4963548128
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e836c6b828180ac94c0bfad3fb4db8c8a22f936c0d74a989a29dce755ceb90c0
3
+ size 4961724912
model-00016-of-00023.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a5eada79313157ed5d46440f2b9905640ffa0a68f9d7a075b7ba0c9bcad3bd42
3
- size 4963548128
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eb3540df1b9fc45de477102f9a2ef51a3789af7dd2080aecac8fd6dc8384b758
3
+ size 4961724912
model-00017-of-00023.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ae147de729acc40ce11d27af263145889e3f52dcde7c6099b5fb16f3dcc4d449
3
- size 4963548128
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6ef351e12571577f5298965132c7bd91c9f9487f38f6dc2bb27bf96521b2fa51
3
+ size 4961724912
model-00018-of-00023.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:9e3909ca9fb23155fdfbeca4500415408d18ea6b69c856008cd0d26a498adf1b
3
- size 4963548256
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4cc7cc035e54fcab6afd3df0eb36c4ff7d795a4bfb9f9021f69a38d7dee74d51
3
+ size 4961725016
model-00019-of-00023.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a0791b5be912d05d53df78e25b615c9de45e74b4918edda8682d94ef6049ec0c
3
- size 4963548392
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:40e24bfcb4677914ffa2d999d6220d4e3f329aeab5a05cdc717ed156036501f8
3
+ size 4961725136
model-00020-of-00023.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:34b41094716dedc386bc6c1bbdff2ce83d51fdc81bd66927cfd2e46a66584302
3
- size 4963548392
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6bdd963f751d647e8aa2b0585a632354cf58e4ced92ed6afff7ee3522930d856
3
+ size 4961725136
model-00021-of-00023.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:bd07a836bd7535d43d6930a40076fc12c0caa09f9b04527617f6c24dcbf4b95a
3
- size 4963548392
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:510c04a84d250d75bb31028cbaa58216ec6e942918ff34b95fc13676cb813d35
3
+ size 4961725136
model-00022-of-00023.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a39a89a3c1a30f39abed8b3f9ffd57b448774a30ac886bf22d922a453a105938
3
- size 4358687456
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:12ecd28b2d3fba7d40dff76fc91149cd31808127107b528a95ebb96c5ce90f73
3
+ size 4357168064
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
  }