OpenSourceRonin commited on
Commit
b3bbd71
·
verified ·
1 Parent(s): 07fcd2e

Upload Meta-Llama-3.1-405B-Instruct-v16-k65536-128-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:32c6deea902a9989a379492c9728ad35dfafe7c83ab0dd9757e362c8037fee18
3
- size 4902564208
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:66ee5dd8e3d6d278d5f0eaf7754ed24ae2da2c2ce3e3104cd132baee5c964fa5
3
+ size 4902095960
model-00002-of-00017.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:7ab6488c3be94776604240347c52d7e21993e96a40d5aa805276203cec040235
3
- size 4866749912
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f6edc20349579bc2c97d02f74841702f8bfbc32e4d69ef6dd771fafab24c9992
3
+ size 4864286128
model-00003-of-00017.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:96eb92a814138c6550384760956103f1de3ccd63432eb1b3a263439a76ac1386
3
- size 4866971440
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:34cc27e3172061dac81423f0ef4793306a4012857d98330e8c7e269e9893c949
3
+ size 4864433872
model-00004-of-00017.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:7754da12c0f9289275e6e7f447cf5577f948ad5e63dec8876f13d6d27dbe024d
3
- size 4978115464
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:219153f2f2f8b46767f1e129827aededb90e889cdb8feb38555a1c51a5d98feb
3
+ size 4975520112
model-00005-of-00017.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:af69cdb47c3b1356f3188bfefe9c3e03d7e3cab86bb1a008aa4998a6c0f64f39
3
- size 4866750264
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:88389214b6c155037acee190448907d17189cac3662091dcc4e3107b66544f15
3
+ size 4864286432
model-00006-of-00017.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a34bea8c42c4d478ef2abe4e6822a2a003e4a0a1af0e50ffd029ff0b3475e1ea
3
- size 4866971448
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c55e236cb92d82e2a10d1c60b843c6f298edff6942350decc8c7a1f3d9925b25
3
+ size 4864433888
model-00007-of-00017.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:2dd527478a4ae886555ead2434aa20d0c374e0cdecb4e78e818e069ba715b9ac
3
- size 4978115464
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:26f929dfbd81dfc363250bd3a03422080ab3e547740eb0178b35d4ecb2d14793
3
+ size 4975520112
model-00008-of-00017.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:0cbe0f78be96bcb36dfc24683b55ed8ed7e833a46463a6ba25bde354da3f9f39
3
- size 4866750264
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:55ae349410e41c5dac1905beb1de2801b9035f95deca1d05b5ef622329d4ac2c
3
+ size 4864286432
model-00009-of-00017.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:077fd94705ef22af3503d6a3e2ced57b4135480839795c40c2923060c39851dd
3
- size 4866971448
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6f1cec01fb680320f5f5e600956c153298bdb22b91eda0e81b7fc8d71a3bdbf1
3
+ size 4864433888
model-00010-of-00017.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:e17cfbdc18170c2761eff70c9034b1aa218cf80c526933a81d6cf3961e01e1d5
3
- size 4978115464
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:df034782fa68fb214ac06a50fc535c1bc74142e7d97f1f2cb681b84bc5fe717a
3
+ size 4975520112
model-00011-of-00017.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f505dee87a00117e9a48055df0e3826cf7b6569329f9857e1f2bbb84b5e44681
3
- size 4866750264
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:38ab60eae08dffe73400b10c57b91b7c28ede22307807a3e7230380c558f8665
3
+ size 4864286432
model-00012-of-00017.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b5b5d59ff83ef04d871c2737beb356e30280be3a41166ac47f853feaf91ff0cf
3
- size 4866971448
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:977dea27448574cdca2a702744945cc76b0cce75c6b0cc21455d67db28a4bf3d
3
+ size 4864433888
model-00013-of-00017.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:053f7aab7316e816aa7c897b3d1cd9d9a05a2b12bbbd7f06208d0eea50d0de6a
3
- size 4978115528
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0552da25e86e1a79e8fd2784b7e0a3dc9ac96f848e611dd17bf98411c55d60d9
3
+ size 4975520160
model-00014-of-00017.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:3413f7ba0386f0bfd894e89952e8209e56195a36d95c83b0f854b57a1b291901
3
- size 4866750624
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5c476e634b5cf476ca0383fa73cd483fc5267e7b88b972a21e863efab789f014
3
+ size 4864286736
model-00015-of-00017.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:c0c3e8a2a1a36ea80b5531004656edb5119f01262dea1492b4a15e694d829408
3
- size 4866971808
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b78633d828bcd2725a67a64ec0bca24acd39d43fe8d006e607f927ab55943ad6
3
+ size 4864434184
model-00016-of-00017.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:99d224574b35a79b085304041aff62860b2794ed4aef04e7339ec3c47156e79a
3
- size 4866750616
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ecb5397e359c2bb7c8244fa6c446b43bb4f50d5baa4e9ad7635b9f2fff729b83
3
+ size 4864319600
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
  }