OpenSourceRonin commited on
Commit
701cf37
·
verified ·
1 Parent(s): b08cbbb

Upload Meta-Llama-3.1-405B-Instruct-v16-k32768-32768-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-00022.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:776d610a1ee9bc0abaadb23386e462fa8c03945b3bde6006b3c8522a676d55dc
3
- size 4965561920
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d78d05dc1b62f2249b23e092be30275e3dfa867436ad1a7682d8b73d033702de
3
+ size 4965225184
model-00002-of-00022.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:25ec1002a38e8147e58e6850e603e0f03601f020de87284b5ce69e9f9a2a8abc
3
- size 4925769856
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c903cc918b0c132ebc0e28e8e6d58fe2aaf49cc0ef335842798db9146508b1b8
3
+ size 4923782296
model-00003-of-00022.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ece48b2257ac63e676e3c07d7e72c1896643c8237734e780b5eaafd25226764a
3
- size 4990247328
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ce4e9bafd6c5c514e62e04ce7f95f6b1f16b8083cfedca091cb6ad3438f851d2
3
+ size 4988284640
model-00004-of-00022.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:82a1c4e876cce35febc6a6ae305dc837e598c9e506465565f80a579d9d8e9639
3
- size 4925770144
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4b90b878ec0b80624fc39e545ffd37338fdab4e1b46c6017422879fe9e4002c5
3
+ size 4923782536
model-00005-of-00022.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:656bb17811d54a428ab3c5a9ad2057bdb86ccd4d50ec3281066bbac48f6bc556
3
- size 4990247440
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dc187e887819202f8c7cac4d30926efcde4854f92e26a85edc1da649eb25c9d4
3
+ size 4988284736
model-00006-of-00022.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:3305a2dc8531e333ad65dd9d96111e2d90965730970d387090c3523c3506cccf
3
- size 4925770144
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0cf84d154d2a675e67d8858e86633e7b7c5ac5a397ebf406ead70cd546651ea6
3
+ size 4923782536
model-00007-of-00022.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ab9e2838c059f7f57013b9b8542a69bb9ae7338e4653013a4caef0fd7ae8afe1
3
- size 4990247440
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:749559f43e4b0f27b1e4d1e6d75ffd65853632c9c234a5d267f8a97139353033
3
+ size 4988284736
model-00008-of-00022.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:35300d110e13d73575fdefedad4eabede26bb4f6118c6427c78428151207c7ac
3
- size 4925770144
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ebc1318a452cd5fcb14b2fbd8beffc88c29c9686ba0dc24e4b27a3a49a231148
3
+ size 4923782536
model-00009-of-00022.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:33ffa58faae910d11214177917531a9f4c998fd85b5fa73bd2f32e8464bb3bfb
3
- size 4990247440
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:85c60b9762353f7f3f2727a306a044a698dd92a9d3821219d6a3e7607efbce34
3
+ size 4988284736
model-00010-of-00022.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d8c470602ed927de60f28440e0b0d1acba607a313dd9cf6a69d79a587e4eb5b1
3
- size 4925770144
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6b63fc8b259e943d5dd6ff1625f78a34ffa8b785bb49465d036bbc8527086bd9
3
+ size 4923782536
model-00011-of-00022.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:60f0a319ded1002a8f5452e52c5b0e7ea88d7f2847bfe3aa0c098d42267b859a
3
- size 4990247440
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:85808eff47c4deaf0146d6e89902fdf8655ae100873a36e8dc0986aca5f3cab2
3
+ size 4988284736
model-00012-of-00022.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:1bb85d7af5b3bf8dcaf6edd859162cf387e58531b4f981d81012b6562d38d848
3
- size 4925770144
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:049c910dd5151bcfbd4449abcaf2083d02afb6a869fe021215b25fabd293e086
3
+ size 4923782536
model-00013-of-00022.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:3151bef222495e96ad6e2d268d50221add5e7e5d1861d683b14550484c7a05c6
3
- size 4990247440
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:079d5517fc6466ca91d1d00e09cd1400ebbc3593a07c3f6807729e0c3bf6aed8
3
+ size 4988284736
model-00014-of-00022.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:9763a7fa1b7f7e676b4ed219044d5c20c2e5c1dd048977dc14aba4994fa7b4a8
3
- size 4925770144
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f2335aff8d63bb726346ca801b1c713de69dcd4e546ef39887645e3107f9b7d5
3
+ size 4923782536
model-00015-of-00022.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:c6b9f63306a538d4f0b294b463adcc3142f1e293f164614ce2aed18f27b6957f
3
- size 4990247440
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:324a68c62ece58393e61113dc1602906802f3614528dcacf21b5dadaf4e12f83
3
+ size 4988284736
model-00016-of-00022.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:be79f177cdbbd7b2918ba3f9af2bc963f5a37d2c132773d2b24009cda0c96f1b
3
- size 4925770144
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eeda3eceee38aa5a184be00ff5a33cfce06aecc1b6241a50d62bde90f1368991
3
+ size 4923782536
model-00017-of-00022.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:af57f54004512d29024c4a5a5b7d168b43720684cfbd1f4a9d3327a757ebf2cd
3
- size 4990247656
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d359b965dfdc9ea0ae4f85464446c5e9586bb69140fa2c3ce920234ba223574f
3
+ size 4988284912
model-00018-of-00022.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:be59ce6df2917c326dfa321dd07e51f03c7c293ab3f78e4212446a4e6788972e
3
- size 4925770440
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:04f5936e2776da30fa7aceb031d02deba7451f0c11d682080f83d956a253bb94
3
+ size 4923782784
model-00019-of-00022.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:3f34ef537c24a15aba59efbd7b45a004991ffea435992d6c6e45befdf0fef302
3
- size 4990247720
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:20cff6b8a46acc6c1b94e4faa2a59faf3f74befb98102159aa12f173155c7be8
3
+ size 4988284968
model-00020-of-00022.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:42cbdcda0bc89cd7e2c9572699d303b851dda9c06f652c7a34eb842293f6cdcc
3
- size 4925770440
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b93342f5aa34985fe4bb78c1226a9597f21dc63579bc8ac696cf2404890f1d99
3
+ size 4923782784
model-00021-of-00022.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:332b3093beccde91e6a78e62807f75cb7e1c0b1b029eb4b8f92cd18d4f9e0db5
3
- size 1176328800
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:61e1dff694132cdd506b2a6b9098e95f20619bd5f743262c4b2e03a5cbe1a52d
3
+ size 1175918320
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
  }