Add files using upload-large-folder tool
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
Files changed (50)
- artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.00_is0.00_seed101/global_step_300/actor/chat_template.jinjaAdded+87
- artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.00_is0.00_seed101/global_step_300/actor/config.jsonAdded+65
- artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.00_is0.00_seed101/global_step_300/actor/generation_config.jsonAdded+6
- artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.00_is0.00_seed101/global_step_300/actor/huggingface/chat_template.jinjaAdded+87
- artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.00_is0.00_seed101/global_step_300/actor/huggingface/config.jsonAdded+65
- artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.00_is0.00_seed101/global_step_300/actor/huggingface/generation_config.jsonAdded+6
- artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.00_is0.00_seed101/global_step_300/actor/huggingface/model.safetensors.index.jsonAdded+335
- artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.00_is0.00_seed101/global_step_300/actor/huggingface/special_tokens_map.jsonAdded+24
- artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.00_is0.00_seed101/global_step_300/actor/huggingface/tokenizer_config.jsonAdded
- artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.00_is0.00_seed101/global_step_300/actor/special_tokens_map.jsonAdded+24
- artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.00_is0.00_seed101/global_step_300/actor/tokenizer_config.jsonAdded
- artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.00_is0.00_seed101/global_step_400/actor/chat_template.jinjaAdded+87
- artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.00_is0.00_seed101/global_step_400/actor/config.jsonAdded+65
- artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.00_is0.00_seed101/global_step_400/actor/generation_config.jsonAdded+6
- artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.00_is0.00_seed101/global_step_400/actor/huggingface/chat_template.jinjaAdded+87
- artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.00_is0.00_seed101/global_step_400/actor/huggingface/config.jsonAdded+65
- artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.00_is0.00_seed101/global_step_400/actor/huggingface/generation_config.jsonAdded+6
- artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.00_is0.00_seed101/global_step_400/actor/huggingface/model.safetensors.index.jsonAdded+335
- artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.00_is0.00_seed101/global_step_400/actor/huggingface/special_tokens_map.jsonAdded+24
- artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.00_is0.00_seed101/global_step_400/actor/huggingface/tokenizer_config.jsonAdded
- artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.00_is0.00_seed101/global_step_400/actor/special_tokens_map.jsonAdded+24
- artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.00_is0.00_seed101/global_step_400/actor/tokenizer_config.jsonAdded
- artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.00_is0.00_seed101/global_step_402/actor/chat_template.jinjaAdded+87
- artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.00_is0.00_seed101/global_step_402/actor/config.jsonAdded+65
- artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.00_is0.00_seed101/global_step_402/actor/generation_config.jsonAdded+6
- artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.00_is0.00_seed101/global_step_402/actor/huggingface/chat_template.jinjaAdded+87
- artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.00_is0.00_seed101/global_step_402/actor/huggingface/config.jsonAdded+65
- artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.00_is0.00_seed101/global_step_402/actor/huggingface/generation_config.jsonAdded+6
- artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.00_is0.00_seed101/global_step_402/actor/huggingface/model.safetensors.index.jsonAdded+335
- artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.00_is0.00_seed101/global_step_402/actor/huggingface/special_tokens_map.jsonAdded+24
- artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.00_is0.00_seed101/global_step_402/actor/huggingface/tokenizer_config.jsonAdded
- artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.00_is0.00_seed101/global_step_402/actor/special_tokens_map.jsonAdded+24
- artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.00_is0.00_seed101/global_step_402/actor/tokenizer_config.jsonAdded
- artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.00_is0.00_seed101/latest_checkpointed_iteration.txtAdded+1
- artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.00_is0.00_seed101/wandb_id.txtAdded+1
- artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.02_is0.02_seed101/global_step_300/actor/chat_template.jinjaAdded+87
- artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.02_is0.02_seed101/global_step_300/actor/config.jsonAdded+65
- artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.02_is0.02_seed101/global_step_300/actor/generation_config.jsonAdded+6
- artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.02_is0.02_seed101/global_step_300/actor/huggingface/chat_template.jinjaAdded+87
- artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.02_is0.02_seed101/global_step_300/actor/huggingface/config.jsonAdded+65
- artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.02_is0.02_seed101/global_step_300/actor/huggingface/generation_config.jsonAdded+6
- artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.02_is0.02_seed101/global_step_300/actor/huggingface/model.safetensors.index.jsonAdded+335
- artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.02_is0.02_seed101/global_step_300/actor/huggingface/special_tokens_map.jsonAdded+24
- artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.02_is0.02_seed101/global_step_300/actor/huggingface/tokenizer_config.jsonAdded
- artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.02_is0.02_seed101/global_step_300/actor/special_tokens_map.jsonAdded+24
- artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.02_is0.02_seed101/global_step_300/actor/tokenizer_config.jsonAdded
- artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.02_is0.02_seed101/global_step_400/actor/chat_template.jinjaAdded+87
- artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.02_is0.02_seed101/global_step_400/actor/config.jsonAdded+65
- artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.02_is0.02_seed101/global_step_400/actor/generation_config.jsonAdded+6
- artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.02_is0.02_seed101/global_step_400/actor/huggingface/chat_template.jinjaAdded+87
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687{%- if messages[0]["role"] == "system" %} {%- set system_message = messages[0]["content"] %} {%- set loop_messages = messages[1:] %}{%- else %} {%- set loop_messages = messages %}{%- endif %}{%- if not tools is defined %} {%- set tools = none %}{%- endif %}{%- set user_messages = loop_messages | selectattr("role", "equalto", "user") | list %}
{#- This block checks for alternating user/assistant messages, skipping tool calling messages #}{%- set ns = namespace() %}{%- set ns.index = 0 %}{%- for message in loop_messages %} {%- if not (message.role == "tool" or message.role == "tool_results" or (message.tool_calls is defined and message.tool_calls is not none)) %} {%- if (message["role"] == "user") != (ns.index % 2 == 0) %} {{- raise_exception("After the optional system message, conversation roles must alternate user/assistant/user/assistant/...") }} {%- endif %} {%- set ns.index = ns.index + 1 %} {%- endif %}{%- endfor %}
{{- bos_token }}{%- for message in loop_messages %} {%- if message["role"] == "user" %} {%- if tools is not none and (message == user_messages[-1]) %} {{- "[AVAILABLE_TOOLS][" }} {%- for tool in tools %} {%- set tool = tool.function %} {{- '{"type": "function", "function": {' }} {%- for key, val in tool.items() if key != "return" %} {%- if val is string %} {{- '"' + key + '": "' + val + '"' }} {%- else %} {{- '"' + key + '": ' + val|tojson }} {%- endif %} {%- if not loop.last %} {{- ", " }} {%- endif %} {%- endfor %} {{- "}}" }} {%- if not loop.last %} {{- ", " }} {%- else %} {{- "]" }} {%- endif %} {%- endfor %} {{- "[/AVAILABLE_TOOLS]" }} {%- endif %} {%- if loop.last and system_message is defined %} {{- "[INST]" + system_message + "\n\n" + message["content"] + "[/INST]" }} {%- else %} {{- "[INST]" + message["content"] + "[/INST]" }} {%- endif %} {%- elif (message.tool_calls is defined and message.tool_calls is not none) %} {{- "[TOOL_CALLS][" }} {%- for tool_call in message.tool_calls %} {%- set out = tool_call.function|tojson %} {{- out[:-1] }} {%- if not tool_call.id is defined or tool_call.id|length != 9 %} {{- raise_exception("Tool call IDs should be alphanumeric strings with length 9!") }} {%- endif %} {{- ', "id": "' + tool_call.id + '"}' }} {%- if not loop.last %} {{- ", " }} {%- else %} {{- "]" + eos_token }} {%- endif %} {%- endfor %} {%- elif message["role"] == "assistant" %} {{- message["content"] + eos_token}} {%- elif message["role"] == "tool_results" or message["role"] == "tool" %} {%- if message.content is defined and message.content.content is defined %} {%- set content = message.content.content %} {%- else %} {%- set content = message.content %} {%- endif %} {{- '[TOOL_RESULTS]{"content": ' + content|string + ", " }} {%- if not message.tool_call_id is defined or message.tool_call_id|length != 9 %} {{- raise_exception("Tool call IDs should be alphanumeric strings with length 9!") }} {%- endif %} {{- '"call_id": "' + message.tool_call_id + '"}[/TOOL_RESULTS]' }} {%- else %} {{- raise_exception("Only user and assistant roles are supported, with the exception of an initial optional system message!") }} {%- endif %}{%- endfor %}1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465{ "architectures": [ "MistralForCausalLM" ], "attention_dropout": 0.0, "bos_token_id": 1, "dtype": "bfloat16", "eos_token_id": 2, "head_dim": 128, "hidden_act": "silu", "hidden_size": 4096, "initializer_range": 0.02, "intermediate_size": 12288, "layer_types": [ "full_attention", "sliding_attention", "sliding_attention", "sliding_attention", "full_attention", "sliding_attention", "sliding_attention", "sliding_attention", "full_attention", "sliding_attention", "sliding_attention", "sliding_attention", "full_attention", "sliding_attention", "sliding_attention", "sliding_attention", "full_attention", "sliding_attention", "sliding_attention", "sliding_attention", "full_attention", "sliding_attention", "sliding_attention", "sliding_attention", "full_attention", "sliding_attention", "sliding_attention", "sliding_attention", "full_attention", "sliding_attention", "sliding_attention", "sliding_attention", "full_attention", "sliding_attention", "sliding_attention", "sliding_attention" ], "max_position_embeddings": 32768, "model_type": "mistral", "num_attention_heads": 32, "num_hidden_layers": 36, "num_key_value_heads": 8, "pad_token_id": 2, "rms_norm_eps": 1e-05, "rope_theta": 100000000.0, "sliding_window": 32768, "tie_word_embeddings": false, "transformers_version": "4.56.0", "use_cache": true, "vocab_size": 131072}123456{ "_from_model_config": true, "bos_token_id": 1, "eos_token_id": 2, "transformers_version": "4.56.0"}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687{%- if messages[0]["role"] == "system" %} {%- set system_message = messages[0]["content"] %} {%- set loop_messages = messages[1:] %}{%- else %} {%- set loop_messages = messages %}{%- endif %}{%- if not tools is defined %} {%- set tools = none %}{%- endif %}{%- set user_messages = loop_messages | selectattr("role", "equalto", "user") | list %}
{#- This block checks for alternating user/assistant messages, skipping tool calling messages #}{%- set ns = namespace() %}{%- set ns.index = 0 %}{%- for message in loop_messages %} {%- if not (message.role == "tool" or message.role == "tool_results" or (message.tool_calls is defined and message.tool_calls is not none)) %} {%- if (message["role"] == "user") != (ns.index % 2 == 0) %} {{- raise_exception("After the optional system message, conversation roles must alternate user/assistant/user/assistant/...") }} {%- endif %} {%- set ns.index = ns.index + 1 %} {%- endif %}{%- endfor %}
{{- bos_token }}{%- for message in loop_messages %} {%- if message["role"] == "user" %} {%- if tools is not none and (message == user_messages[-1]) %} {{- "[AVAILABLE_TOOLS][" }} {%- for tool in tools %} {%- set tool = tool.function %} {{- '{"type": "function", "function": {' }} {%- for key, val in tool.items() if key != "return" %} {%- if val is string %} {{- '"' + key + '": "' + val + '"' }} {%- else %} {{- '"' + key + '": ' + val|tojson }} {%- endif %} {%- if not loop.last %} {{- ", " }} {%- endif %} {%- endfor %} {{- "}}" }} {%- if not loop.last %} {{- ", " }} {%- else %} {{- "]" }} {%- endif %} {%- endfor %} {{- "[/AVAILABLE_TOOLS]" }} {%- endif %} {%- if loop.last and system_message is defined %} {{- "[INST]" + system_message + "\n\n" + message["content"] + "[/INST]" }} {%- else %} {{- "[INST]" + message["content"] + "[/INST]" }} {%- endif %} {%- elif (message.tool_calls is defined and message.tool_calls is not none) %} {{- "[TOOL_CALLS][" }} {%- for tool_call in message.tool_calls %} {%- set out = tool_call.function|tojson %} {{- out[:-1] }} {%- if not tool_call.id is defined or tool_call.id|length != 9 %} {{- raise_exception("Tool call IDs should be alphanumeric strings with length 9!") }} {%- endif %} {{- ', "id": "' + tool_call.id + '"}' }} {%- if not loop.last %} {{- ", " }} {%- else %} {{- "]" + eos_token }} {%- endif %} {%- endfor %} {%- elif message["role"] == "assistant" %} {{- message["content"] + eos_token}} {%- elif message["role"] == "tool_results" or message["role"] == "tool" %} {%- if message.content is defined and message.content.content is defined %} {%- set content = message.content.content %} {%- else %} {%- set content = message.content %} {%- endif %} {{- '[TOOL_RESULTS]{"content": ' + content|string + ", " }} {%- if not message.tool_call_id is defined or message.tool_call_id|length != 9 %} {{- raise_exception("Tool call IDs should be alphanumeric strings with length 9!") }} {%- endif %} {{- '"call_id": "' + message.tool_call_id + '"}[/TOOL_RESULTS]' }} {%- else %} {{- raise_exception("Only user and assistant roles are supported, with the exception of an initial optional system message!") }} {%- endif %}{%- endfor %}1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465{ "architectures": [ "MistralForCausalLM" ], "attention_dropout": 0.0, "bos_token_id": 1, "dtype": "bfloat16", "eos_token_id": 2, "head_dim": 128, "hidden_act": "silu", "hidden_size": 4096, "initializer_range": 0.02, "intermediate_size": 12288, "layer_types": [ "full_attention", "sliding_attention", "sliding_attention", "sliding_attention", "full_attention", "sliding_attention", "sliding_attention", "sliding_attention", "full_attention", "sliding_attention", "sliding_attention", "sliding_attention", "full_attention", "sliding_attention", "sliding_attention", "sliding_attention", "full_attention", "sliding_attention", "sliding_attention", "sliding_attention", "full_attention", "sliding_attention", "sliding_attention", "sliding_attention", "full_attention", "sliding_attention", "sliding_attention", "sliding_attention", "full_attention", "sliding_attention", "sliding_attention", "sliding_attention", "full_attention", "sliding_attention", "sliding_attention", "sliding_attention" ], "max_position_embeddings": 32768, "model_type": "mistral", "num_attention_heads": 32, "num_hidden_layers": 36, "num_key_value_heads": 8, "pad_token_id": 2, "rms_norm_eps": 1e-05, "rope_theta": 100000000.0, "sliding_window": 32768, "tie_word_embeddings": false, "transformers_version": "4.56.0", "use_cache": true, "vocab_size": 131072}123456{ "_from_model_config": true, "bos_token_id": 1, "eos_token_id": 2, "transformers_version": "4.56.0"}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335{ "metadata": { "total_parameters": 8019808256, "total_size": 32079233024 }, "weight_map": { "lm_head.weight": "model-00007-of-00007.safetensors", "model.embed_tokens.weight": "model-00001-of-00007.safetensors", "model.layers.0.input_layernorm.weight": "model-00001-of-00007.safetensors", "model.layers.0.mlp.down_proj.weight": "model-00001-of-00007.safetensors", "model.layers.0.mlp.gate_proj.weight": "model-00001-of-00007.safetensors", "model.layers.0.mlp.up_proj.weight": "model-00001-of-00007.safetensors", "model.layers.0.post_attention_layernorm.weight": "model-00001-of-00007.safetensors", "model.layers.0.self_attn.k_proj.weight": "model-00001-of-00007.safetensors", "model.layers.0.self_attn.o_proj.weight": "model-00001-of-00007.safetensors", "model.layers.0.self_attn.q_proj.weight": "model-00001-of-00007.safetensors", "model.layers.0.self_attn.v_proj.weight": "model-00001-of-00007.safetensors", "model.layers.1.input_layernorm.weight": "model-00001-of-00007.safetensors", "model.layers.1.mlp.down_proj.weight": "model-00001-of-00007.safetensors", "model.layers.1.mlp.gate_proj.weight": "model-00001-of-00007.safetensors", "model.layers.1.mlp.up_proj.weight": "model-00001-of-00007.safetensors", "model.layers.1.post_attention_layernorm.weight": "model-00001-of-00007.safetensors", "model.layers.1.self_attn.k_proj.weight": "model-00001-of-00007.safetensors", "model.layers.1.self_attn.o_proj.weight": "model-00001-of-00007.safetensors", "model.layers.1.self_attn.q_proj.weight": "model-00001-of-00007.safetensors", "model.layers.1.self_attn.v_proj.weight": "model-00001-of-00007.safetensors", "model.layers.10.input_layernorm.weight": "model-00003-of-00007.safetensors", "model.layers.10.mlp.down_proj.weight": "model-00003-of-00007.safetensors", "model.layers.10.mlp.gate_proj.weight": "model-00003-of-00007.safetensors", "model.layers.10.mlp.up_proj.weight": "model-00003-of-00007.safetensors", "model.layers.10.post_attention_layernorm.weight": "model-00003-of-00007.safetensors", "model.layers.10.self_attn.k_proj.weight": "model-00003-of-00007.safetensors", "model.layers.10.self_attn.o_proj.weight": "model-00003-of-00007.safetensors", "model.layers.10.self_attn.q_proj.weight": "model-00003-of-00007.safetensors", "model.layers.10.self_attn.v_proj.weight": "model-00003-of-00007.safetensors", "model.layers.11.input_layernorm.weight": "model-00003-of-00007.safetensors", "model.layers.11.mlp.down_proj.weight": "model-00003-of-00007.safetensors", "model.layers.11.mlp.gate_proj.weight": "model-00003-of-00007.safetensors", "model.layers.11.mlp.up_proj.weight": "model-00003-of-00007.safetensors", "model.layers.11.post_attention_layernorm.weight": "model-00003-of-00007.safetensors", "model.layers.11.self_attn.k_proj.weight": "model-00003-of-00007.safetensors", "model.layers.11.self_attn.o_proj.weight": "model-00003-of-00007.safetensors", "model.layers.11.self_attn.q_proj.weight": "model-00003-of-00007.safetensors", "model.layers.11.self_attn.v_proj.weight": "model-00003-of-00007.safetensors", "model.layers.12.input_layernorm.weight": "model-00003-of-00007.safetensors", "model.layers.12.mlp.down_proj.weight": "model-00003-of-00007.safetensors", "model.layers.12.mlp.gate_proj.weight": "model-00003-of-00007.safetensors", "model.layers.12.mlp.up_proj.weight": "model-00003-of-00007.safetensors", "model.layers.12.post_attention_layernorm.weight": "model-00003-of-00007.safetensors", "model.layers.12.self_attn.k_proj.weight": "model-00003-of-00007.safetensors", "model.layers.12.self_attn.o_proj.weight": "model-00003-of-00007.safetensors", "model.layers.12.self_attn.q_proj.weight": "model-00003-of-00007.safetensors", "model.layers.12.self_attn.v_proj.weight": "model-00003-of-00007.safetensors", "model.layers.13.input_layernorm.weight": "model-00003-of-00007.safetensors", "model.layers.13.mlp.down_proj.weight": "model-00003-of-00007.safetensors", "model.layers.13.mlp.gate_proj.weight": "model-00003-of-00007.safetensors", "model.layers.13.mlp.up_proj.weight": "model-00003-of-00007.safetensors", "model.layers.13.post_attention_layernorm.weight": "model-00003-of-00007.safetensors", "model.layers.13.self_attn.k_proj.weight": "model-00003-of-00007.safetensors", "model.layers.13.self_attn.o_proj.weight": "model-00003-of-00007.safetensors", "model.layers.13.self_attn.q_proj.weight": "model-00003-of-00007.safetensors", "model.layers.13.self_attn.v_proj.weight": "model-00003-of-00007.safetensors", "model.layers.14.input_layernorm.weight": "model-00003-of-00007.safetensors", "model.layers.14.mlp.down_proj.weight": "model-00003-of-00007.safetensors", "model.layers.14.mlp.gate_proj.weight": "model-00003-of-00007.safetensors", "model.layers.14.mlp.up_proj.weight": "model-00003-of-00007.safetensors", "model.layers.14.post_attention_layernorm.weight": "model-00003-of-00007.safetensors", "model.layers.14.self_attn.k_proj.weight": "model-00003-of-00007.safetensors", "model.layers.14.self_attn.o_proj.weight": "model-00003-of-00007.safetensors", "model.layers.14.self_attn.q_proj.weight": "model-00003-of-00007.safetensors", "model.layers.14.self_attn.v_proj.weight": "model-00003-of-00007.safetensors", "model.layers.15.input_layernorm.weight": "model-00003-of-00007.safetensors", "model.layers.15.mlp.down_proj.weight": "model-00003-of-00007.safetensors", "model.layers.15.mlp.gate_proj.weight": "model-00003-of-00007.safetensors", "model.layers.15.mlp.up_proj.weight": "model-00003-of-00007.safetensors", "model.layers.15.post_attention_layernorm.weight": "model-00003-of-00007.safetensors", "model.layers.15.self_attn.k_proj.weight": "model-00003-of-00007.safetensors", "model.layers.15.self_attn.o_proj.weight": "model-00003-of-00007.safetensors", "model.layers.15.self_attn.q_proj.weight": "model-00003-of-00007.safetensors", "model.layers.15.self_attn.v_proj.weight": "model-00003-of-00007.safetensors", "model.layers.16.input_layernorm.weight": "model-00004-of-00007.safetensors", "model.layers.16.mlp.down_proj.weight": "model-00004-of-00007.safetensors", "model.layers.16.mlp.gate_proj.weight": "model-00004-of-00007.safetensors", "model.layers.16.mlp.up_proj.weight": "model-00004-of-00007.safetensors", "model.layers.16.post_attention_layernorm.weight": "model-00004-of-00007.safetensors", "model.layers.16.self_attn.k_proj.weight": "model-00003-of-00007.safetensors", "model.layers.16.self_attn.o_proj.weight": "model-00003-of-00007.safetensors", "model.layers.16.self_attn.q_proj.weight": "model-00003-of-00007.safetensors", "model.layers.16.self_attn.v_proj.weight": "model-00003-of-00007.safetensors", "model.layers.17.input_layernorm.weight": "model-00004-of-00007.safetensors", "model.layers.17.mlp.down_proj.weight": "model-00004-of-00007.safetensors", "model.layers.17.mlp.gate_proj.weight": "model-00004-of-00007.safetensors", "model.layers.17.mlp.up_proj.weight": "model-00004-of-00007.safetensors", "model.layers.17.post_attention_layernorm.weight": "model-00004-of-00007.safetensors", "model.layers.17.self_attn.k_proj.weight": "model-00004-of-00007.safetensors", "model.layers.17.self_attn.o_proj.weight": "model-00004-of-00007.safetensors", "model.layers.17.self_attn.q_proj.weight": "model-00004-of-00007.safetensors", "model.layers.17.self_attn.v_proj.weight": "model-00004-of-00007.safetensors", "model.layers.18.input_layernorm.weight": "model-00004-of-00007.safetensors", "model.layers.18.mlp.down_proj.weight": "model-00004-of-00007.safetensors", "model.layers.18.mlp.gate_proj.weight": "model-00004-of-00007.safetensors", "model.layers.18.mlp.up_proj.weight": "model-00004-of-00007.safetensors", "model.layers.18.post_attention_layernorm.weight": "model-00004-of-00007.safetensors", "model.layers.18.self_attn.k_proj.weight": "model-00004-of-00007.safetensors", "model.layers.18.self_attn.o_proj.weight": "model-00004-of-00007.safetensors", "model.layers.18.self_attn.q_proj.weight": "model-00004-of-00007.safetensors", "model.layers.18.self_attn.v_proj.weight": "model-00004-of-00007.safetensors", "model.layers.19.input_layernorm.weight": "model-00004-of-00007.safetensors", "model.layers.19.mlp.down_proj.weight": "model-00004-of-00007.safetensors", "model.layers.19.mlp.gate_proj.weight": "model-00004-of-00007.safetensors", "model.layers.19.mlp.up_proj.weight": "model-00004-of-00007.safetensors", "model.layers.19.post_attention_layernorm.weight": "model-00004-of-00007.safetensors", "model.layers.19.self_attn.k_proj.weight": "model-00004-of-00007.safetensors", "model.layers.19.self_attn.o_proj.weight": "model-00004-of-00007.safetensors", "model.layers.19.self_attn.q_proj.weight": "model-00004-of-00007.safetensors", "model.layers.19.self_attn.v_proj.weight": "model-00004-of-00007.safetensors", "model.layers.2.input_layernorm.weight": "model-00001-of-00007.safetensors", "model.layers.2.mlp.down_proj.weight": "model-00001-of-00007.safetensors", "model.layers.2.mlp.gate_proj.weight": "model-00001-of-00007.safetensors", "model.layers.2.mlp.up_proj.weight": "model-00001-of-00007.safetensors", "model.layers.2.post_attention_layernorm.weight": "model-00001-of-00007.safetensors", "model.layers.2.self_attn.k_proj.weight": "model-00001-of-00007.safetensors", "model.layers.2.self_attn.o_proj.weight": "model-00001-of-00007.safetensors", "model.layers.2.self_attn.q_proj.weight": "model-00001-of-00007.safetensors", "model.layers.2.self_attn.v_proj.weight": "model-00001-of-00007.safetensors", "model.layers.20.input_layernorm.weight": "model-00004-of-00007.safetensors", "model.layers.20.mlp.down_proj.weight": "model-00004-of-00007.safetensors", "model.layers.20.mlp.gate_proj.weight": "model-00004-of-00007.safetensors", "model.layers.20.mlp.up_proj.weight": "model-00004-of-00007.safetensors", "model.layers.20.post_attention_layernorm.weight": "model-00004-of-00007.safetensors", "model.layers.20.self_attn.k_proj.weight": "model-00004-of-00007.safetensors", "model.layers.20.self_attn.o_proj.weight": "model-00004-of-00007.safetensors", "model.layers.20.self_attn.q_proj.weight": "model-00004-of-00007.safetensors", "model.layers.20.self_attn.v_proj.weight": "model-00004-of-00007.safetensors", "model.layers.21.input_layernorm.weight": "model-00004-of-00007.safetensors", "model.layers.21.mlp.down_proj.weight": "model-00004-of-00007.safetensors", "model.layers.21.mlp.gate_proj.weight": "model-00004-of-00007.safetensors", "model.layers.21.mlp.up_proj.weight": "model-00004-of-00007.safetensors", "model.layers.21.post_attention_layernorm.weight": "model-00004-of-00007.safetensors", "model.layers.21.self_attn.k_proj.weight": "model-00004-of-00007.safetensors", "model.layers.21.self_attn.o_proj.weight": "model-00004-of-00007.safetensors", "model.layers.21.self_attn.q_proj.weight": "model-00004-of-00007.safetensors", "model.layers.21.self_attn.v_proj.weight": "model-00004-of-00007.safetensors", "model.layers.22.input_layernorm.weight": "model-00005-of-00007.safetensors", "model.layers.22.mlp.down_proj.weight": "model-00005-of-00007.safetensors", "model.layers.22.mlp.gate_proj.weight": "model-00004-of-00007.safetensors", "model.layers.22.mlp.up_proj.weight": "model-00005-of-00007.safetensors", "model.layers.22.post_attention_layernorm.weight": "model-00005-of-00007.safetensors", "model.layers.22.self_attn.k_proj.weight": "model-00004-of-00007.safetensors", "model.layers.22.self_attn.o_proj.weight": "model-00004-of-00007.safetensors", "model.layers.22.self_attn.q_proj.weight": "model-00004-of-00007.safetensors", "model.layers.22.self_attn.v_proj.weight": "model-00004-of-00007.safetensors", "model.layers.23.input_layernorm.weight": "model-00005-of-00007.safetensors", "model.layers.23.mlp.down_proj.weight": "model-00005-of-00007.safetensors", "model.layers.23.mlp.gate_proj.weight": "model-00005-of-00007.safetensors", "model.layers.23.mlp.up_proj.weight": "model-00005-of-00007.safetensors", "model.layers.23.post_attention_layernorm.weight": "model-00005-of-00007.safetensors", "model.layers.23.self_attn.k_proj.weight": "model-00005-of-00007.safetensors", "model.layers.23.self_attn.o_proj.weight": "model-00005-of-00007.safetensors", "model.layers.23.self_attn.q_proj.weight": "model-00005-of-00007.safetensors", "model.layers.23.self_attn.v_proj.weight": "model-00005-of-00007.safetensors", "model.layers.24.input_layernorm.weight": "model-00005-of-00007.safetensors", "model.layers.24.mlp.down_proj.weight": "model-00005-of-00007.safetensors", "model.layers.24.mlp.gate_proj.weight": "model-00005-of-00007.safetensors", "model.layers.24.mlp.up_proj.weight": "model-00005-of-00007.safetensors", "model.layers.24.post_attention_layernorm.weight": "model-00005-of-00007.safetensors", "model.layers.24.self_attn.k_proj.weight": "model-00005-of-00007.safetensors", "model.layers.24.self_attn.o_proj.weight": "model-00005-of-00007.safetensors", "model.layers.24.self_attn.q_proj.weight": "model-00005-of-00007.safetensors", "model.layers.24.self_attn.v_proj.weight": "model-00005-of-00007.safetensors", "model.layers.25.input_layernorm.weight": "model-00005-of-00007.safetensors", "model.layers.25.mlp.down_proj.weight": "model-00005-of-00007.safetensors", "model.layers.25.mlp.gate_proj.weight": "model-00005-of-00007.safetensors", "model.layers.25.mlp.up_proj.weight": "model-00005-of-00007.safetensors", "model.layers.25.post_attention_layernorm.weight": "model-00005-of-00007.safetensors", "model.layers.25.self_attn.k_proj.weight": "model-00005-of-00007.safetensors", "model.layers.25.self_attn.o_proj.weight": "model-00005-of-00007.safetensors", "model.layers.25.self_attn.q_proj.weight": "model-00005-of-00007.safetensors", "model.layers.25.self_attn.v_proj.weight": "model-00005-of-00007.safetensors", "model.layers.26.input_layernorm.weight": "model-00005-of-00007.safetensors", "model.layers.26.mlp.down_proj.weight": "model-00005-of-00007.safetensors", "model.layers.26.mlp.gate_proj.weight": "model-00005-of-00007.safetensors", "model.layers.26.mlp.up_proj.weight": "model-00005-of-00007.safetensors", "model.layers.26.post_attention_layernorm.weight": "model-00005-of-00007.safetensors", "model.layers.26.self_attn.k_proj.weight": "model-00005-of-00007.safetensors", "model.layers.26.self_attn.o_proj.weight": "model-00005-of-00007.safetensors", "model.layers.26.self_attn.q_proj.weight": "model-00005-of-00007.safetensors", "model.layers.26.self_attn.v_proj.weight": "model-00005-of-00007.safetensors", "model.layers.27.input_layernorm.weight": "model-00005-of-00007.safetensors", "model.layers.27.mlp.down_proj.weight": "model-00005-of-00007.safetensors", "model.layers.27.mlp.gate_proj.weight": "model-00005-of-00007.safetensors", "model.layers.27.mlp.up_proj.weight": "model-00005-of-00007.safetensors", "model.layers.27.post_attention_layernorm.weight": "model-00005-of-00007.safetensors", "model.layers.27.self_attn.k_proj.weight": "model-00005-of-00007.safetensors", "model.layers.27.self_attn.o_proj.weight": "model-00005-of-00007.safetensors", "model.layers.27.self_attn.q_proj.weight": "model-00005-of-00007.safetensors", "model.layers.27.self_attn.v_proj.weight": "model-00005-of-00007.safetensors", "model.layers.28.input_layernorm.weight": "model-00006-of-00007.safetensors", "model.layers.28.mlp.down_proj.weight": "model-00006-of-00007.safetensors", "model.layers.28.mlp.gate_proj.weight": "model-00005-of-00007.safetensors", "model.layers.28.mlp.up_proj.weight": "model-00005-of-00007.safetensors", "model.layers.28.post_attention_layernorm.weight": "model-00006-of-00007.safetensors", "model.layers.28.self_attn.k_proj.weight": "model-00005-of-00007.safetensors", "model.layers.28.self_attn.o_proj.weight": "model-00005-of-00007.safetensors", "model.layers.28.self_attn.q_proj.weight": "model-00005-of-00007.safetensors", "model.layers.28.self_attn.v_proj.weight": "model-00005-of-00007.safetensors", "model.layers.29.input_layernorm.weight": "model-00006-of-00007.safetensors", "model.layers.29.mlp.down_proj.weight": "model-00006-of-00007.safetensors", "model.layers.29.mlp.gate_proj.weight": "model-00006-of-00007.safetensors", "model.layers.29.mlp.up_proj.weight": "model-00006-of-00007.safetensors", "model.layers.29.post_attention_layernorm.weight": "model-00006-of-00007.safetensors", "model.layers.29.self_attn.k_proj.weight": "model-00006-of-00007.safetensors", "model.layers.29.self_attn.o_proj.weight": "model-00006-of-00007.safetensors", "model.layers.29.self_attn.q_proj.weight": "model-00006-of-00007.safetensors", "model.layers.29.self_attn.v_proj.weight": "model-00006-of-00007.safetensors", "model.layers.3.input_layernorm.weight": "model-00002-of-00007.safetensors", "model.layers.3.mlp.down_proj.weight": "model-00002-of-00007.safetensors", "model.layers.3.mlp.gate_proj.weight": "model-00001-of-00007.safetensors", "model.layers.3.mlp.up_proj.weight": "model-00002-of-00007.safetensors", "model.layers.3.post_attention_layernorm.weight": "model-00002-of-00007.safetensors", "model.layers.3.self_attn.k_proj.weight": "model-00001-of-00007.safetensors", "model.layers.3.self_attn.o_proj.weight": "model-00001-of-00007.safetensors", "model.layers.3.self_attn.q_proj.weight": "model-00001-of-00007.safetensors", "model.layers.3.self_attn.v_proj.weight": "model-00001-of-00007.safetensors", "model.layers.30.input_layernorm.weight": "model-00006-of-00007.safetensors", "model.layers.30.mlp.down_proj.weight": "model-00006-of-00007.safetensors", "model.layers.30.mlp.gate_proj.weight": "model-00006-of-00007.safetensors", "model.layers.30.mlp.up_proj.weight": "model-00006-of-00007.safetensors", "model.layers.30.post_attention_layernorm.weight": "model-00006-of-00007.safetensors", "model.layers.30.self_attn.k_proj.weight": "model-00006-of-00007.safetensors", "model.layers.30.self_attn.o_proj.weight": "model-00006-of-00007.safetensors", "model.layers.30.self_attn.q_proj.weight": "model-00006-of-00007.safetensors", "model.layers.30.self_attn.v_proj.weight": "model-00006-of-00007.safetensors", "model.layers.31.input_layernorm.weight": "model-00006-of-00007.safetensors", "model.layers.31.mlp.down_proj.weight": "model-00006-of-00007.safetensors", "model.layers.31.mlp.gate_proj.weight": "model-00006-of-00007.safetensors", "model.layers.31.mlp.up_proj.weight": "model-00006-of-00007.safetensors", "model.layers.31.post_attention_layernorm.weight": "model-00006-of-00007.safetensors", "model.layers.31.self_attn.k_proj.weight": "model-00006-of-00007.safetensors", "model.layers.31.self_attn.o_proj.weight": "model-00006-of-00007.safetensors", "model.layers.31.self_attn.q_proj.weight": "model-00006-of-00007.safetensors", "model.layers.31.self_attn.v_proj.weight": "model-00006-of-00007.safetensors", "model.layers.32.input_layernorm.weight": "model-00006-of-00007.safetensors", "model.layers.32.mlp.down_proj.weight": "model-00006-of-00007.safetensors", "model.layers.32.mlp.gate_proj.weight": "model-00006-of-00007.safetensors", "model.layers.32.mlp.up_proj.weight": "model-00006-of-00007.safetensors", "model.layers.32.post_attention_layernorm.weight": "model-00006-of-00007.safetensors", "model.layers.32.self_attn.k_proj.weight": "model-00006-of-00007.safetensors", "model.layers.32.self_attn.o_proj.weight": "model-00006-of-00007.safetensors", "model.layers.32.self_attn.q_proj.weight": "model-00006-of-00007.safetensors", "model.layers.32.self_attn.v_proj.weight": "model-00006-of-00007.safetensors", "model.layers.33.input_layernorm.weight": "model-00006-of-00007.safetensors", "model.layers.33.mlp.down_proj.weight": "model-00006-of-00007.safetensors", "model.layers.33.mlp.gate_proj.weight": "model-00006-of-00007.safetensors", "model.layers.33.mlp.up_proj.weight": "model-00006-of-00007.safetensors", "model.layers.33.post_attention_layernorm.weight": "model-00006-of-00007.safetensors", "model.layers.33.self_attn.k_proj.weight": "model-00006-of-00007.safetensors", "model.layers.33.self_attn.o_proj.weight": "model-00006-of-00007.safetensors", "model.layers.33.self_attn.q_proj.weight": "model-00006-of-00007.safetensors", "model.layers.33.self_attn.v_proj.weight": "model-00006-of-00007.safetensors", "model.layers.34.input_layernorm.weight": "model-00006-of-00007.safetensors", "model.layers.34.mlp.down_proj.weight": "model-00006-of-00007.safetensors", "model.layers.34.mlp.gate_proj.weight": "model-00006-of-00007.safetensors", "model.layers.34.mlp.up_proj.weight": "model-00006-of-00007.safetensors", "model.layers.34.post_attention_layernorm.weight": "model-00006-of-00007.safetensors", "model.layers.34.self_attn.k_proj.weight": "model-00006-of-00007.safetensors", "model.layers.34.self_attn.o_proj.weight": "model-00006-of-00007.safetensors", "model.layers.34.self_attn.q_proj.weight": "model-00006-of-00007.safetensors", "model.layers.34.self_attn.v_proj.weight": "model-00006-of-00007.safetensors", "model.layers.35.input_layernorm.weight": "model-00007-of-00007.safetensors", "model.layers.35.mlp.down_proj.weight": "model-00007-of-00007.safetensors", "model.layers.35.mlp.gate_proj.weight": "model-00007-of-00007.safetensors", "model.layers.35.mlp.up_proj.weight": "model-00007-of-00007.safetensors", "model.layers.35.post_attention_layernorm.weight": "model-00007-of-00007.safetensors", "model.layers.35.self_attn.k_proj.weight": "model-00006-of-00007.safetensors", "model.layers.35.self_attn.o_proj.weight": "model-00006-of-00007.safetensors", "model.layers.35.self_attn.q_proj.weight": "model-00006-of-00007.safetensors", "model.layers.35.self_attn.v_proj.weight": "model-00006-of-00007.safetensors", "model.layers.4.input_layernorm.weight": "model-00002-of-00007.safetensors", "model.layers.4.mlp.down_proj.weight": "model-00002-of-00007.safetensors", "model.layers.4.mlp.gate_proj.weight": "model-00002-of-00007.safetensors", "model.layers.4.mlp.up_proj.weight": "model-00002-of-00007.safetensors", "model.layers.4.post_attention_layernorm.weight": "model-00002-of-00007.safetensors", "model.layers.4.self_attn.k_proj.weight": "model-00002-of-00007.safetensors", "model.layers.4.self_attn.o_proj.weight": "model-00002-of-00007.safetensors", "model.layers.4.self_attn.q_proj.weight": "model-00002-of-00007.safetensors", "model.layers.4.self_attn.v_proj.weight": "model-00002-of-00007.safetensors", "model.layers.5.input_layernorm.weight": "model-00002-of-00007.safetensors", "model.layers.5.mlp.down_proj.weight": "model-00002-of-00007.safetensors", "model.layers.5.mlp.gate_proj.weight": "model-00002-of-00007.safetensors", "model.layers.5.mlp.up_proj.weight": "model-00002-of-00007.safetensors", "model.layers.5.post_attention_layernorm.weight": "model-00002-of-00007.safetensors", "model.layers.5.self_attn.k_proj.weight": "model-00002-of-00007.safetensors", "model.layers.5.self_attn.o_proj.weight": "model-00002-of-00007.safetensors", "model.layers.5.self_attn.q_proj.weight": "model-00002-of-00007.safetensors", "model.layers.5.self_attn.v_proj.weight": "model-00002-of-00007.safetensors", "model.layers.6.input_layernorm.weight": "model-00002-of-00007.safetensors", "model.layers.6.mlp.down_proj.weight": "model-00002-of-00007.safetensors", "model.layers.6.mlp.gate_proj.weight": "model-00002-of-00007.safetensors", "model.layers.6.mlp.up_proj.weight": "model-00002-of-00007.safetensors", "model.layers.6.post_attention_layernorm.weight": "model-00002-of-00007.safetensors", "model.layers.6.self_attn.k_proj.weight": "model-00002-of-00007.safetensors", "model.layers.6.self_attn.o_proj.weight": "model-00002-of-00007.safetensors", "model.layers.6.self_attn.q_proj.weight": "model-00002-of-00007.safetensors", "model.layers.6.self_attn.v_proj.weight": "model-00002-of-00007.safetensors", "model.layers.7.input_layernorm.weight": "model-00002-of-00007.safetensors", "model.layers.7.mlp.down_proj.weight": "model-00002-of-00007.safetensors", "model.layers.7.mlp.gate_proj.weight": "model-00002-of-00007.safetensors", "model.layers.7.mlp.up_proj.weight": "model-00002-of-00007.safetensors", "model.layers.7.post_attention_layernorm.weight": "model-00002-of-00007.safetensors", "model.layers.7.self_attn.k_proj.weight": "model-00002-of-00007.safetensors", "model.layers.7.self_attn.o_proj.weight": "model-00002-of-00007.safetensors", "model.layers.7.self_attn.q_proj.weight": "model-00002-of-00007.safetensors", "model.layers.7.self_attn.v_proj.weight": "model-00002-of-00007.safetensors", "model.layers.8.input_layernorm.weight": "model-00002-of-00007.safetensors", "model.layers.8.mlp.down_proj.weight": "model-00002-of-00007.safetensors", "model.layers.8.mlp.gate_proj.weight": "model-00002-of-00007.safetensors", "model.layers.8.mlp.up_proj.weight": "model-00002-of-00007.safetensors", "model.layers.8.post_attention_layernorm.weight": "model-00002-of-00007.safetensors", "model.layers.8.self_attn.k_proj.weight": "model-00002-of-00007.safetensors", "model.layers.8.self_attn.o_proj.weight": "model-00002-of-00007.safetensors", "model.layers.8.self_attn.q_proj.weight": "model-00002-of-00007.safetensors", "model.layers.8.self_attn.v_proj.weight": "model-00002-of-00007.safetensors", "model.layers.9.input_layernorm.weight": "model-00003-of-00007.safetensors", "model.layers.9.mlp.down_proj.weight": "model-00003-of-00007.safetensors", "model.layers.9.mlp.gate_proj.weight": "model-00002-of-00007.safetensors", "model.layers.9.mlp.up_proj.weight": "model-00002-of-00007.safetensors", "model.layers.9.post_attention_layernorm.weight": "model-00003-of-00007.safetensors", "model.layers.9.self_attn.k_proj.weight": "model-00002-of-00007.safetensors", "model.layers.9.self_attn.o_proj.weight": "model-00002-of-00007.safetensors", "model.layers.9.self_attn.q_proj.weight": "model-00002-of-00007.safetensors", "model.layers.9.self_attn.v_proj.weight": "model-00002-of-00007.safetensors", "model.norm.weight": "model-00007-of-00007.safetensors" }}123456789101112131415161718192021222324{ "bos_token": { "content": "<s>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "eos_token": { "content": "</s>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "pad_token": "</s>", "unk_token": { "content": "<unk>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }}123456789101112131415161718192021222324{ "bos_token": { "content": "<s>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "eos_token": { "content": "</s>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "pad_token": "</s>", "unk_token": { "content": "<unk>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687{%- if messages[0]["role"] == "system" %} {%- set system_message = messages[0]["content"] %} {%- set loop_messages = messages[1:] %}{%- else %} {%- set loop_messages = messages %}{%- endif %}{%- if not tools is defined %} {%- set tools = none %}{%- endif %}{%- set user_messages = loop_messages | selectattr("role", "equalto", "user") | list %}
{#- This block checks for alternating user/assistant messages, skipping tool calling messages #}{%- set ns = namespace() %}{%- set ns.index = 0 %}{%- for message in loop_messages %} {%- if not (message.role == "tool" or message.role == "tool_results" or (message.tool_calls is defined and message.tool_calls is not none)) %} {%- if (message["role"] == "user") != (ns.index % 2 == 0) %} {{- raise_exception("After the optional system message, conversation roles must alternate user/assistant/user/assistant/...") }} {%- endif %} {%- set ns.index = ns.index + 1 %} {%- endif %}{%- endfor %}
{{- bos_token }}{%- for message in loop_messages %} {%- if message["role"] == "user" %} {%- if tools is not none and (message == user_messages[-1]) %} {{- "[AVAILABLE_TOOLS][" }} {%- for tool in tools %} {%- set tool = tool.function %} {{- '{"type": "function", "function": {' }} {%- for key, val in tool.items() if key != "return" %} {%- if val is string %} {{- '"' + key + '": "' + val + '"' }} {%- else %} {{- '"' + key + '": ' + val|tojson }} {%- endif %} {%- if not loop.last %} {{- ", " }} {%- endif %} {%- endfor %} {{- "}}" }} {%- if not loop.last %} {{- ", " }} {%- else %} {{- "]" }} {%- endif %} {%- endfor %} {{- "[/AVAILABLE_TOOLS]" }} {%- endif %} {%- if loop.last and system_message is defined %} {{- "[INST]" + system_message + "\n\n" + message["content"] + "[/INST]" }} {%- else %} {{- "[INST]" + message["content"] + "[/INST]" }} {%- endif %} {%- elif (message.tool_calls is defined and message.tool_calls is not none) %} {{- "[TOOL_CALLS][" }} {%- for tool_call in message.tool_calls %} {%- set out = tool_call.function|tojson %} {{- out[:-1] }} {%- if not tool_call.id is defined or tool_call.id|length != 9 %} {{- raise_exception("Tool call IDs should be alphanumeric strings with length 9!") }} {%- endif %} {{- ', "id": "' + tool_call.id + '"}' }} {%- if not loop.last %} {{- ", " }} {%- else %} {{- "]" + eos_token }} {%- endif %} {%- endfor %} {%- elif message["role"] == "assistant" %} {{- message["content"] + eos_token}} {%- elif message["role"] == "tool_results" or message["role"] == "tool" %} {%- if message.content is defined and message.content.content is defined %} {%- set content = message.content.content %} {%- else %} {%- set content = message.content %} {%- endif %} {{- '[TOOL_RESULTS]{"content": ' + content|string + ", " }} {%- if not message.tool_call_id is defined or message.tool_call_id|length != 9 %} {{- raise_exception("Tool call IDs should be alphanumeric strings with length 9!") }} {%- endif %} {{- '"call_id": "' + message.tool_call_id + '"}[/TOOL_RESULTS]' }} {%- else %} {{- raise_exception("Only user and assistant roles are supported, with the exception of an initial optional system message!") }} {%- endif %}{%- endfor %}1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465{ "architectures": [ "MistralForCausalLM" ], "attention_dropout": 0.0, "bos_token_id": 1, "dtype": "bfloat16", "eos_token_id": 2, "head_dim": 128, "hidden_act": "silu", "hidden_size": 4096, "initializer_range": 0.02, "intermediate_size": 12288, "layer_types": [ "full_attention", "sliding_attention", "sliding_attention", "sliding_attention", "full_attention", "sliding_attention", "sliding_attention", "sliding_attention", "full_attention", "sliding_attention", "sliding_attention", "sliding_attention", "full_attention", "sliding_attention", "sliding_attention", "sliding_attention", "full_attention", "sliding_attention", "sliding_attention", "sliding_attention", "full_attention", "sliding_attention", "sliding_attention", "sliding_attention", "full_attention", "sliding_attention", "sliding_attention", "sliding_attention", "full_attention", "sliding_attention", "sliding_attention", "sliding_attention", "full_attention", "sliding_attention", "sliding_attention", "sliding_attention" ], "max_position_embeddings": 32768, "model_type": "mistral", "num_attention_heads": 32, "num_hidden_layers": 36, "num_key_value_heads": 8, "pad_token_id": 2, "rms_norm_eps": 1e-05, "rope_theta": 100000000.0, "sliding_window": 32768, "tie_word_embeddings": false, "transformers_version": "4.56.0", "use_cache": true, "vocab_size": 131072}123456{ "_from_model_config": true, "bos_token_id": 1, "eos_token_id": 2, "transformers_version": "4.56.0"}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687{%- if messages[0]["role"] == "system" %} {%- set system_message = messages[0]["content"] %} {%- set loop_messages = messages[1:] %}{%- else %} {%- set loop_messages = messages %}{%- endif %}{%- if not tools is defined %} {%- set tools = none %}{%- endif %}{%- set user_messages = loop_messages | selectattr("role", "equalto", "user") | list %}
{#- This block checks for alternating user/assistant messages, skipping tool calling messages #}{%- set ns = namespace() %}{%- set ns.index = 0 %}{%- for message in loop_messages %} {%- if not (message.role == "tool" or message.role == "tool_results" or (message.tool_calls is defined and message.tool_calls is not none)) %} {%- if (message["role"] == "user") != (ns.index % 2 == 0) %} {{- raise_exception("After the optional system message, conversation roles must alternate user/assistant/user/assistant/...") }} {%- endif %} {%- set ns.index = ns.index + 1 %} {%- endif %}{%- endfor %}
{{- bos_token }}{%- for message in loop_messages %} {%- if message["role"] == "user" %} {%- if tools is not none and (message == user_messages[-1]) %} {{- "[AVAILABLE_TOOLS][" }} {%- for tool in tools %} {%- set tool = tool.function %} {{- '{"type": "function", "function": {' }} {%- for key, val in tool.items() if key != "return" %} {%- if val is string %} {{- '"' + key + '": "' + val + '"' }} {%- else %} {{- '"' + key + '": ' + val|tojson }} {%- endif %} {%- if not loop.last %} {{- ", " }} {%- endif %} {%- endfor %} {{- "}}" }} {%- if not loop.last %} {{- ", " }} {%- else %} {{- "]" }} {%- endif %} {%- endfor %} {{- "[/AVAILABLE_TOOLS]" }} {%- endif %} {%- if loop.last and system_message is defined %} {{- "[INST]" + system_message + "\n\n" + message["content"] + "[/INST]" }} {%- else %} {{- "[INST]" + message["content"] + "[/INST]" }} {%- endif %} {%- elif (message.tool_calls is defined and message.tool_calls is not none) %} {{- "[TOOL_CALLS][" }} {%- for tool_call in message.tool_calls %} {%- set out = tool_call.function|tojson %} {{- out[:-1] }} {%- if not tool_call.id is defined or tool_call.id|length != 9 %} {{- raise_exception("Tool call IDs should be alphanumeric strings with length 9!") }} {%- endif %} {{- ', "id": "' + tool_call.id + '"}' }} {%- if not loop.last %} {{- ", " }} {%- else %} {{- "]" + eos_token }} {%- endif %} {%- endfor %} {%- elif message["role"] == "assistant" %} {{- message["content"] + eos_token}} {%- elif message["role"] == "tool_results" or message["role"] == "tool" %} {%- if message.content is defined and message.content.content is defined %} {%- set content = message.content.content %} {%- else %} {%- set content = message.content %} {%- endif %} {{- '[TOOL_RESULTS]{"content": ' + content|string + ", " }} {%- if not message.tool_call_id is defined or message.tool_call_id|length != 9 %} {{- raise_exception("Tool call IDs should be alphanumeric strings with length 9!") }} {%- endif %} {{- '"call_id": "' + message.tool_call_id + '"}[/TOOL_RESULTS]' }} {%- else %} {{- raise_exception("Only user and assistant roles are supported, with the exception of an initial optional system message!") }} {%- endif %}{%- endfor %}1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465{ "architectures": [ "MistralForCausalLM" ], "attention_dropout": 0.0, "bos_token_id": 1, "dtype": "bfloat16", "eos_token_id": 2, "head_dim": 128, "hidden_act": "silu", "hidden_size": 4096, "initializer_range": 0.02, "intermediate_size": 12288, "layer_types": [ "full_attention", "sliding_attention", "sliding_attention", "sliding_attention", "full_attention", "sliding_attention", "sliding_attention", "sliding_attention", "full_attention", "sliding_attention", "sliding_attention", "sliding_attention", "full_attention", "sliding_attention", "sliding_attention", "sliding_attention", "full_attention", "sliding_attention", "sliding_attention", "sliding_attention", "full_attention", "sliding_attention", "sliding_attention", "sliding_attention", "full_attention", "sliding_attention", "sliding_attention", "sliding_attention", "full_attention", "sliding_attention", "sliding_attention", "sliding_attention", "full_attention", "sliding_attention", "sliding_attention", "sliding_attention" ], "max_position_embeddings": 32768, "model_type": "mistral", "num_attention_heads": 32, "num_hidden_layers": 36, "num_key_value_heads": 8, "pad_token_id": 2, "rms_norm_eps": 1e-05, "rope_theta": 100000000.0, "sliding_window": 32768, "tie_word_embeddings": false, "transformers_version": "4.56.0", "use_cache": true, "vocab_size": 131072}123456{ "_from_model_config": true, "bos_token_id": 1, "eos_token_id": 2, "transformers_version": "4.56.0"}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335{ "metadata": { "total_parameters": 8019808256, "total_size": 32079233024 }, "weight_map": { "lm_head.weight": "model-00007-of-00007.safetensors", "model.embed_tokens.weight": "model-00001-of-00007.safetensors", "model.layers.0.input_layernorm.weight": "model-00001-of-00007.safetensors", "model.layers.0.mlp.down_proj.weight": "model-00001-of-00007.safetensors", "model.layers.0.mlp.gate_proj.weight": "model-00001-of-00007.safetensors", "model.layers.0.mlp.up_proj.weight": "model-00001-of-00007.safetensors", "model.layers.0.post_attention_layernorm.weight": "model-00001-of-00007.safetensors", "model.layers.0.self_attn.k_proj.weight": "model-00001-of-00007.safetensors", "model.layers.0.self_attn.o_proj.weight": "model-00001-of-00007.safetensors", "model.layers.0.self_attn.q_proj.weight": "model-00001-of-00007.safetensors", "model.layers.0.self_attn.v_proj.weight": "model-00001-of-00007.safetensors", "model.layers.1.input_layernorm.weight": "model-00001-of-00007.safetensors", "model.layers.1.mlp.down_proj.weight": "model-00001-of-00007.safetensors", "model.layers.1.mlp.gate_proj.weight": "model-00001-of-00007.safetensors", "model.layers.1.mlp.up_proj.weight": "model-00001-of-00007.safetensors", "model.layers.1.post_attention_layernorm.weight": "model-00001-of-00007.safetensors", "model.layers.1.self_attn.k_proj.weight": "model-00001-of-00007.safetensors", "model.layers.1.self_attn.o_proj.weight": "model-00001-of-00007.safetensors", "model.layers.1.self_attn.q_proj.weight": "model-00001-of-00007.safetensors", "model.layers.1.self_attn.v_proj.weight": "model-00001-of-00007.safetensors", "model.layers.10.input_layernorm.weight": "model-00003-of-00007.safetensors", "model.layers.10.mlp.down_proj.weight": "model-00003-of-00007.safetensors", "model.layers.10.mlp.gate_proj.weight": "model-00003-of-00007.safetensors", "model.layers.10.mlp.up_proj.weight": "model-00003-of-00007.safetensors", "model.layers.10.post_attention_layernorm.weight": "model-00003-of-00007.safetensors", "model.layers.10.self_attn.k_proj.weight": "model-00003-of-00007.safetensors", "model.layers.10.self_attn.o_proj.weight": "model-00003-of-00007.safetensors", "model.layers.10.self_attn.q_proj.weight": "model-00003-of-00007.safetensors", "model.layers.10.self_attn.v_proj.weight": "model-00003-of-00007.safetensors", "model.layers.11.input_layernorm.weight": "model-00003-of-00007.safetensors", "model.layers.11.mlp.down_proj.weight": "model-00003-of-00007.safetensors", "model.layers.11.mlp.gate_proj.weight": "model-00003-of-00007.safetensors", "model.layers.11.mlp.up_proj.weight": "model-00003-of-00007.safetensors", "model.layers.11.post_attention_layernorm.weight": "model-00003-of-00007.safetensors", "model.layers.11.self_attn.k_proj.weight": "model-00003-of-00007.safetensors", "model.layers.11.self_attn.o_proj.weight": "model-00003-of-00007.safetensors", "model.layers.11.self_attn.q_proj.weight": "model-00003-of-00007.safetensors", "model.layers.11.self_attn.v_proj.weight": "model-00003-of-00007.safetensors", "model.layers.12.input_layernorm.weight": "model-00003-of-00007.safetensors", "model.layers.12.mlp.down_proj.weight": "model-00003-of-00007.safetensors", "model.layers.12.mlp.gate_proj.weight": "model-00003-of-00007.safetensors", "model.layers.12.mlp.up_proj.weight": "model-00003-of-00007.safetensors", "model.layers.12.post_attention_layernorm.weight": "model-00003-of-00007.safetensors", "model.layers.12.self_attn.k_proj.weight": "model-00003-of-00007.safetensors", "model.layers.12.self_attn.o_proj.weight": "model-00003-of-00007.safetensors", "model.layers.12.self_attn.q_proj.weight": "model-00003-of-00007.safetensors", "model.layers.12.self_attn.v_proj.weight": "model-00003-of-00007.safetensors", "model.layers.13.input_layernorm.weight": "model-00003-of-00007.safetensors", "model.layers.13.mlp.down_proj.weight": "model-00003-of-00007.safetensors", "model.layers.13.mlp.gate_proj.weight": "model-00003-of-00007.safetensors", "model.layers.13.mlp.up_proj.weight": "model-00003-of-00007.safetensors", "model.layers.13.post_attention_layernorm.weight": "model-00003-of-00007.safetensors", "model.layers.13.self_attn.k_proj.weight": "model-00003-of-00007.safetensors", "model.layers.13.self_attn.o_proj.weight": "model-00003-of-00007.safetensors", "model.layers.13.self_attn.q_proj.weight": "model-00003-of-00007.safetensors", "model.layers.13.self_attn.v_proj.weight": "model-00003-of-00007.safetensors", "model.layers.14.input_layernorm.weight": "model-00003-of-00007.safetensors", "model.layers.14.mlp.down_proj.weight": "model-00003-of-00007.safetensors", "model.layers.14.mlp.gate_proj.weight": "model-00003-of-00007.safetensors", "model.layers.14.mlp.up_proj.weight": "model-00003-of-00007.safetensors", "model.layers.14.post_attention_layernorm.weight": "model-00003-of-00007.safetensors", "model.layers.14.self_attn.k_proj.weight": "model-00003-of-00007.safetensors", "model.layers.14.self_attn.o_proj.weight": "model-00003-of-00007.safetensors", "model.layers.14.self_attn.q_proj.weight": "model-00003-of-00007.safetensors", "model.layers.14.self_attn.v_proj.weight": "model-00003-of-00007.safetensors", "model.layers.15.input_layernorm.weight": "model-00003-of-00007.safetensors", "model.layers.15.mlp.down_proj.weight": "model-00003-of-00007.safetensors", "model.layers.15.mlp.gate_proj.weight": "model-00003-of-00007.safetensors", "model.layers.15.mlp.up_proj.weight": "model-00003-of-00007.safetensors", "model.layers.15.post_attention_layernorm.weight": "model-00003-of-00007.safetensors", "model.layers.15.self_attn.k_proj.weight": "model-00003-of-00007.safetensors", "model.layers.15.self_attn.o_proj.weight": "model-00003-of-00007.safetensors", "model.layers.15.self_attn.q_proj.weight": "model-00003-of-00007.safetensors", "model.layers.15.self_attn.v_proj.weight": "model-00003-of-00007.safetensors", "model.layers.16.input_layernorm.weight": "model-00004-of-00007.safetensors", "model.layers.16.mlp.down_proj.weight": "model-00004-of-00007.safetensors", "model.layers.16.mlp.gate_proj.weight": "model-00004-of-00007.safetensors", "model.layers.16.mlp.up_proj.weight": "model-00004-of-00007.safetensors", "model.layers.16.post_attention_layernorm.weight": "model-00004-of-00007.safetensors", "model.layers.16.self_attn.k_proj.weight": "model-00003-of-00007.safetensors", "model.layers.16.self_attn.o_proj.weight": "model-00003-of-00007.safetensors", "model.layers.16.self_attn.q_proj.weight": "model-00003-of-00007.safetensors", "model.layers.16.self_attn.v_proj.weight": "model-00003-of-00007.safetensors", "model.layers.17.input_layernorm.weight": "model-00004-of-00007.safetensors", "model.layers.17.mlp.down_proj.weight": "model-00004-of-00007.safetensors", "model.layers.17.mlp.gate_proj.weight": "model-00004-of-00007.safetensors", "model.layers.17.mlp.up_proj.weight": "model-00004-of-00007.safetensors", "model.layers.17.post_attention_layernorm.weight": "model-00004-of-00007.safetensors", "model.layers.17.self_attn.k_proj.weight": "model-00004-of-00007.safetensors", "model.layers.17.self_attn.o_proj.weight": "model-00004-of-00007.safetensors", "model.layers.17.self_attn.q_proj.weight": "model-00004-of-00007.safetensors", "model.layers.17.self_attn.v_proj.weight": "model-00004-of-00007.safetensors", "model.layers.18.input_layernorm.weight": "model-00004-of-00007.safetensors", "model.layers.18.mlp.down_proj.weight": "model-00004-of-00007.safetensors", "model.layers.18.mlp.gate_proj.weight": "model-00004-of-00007.safetensors", "model.layers.18.mlp.up_proj.weight": "model-00004-of-00007.safetensors", "model.layers.18.post_attention_layernorm.weight": "model-00004-of-00007.safetensors", "model.layers.18.self_attn.k_proj.weight": "model-00004-of-00007.safetensors", "model.layers.18.self_attn.o_proj.weight": "model-00004-of-00007.safetensors", "model.layers.18.self_attn.q_proj.weight": "model-00004-of-00007.safetensors", "model.layers.18.self_attn.v_proj.weight": "model-00004-of-00007.safetensors", "model.layers.19.input_layernorm.weight": "model-00004-of-00007.safetensors", "model.layers.19.mlp.down_proj.weight": "model-00004-of-00007.safetensors", "model.layers.19.mlp.gate_proj.weight": "model-00004-of-00007.safetensors", "model.layers.19.mlp.up_proj.weight": "model-00004-of-00007.safetensors", "model.layers.19.post_attention_layernorm.weight": "model-00004-of-00007.safetensors", "model.layers.19.self_attn.k_proj.weight": "model-00004-of-00007.safetensors", "model.layers.19.self_attn.o_proj.weight": "model-00004-of-00007.safetensors", "model.layers.19.self_attn.q_proj.weight": "model-00004-of-00007.safetensors", "model.layers.19.self_attn.v_proj.weight": "model-00004-of-00007.safetensors", "model.layers.2.input_layernorm.weight": "model-00001-of-00007.safetensors", "model.layers.2.mlp.down_proj.weight": "model-00001-of-00007.safetensors", "model.layers.2.mlp.gate_proj.weight": "model-00001-of-00007.safetensors", "model.layers.2.mlp.up_proj.weight": "model-00001-of-00007.safetensors", "model.layers.2.post_attention_layernorm.weight": "model-00001-of-00007.safetensors", "model.layers.2.self_attn.k_proj.weight": "model-00001-of-00007.safetensors", "model.layers.2.self_attn.o_proj.weight": "model-00001-of-00007.safetensors", "model.layers.2.self_attn.q_proj.weight": "model-00001-of-00007.safetensors", "model.layers.2.self_attn.v_proj.weight": "model-00001-of-00007.safetensors", "model.layers.20.input_layernorm.weight": "model-00004-of-00007.safetensors", "model.layers.20.mlp.down_proj.weight": "model-00004-of-00007.safetensors", "model.layers.20.mlp.gate_proj.weight": "model-00004-of-00007.safetensors", "model.layers.20.mlp.up_proj.weight": "model-00004-of-00007.safetensors", "model.layers.20.post_attention_layernorm.weight": "model-00004-of-00007.safetensors", "model.layers.20.self_attn.k_proj.weight": "model-00004-of-00007.safetensors", "model.layers.20.self_attn.o_proj.weight": "model-00004-of-00007.safetensors", "model.layers.20.self_attn.q_proj.weight": "model-00004-of-00007.safetensors", "model.layers.20.self_attn.v_proj.weight": "model-00004-of-00007.safetensors", "model.layers.21.input_layernorm.weight": "model-00004-of-00007.safetensors", "model.layers.21.mlp.down_proj.weight": "model-00004-of-00007.safetensors", "model.layers.21.mlp.gate_proj.weight": "model-00004-of-00007.safetensors", "model.layers.21.mlp.up_proj.weight": "model-00004-of-00007.safetensors", "model.layers.21.post_attention_layernorm.weight": "model-00004-of-00007.safetensors", "model.layers.21.self_attn.k_proj.weight": "model-00004-of-00007.safetensors", "model.layers.21.self_attn.o_proj.weight": "model-00004-of-00007.safetensors", "model.layers.21.self_attn.q_proj.weight": "model-00004-of-00007.safetensors", "model.layers.21.self_attn.v_proj.weight": "model-00004-of-00007.safetensors", "model.layers.22.input_layernorm.weight": "model-00005-of-00007.safetensors", "model.layers.22.mlp.down_proj.weight": "model-00005-of-00007.safetensors", "model.layers.22.mlp.gate_proj.weight": "model-00004-of-00007.safetensors", "model.layers.22.mlp.up_proj.weight": "model-00005-of-00007.safetensors", "model.layers.22.post_attention_layernorm.weight": "model-00005-of-00007.safetensors", "model.layers.22.self_attn.k_proj.weight": "model-00004-of-00007.safetensors", "model.layers.22.self_attn.o_proj.weight": "model-00004-of-00007.safetensors", "model.layers.22.self_attn.q_proj.weight": "model-00004-of-00007.safetensors", "model.layers.22.self_attn.v_proj.weight": "model-00004-of-00007.safetensors", "model.layers.23.input_layernorm.weight": "model-00005-of-00007.safetensors", "model.layers.23.mlp.down_proj.weight": "model-00005-of-00007.safetensors", "model.layers.23.mlp.gate_proj.weight": "model-00005-of-00007.safetensors", "model.layers.23.mlp.up_proj.weight": "model-00005-of-00007.safetensors", "model.layers.23.post_attention_layernorm.weight": "model-00005-of-00007.safetensors", "model.layers.23.self_attn.k_proj.weight": "model-00005-of-00007.safetensors", "model.layers.23.self_attn.o_proj.weight": "model-00005-of-00007.safetensors", "model.layers.23.self_attn.q_proj.weight": "model-00005-of-00007.safetensors", "model.layers.23.self_attn.v_proj.weight": "model-00005-of-00007.safetensors", "model.layers.24.input_layernorm.weight": "model-00005-of-00007.safetensors", "model.layers.24.mlp.down_proj.weight": "model-00005-of-00007.safetensors", "model.layers.24.mlp.gate_proj.weight": "model-00005-of-00007.safetensors", "model.layers.24.mlp.up_proj.weight": "model-00005-of-00007.safetensors", "model.layers.24.post_attention_layernorm.weight": "model-00005-of-00007.safetensors", "model.layers.24.self_attn.k_proj.weight": "model-00005-of-00007.safetensors", "model.layers.24.self_attn.o_proj.weight": "model-00005-of-00007.safetensors", "model.layers.24.self_attn.q_proj.weight": "model-00005-of-00007.safetensors", "model.layers.24.self_attn.v_proj.weight": "model-00005-of-00007.safetensors", "model.layers.25.input_layernorm.weight": "model-00005-of-00007.safetensors", "model.layers.25.mlp.down_proj.weight": "model-00005-of-00007.safetensors", "model.layers.25.mlp.gate_proj.weight": "model-00005-of-00007.safetensors", "model.layers.25.mlp.up_proj.weight": "model-00005-of-00007.safetensors", "model.layers.25.post_attention_layernorm.weight": "model-00005-of-00007.safetensors", "model.layers.25.self_attn.k_proj.weight": "model-00005-of-00007.safetensors", "model.layers.25.self_attn.o_proj.weight": "model-00005-of-00007.safetensors", "model.layers.25.self_attn.q_proj.weight": "model-00005-of-00007.safetensors", "model.layers.25.self_attn.v_proj.weight": "model-00005-of-00007.safetensors", "model.layers.26.input_layernorm.weight": "model-00005-of-00007.safetensors", "model.layers.26.mlp.down_proj.weight": "model-00005-of-00007.safetensors", "model.layers.26.mlp.gate_proj.weight": "model-00005-of-00007.safetensors", "model.layers.26.mlp.up_proj.weight": "model-00005-of-00007.safetensors", "model.layers.26.post_attention_layernorm.weight": "model-00005-of-00007.safetensors", "model.layers.26.self_attn.k_proj.weight": "model-00005-of-00007.safetensors", "model.layers.26.self_attn.o_proj.weight": "model-00005-of-00007.safetensors", "model.layers.26.self_attn.q_proj.weight": "model-00005-of-00007.safetensors", "model.layers.26.self_attn.v_proj.weight": "model-00005-of-00007.safetensors", "model.layers.27.input_layernorm.weight": "model-00005-of-00007.safetensors", "model.layers.27.mlp.down_proj.weight": "model-00005-of-00007.safetensors", "model.layers.27.mlp.gate_proj.weight": "model-00005-of-00007.safetensors", "model.layers.27.mlp.up_proj.weight": "model-00005-of-00007.safetensors", "model.layers.27.post_attention_layernorm.weight": "model-00005-of-00007.safetensors", "model.layers.27.self_attn.k_proj.weight": "model-00005-of-00007.safetensors", "model.layers.27.self_attn.o_proj.weight": "model-00005-of-00007.safetensors", "model.layers.27.self_attn.q_proj.weight": "model-00005-of-00007.safetensors", "model.layers.27.self_attn.v_proj.weight": "model-00005-of-00007.safetensors", "model.layers.28.input_layernorm.weight": "model-00006-of-00007.safetensors", "model.layers.28.mlp.down_proj.weight": "model-00006-of-00007.safetensors", "model.layers.28.mlp.gate_proj.weight": "model-00005-of-00007.safetensors", "model.layers.28.mlp.up_proj.weight": "model-00005-of-00007.safetensors", "model.layers.28.post_attention_layernorm.weight": "model-00006-of-00007.safetensors", "model.layers.28.self_attn.k_proj.weight": "model-00005-of-00007.safetensors", "model.layers.28.self_attn.o_proj.weight": "model-00005-of-00007.safetensors", "model.layers.28.self_attn.q_proj.weight": "model-00005-of-00007.safetensors", "model.layers.28.self_attn.v_proj.weight": "model-00005-of-00007.safetensors", "model.layers.29.input_layernorm.weight": "model-00006-of-00007.safetensors", "model.layers.29.mlp.down_proj.weight": "model-00006-of-00007.safetensors", "model.layers.29.mlp.gate_proj.weight": "model-00006-of-00007.safetensors", "model.layers.29.mlp.up_proj.weight": "model-00006-of-00007.safetensors", "model.layers.29.post_attention_layernorm.weight": "model-00006-of-00007.safetensors", "model.layers.29.self_attn.k_proj.weight": "model-00006-of-00007.safetensors", "model.layers.29.self_attn.o_proj.weight": "model-00006-of-00007.safetensors", "model.layers.29.self_attn.q_proj.weight": "model-00006-of-00007.safetensors", "model.layers.29.self_attn.v_proj.weight": "model-00006-of-00007.safetensors", "model.layers.3.input_layernorm.weight": "model-00002-of-00007.safetensors", "model.layers.3.mlp.down_proj.weight": "model-00002-of-00007.safetensors", "model.layers.3.mlp.gate_proj.weight": "model-00001-of-00007.safetensors", "model.layers.3.mlp.up_proj.weight": "model-00002-of-00007.safetensors", "model.layers.3.post_attention_layernorm.weight": "model-00002-of-00007.safetensors", "model.layers.3.self_attn.k_proj.weight": "model-00001-of-00007.safetensors", "model.layers.3.self_attn.o_proj.weight": "model-00001-of-00007.safetensors", "model.layers.3.self_attn.q_proj.weight": "model-00001-of-00007.safetensors", "model.layers.3.self_attn.v_proj.weight": "model-00001-of-00007.safetensors", "model.layers.30.input_layernorm.weight": "model-00006-of-00007.safetensors", "model.layers.30.mlp.down_proj.weight": "model-00006-of-00007.safetensors", "model.layers.30.mlp.gate_proj.weight": "model-00006-of-00007.safetensors", "model.layers.30.mlp.up_proj.weight": "model-00006-of-00007.safetensors", "model.layers.30.post_attention_layernorm.weight": "model-00006-of-00007.safetensors", "model.layers.30.self_attn.k_proj.weight": "model-00006-of-00007.safetensors", "model.layers.30.self_attn.o_proj.weight": "model-00006-of-00007.safetensors", "model.layers.30.self_attn.q_proj.weight": "model-00006-of-00007.safetensors", "model.layers.30.self_attn.v_proj.weight": "model-00006-of-00007.safetensors", "model.layers.31.input_layernorm.weight": "model-00006-of-00007.safetensors", "model.layers.31.mlp.down_proj.weight": "model-00006-of-00007.safetensors", "model.layers.31.mlp.gate_proj.weight": "model-00006-of-00007.safetensors", "model.layers.31.mlp.up_proj.weight": "model-00006-of-00007.safetensors", "model.layers.31.post_attention_layernorm.weight": "model-00006-of-00007.safetensors", "model.layers.31.self_attn.k_proj.weight": "model-00006-of-00007.safetensors", "model.layers.31.self_attn.o_proj.weight": "model-00006-of-00007.safetensors", "model.layers.31.self_attn.q_proj.weight": "model-00006-of-00007.safetensors", "model.layers.31.self_attn.v_proj.weight": "model-00006-of-00007.safetensors", "model.layers.32.input_layernorm.weight": "model-00006-of-00007.safetensors", "model.layers.32.mlp.down_proj.weight": "model-00006-of-00007.safetensors", "model.layers.32.mlp.gate_proj.weight": "model-00006-of-00007.safetensors", "model.layers.32.mlp.up_proj.weight": "model-00006-of-00007.safetensors", "model.layers.32.post_attention_layernorm.weight": "model-00006-of-00007.safetensors", "model.layers.32.self_attn.k_proj.weight": "model-00006-of-00007.safetensors", "model.layers.32.self_attn.o_proj.weight": "model-00006-of-00007.safetensors", "model.layers.32.self_attn.q_proj.weight": "model-00006-of-00007.safetensors", "model.layers.32.self_attn.v_proj.weight": "model-00006-of-00007.safetensors", "model.layers.33.input_layernorm.weight": "model-00006-of-00007.safetensors", "model.layers.33.mlp.down_proj.weight": "model-00006-of-00007.safetensors", "model.layers.33.mlp.gate_proj.weight": "model-00006-of-00007.safetensors", "model.layers.33.mlp.up_proj.weight": "model-00006-of-00007.safetensors", "model.layers.33.post_attention_layernorm.weight": "model-00006-of-00007.safetensors", "model.layers.33.self_attn.k_proj.weight": "model-00006-of-00007.safetensors", "model.layers.33.self_attn.o_proj.weight": "model-00006-of-00007.safetensors", "model.layers.33.self_attn.q_proj.weight": "model-00006-of-00007.safetensors", "model.layers.33.self_attn.v_proj.weight": "model-00006-of-00007.safetensors", "model.layers.34.input_layernorm.weight": "model-00006-of-00007.safetensors", "model.layers.34.mlp.down_proj.weight": "model-00006-of-00007.safetensors", "model.layers.34.mlp.gate_proj.weight": "model-00006-of-00007.safetensors", "model.layers.34.mlp.up_proj.weight": "model-00006-of-00007.safetensors", "model.layers.34.post_attention_layernorm.weight": "model-00006-of-00007.safetensors", "model.layers.34.self_attn.k_proj.weight": "model-00006-of-00007.safetensors", "model.layers.34.self_attn.o_proj.weight": "model-00006-of-00007.safetensors", "model.layers.34.self_attn.q_proj.weight": "model-00006-of-00007.safetensors", "model.layers.34.self_attn.v_proj.weight": "model-00006-of-00007.safetensors", "model.layers.35.input_layernorm.weight": "model-00007-of-00007.safetensors", "model.layers.35.mlp.down_proj.weight": "model-00007-of-00007.safetensors", "model.layers.35.mlp.gate_proj.weight": "model-00007-of-00007.safetensors", "model.layers.35.mlp.up_proj.weight": "model-00007-of-00007.safetensors", "model.layers.35.post_attention_layernorm.weight": "model-00007-of-00007.safetensors", "model.layers.35.self_attn.k_proj.weight": "model-00006-of-00007.safetensors", "model.layers.35.self_attn.o_proj.weight": "model-00006-of-00007.safetensors", "model.layers.35.self_attn.q_proj.weight": "model-00006-of-00007.safetensors", "model.layers.35.self_attn.v_proj.weight": "model-00006-of-00007.safetensors", "model.layers.4.input_layernorm.weight": "model-00002-of-00007.safetensors", "model.layers.4.mlp.down_proj.weight": "model-00002-of-00007.safetensors", "model.layers.4.mlp.gate_proj.weight": "model-00002-of-00007.safetensors", "model.layers.4.mlp.up_proj.weight": "model-00002-of-00007.safetensors", "model.layers.4.post_attention_layernorm.weight": "model-00002-of-00007.safetensors", "model.layers.4.self_attn.k_proj.weight": "model-00002-of-00007.safetensors", "model.layers.4.self_attn.o_proj.weight": "model-00002-of-00007.safetensors", "model.layers.4.self_attn.q_proj.weight": "model-00002-of-00007.safetensors", "model.layers.4.self_attn.v_proj.weight": "model-00002-of-00007.safetensors", "model.layers.5.input_layernorm.weight": "model-00002-of-00007.safetensors", "model.layers.5.mlp.down_proj.weight": "model-00002-of-00007.safetensors", "model.layers.5.mlp.gate_proj.weight": "model-00002-of-00007.safetensors", "model.layers.5.mlp.up_proj.weight": "model-00002-of-00007.safetensors", "model.layers.5.post_attention_layernorm.weight": "model-00002-of-00007.safetensors", "model.layers.5.self_attn.k_proj.weight": "model-00002-of-00007.safetensors", "model.layers.5.self_attn.o_proj.weight": "model-00002-of-00007.safetensors", "model.layers.5.self_attn.q_proj.weight": "model-00002-of-00007.safetensors", "model.layers.5.self_attn.v_proj.weight": "model-00002-of-00007.safetensors", "model.layers.6.input_layernorm.weight": "model-00002-of-00007.safetensors", "model.layers.6.mlp.down_proj.weight": "model-00002-of-00007.safetensors", "model.layers.6.mlp.gate_proj.weight": "model-00002-of-00007.safetensors", "model.layers.6.mlp.up_proj.weight": "model-00002-of-00007.safetensors", "model.layers.6.post_attention_layernorm.weight": "model-00002-of-00007.safetensors", "model.layers.6.self_attn.k_proj.weight": "model-00002-of-00007.safetensors", "model.layers.6.self_attn.o_proj.weight": "model-00002-of-00007.safetensors", "model.layers.6.self_attn.q_proj.weight": "model-00002-of-00007.safetensors", "model.layers.6.self_attn.v_proj.weight": "model-00002-of-00007.safetensors", "model.layers.7.input_layernorm.weight": "model-00002-of-00007.safetensors", "model.layers.7.mlp.down_proj.weight": "model-00002-of-00007.safetensors", "model.layers.7.mlp.gate_proj.weight": "model-00002-of-00007.safetensors", "model.layers.7.mlp.up_proj.weight": "model-00002-of-00007.safetensors", "model.layers.7.post_attention_layernorm.weight": "model-00002-of-00007.safetensors", "model.layers.7.self_attn.k_proj.weight": "model-00002-of-00007.safetensors", "model.layers.7.self_attn.o_proj.weight": "model-00002-of-00007.safetensors", "model.layers.7.self_attn.q_proj.weight": "model-00002-of-00007.safetensors", "model.layers.7.self_attn.v_proj.weight": "model-00002-of-00007.safetensors", "model.layers.8.input_layernorm.weight": "model-00002-of-00007.safetensors", "model.layers.8.mlp.down_proj.weight": "model-00002-of-00007.safetensors", "model.layers.8.mlp.gate_proj.weight": "model-00002-of-00007.safetensors", "model.layers.8.mlp.up_proj.weight": "model-00002-of-00007.safetensors", "model.layers.8.post_attention_layernorm.weight": "model-00002-of-00007.safetensors", "model.layers.8.self_attn.k_proj.weight": "model-00002-of-00007.safetensors", "model.layers.8.self_attn.o_proj.weight": "model-00002-of-00007.safetensors", "model.layers.8.self_attn.q_proj.weight": "model-00002-of-00007.safetensors", "model.layers.8.self_attn.v_proj.weight": "model-00002-of-00007.safetensors", "model.layers.9.input_layernorm.weight": "model-00003-of-00007.safetensors", "model.layers.9.mlp.down_proj.weight": "model-00003-of-00007.safetensors", "model.layers.9.mlp.gate_proj.weight": "model-00002-of-00007.safetensors", "model.layers.9.mlp.up_proj.weight": "model-00002-of-00007.safetensors", "model.layers.9.post_attention_layernorm.weight": "model-00003-of-00007.safetensors", "model.layers.9.self_attn.k_proj.weight": "model-00002-of-00007.safetensors", "model.layers.9.self_attn.o_proj.weight": "model-00002-of-00007.safetensors", "model.layers.9.self_attn.q_proj.weight": "model-00002-of-00007.safetensors", "model.layers.9.self_attn.v_proj.weight": "model-00002-of-00007.safetensors", "model.norm.weight": "model-00007-of-00007.safetensors" }}123456789101112131415161718192021222324{ "bos_token": { "content": "<s>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "eos_token": { "content": "</s>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "pad_token": "</s>", "unk_token": { "content": "<unk>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }}123456789101112131415161718192021222324{ "bos_token": { "content": "<s>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "eos_token": { "content": "</s>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "pad_token": "</s>", "unk_token": { "content": "<unk>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687{%- if messages[0]["role"] == "system" %} {%- set system_message = messages[0]["content"] %} {%- set loop_messages = messages[1:] %}{%- else %} {%- set loop_messages = messages %}{%- endif %}{%- if not tools is defined %} {%- set tools = none %}{%- endif %}{%- set user_messages = loop_messages | selectattr("role", "equalto", "user") | list %}
{#- This block checks for alternating user/assistant messages, skipping tool calling messages #}{%- set ns = namespace() %}{%- set ns.index = 0 %}{%- for message in loop_messages %} {%- if not (message.role == "tool" or message.role == "tool_results" or (message.tool_calls is defined and message.tool_calls is not none)) %} {%- if (message["role"] == "user") != (ns.index % 2 == 0) %} {{- raise_exception("After the optional system message, conversation roles must alternate user/assistant/user/assistant/...") }} {%- endif %} {%- set ns.index = ns.index + 1 %} {%- endif %}{%- endfor %}
{{- bos_token }}{%- for message in loop_messages %} {%- if message["role"] == "user" %} {%- if tools is not none and (message == user_messages[-1]) %} {{- "[AVAILABLE_TOOLS][" }} {%- for tool in tools %} {%- set tool = tool.function %} {{- '{"type": "function", "function": {' }} {%- for key, val in tool.items() if key != "return" %} {%- if val is string %} {{- '"' + key + '": "' + val + '"' }} {%- else %} {{- '"' + key + '": ' + val|tojson }} {%- endif %} {%- if not loop.last %} {{- ", " }} {%- endif %} {%- endfor %} {{- "}}" }} {%- if not loop.last %} {{- ", " }} {%- else %} {{- "]" }} {%- endif %} {%- endfor %} {{- "[/AVAILABLE_TOOLS]" }} {%- endif %} {%- if loop.last and system_message is defined %} {{- "[INST]" + system_message + "\n\n" + message["content"] + "[/INST]" }} {%- else %} {{- "[INST]" + message["content"] + "[/INST]" }} {%- endif %} {%- elif (message.tool_calls is defined and message.tool_calls is not none) %} {{- "[TOOL_CALLS][" }} {%- for tool_call in message.tool_calls %} {%- set out = tool_call.function|tojson %} {{- out[:-1] }} {%- if not tool_call.id is defined or tool_call.id|length != 9 %} {{- raise_exception("Tool call IDs should be alphanumeric strings with length 9!") }} {%- endif %} {{- ', "id": "' + tool_call.id + '"}' }} {%- if not loop.last %} {{- ", " }} {%- else %} {{- "]" + eos_token }} {%- endif %} {%- endfor %} {%- elif message["role"] == "assistant" %} {{- message["content"] + eos_token}} {%- elif message["role"] == "tool_results" or message["role"] == "tool" %} {%- if message.content is defined and message.content.content is defined %} {%- set content = message.content.content %} {%- else %} {%- set content = message.content %} {%- endif %} {{- '[TOOL_RESULTS]{"content": ' + content|string + ", " }} {%- if not message.tool_call_id is defined or message.tool_call_id|length != 9 %} {{- raise_exception("Tool call IDs should be alphanumeric strings with length 9!") }} {%- endif %} {{- '"call_id": "' + message.tool_call_id + '"}[/TOOL_RESULTS]' }} {%- else %} {{- raise_exception("Only user and assistant roles are supported, with the exception of an initial optional system message!") }} {%- endif %}{%- endfor %}1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465{ "architectures": [ "MistralForCausalLM" ], "attention_dropout": 0.0, "bos_token_id": 1, "dtype": "bfloat16", "eos_token_id": 2, "head_dim": 128, "hidden_act": "silu", "hidden_size": 4096, "initializer_range": 0.02, "intermediate_size": 12288, "layer_types": [ "full_attention", "sliding_attention", "sliding_attention", "sliding_attention", "full_attention", "sliding_attention", "sliding_attention", "sliding_attention", "full_attention", "sliding_attention", "sliding_attention", "sliding_attention", "full_attention", "sliding_attention", "sliding_attention", "sliding_attention", "full_attention", "sliding_attention", "sliding_attention", "sliding_attention", "full_attention", "sliding_attention", "sliding_attention", "sliding_attention", "full_attention", "sliding_attention", "sliding_attention", "sliding_attention", "full_attention", "sliding_attention", "sliding_attention", "sliding_attention", "full_attention", "sliding_attention", "sliding_attention", "sliding_attention" ], "max_position_embeddings": 32768, "model_type": "mistral", "num_attention_heads": 32, "num_hidden_layers": 36, "num_key_value_heads": 8, "pad_token_id": 2, "rms_norm_eps": 1e-05, "rope_theta": 100000000.0, "sliding_window": 32768, "tie_word_embeddings": false, "transformers_version": "4.56.0", "use_cache": true, "vocab_size": 131072}123456{ "_from_model_config": true, "bos_token_id": 1, "eos_token_id": 2, "transformers_version": "4.56.0"}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687{%- if messages[0]["role"] == "system" %} {%- set system_message = messages[0]["content"] %} {%- set loop_messages = messages[1:] %}{%- else %} {%- set loop_messages = messages %}{%- endif %}{%- if not tools is defined %} {%- set tools = none %}{%- endif %}{%- set user_messages = loop_messages | selectattr("role", "equalto", "user") | list %}
{#- This block checks for alternating user/assistant messages, skipping tool calling messages #}{%- set ns = namespace() %}{%- set ns.index = 0 %}{%- for message in loop_messages %} {%- if not (message.role == "tool" or message.role == "tool_results" or (message.tool_calls is defined and message.tool_calls is not none)) %} {%- if (message["role"] == "user") != (ns.index % 2 == 0) %} {{- raise_exception("After the optional system message, conversation roles must alternate user/assistant/user/assistant/...") }} {%- endif %} {%- set ns.index = ns.index + 1 %} {%- endif %}{%- endfor %}
{{- bos_token }}{%- for message in loop_messages %} {%- if message["role"] == "user" %} {%- if tools is not none and (message == user_messages[-1]) %} {{- "[AVAILABLE_TOOLS][" }} {%- for tool in tools %} {%- set tool = tool.function %} {{- '{"type": "function", "function": {' }} {%- for key, val in tool.items() if key != "return" %} {%- if val is string %} {{- '"' + key + '": "' + val + '"' }} {%- else %} {{- '"' + key + '": ' + val|tojson }} {%- endif %} {%- if not loop.last %} {{- ", " }} {%- endif %} {%- endfor %} {{- "}}" }} {%- if not loop.last %} {{- ", " }} {%- else %} {{- "]" }} {%- endif %} {%- endfor %} {{- "[/AVAILABLE_TOOLS]" }} {%- endif %} {%- if loop.last and system_message is defined %} {{- "[INST]" + system_message + "\n\n" + message["content"] + "[/INST]" }} {%- else %} {{- "[INST]" + message["content"] + "[/INST]" }} {%- endif %} {%- elif (message.tool_calls is defined and message.tool_calls is not none) %} {{- "[TOOL_CALLS][" }} {%- for tool_call in message.tool_calls %} {%- set out = tool_call.function|tojson %} {{- out[:-1] }} {%- if not tool_call.id is defined or tool_call.id|length != 9 %} {{- raise_exception("Tool call IDs should be alphanumeric strings with length 9!") }} {%- endif %} {{- ', "id": "' + tool_call.id + '"}' }} {%- if not loop.last %} {{- ", " }} {%- else %} {{- "]" + eos_token }} {%- endif %} {%- endfor %} {%- elif message["role"] == "assistant" %} {{- message["content"] + eos_token}} {%- elif message["role"] == "tool_results" or message["role"] == "tool" %} {%- if message.content is defined and message.content.content is defined %} {%- set content = message.content.content %} {%- else %} {%- set content = message.content %} {%- endif %} {{- '[TOOL_RESULTS]{"content": ' + content|string + ", " }} {%- if not message.tool_call_id is defined or message.tool_call_id|length != 9 %} {{- raise_exception("Tool call IDs should be alphanumeric strings with length 9!") }} {%- endif %} {{- '"call_id": "' + message.tool_call_id + '"}[/TOOL_RESULTS]' }} {%- else %} {{- raise_exception("Only user and assistant roles are supported, with the exception of an initial optional system message!") }} {%- endif %}{%- endfor %}1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465{ "architectures": [ "MistralForCausalLM" ], "attention_dropout": 0.0, "bos_token_id": 1, "dtype": "bfloat16", "eos_token_id": 2, "head_dim": 128, "hidden_act": "silu", "hidden_size": 4096, "initializer_range": 0.02, "intermediate_size": 12288, "layer_types": [ "full_attention", "sliding_attention", "sliding_attention", "sliding_attention", "full_attention", "sliding_attention", "sliding_attention", "sliding_attention", "full_attention", "sliding_attention", "sliding_attention", "sliding_attention", "full_attention", "sliding_attention", "sliding_attention", "sliding_attention", "full_attention", "sliding_attention", "sliding_attention", "sliding_attention", "full_attention", "sliding_attention", "sliding_attention", "sliding_attention", "full_attention", "sliding_attention", "sliding_attention", "sliding_attention", "full_attention", "sliding_attention", "sliding_attention", "sliding_attention", "full_attention", "sliding_attention", "sliding_attention", "sliding_attention" ], "max_position_embeddings": 32768, "model_type": "mistral", "num_attention_heads": 32, "num_hidden_layers": 36, "num_key_value_heads": 8, "pad_token_id": 2, "rms_norm_eps": 1e-05, "rope_theta": 100000000.0, "sliding_window": 32768, "tie_word_embeddings": false, "transformers_version": "4.56.0", "use_cache": true, "vocab_size": 131072}123456{ "_from_model_config": true, "bos_token_id": 1, "eos_token_id": 2, "transformers_version": "4.56.0"}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335{ "metadata": { "total_parameters": 8019808256, "total_size": 32079233024 }, "weight_map": { "lm_head.weight": "model-00007-of-00007.safetensors", "model.embed_tokens.weight": "model-00001-of-00007.safetensors", "model.layers.0.input_layernorm.weight": "model-00001-of-00007.safetensors", "model.layers.0.mlp.down_proj.weight": "model-00001-of-00007.safetensors", "model.layers.0.mlp.gate_proj.weight": "model-00001-of-00007.safetensors", "model.layers.0.mlp.up_proj.weight": "model-00001-of-00007.safetensors", "model.layers.0.post_attention_layernorm.weight": "model-00001-of-00007.safetensors", "model.layers.0.self_attn.k_proj.weight": "model-00001-of-00007.safetensors", "model.layers.0.self_attn.o_proj.weight": "model-00001-of-00007.safetensors", "model.layers.0.self_attn.q_proj.weight": "model-00001-of-00007.safetensors", "model.layers.0.self_attn.v_proj.weight": "model-00001-of-00007.safetensors", "model.layers.1.input_layernorm.weight": "model-00001-of-00007.safetensors", "model.layers.1.mlp.down_proj.weight": "model-00001-of-00007.safetensors", "model.layers.1.mlp.gate_proj.weight": "model-00001-of-00007.safetensors", "model.layers.1.mlp.up_proj.weight": "model-00001-of-00007.safetensors", "model.layers.1.post_attention_layernorm.weight": "model-00001-of-00007.safetensors", "model.layers.1.self_attn.k_proj.weight": "model-00001-of-00007.safetensors", "model.layers.1.self_attn.o_proj.weight": "model-00001-of-00007.safetensors", "model.layers.1.self_attn.q_proj.weight": "model-00001-of-00007.safetensors", "model.layers.1.self_attn.v_proj.weight": "model-00001-of-00007.safetensors", "model.layers.10.input_layernorm.weight": "model-00003-of-00007.safetensors", "model.layers.10.mlp.down_proj.weight": "model-00003-of-00007.safetensors", "model.layers.10.mlp.gate_proj.weight": "model-00003-of-00007.safetensors", "model.layers.10.mlp.up_proj.weight": "model-00003-of-00007.safetensors", "model.layers.10.post_attention_layernorm.weight": "model-00003-of-00007.safetensors", "model.layers.10.self_attn.k_proj.weight": "model-00003-of-00007.safetensors", "model.layers.10.self_attn.o_proj.weight": "model-00003-of-00007.safetensors", "model.layers.10.self_attn.q_proj.weight": "model-00003-of-00007.safetensors", "model.layers.10.self_attn.v_proj.weight": "model-00003-of-00007.safetensors", "model.layers.11.input_layernorm.weight": "model-00003-of-00007.safetensors", "model.layers.11.mlp.down_proj.weight": "model-00003-of-00007.safetensors", "model.layers.11.mlp.gate_proj.weight": "model-00003-of-00007.safetensors", "model.layers.11.mlp.up_proj.weight": "model-00003-of-00007.safetensors", "model.layers.11.post_attention_layernorm.weight": "model-00003-of-00007.safetensors", "model.layers.11.self_attn.k_proj.weight": "model-00003-of-00007.safetensors", "model.layers.11.self_attn.o_proj.weight": "model-00003-of-00007.safetensors", "model.layers.11.self_attn.q_proj.weight": "model-00003-of-00007.safetensors", "model.layers.11.self_attn.v_proj.weight": "model-00003-of-00007.safetensors", "model.layers.12.input_layernorm.weight": "model-00003-of-00007.safetensors", "model.layers.12.mlp.down_proj.weight": "model-00003-of-00007.safetensors", "model.layers.12.mlp.gate_proj.weight": "model-00003-of-00007.safetensors", "model.layers.12.mlp.up_proj.weight": "model-00003-of-00007.safetensors", "model.layers.12.post_attention_layernorm.weight": "model-00003-of-00007.safetensors", "model.layers.12.self_attn.k_proj.weight": "model-00003-of-00007.safetensors", "model.layers.12.self_attn.o_proj.weight": "model-00003-of-00007.safetensors", "model.layers.12.self_attn.q_proj.weight": "model-00003-of-00007.safetensors", "model.layers.12.self_attn.v_proj.weight": "model-00003-of-00007.safetensors", "model.layers.13.input_layernorm.weight": "model-00003-of-00007.safetensors", "model.layers.13.mlp.down_proj.weight": "model-00003-of-00007.safetensors", "model.layers.13.mlp.gate_proj.weight": "model-00003-of-00007.safetensors", "model.layers.13.mlp.up_proj.weight": "model-00003-of-00007.safetensors", "model.layers.13.post_attention_layernorm.weight": "model-00003-of-00007.safetensors", "model.layers.13.self_attn.k_proj.weight": "model-00003-of-00007.safetensors", "model.layers.13.self_attn.o_proj.weight": "model-00003-of-00007.safetensors", "model.layers.13.self_attn.q_proj.weight": "model-00003-of-00007.safetensors", "model.layers.13.self_attn.v_proj.weight": "model-00003-of-00007.safetensors", "model.layers.14.input_layernorm.weight": "model-00003-of-00007.safetensors", "model.layers.14.mlp.down_proj.weight": "model-00003-of-00007.safetensors", "model.layers.14.mlp.gate_proj.weight": "model-00003-of-00007.safetensors", "model.layers.14.mlp.up_proj.weight": "model-00003-of-00007.safetensors", "model.layers.14.post_attention_layernorm.weight": "model-00003-of-00007.safetensors", "model.layers.14.self_attn.k_proj.weight": "model-00003-of-00007.safetensors", "model.layers.14.self_attn.o_proj.weight": "model-00003-of-00007.safetensors", "model.layers.14.self_attn.q_proj.weight": "model-00003-of-00007.safetensors", "model.layers.14.self_attn.v_proj.weight": "model-00003-of-00007.safetensors", "model.layers.15.input_layernorm.weight": "model-00003-of-00007.safetensors", "model.layers.15.mlp.down_proj.weight": "model-00003-of-00007.safetensors", "model.layers.15.mlp.gate_proj.weight": "model-00003-of-00007.safetensors", "model.layers.15.mlp.up_proj.weight": "model-00003-of-00007.safetensors", "model.layers.15.post_attention_layernorm.weight": "model-00003-of-00007.safetensors", "model.layers.15.self_attn.k_proj.weight": "model-00003-of-00007.safetensors", "model.layers.15.self_attn.o_proj.weight": "model-00003-of-00007.safetensors", "model.layers.15.self_attn.q_proj.weight": "model-00003-of-00007.safetensors", "model.layers.15.self_attn.v_proj.weight": "model-00003-of-00007.safetensors", "model.layers.16.input_layernorm.weight": "model-00004-of-00007.safetensors", "model.layers.16.mlp.down_proj.weight": "model-00004-of-00007.safetensors", "model.layers.16.mlp.gate_proj.weight": "model-00004-of-00007.safetensors", "model.layers.16.mlp.up_proj.weight": "model-00004-of-00007.safetensors", "model.layers.16.post_attention_layernorm.weight": "model-00004-of-00007.safetensors", "model.layers.16.self_attn.k_proj.weight": "model-00003-of-00007.safetensors", "model.layers.16.self_attn.o_proj.weight": "model-00003-of-00007.safetensors", "model.layers.16.self_attn.q_proj.weight": "model-00003-of-00007.safetensors", "model.layers.16.self_attn.v_proj.weight": "model-00003-of-00007.safetensors", "model.layers.17.input_layernorm.weight": "model-00004-of-00007.safetensors", "model.layers.17.mlp.down_proj.weight": "model-00004-of-00007.safetensors", "model.layers.17.mlp.gate_proj.weight": "model-00004-of-00007.safetensors", "model.layers.17.mlp.up_proj.weight": "model-00004-of-00007.safetensors", "model.layers.17.post_attention_layernorm.weight": "model-00004-of-00007.safetensors", "model.layers.17.self_attn.k_proj.weight": "model-00004-of-00007.safetensors", "model.layers.17.self_attn.o_proj.weight": "model-00004-of-00007.safetensors", "model.layers.17.self_attn.q_proj.weight": "model-00004-of-00007.safetensors", "model.layers.17.self_attn.v_proj.weight": "model-00004-of-00007.safetensors", "model.layers.18.input_layernorm.weight": "model-00004-of-00007.safetensors", "model.layers.18.mlp.down_proj.weight": "model-00004-of-00007.safetensors", "model.layers.18.mlp.gate_proj.weight": "model-00004-of-00007.safetensors", "model.layers.18.mlp.up_proj.weight": "model-00004-of-00007.safetensors", "model.layers.18.post_attention_layernorm.weight": "model-00004-of-00007.safetensors", "model.layers.18.self_attn.k_proj.weight": "model-00004-of-00007.safetensors", "model.layers.18.self_attn.o_proj.weight": "model-00004-of-00007.safetensors", "model.layers.18.self_attn.q_proj.weight": "model-00004-of-00007.safetensors", "model.layers.18.self_attn.v_proj.weight": "model-00004-of-00007.safetensors", "model.layers.19.input_layernorm.weight": "model-00004-of-00007.safetensors", "model.layers.19.mlp.down_proj.weight": "model-00004-of-00007.safetensors", "model.layers.19.mlp.gate_proj.weight": "model-00004-of-00007.safetensors", "model.layers.19.mlp.up_proj.weight": "model-00004-of-00007.safetensors", "model.layers.19.post_attention_layernorm.weight": "model-00004-of-00007.safetensors", "model.layers.19.self_attn.k_proj.weight": "model-00004-of-00007.safetensors", "model.layers.19.self_attn.o_proj.weight": "model-00004-of-00007.safetensors", "model.layers.19.self_attn.q_proj.weight": "model-00004-of-00007.safetensors", "model.layers.19.self_attn.v_proj.weight": "model-00004-of-00007.safetensors", "model.layers.2.input_layernorm.weight": "model-00001-of-00007.safetensors", "model.layers.2.mlp.down_proj.weight": "model-00001-of-00007.safetensors", "model.layers.2.mlp.gate_proj.weight": "model-00001-of-00007.safetensors", "model.layers.2.mlp.up_proj.weight": "model-00001-of-00007.safetensors", "model.layers.2.post_attention_layernorm.weight": "model-00001-of-00007.safetensors", "model.layers.2.self_attn.k_proj.weight": "model-00001-of-00007.safetensors", "model.layers.2.self_attn.o_proj.weight": "model-00001-of-00007.safetensors", "model.layers.2.self_attn.q_proj.weight": "model-00001-of-00007.safetensors", "model.layers.2.self_attn.v_proj.weight": "model-00001-of-00007.safetensors", "model.layers.20.input_layernorm.weight": "model-00004-of-00007.safetensors", "model.layers.20.mlp.down_proj.weight": "model-00004-of-00007.safetensors", "model.layers.20.mlp.gate_proj.weight": "model-00004-of-00007.safetensors", "model.layers.20.mlp.up_proj.weight": "model-00004-of-00007.safetensors", "model.layers.20.post_attention_layernorm.weight": "model-00004-of-00007.safetensors", "model.layers.20.self_attn.k_proj.weight": "model-00004-of-00007.safetensors", "model.layers.20.self_attn.o_proj.weight": "model-00004-of-00007.safetensors", "model.layers.20.self_attn.q_proj.weight": "model-00004-of-00007.safetensors", "model.layers.20.self_attn.v_proj.weight": "model-00004-of-00007.safetensors", "model.layers.21.input_layernorm.weight": "model-00004-of-00007.safetensors", "model.layers.21.mlp.down_proj.weight": "model-00004-of-00007.safetensors", "model.layers.21.mlp.gate_proj.weight": "model-00004-of-00007.safetensors", "model.layers.21.mlp.up_proj.weight": "model-00004-of-00007.safetensors", "model.layers.21.post_attention_layernorm.weight": "model-00004-of-00007.safetensors", "model.layers.21.self_attn.k_proj.weight": "model-00004-of-00007.safetensors", "model.layers.21.self_attn.o_proj.weight": "model-00004-of-00007.safetensors", "model.layers.21.self_attn.q_proj.weight": "model-00004-of-00007.safetensors", "model.layers.21.self_attn.v_proj.weight": "model-00004-of-00007.safetensors", "model.layers.22.input_layernorm.weight": "model-00005-of-00007.safetensors", "model.layers.22.mlp.down_proj.weight": "model-00005-of-00007.safetensors", "model.layers.22.mlp.gate_proj.weight": "model-00004-of-00007.safetensors", "model.layers.22.mlp.up_proj.weight": "model-00005-of-00007.safetensors", "model.layers.22.post_attention_layernorm.weight": "model-00005-of-00007.safetensors", "model.layers.22.self_attn.k_proj.weight": "model-00004-of-00007.safetensors", "model.layers.22.self_attn.o_proj.weight": "model-00004-of-00007.safetensors", "model.layers.22.self_attn.q_proj.weight": "model-00004-of-00007.safetensors", "model.layers.22.self_attn.v_proj.weight": "model-00004-of-00007.safetensors", "model.layers.23.input_layernorm.weight": "model-00005-of-00007.safetensors", "model.layers.23.mlp.down_proj.weight": "model-00005-of-00007.safetensors", "model.layers.23.mlp.gate_proj.weight": "model-00005-of-00007.safetensors", "model.layers.23.mlp.up_proj.weight": "model-00005-of-00007.safetensors", "model.layers.23.post_attention_layernorm.weight": "model-00005-of-00007.safetensors", "model.layers.23.self_attn.k_proj.weight": "model-00005-of-00007.safetensors", "model.layers.23.self_attn.o_proj.weight": "model-00005-of-00007.safetensors", "model.layers.23.self_attn.q_proj.weight": "model-00005-of-00007.safetensors", "model.layers.23.self_attn.v_proj.weight": "model-00005-of-00007.safetensors", "model.layers.24.input_layernorm.weight": "model-00005-of-00007.safetensors", "model.layers.24.mlp.down_proj.weight": "model-00005-of-00007.safetensors", "model.layers.24.mlp.gate_proj.weight": "model-00005-of-00007.safetensors", "model.layers.24.mlp.up_proj.weight": "model-00005-of-00007.safetensors", "model.layers.24.post_attention_layernorm.weight": "model-00005-of-00007.safetensors", "model.layers.24.self_attn.k_proj.weight": "model-00005-of-00007.safetensors", "model.layers.24.self_attn.o_proj.weight": "model-00005-of-00007.safetensors", "model.layers.24.self_attn.q_proj.weight": "model-00005-of-00007.safetensors", "model.layers.24.self_attn.v_proj.weight": "model-00005-of-00007.safetensors", "model.layers.25.input_layernorm.weight": "model-00005-of-00007.safetensors", "model.layers.25.mlp.down_proj.weight": "model-00005-of-00007.safetensors", "model.layers.25.mlp.gate_proj.weight": "model-00005-of-00007.safetensors", "model.layers.25.mlp.up_proj.weight": "model-00005-of-00007.safetensors", "model.layers.25.post_attention_layernorm.weight": "model-00005-of-00007.safetensors", "model.layers.25.self_attn.k_proj.weight": "model-00005-of-00007.safetensors", "model.layers.25.self_attn.o_proj.weight": "model-00005-of-00007.safetensors", "model.layers.25.self_attn.q_proj.weight": "model-00005-of-00007.safetensors", "model.layers.25.self_attn.v_proj.weight": "model-00005-of-00007.safetensors", "model.layers.26.input_layernorm.weight": "model-00005-of-00007.safetensors", "model.layers.26.mlp.down_proj.weight": "model-00005-of-00007.safetensors", "model.layers.26.mlp.gate_proj.weight": "model-00005-of-00007.safetensors", "model.layers.26.mlp.up_proj.weight": "model-00005-of-00007.safetensors", "model.layers.26.post_attention_layernorm.weight": "model-00005-of-00007.safetensors", "model.layers.26.self_attn.k_proj.weight": "model-00005-of-00007.safetensors", "model.layers.26.self_attn.o_proj.weight": "model-00005-of-00007.safetensors", "model.layers.26.self_attn.q_proj.weight": "model-00005-of-00007.safetensors", "model.layers.26.self_attn.v_proj.weight": "model-00005-of-00007.safetensors", "model.layers.27.input_layernorm.weight": "model-00005-of-00007.safetensors", "model.layers.27.mlp.down_proj.weight": "model-00005-of-00007.safetensors", "model.layers.27.mlp.gate_proj.weight": "model-00005-of-00007.safetensors", "model.layers.27.mlp.up_proj.weight": "model-00005-of-00007.safetensors", "model.layers.27.post_attention_layernorm.weight": "model-00005-of-00007.safetensors", "model.layers.27.self_attn.k_proj.weight": "model-00005-of-00007.safetensors", "model.layers.27.self_attn.o_proj.weight": "model-00005-of-00007.safetensors", "model.layers.27.self_attn.q_proj.weight": "model-00005-of-00007.safetensors", "model.layers.27.self_attn.v_proj.weight": "model-00005-of-00007.safetensors", "model.layers.28.input_layernorm.weight": "model-00006-of-00007.safetensors", "model.layers.28.mlp.down_proj.weight": "model-00006-of-00007.safetensors", "model.layers.28.mlp.gate_proj.weight": "model-00005-of-00007.safetensors", "model.layers.28.mlp.up_proj.weight": "model-00005-of-00007.safetensors", "model.layers.28.post_attention_layernorm.weight": "model-00006-of-00007.safetensors", "model.layers.28.self_attn.k_proj.weight": "model-00005-of-00007.safetensors", "model.layers.28.self_attn.o_proj.weight": "model-00005-of-00007.safetensors", "model.layers.28.self_attn.q_proj.weight": "model-00005-of-00007.safetensors", "model.layers.28.self_attn.v_proj.weight": "model-00005-of-00007.safetensors", "model.layers.29.input_layernorm.weight": "model-00006-of-00007.safetensors", "model.layers.29.mlp.down_proj.weight": "model-00006-of-00007.safetensors", "model.layers.29.mlp.gate_proj.weight": "model-00006-of-00007.safetensors", "model.layers.29.mlp.up_proj.weight": "model-00006-of-00007.safetensors", "model.layers.29.post_attention_layernorm.weight": "model-00006-of-00007.safetensors", "model.layers.29.self_attn.k_proj.weight": "model-00006-of-00007.safetensors", "model.layers.29.self_attn.o_proj.weight": "model-00006-of-00007.safetensors", "model.layers.29.self_attn.q_proj.weight": "model-00006-of-00007.safetensors", "model.layers.29.self_attn.v_proj.weight": "model-00006-of-00007.safetensors", "model.layers.3.input_layernorm.weight": "model-00002-of-00007.safetensors", "model.layers.3.mlp.down_proj.weight": "model-00002-of-00007.safetensors", "model.layers.3.mlp.gate_proj.weight": "model-00001-of-00007.safetensors", "model.layers.3.mlp.up_proj.weight": "model-00002-of-00007.safetensors", "model.layers.3.post_attention_layernorm.weight": "model-00002-of-00007.safetensors", "model.layers.3.self_attn.k_proj.weight": "model-00001-of-00007.safetensors", "model.layers.3.self_attn.o_proj.weight": "model-00001-of-00007.safetensors", "model.layers.3.self_attn.q_proj.weight": "model-00001-of-00007.safetensors", "model.layers.3.self_attn.v_proj.weight": "model-00001-of-00007.safetensors", "model.layers.30.input_layernorm.weight": "model-00006-of-00007.safetensors", "model.layers.30.mlp.down_proj.weight": "model-00006-of-00007.safetensors", "model.layers.30.mlp.gate_proj.weight": "model-00006-of-00007.safetensors", "model.layers.30.mlp.up_proj.weight": "model-00006-of-00007.safetensors", "model.layers.30.post_attention_layernorm.weight": "model-00006-of-00007.safetensors", "model.layers.30.self_attn.k_proj.weight": "model-00006-of-00007.safetensors", "model.layers.30.self_attn.o_proj.weight": "model-00006-of-00007.safetensors", "model.layers.30.self_attn.q_proj.weight": "model-00006-of-00007.safetensors", "model.layers.30.self_attn.v_proj.weight": "model-00006-of-00007.safetensors", "model.layers.31.input_layernorm.weight": "model-00006-of-00007.safetensors", "model.layers.31.mlp.down_proj.weight": "model-00006-of-00007.safetensors", "model.layers.31.mlp.gate_proj.weight": "model-00006-of-00007.safetensors", "model.layers.31.mlp.up_proj.weight": "model-00006-of-00007.safetensors", "model.layers.31.post_attention_layernorm.weight": "model-00006-of-00007.safetensors", "model.layers.31.self_attn.k_proj.weight": "model-00006-of-00007.safetensors", "model.layers.31.self_attn.o_proj.weight": "model-00006-of-00007.safetensors", "model.layers.31.self_attn.q_proj.weight": "model-00006-of-00007.safetensors", "model.layers.31.self_attn.v_proj.weight": "model-00006-of-00007.safetensors", "model.layers.32.input_layernorm.weight": "model-00006-of-00007.safetensors", "model.layers.32.mlp.down_proj.weight": "model-00006-of-00007.safetensors", "model.layers.32.mlp.gate_proj.weight": "model-00006-of-00007.safetensors", "model.layers.32.mlp.up_proj.weight": "model-00006-of-00007.safetensors", "model.layers.32.post_attention_layernorm.weight": "model-00006-of-00007.safetensors", "model.layers.32.self_attn.k_proj.weight": "model-00006-of-00007.safetensors", "model.layers.32.self_attn.o_proj.weight": "model-00006-of-00007.safetensors", "model.layers.32.self_attn.q_proj.weight": "model-00006-of-00007.safetensors", "model.layers.32.self_attn.v_proj.weight": "model-00006-of-00007.safetensors", "model.layers.33.input_layernorm.weight": "model-00006-of-00007.safetensors", "model.layers.33.mlp.down_proj.weight": "model-00006-of-00007.safetensors", "model.layers.33.mlp.gate_proj.weight": "model-00006-of-00007.safetensors", "model.layers.33.mlp.up_proj.weight": "model-00006-of-00007.safetensors", "model.layers.33.post_attention_layernorm.weight": "model-00006-of-00007.safetensors", "model.layers.33.self_attn.k_proj.weight": "model-00006-of-00007.safetensors", "model.layers.33.self_attn.o_proj.weight": "model-00006-of-00007.safetensors", "model.layers.33.self_attn.q_proj.weight": "model-00006-of-00007.safetensors", "model.layers.33.self_attn.v_proj.weight": "model-00006-of-00007.safetensors", "model.layers.34.input_layernorm.weight": "model-00006-of-00007.safetensors", "model.layers.34.mlp.down_proj.weight": "model-00006-of-00007.safetensors", "model.layers.34.mlp.gate_proj.weight": "model-00006-of-00007.safetensors", "model.layers.34.mlp.up_proj.weight": "model-00006-of-00007.safetensors", "model.layers.34.post_attention_layernorm.weight": "model-00006-of-00007.safetensors", "model.layers.34.self_attn.k_proj.weight": "model-00006-of-00007.safetensors", "model.layers.34.self_attn.o_proj.weight": "model-00006-of-00007.safetensors", "model.layers.34.self_attn.q_proj.weight": "model-00006-of-00007.safetensors", "model.layers.34.self_attn.v_proj.weight": "model-00006-of-00007.safetensors", "model.layers.35.input_layernorm.weight": "model-00007-of-00007.safetensors", "model.layers.35.mlp.down_proj.weight": "model-00007-of-00007.safetensors", "model.layers.35.mlp.gate_proj.weight": "model-00007-of-00007.safetensors", "model.layers.35.mlp.up_proj.weight": "model-00007-of-00007.safetensors", "model.layers.35.post_attention_layernorm.weight": "model-00007-of-00007.safetensors", "model.layers.35.self_attn.k_proj.weight": "model-00006-of-00007.safetensors", "model.layers.35.self_attn.o_proj.weight": "model-00006-of-00007.safetensors", "model.layers.35.self_attn.q_proj.weight": "model-00006-of-00007.safetensors", "model.layers.35.self_attn.v_proj.weight": "model-00006-of-00007.safetensors", "model.layers.4.input_layernorm.weight": "model-00002-of-00007.safetensors", "model.layers.4.mlp.down_proj.weight": "model-00002-of-00007.safetensors", "model.layers.4.mlp.gate_proj.weight": "model-00002-of-00007.safetensors", "model.layers.4.mlp.up_proj.weight": "model-00002-of-00007.safetensors", "model.layers.4.post_attention_layernorm.weight": "model-00002-of-00007.safetensors", "model.layers.4.self_attn.k_proj.weight": "model-00002-of-00007.safetensors", "model.layers.4.self_attn.o_proj.weight": "model-00002-of-00007.safetensors", "model.layers.4.self_attn.q_proj.weight": "model-00002-of-00007.safetensors", "model.layers.4.self_attn.v_proj.weight": "model-00002-of-00007.safetensors", "model.layers.5.input_layernorm.weight": "model-00002-of-00007.safetensors", "model.layers.5.mlp.down_proj.weight": "model-00002-of-00007.safetensors", "model.layers.5.mlp.gate_proj.weight": "model-00002-of-00007.safetensors", "model.layers.5.mlp.up_proj.weight": "model-00002-of-00007.safetensors", "model.layers.5.post_attention_layernorm.weight": "model-00002-of-00007.safetensors", "model.layers.5.self_attn.k_proj.weight": "model-00002-of-00007.safetensors", "model.layers.5.self_attn.o_proj.weight": "model-00002-of-00007.safetensors", "model.layers.5.self_attn.q_proj.weight": "model-00002-of-00007.safetensors", "model.layers.5.self_attn.v_proj.weight": "model-00002-of-00007.safetensors", "model.layers.6.input_layernorm.weight": "model-00002-of-00007.safetensors", "model.layers.6.mlp.down_proj.weight": "model-00002-of-00007.safetensors", "model.layers.6.mlp.gate_proj.weight": "model-00002-of-00007.safetensors", "model.layers.6.mlp.up_proj.weight": "model-00002-of-00007.safetensors", "model.layers.6.post_attention_layernorm.weight": "model-00002-of-00007.safetensors", "model.layers.6.self_attn.k_proj.weight": "model-00002-of-00007.safetensors", "model.layers.6.self_attn.o_proj.weight": "model-00002-of-00007.safetensors", "model.layers.6.self_attn.q_proj.weight": "model-00002-of-00007.safetensors", "model.layers.6.self_attn.v_proj.weight": "model-00002-of-00007.safetensors", "model.layers.7.input_layernorm.weight": "model-00002-of-00007.safetensors", "model.layers.7.mlp.down_proj.weight": "model-00002-of-00007.safetensors", "model.layers.7.mlp.gate_proj.weight": "model-00002-of-00007.safetensors", "model.layers.7.mlp.up_proj.weight": "model-00002-of-00007.safetensors", "model.layers.7.post_attention_layernorm.weight": "model-00002-of-00007.safetensors", "model.layers.7.self_attn.k_proj.weight": "model-00002-of-00007.safetensors", "model.layers.7.self_attn.o_proj.weight": "model-00002-of-00007.safetensors", "model.layers.7.self_attn.q_proj.weight": "model-00002-of-00007.safetensors", "model.layers.7.self_attn.v_proj.weight": "model-00002-of-00007.safetensors", "model.layers.8.input_layernorm.weight": "model-00002-of-00007.safetensors", "model.layers.8.mlp.down_proj.weight": "model-00002-of-00007.safetensors", "model.layers.8.mlp.gate_proj.weight": "model-00002-of-00007.safetensors", "model.layers.8.mlp.up_proj.weight": "model-00002-of-00007.safetensors", "model.layers.8.post_attention_layernorm.weight": "model-00002-of-00007.safetensors", "model.layers.8.self_attn.k_proj.weight": "model-00002-of-00007.safetensors", "model.layers.8.self_attn.o_proj.weight": "model-00002-of-00007.safetensors", "model.layers.8.self_attn.q_proj.weight": "model-00002-of-00007.safetensors", "model.layers.8.self_attn.v_proj.weight": "model-00002-of-00007.safetensors", "model.layers.9.input_layernorm.weight": "model-00003-of-00007.safetensors", "model.layers.9.mlp.down_proj.weight": "model-00003-of-00007.safetensors", "model.layers.9.mlp.gate_proj.weight": "model-00002-of-00007.safetensors", "model.layers.9.mlp.up_proj.weight": "model-00002-of-00007.safetensors", "model.layers.9.post_attention_layernorm.weight": "model-00003-of-00007.safetensors", "model.layers.9.self_attn.k_proj.weight": "model-00002-of-00007.safetensors", "model.layers.9.self_attn.o_proj.weight": "model-00002-of-00007.safetensors", "model.layers.9.self_attn.q_proj.weight": "model-00002-of-00007.safetensors", "model.layers.9.self_attn.v_proj.weight": "model-00002-of-00007.safetensors", "model.norm.weight": "model-00007-of-00007.safetensors" }}123456789101112131415161718192021222324{ "bos_token": { "content": "<s>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "eos_token": { "content": "</s>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "pad_token": "</s>", "unk_token": { "content": "<unk>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }}123456789101112131415161718192021222324{ "bos_token": { "content": "<s>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "eos_token": { "content": "</s>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "pad_token": "</s>", "unk_token": { "content": "<unk>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }}1402148aoplu9123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687{%- if messages[0]["role"] == "system" %} {%- set system_message = messages[0]["content"] %} {%- set loop_messages = messages[1:] %}{%- else %} {%- set loop_messages = messages %}{%- endif %}{%- if not tools is defined %} {%- set tools = none %}{%- endif %}{%- set user_messages = loop_messages | selectattr("role", "equalto", "user") | list %}
{#- This block checks for alternating user/assistant messages, skipping tool calling messages #}{%- set ns = namespace() %}{%- set ns.index = 0 %}{%- for message in loop_messages %} {%- if not (message.role == "tool" or message.role == "tool_results" or (message.tool_calls is defined and message.tool_calls is not none)) %} {%- if (message["role"] == "user") != (ns.index % 2 == 0) %} {{- raise_exception("After the optional system message, conversation roles must alternate user/assistant/user/assistant/...") }} {%- endif %} {%- set ns.index = ns.index + 1 %} {%- endif %}{%- endfor %}
{{- bos_token }}{%- for message in loop_messages %} {%- if message["role"] == "user" %} {%- if tools is not none and (message == user_messages[-1]) %} {{- "[AVAILABLE_TOOLS][" }} {%- for tool in tools %} {%- set tool = tool.function %} {{- '{"type": "function", "function": {' }} {%- for key, val in tool.items() if key != "return" %} {%- if val is string %} {{- '"' + key + '": "' + val + '"' }} {%- else %} {{- '"' + key + '": ' + val|tojson }} {%- endif %} {%- if not loop.last %} {{- ", " }} {%- endif %} {%- endfor %} {{- "}}" }} {%- if not loop.last %} {{- ", " }} {%- else %} {{- "]" }} {%- endif %} {%- endfor %} {{- "[/AVAILABLE_TOOLS]" }} {%- endif %} {%- if loop.last and system_message is defined %} {{- "[INST]" + system_message + "\n\n" + message["content"] + "[/INST]" }} {%- else %} {{- "[INST]" + message["content"] + "[/INST]" }} {%- endif %} {%- elif (message.tool_calls is defined and message.tool_calls is not none) %} {{- "[TOOL_CALLS][" }} {%- for tool_call in message.tool_calls %} {%- set out = tool_call.function|tojson %} {{- out[:-1] }} {%- if not tool_call.id is defined or tool_call.id|length != 9 %} {{- raise_exception("Tool call IDs should be alphanumeric strings with length 9!") }} {%- endif %} {{- ', "id": "' + tool_call.id + '"}' }} {%- if not loop.last %} {{- ", " }} {%- else %} {{- "]" + eos_token }} {%- endif %} {%- endfor %} {%- elif message["role"] == "assistant" %} {{- message["content"] + eos_token}} {%- elif message["role"] == "tool_results" or message["role"] == "tool" %} {%- if message.content is defined and message.content.content is defined %} {%- set content = message.content.content %} {%- else %} {%- set content = message.content %} {%- endif %} {{- '[TOOL_RESULTS]{"content": ' + content|string + ", " }} {%- if not message.tool_call_id is defined or message.tool_call_id|length != 9 %} {{- raise_exception("Tool call IDs should be alphanumeric strings with length 9!") }} {%- endif %} {{- '"call_id": "' + message.tool_call_id + '"}[/TOOL_RESULTS]' }} {%- else %} {{- raise_exception("Only user and assistant roles are supported, with the exception of an initial optional system message!") }} {%- endif %}{%- endfor %}1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465{ "architectures": [ "MistralForCausalLM" ], "attention_dropout": 0.0, "bos_token_id": 1, "dtype": "bfloat16", "eos_token_id": 2, "head_dim": 128, "hidden_act": "silu", "hidden_size": 4096, "initializer_range": 0.02, "intermediate_size": 12288, "layer_types": [ "full_attention", "sliding_attention", "sliding_attention", "sliding_attention", "full_attention", "sliding_attention", "sliding_attention", "sliding_attention", "full_attention", "sliding_attention", "sliding_attention", "sliding_attention", "full_attention", "sliding_attention", "sliding_attention", "sliding_attention", "full_attention", "sliding_attention", "sliding_attention", "sliding_attention", "full_attention", "sliding_attention", "sliding_attention", "sliding_attention", "full_attention", "sliding_attention", "sliding_attention", "sliding_attention", "full_attention", "sliding_attention", "sliding_attention", "sliding_attention", "full_attention", "sliding_attention", "sliding_attention", "sliding_attention" ], "max_position_embeddings": 32768, "model_type": "mistral", "num_attention_heads": 32, "num_hidden_layers": 36, "num_key_value_heads": 8, "pad_token_id": 2, "rms_norm_eps": 1e-05, "rope_theta": 100000000.0, "sliding_window": 32768, "tie_word_embeddings": false, "transformers_version": "4.56.0", "use_cache": true, "vocab_size": 131072}123456{ "_from_model_config": true, "bos_token_id": 1, "eos_token_id": 2, "transformers_version": "4.56.0"}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687{%- if messages[0]["role"] == "system" %} {%- set system_message = messages[0]["content"] %} {%- set loop_messages = messages[1:] %}{%- else %} {%- set loop_messages = messages %}{%- endif %}{%- if not tools is defined %} {%- set tools = none %}{%- endif %}{%- set user_messages = loop_messages | selectattr("role", "equalto", "user") | list %}
{#- This block checks for alternating user/assistant messages, skipping tool calling messages #}{%- set ns = namespace() %}{%- set ns.index = 0 %}{%- for message in loop_messages %} {%- if not (message.role == "tool" or message.role == "tool_results" or (message.tool_calls is defined and message.tool_calls is not none)) %} {%- if (message["role"] == "user") != (ns.index % 2 == 0) %} {{- raise_exception("After the optional system message, conversation roles must alternate user/assistant/user/assistant/...") }} {%- endif %} {%- set ns.index = ns.index + 1 %} {%- endif %}{%- endfor %}
{{- bos_token }}{%- for message in loop_messages %} {%- if message["role"] == "user" %} {%- if tools is not none and (message == user_messages[-1]) %} {{- "[AVAILABLE_TOOLS][" }} {%- for tool in tools %} {%- set tool = tool.function %} {{- '{"type": "function", "function": {' }} {%- for key, val in tool.items() if key != "return" %} {%- if val is string %} {{- '"' + key + '": "' + val + '"' }} {%- else %} {{- '"' + key + '": ' + val|tojson }} {%- endif %} {%- if not loop.last %} {{- ", " }} {%- endif %} {%- endfor %} {{- "}}" }} {%- if not loop.last %} {{- ", " }} {%- else %} {{- "]" }} {%- endif %} {%- endfor %} {{- "[/AVAILABLE_TOOLS]" }} {%- endif %} {%- if loop.last and system_message is defined %} {{- "[INST]" + system_message + "\n\n" + message["content"] + "[/INST]" }} {%- else %} {{- "[INST]" + message["content"] + "[/INST]" }} {%- endif %} {%- elif (message.tool_calls is defined and message.tool_calls is not none) %} {{- "[TOOL_CALLS][" }} {%- for tool_call in message.tool_calls %} {%- set out = tool_call.function|tojson %} {{- out[:-1] }} {%- if not tool_call.id is defined or tool_call.id|length != 9 %} {{- raise_exception("Tool call IDs should be alphanumeric strings with length 9!") }} {%- endif %} {{- ', "id": "' + tool_call.id + '"}' }} {%- if not loop.last %} {{- ", " }} {%- else %} {{- "]" + eos_token }} {%- endif %} {%- endfor %} {%- elif message["role"] == "assistant" %} {{- message["content"] + eos_token}} {%- elif message["role"] == "tool_results" or message["role"] == "tool" %} {%- if message.content is defined and message.content.content is defined %} {%- set content = message.content.content %} {%- else %} {%- set content = message.content %} {%- endif %} {{- '[TOOL_RESULTS]{"content": ' + content|string + ", " }} {%- if not message.tool_call_id is defined or message.tool_call_id|length != 9 %} {{- raise_exception("Tool call IDs should be alphanumeric strings with length 9!") }} {%- endif %} {{- '"call_id": "' + message.tool_call_id + '"}[/TOOL_RESULTS]' }} {%- else %} {{- raise_exception("Only user and assistant roles are supported, with the exception of an initial optional system message!") }} {%- endif %}{%- endfor %}1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465{ "architectures": [ "MistralForCausalLM" ], "attention_dropout": 0.0, "bos_token_id": 1, "dtype": "bfloat16", "eos_token_id": 2, "head_dim": 128, "hidden_act": "silu", "hidden_size": 4096, "initializer_range": 0.02, "intermediate_size": 12288, "layer_types": [ "full_attention", "sliding_attention", "sliding_attention", "sliding_attention", "full_attention", "sliding_attention", "sliding_attention", "sliding_attention", "full_attention", "sliding_attention", "sliding_attention", "sliding_attention", "full_attention", "sliding_attention", "sliding_attention", "sliding_attention", "full_attention", "sliding_attention", "sliding_attention", "sliding_attention", "full_attention", "sliding_attention", "sliding_attention", "sliding_attention", "full_attention", "sliding_attention", "sliding_attention", "sliding_attention", "full_attention", "sliding_attention", "sliding_attention", "sliding_attention", "full_attention", "sliding_attention", "sliding_attention", "sliding_attention" ], "max_position_embeddings": 32768, "model_type": "mistral", "num_attention_heads": 32, "num_hidden_layers": 36, "num_key_value_heads": 8, "pad_token_id": 2, "rms_norm_eps": 1e-05, "rope_theta": 100000000.0, "sliding_window": 32768, "tie_word_embeddings": false, "transformers_version": "4.56.0", "use_cache": true, "vocab_size": 131072}123456{ "_from_model_config": true, "bos_token_id": 1, "eos_token_id": 2, "transformers_version": "4.56.0"}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335{ "metadata": { "total_parameters": 8019808256, "total_size": 32079233024 }, "weight_map": { "lm_head.weight": "model-00007-of-00007.safetensors", "model.embed_tokens.weight": "model-00001-of-00007.safetensors", "model.layers.0.input_layernorm.weight": "model-00001-of-00007.safetensors", "model.layers.0.mlp.down_proj.weight": "model-00001-of-00007.safetensors", "model.layers.0.mlp.gate_proj.weight": "model-00001-of-00007.safetensors", "model.layers.0.mlp.up_proj.weight": "model-00001-of-00007.safetensors", "model.layers.0.post_attention_layernorm.weight": "model-00001-of-00007.safetensors", "model.layers.0.self_attn.k_proj.weight": "model-00001-of-00007.safetensors", "model.layers.0.self_attn.o_proj.weight": "model-00001-of-00007.safetensors", "model.layers.0.self_attn.q_proj.weight": "model-00001-of-00007.safetensors", "model.layers.0.self_attn.v_proj.weight": "model-00001-of-00007.safetensors", "model.layers.1.input_layernorm.weight": "model-00001-of-00007.safetensors", "model.layers.1.mlp.down_proj.weight": "model-00001-of-00007.safetensors", "model.layers.1.mlp.gate_proj.weight": "model-00001-of-00007.safetensors", "model.layers.1.mlp.up_proj.weight": "model-00001-of-00007.safetensors", "model.layers.1.post_attention_layernorm.weight": "model-00001-of-00007.safetensors", "model.layers.1.self_attn.k_proj.weight": "model-00001-of-00007.safetensors", "model.layers.1.self_attn.o_proj.weight": "model-00001-of-00007.safetensors", "model.layers.1.self_attn.q_proj.weight": "model-00001-of-00007.safetensors", "model.layers.1.self_attn.v_proj.weight": "model-00001-of-00007.safetensors", "model.layers.10.input_layernorm.weight": "model-00003-of-00007.safetensors", "model.layers.10.mlp.down_proj.weight": "model-00003-of-00007.safetensors", "model.layers.10.mlp.gate_proj.weight": "model-00003-of-00007.safetensors", "model.layers.10.mlp.up_proj.weight": "model-00003-of-00007.safetensors", "model.layers.10.post_attention_layernorm.weight": "model-00003-of-00007.safetensors", "model.layers.10.self_attn.k_proj.weight": "model-00003-of-00007.safetensors", "model.layers.10.self_attn.o_proj.weight": "model-00003-of-00007.safetensors", "model.layers.10.self_attn.q_proj.weight": "model-00003-of-00007.safetensors", "model.layers.10.self_attn.v_proj.weight": "model-00003-of-00007.safetensors", "model.layers.11.input_layernorm.weight": "model-00003-of-00007.safetensors", "model.layers.11.mlp.down_proj.weight": "model-00003-of-00007.safetensors", "model.layers.11.mlp.gate_proj.weight": "model-00003-of-00007.safetensors", "model.layers.11.mlp.up_proj.weight": "model-00003-of-00007.safetensors", "model.layers.11.post_attention_layernorm.weight": "model-00003-of-00007.safetensors", "model.layers.11.self_attn.k_proj.weight": "model-00003-of-00007.safetensors", "model.layers.11.self_attn.o_proj.weight": "model-00003-of-00007.safetensors", "model.layers.11.self_attn.q_proj.weight": "model-00003-of-00007.safetensors", "model.layers.11.self_attn.v_proj.weight": "model-00003-of-00007.safetensors", "model.layers.12.input_layernorm.weight": "model-00003-of-00007.safetensors", "model.layers.12.mlp.down_proj.weight": "model-00003-of-00007.safetensors", "model.layers.12.mlp.gate_proj.weight": "model-00003-of-00007.safetensors", "model.layers.12.mlp.up_proj.weight": "model-00003-of-00007.safetensors", "model.layers.12.post_attention_layernorm.weight": "model-00003-of-00007.safetensors", "model.layers.12.self_attn.k_proj.weight": "model-00003-of-00007.safetensors", "model.layers.12.self_attn.o_proj.weight": "model-00003-of-00007.safetensors", "model.layers.12.self_attn.q_proj.weight": "model-00003-of-00007.safetensors", "model.layers.12.self_attn.v_proj.weight": "model-00003-of-00007.safetensors", "model.layers.13.input_layernorm.weight": "model-00003-of-00007.safetensors", "model.layers.13.mlp.down_proj.weight": "model-00003-of-00007.safetensors", "model.layers.13.mlp.gate_proj.weight": "model-00003-of-00007.safetensors", "model.layers.13.mlp.up_proj.weight": "model-00003-of-00007.safetensors", "model.layers.13.post_attention_layernorm.weight": "model-00003-of-00007.safetensors", "model.layers.13.self_attn.k_proj.weight": "model-00003-of-00007.safetensors", "model.layers.13.self_attn.o_proj.weight": "model-00003-of-00007.safetensors", "model.layers.13.self_attn.q_proj.weight": "model-00003-of-00007.safetensors", "model.layers.13.self_attn.v_proj.weight": "model-00003-of-00007.safetensors", "model.layers.14.input_layernorm.weight": "model-00003-of-00007.safetensors", "model.layers.14.mlp.down_proj.weight": "model-00003-of-00007.safetensors", "model.layers.14.mlp.gate_proj.weight": "model-00003-of-00007.safetensors", "model.layers.14.mlp.up_proj.weight": "model-00003-of-00007.safetensors", "model.layers.14.post_attention_layernorm.weight": "model-00003-of-00007.safetensors", "model.layers.14.self_attn.k_proj.weight": "model-00003-of-00007.safetensors", "model.layers.14.self_attn.o_proj.weight": "model-00003-of-00007.safetensors", "model.layers.14.self_attn.q_proj.weight": "model-00003-of-00007.safetensors", "model.layers.14.self_attn.v_proj.weight": "model-00003-of-00007.safetensors", "model.layers.15.input_layernorm.weight": "model-00003-of-00007.safetensors", "model.layers.15.mlp.down_proj.weight": "model-00003-of-00007.safetensors", "model.layers.15.mlp.gate_proj.weight": "model-00003-of-00007.safetensors", "model.layers.15.mlp.up_proj.weight": "model-00003-of-00007.safetensors", "model.layers.15.post_attention_layernorm.weight": "model-00003-of-00007.safetensors", "model.layers.15.self_attn.k_proj.weight": "model-00003-of-00007.safetensors", "model.layers.15.self_attn.o_proj.weight": "model-00003-of-00007.safetensors", "model.layers.15.self_attn.q_proj.weight": "model-00003-of-00007.safetensors", "model.layers.15.self_attn.v_proj.weight": "model-00003-of-00007.safetensors", "model.layers.16.input_layernorm.weight": "model-00004-of-00007.safetensors", "model.layers.16.mlp.down_proj.weight": "model-00004-of-00007.safetensors", "model.layers.16.mlp.gate_proj.weight": "model-00004-of-00007.safetensors", "model.layers.16.mlp.up_proj.weight": "model-00004-of-00007.safetensors", "model.layers.16.post_attention_layernorm.weight": "model-00004-of-00007.safetensors", "model.layers.16.self_attn.k_proj.weight": "model-00003-of-00007.safetensors", "model.layers.16.self_attn.o_proj.weight": "model-00003-of-00007.safetensors", "model.layers.16.self_attn.q_proj.weight": "model-00003-of-00007.safetensors", "model.layers.16.self_attn.v_proj.weight": "model-00003-of-00007.safetensors", "model.layers.17.input_layernorm.weight": "model-00004-of-00007.safetensors", "model.layers.17.mlp.down_proj.weight": "model-00004-of-00007.safetensors", "model.layers.17.mlp.gate_proj.weight": "model-00004-of-00007.safetensors", "model.layers.17.mlp.up_proj.weight": "model-00004-of-00007.safetensors", "model.layers.17.post_attention_layernorm.weight": "model-00004-of-00007.safetensors", "model.layers.17.self_attn.k_proj.weight": "model-00004-of-00007.safetensors", "model.layers.17.self_attn.o_proj.weight": "model-00004-of-00007.safetensors", "model.layers.17.self_attn.q_proj.weight": "model-00004-of-00007.safetensors", "model.layers.17.self_attn.v_proj.weight": "model-00004-of-00007.safetensors", "model.layers.18.input_layernorm.weight": "model-00004-of-00007.safetensors", "model.layers.18.mlp.down_proj.weight": "model-00004-of-00007.safetensors", "model.layers.18.mlp.gate_proj.weight": "model-00004-of-00007.safetensors", "model.layers.18.mlp.up_proj.weight": "model-00004-of-00007.safetensors", "model.layers.18.post_attention_layernorm.weight": "model-00004-of-00007.safetensors", "model.layers.18.self_attn.k_proj.weight": "model-00004-of-00007.safetensors", "model.layers.18.self_attn.o_proj.weight": "model-00004-of-00007.safetensors", "model.layers.18.self_attn.q_proj.weight": "model-00004-of-00007.safetensors", "model.layers.18.self_attn.v_proj.weight": "model-00004-of-00007.safetensors", "model.layers.19.input_layernorm.weight": "model-00004-of-00007.safetensors", "model.layers.19.mlp.down_proj.weight": "model-00004-of-00007.safetensors", "model.layers.19.mlp.gate_proj.weight": "model-00004-of-00007.safetensors", "model.layers.19.mlp.up_proj.weight": "model-00004-of-00007.safetensors", "model.layers.19.post_attention_layernorm.weight": "model-00004-of-00007.safetensors", "model.layers.19.self_attn.k_proj.weight": "model-00004-of-00007.safetensors", "model.layers.19.self_attn.o_proj.weight": "model-00004-of-00007.safetensors", "model.layers.19.self_attn.q_proj.weight": "model-00004-of-00007.safetensors", "model.layers.19.self_attn.v_proj.weight": "model-00004-of-00007.safetensors", "model.layers.2.input_layernorm.weight": "model-00001-of-00007.safetensors", "model.layers.2.mlp.down_proj.weight": "model-00001-of-00007.safetensors", "model.layers.2.mlp.gate_proj.weight": "model-00001-of-00007.safetensors", "model.layers.2.mlp.up_proj.weight": "model-00001-of-00007.safetensors", "model.layers.2.post_attention_layernorm.weight": "model-00001-of-00007.safetensors", "model.layers.2.self_attn.k_proj.weight": "model-00001-of-00007.safetensors", "model.layers.2.self_attn.o_proj.weight": "model-00001-of-00007.safetensors", "model.layers.2.self_attn.q_proj.weight": "model-00001-of-00007.safetensors", "model.layers.2.self_attn.v_proj.weight": "model-00001-of-00007.safetensors", "model.layers.20.input_layernorm.weight": "model-00004-of-00007.safetensors", "model.layers.20.mlp.down_proj.weight": "model-00004-of-00007.safetensors", "model.layers.20.mlp.gate_proj.weight": "model-00004-of-00007.safetensors", "model.layers.20.mlp.up_proj.weight": "model-00004-of-00007.safetensors", "model.layers.20.post_attention_layernorm.weight": "model-00004-of-00007.safetensors", "model.layers.20.self_attn.k_proj.weight": "model-00004-of-00007.safetensors", "model.layers.20.self_attn.o_proj.weight": "model-00004-of-00007.safetensors", "model.layers.20.self_attn.q_proj.weight": "model-00004-of-00007.safetensors", "model.layers.20.self_attn.v_proj.weight": "model-00004-of-00007.safetensors", "model.layers.21.input_layernorm.weight": "model-00004-of-00007.safetensors", "model.layers.21.mlp.down_proj.weight": "model-00004-of-00007.safetensors", "model.layers.21.mlp.gate_proj.weight": "model-00004-of-00007.safetensors", "model.layers.21.mlp.up_proj.weight": "model-00004-of-00007.safetensors", "model.layers.21.post_attention_layernorm.weight": "model-00004-of-00007.safetensors", "model.layers.21.self_attn.k_proj.weight": "model-00004-of-00007.safetensors", "model.layers.21.self_attn.o_proj.weight": "model-00004-of-00007.safetensors", "model.layers.21.self_attn.q_proj.weight": "model-00004-of-00007.safetensors", "model.layers.21.self_attn.v_proj.weight": "model-00004-of-00007.safetensors", "model.layers.22.input_layernorm.weight": "model-00005-of-00007.safetensors", "model.layers.22.mlp.down_proj.weight": "model-00005-of-00007.safetensors", "model.layers.22.mlp.gate_proj.weight": "model-00004-of-00007.safetensors", "model.layers.22.mlp.up_proj.weight": "model-00005-of-00007.safetensors", "model.layers.22.post_attention_layernorm.weight": "model-00005-of-00007.safetensors", "model.layers.22.self_attn.k_proj.weight": "model-00004-of-00007.safetensors", "model.layers.22.self_attn.o_proj.weight": "model-00004-of-00007.safetensors", "model.layers.22.self_attn.q_proj.weight": "model-00004-of-00007.safetensors", "model.layers.22.self_attn.v_proj.weight": "model-00004-of-00007.safetensors", "model.layers.23.input_layernorm.weight": "model-00005-of-00007.safetensors", "model.layers.23.mlp.down_proj.weight": "model-00005-of-00007.safetensors", "model.layers.23.mlp.gate_proj.weight": "model-00005-of-00007.safetensors", "model.layers.23.mlp.up_proj.weight": "model-00005-of-00007.safetensors", "model.layers.23.post_attention_layernorm.weight": "model-00005-of-00007.safetensors", "model.layers.23.self_attn.k_proj.weight": "model-00005-of-00007.safetensors", "model.layers.23.self_attn.o_proj.weight": "model-00005-of-00007.safetensors", "model.layers.23.self_attn.q_proj.weight": "model-00005-of-00007.safetensors", "model.layers.23.self_attn.v_proj.weight": "model-00005-of-00007.safetensors", "model.layers.24.input_layernorm.weight": "model-00005-of-00007.safetensors", "model.layers.24.mlp.down_proj.weight": "model-00005-of-00007.safetensors", "model.layers.24.mlp.gate_proj.weight": "model-00005-of-00007.safetensors", "model.layers.24.mlp.up_proj.weight": "model-00005-of-00007.safetensors", "model.layers.24.post_attention_layernorm.weight": "model-00005-of-00007.safetensors", "model.layers.24.self_attn.k_proj.weight": "model-00005-of-00007.safetensors", "model.layers.24.self_attn.o_proj.weight": "model-00005-of-00007.safetensors", "model.layers.24.self_attn.q_proj.weight": "model-00005-of-00007.safetensors", "model.layers.24.self_attn.v_proj.weight": "model-00005-of-00007.safetensors", "model.layers.25.input_layernorm.weight": "model-00005-of-00007.safetensors", "model.layers.25.mlp.down_proj.weight": "model-00005-of-00007.safetensors", "model.layers.25.mlp.gate_proj.weight": "model-00005-of-00007.safetensors", "model.layers.25.mlp.up_proj.weight": "model-00005-of-00007.safetensors", "model.layers.25.post_attention_layernorm.weight": "model-00005-of-00007.safetensors", "model.layers.25.self_attn.k_proj.weight": "model-00005-of-00007.safetensors", "model.layers.25.self_attn.o_proj.weight": "model-00005-of-00007.safetensors", "model.layers.25.self_attn.q_proj.weight": "model-00005-of-00007.safetensors", "model.layers.25.self_attn.v_proj.weight": "model-00005-of-00007.safetensors", "model.layers.26.input_layernorm.weight": "model-00005-of-00007.safetensors", "model.layers.26.mlp.down_proj.weight": "model-00005-of-00007.safetensors", "model.layers.26.mlp.gate_proj.weight": "model-00005-of-00007.safetensors", "model.layers.26.mlp.up_proj.weight": "model-00005-of-00007.safetensors", "model.layers.26.post_attention_layernorm.weight": "model-00005-of-00007.safetensors", "model.layers.26.self_attn.k_proj.weight": "model-00005-of-00007.safetensors", "model.layers.26.self_attn.o_proj.weight": "model-00005-of-00007.safetensors", "model.layers.26.self_attn.q_proj.weight": "model-00005-of-00007.safetensors", "model.layers.26.self_attn.v_proj.weight": "model-00005-of-00007.safetensors", "model.layers.27.input_layernorm.weight": "model-00005-of-00007.safetensors", "model.layers.27.mlp.down_proj.weight": "model-00005-of-00007.safetensors", "model.layers.27.mlp.gate_proj.weight": "model-00005-of-00007.safetensors", "model.layers.27.mlp.up_proj.weight": "model-00005-of-00007.safetensors", "model.layers.27.post_attention_layernorm.weight": "model-00005-of-00007.safetensors", "model.layers.27.self_attn.k_proj.weight": "model-00005-of-00007.safetensors", "model.layers.27.self_attn.o_proj.weight": "model-00005-of-00007.safetensors", "model.layers.27.self_attn.q_proj.weight": "model-00005-of-00007.safetensors", "model.layers.27.self_attn.v_proj.weight": "model-00005-of-00007.safetensors", "model.layers.28.input_layernorm.weight": "model-00006-of-00007.safetensors", "model.layers.28.mlp.down_proj.weight": "model-00006-of-00007.safetensors", "model.layers.28.mlp.gate_proj.weight": "model-00005-of-00007.safetensors", "model.layers.28.mlp.up_proj.weight": "model-00005-of-00007.safetensors", "model.layers.28.post_attention_layernorm.weight": "model-00006-of-00007.safetensors", "model.layers.28.self_attn.k_proj.weight": "model-00005-of-00007.safetensors", "model.layers.28.self_attn.o_proj.weight": "model-00005-of-00007.safetensors", "model.layers.28.self_attn.q_proj.weight": "model-00005-of-00007.safetensors", "model.layers.28.self_attn.v_proj.weight": "model-00005-of-00007.safetensors", "model.layers.29.input_layernorm.weight": "model-00006-of-00007.safetensors", "model.layers.29.mlp.down_proj.weight": "model-00006-of-00007.safetensors", "model.layers.29.mlp.gate_proj.weight": "model-00006-of-00007.safetensors", "model.layers.29.mlp.up_proj.weight": "model-00006-of-00007.safetensors", "model.layers.29.post_attention_layernorm.weight": "model-00006-of-00007.safetensors", "model.layers.29.self_attn.k_proj.weight": "model-00006-of-00007.safetensors", "model.layers.29.self_attn.o_proj.weight": "model-00006-of-00007.safetensors", "model.layers.29.self_attn.q_proj.weight": "model-00006-of-00007.safetensors", "model.layers.29.self_attn.v_proj.weight": "model-00006-of-00007.safetensors", "model.layers.3.input_layernorm.weight": "model-00002-of-00007.safetensors", "model.layers.3.mlp.down_proj.weight": "model-00002-of-00007.safetensors", "model.layers.3.mlp.gate_proj.weight": "model-00001-of-00007.safetensors", "model.layers.3.mlp.up_proj.weight": "model-00002-of-00007.safetensors", "model.layers.3.post_attention_layernorm.weight": "model-00002-of-00007.safetensors", "model.layers.3.self_attn.k_proj.weight": "model-00001-of-00007.safetensors", "model.layers.3.self_attn.o_proj.weight": "model-00001-of-00007.safetensors", "model.layers.3.self_attn.q_proj.weight": "model-00001-of-00007.safetensors", "model.layers.3.self_attn.v_proj.weight": "model-00001-of-00007.safetensors", "model.layers.30.input_layernorm.weight": "model-00006-of-00007.safetensors", "model.layers.30.mlp.down_proj.weight": "model-00006-of-00007.safetensors", "model.layers.30.mlp.gate_proj.weight": "model-00006-of-00007.safetensors", "model.layers.30.mlp.up_proj.weight": "model-00006-of-00007.safetensors", "model.layers.30.post_attention_layernorm.weight": "model-00006-of-00007.safetensors", "model.layers.30.self_attn.k_proj.weight": "model-00006-of-00007.safetensors", "model.layers.30.self_attn.o_proj.weight": "model-00006-of-00007.safetensors", "model.layers.30.self_attn.q_proj.weight": "model-00006-of-00007.safetensors", "model.layers.30.self_attn.v_proj.weight": "model-00006-of-00007.safetensors", "model.layers.31.input_layernorm.weight": "model-00006-of-00007.safetensors", "model.layers.31.mlp.down_proj.weight": "model-00006-of-00007.safetensors", "model.layers.31.mlp.gate_proj.weight": "model-00006-of-00007.safetensors", "model.layers.31.mlp.up_proj.weight": "model-00006-of-00007.safetensors", "model.layers.31.post_attention_layernorm.weight": "model-00006-of-00007.safetensors", "model.layers.31.self_attn.k_proj.weight": "model-00006-of-00007.safetensors", "model.layers.31.self_attn.o_proj.weight": "model-00006-of-00007.safetensors", "model.layers.31.self_attn.q_proj.weight": "model-00006-of-00007.safetensors", "model.layers.31.self_attn.v_proj.weight": "model-00006-of-00007.safetensors", "model.layers.32.input_layernorm.weight": "model-00006-of-00007.safetensors", "model.layers.32.mlp.down_proj.weight": "model-00006-of-00007.safetensors", "model.layers.32.mlp.gate_proj.weight": "model-00006-of-00007.safetensors", "model.layers.32.mlp.up_proj.weight": "model-00006-of-00007.safetensors", "model.layers.32.post_attention_layernorm.weight": "model-00006-of-00007.safetensors", "model.layers.32.self_attn.k_proj.weight": "model-00006-of-00007.safetensors", "model.layers.32.self_attn.o_proj.weight": "model-00006-of-00007.safetensors", "model.layers.32.self_attn.q_proj.weight": "model-00006-of-00007.safetensors", "model.layers.32.self_attn.v_proj.weight": "model-00006-of-00007.safetensors", "model.layers.33.input_layernorm.weight": "model-00006-of-00007.safetensors", "model.layers.33.mlp.down_proj.weight": "model-00006-of-00007.safetensors", "model.layers.33.mlp.gate_proj.weight": "model-00006-of-00007.safetensors", "model.layers.33.mlp.up_proj.weight": "model-00006-of-00007.safetensors", "model.layers.33.post_attention_layernorm.weight": "model-00006-of-00007.safetensors", "model.layers.33.self_attn.k_proj.weight": "model-00006-of-00007.safetensors", "model.layers.33.self_attn.o_proj.weight": "model-00006-of-00007.safetensors", "model.layers.33.self_attn.q_proj.weight": "model-00006-of-00007.safetensors", "model.layers.33.self_attn.v_proj.weight": "model-00006-of-00007.safetensors", "model.layers.34.input_layernorm.weight": "model-00006-of-00007.safetensors", "model.layers.34.mlp.down_proj.weight": "model-00006-of-00007.safetensors", "model.layers.34.mlp.gate_proj.weight": "model-00006-of-00007.safetensors", "model.layers.34.mlp.up_proj.weight": "model-00006-of-00007.safetensors", "model.layers.34.post_attention_layernorm.weight": "model-00006-of-00007.safetensors", "model.layers.34.self_attn.k_proj.weight": "model-00006-of-00007.safetensors", "model.layers.34.self_attn.o_proj.weight": "model-00006-of-00007.safetensors", "model.layers.34.self_attn.q_proj.weight": "model-00006-of-00007.safetensors", "model.layers.34.self_attn.v_proj.weight": "model-00006-of-00007.safetensors", "model.layers.35.input_layernorm.weight": "model-00007-of-00007.safetensors", "model.layers.35.mlp.down_proj.weight": "model-00007-of-00007.safetensors", "model.layers.35.mlp.gate_proj.weight": "model-00007-of-00007.safetensors", "model.layers.35.mlp.up_proj.weight": "model-00007-of-00007.safetensors", "model.layers.35.post_attention_layernorm.weight": "model-00007-of-00007.safetensors", "model.layers.35.self_attn.k_proj.weight": "model-00006-of-00007.safetensors", "model.layers.35.self_attn.o_proj.weight": "model-00006-of-00007.safetensors", "model.layers.35.self_attn.q_proj.weight": "model-00006-of-00007.safetensors", "model.layers.35.self_attn.v_proj.weight": "model-00006-of-00007.safetensors", "model.layers.4.input_layernorm.weight": "model-00002-of-00007.safetensors", "model.layers.4.mlp.down_proj.weight": "model-00002-of-00007.safetensors", "model.layers.4.mlp.gate_proj.weight": "model-00002-of-00007.safetensors", "model.layers.4.mlp.up_proj.weight": "model-00002-of-00007.safetensors", "model.layers.4.post_attention_layernorm.weight": "model-00002-of-00007.safetensors", "model.layers.4.self_attn.k_proj.weight": "model-00002-of-00007.safetensors", "model.layers.4.self_attn.o_proj.weight": "model-00002-of-00007.safetensors", "model.layers.4.self_attn.q_proj.weight": "model-00002-of-00007.safetensors", "model.layers.4.self_attn.v_proj.weight": "model-00002-of-00007.safetensors", "model.layers.5.input_layernorm.weight": "model-00002-of-00007.safetensors", "model.layers.5.mlp.down_proj.weight": "model-00002-of-00007.safetensors", "model.layers.5.mlp.gate_proj.weight": "model-00002-of-00007.safetensors", "model.layers.5.mlp.up_proj.weight": "model-00002-of-00007.safetensors", "model.layers.5.post_attention_layernorm.weight": "model-00002-of-00007.safetensors", "model.layers.5.self_attn.k_proj.weight": "model-00002-of-00007.safetensors", "model.layers.5.self_attn.o_proj.weight": "model-00002-of-00007.safetensors", "model.layers.5.self_attn.q_proj.weight": "model-00002-of-00007.safetensors", "model.layers.5.self_attn.v_proj.weight": "model-00002-of-00007.safetensors", "model.layers.6.input_layernorm.weight": "model-00002-of-00007.safetensors", "model.layers.6.mlp.down_proj.weight": "model-00002-of-00007.safetensors", "model.layers.6.mlp.gate_proj.weight": "model-00002-of-00007.safetensors", "model.layers.6.mlp.up_proj.weight": "model-00002-of-00007.safetensors", "model.layers.6.post_attention_layernorm.weight": "model-00002-of-00007.safetensors", "model.layers.6.self_attn.k_proj.weight": "model-00002-of-00007.safetensors", "model.layers.6.self_attn.o_proj.weight": "model-00002-of-00007.safetensors", "model.layers.6.self_attn.q_proj.weight": "model-00002-of-00007.safetensors", "model.layers.6.self_attn.v_proj.weight": "model-00002-of-00007.safetensors", "model.layers.7.input_layernorm.weight": "model-00002-of-00007.safetensors", "model.layers.7.mlp.down_proj.weight": "model-00002-of-00007.safetensors", "model.layers.7.mlp.gate_proj.weight": "model-00002-of-00007.safetensors", "model.layers.7.mlp.up_proj.weight": "model-00002-of-00007.safetensors", "model.layers.7.post_attention_layernorm.weight": "model-00002-of-00007.safetensors", "model.layers.7.self_attn.k_proj.weight": "model-00002-of-00007.safetensors", "model.layers.7.self_attn.o_proj.weight": "model-00002-of-00007.safetensors", "model.layers.7.self_attn.q_proj.weight": "model-00002-of-00007.safetensors", "model.layers.7.self_attn.v_proj.weight": "model-00002-of-00007.safetensors", "model.layers.8.input_layernorm.weight": "model-00002-of-00007.safetensors", "model.layers.8.mlp.down_proj.weight": "model-00002-of-00007.safetensors", "model.layers.8.mlp.gate_proj.weight": "model-00002-of-00007.safetensors", "model.layers.8.mlp.up_proj.weight": "model-00002-of-00007.safetensors", "model.layers.8.post_attention_layernorm.weight": "model-00002-of-00007.safetensors", "model.layers.8.self_attn.k_proj.weight": "model-00002-of-00007.safetensors", "model.layers.8.self_attn.o_proj.weight": "model-00002-of-00007.safetensors", "model.layers.8.self_attn.q_proj.weight": "model-00002-of-00007.safetensors", "model.layers.8.self_attn.v_proj.weight": "model-00002-of-00007.safetensors", "model.layers.9.input_layernorm.weight": "model-00003-of-00007.safetensors", "model.layers.9.mlp.down_proj.weight": "model-00003-of-00007.safetensors", "model.layers.9.mlp.gate_proj.weight": "model-00002-of-00007.safetensors", "model.layers.9.mlp.up_proj.weight": "model-00002-of-00007.safetensors", "model.layers.9.post_attention_layernorm.weight": "model-00003-of-00007.safetensors", "model.layers.9.self_attn.k_proj.weight": "model-00002-of-00007.safetensors", "model.layers.9.self_attn.o_proj.weight": "model-00002-of-00007.safetensors", "model.layers.9.self_attn.q_proj.weight": "model-00002-of-00007.safetensors", "model.layers.9.self_attn.v_proj.weight": "model-00002-of-00007.safetensors", "model.norm.weight": "model-00007-of-00007.safetensors" }}123456789101112131415161718192021222324{ "bos_token": { "content": "<s>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "eos_token": { "content": "</s>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "pad_token": "</s>", "unk_token": { "content": "<unk>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }}123456789101112131415161718192021222324{ "bos_token": { "content": "<s>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "eos_token": { "content": "</s>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }, "pad_token": "</s>", "unk_token": { "content": "<unk>", "lstrip": false, "normalized": false, "rstrip": false, "single_word": false }}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687{%- if messages[0]["role"] == "system" %} {%- set system_message = messages[0]["content"] %} {%- set loop_messages = messages[1:] %}{%- else %} {%- set loop_messages = messages %}{%- endif %}{%- if not tools is defined %} {%- set tools = none %}{%- endif %}{%- set user_messages = loop_messages | selectattr("role", "equalto", "user") | list %}
{#- This block checks for alternating user/assistant messages, skipping tool calling messages #}{%- set ns = namespace() %}{%- set ns.index = 0 %}{%- for message in loop_messages %} {%- if not (message.role == "tool" or message.role == "tool_results" or (message.tool_calls is defined and message.tool_calls is not none)) %} {%- if (message["role"] == "user") != (ns.index % 2 == 0) %} {{- raise_exception("After the optional system message, conversation roles must alternate user/assistant/user/assistant/...") }} {%- endif %} {%- set ns.index = ns.index + 1 %} {%- endif %}{%- endfor %}
{{- bos_token }}{%- for message in loop_messages %} {%- if message["role"] == "user" %} {%- if tools is not none and (message == user_messages[-1]) %} {{- "[AVAILABLE_TOOLS][" }} {%- for tool in tools %} {%- set tool = tool.function %} {{- '{"type": "function", "function": {' }} {%- for key, val in tool.items() if key != "return" %} {%- if val is string %} {{- '"' + key + '": "' + val + '"' }} {%- else %} {{- '"' + key + '": ' + val|tojson }} {%- endif %} {%- if not loop.last %} {{- ", " }} {%- endif %} {%- endfor %} {{- "}}" }} {%- if not loop.last %} {{- ", " }} {%- else %} {{- "]" }} {%- endif %} {%- endfor %} {{- "[/AVAILABLE_TOOLS]" }} {%- endif %} {%- if loop.last and system_message is defined %} {{- "[INST]" + system_message + "\n\n" + message["content"] + "[/INST]" }} {%- else %} {{- "[INST]" + message["content"] + "[/INST]" }} {%- endif %} {%- elif (message.tool_calls is defined and message.tool_calls is not none) %} {{- "[TOOL_CALLS][" }} {%- for tool_call in message.tool_calls %} {%- set out = tool_call.function|tojson %} {{- out[:-1] }} {%- if not tool_call.id is defined or tool_call.id|length != 9 %} {{- raise_exception("Tool call IDs should be alphanumeric strings with length 9!") }} {%- endif %} {{- ', "id": "' + tool_call.id + '"}' }} {%- if not loop.last %} {{- ", " }} {%- else %} {{- "]" + eos_token }} {%- endif %} {%- endfor %} {%- elif message["role"] == "assistant" %} {{- message["content"] + eos_token}} {%- elif message["role"] == "tool_results" or message["role"] == "tool" %} {%- if message.content is defined and message.content.content is defined %} {%- set content = message.content.content %} {%- else %} {%- set content = message.content %} {%- endif %} {{- '[TOOL_RESULTS]{"content": ' + content|string + ", " }} {%- if not message.tool_call_id is defined or message.tool_call_id|length != 9 %} {{- raise_exception("Tool call IDs should be alphanumeric strings with length 9!") }} {%- endif %} {{- '"call_id": "' + message.tool_call_id + '"}[/TOOL_RESULTS]' }} {%- else %} {{- raise_exception("Only user and assistant roles are supported, with the exception of an initial optional system message!") }} {%- endif %}{%- endfor %}1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465{ "architectures": [ "MistralForCausalLM" ], "attention_dropout": 0.0, "bos_token_id": 1, "dtype": "bfloat16", "eos_token_id": 2, "head_dim": 128, "hidden_act": "silu", "hidden_size": 4096, "initializer_range": 0.02, "intermediate_size": 12288, "layer_types": [ "full_attention", "sliding_attention", "sliding_attention", "sliding_attention", "full_attention", "sliding_attention", "sliding_attention", "sliding_attention", "full_attention", "sliding_attention", "sliding_attention", "sliding_attention", "full_attention", "sliding_attention", "sliding_attention", "sliding_attention", "full_attention", "sliding_attention", "sliding_attention", "sliding_attention", "full_attention", "sliding_attention", "sliding_attention", "sliding_attention", "full_attention", "sliding_attention", "sliding_attention", "sliding_attention", "full_attention", "sliding_attention", "sliding_attention", "sliding_attention", "full_attention", "sliding_attention", "sliding_attention", "sliding_attention" ], "max_position_embeddings": 32768, "model_type": "mistral", "num_attention_heads": 32, "num_hidden_layers": 36, "num_key_value_heads": 8, "pad_token_id": 2, "rms_norm_eps": 1e-05, "rope_theta": 100000000.0, "sliding_window": 32768, "tie_word_embeddings": false, "transformers_version": "4.56.0", "use_cache": true, "vocab_size": 131072}123456{ "_from_model_config": true, "bos_token_id": 1, "eos_token_id": 2, "transformers_version": "4.56.0"}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687{%- if messages[0]["role"] == "system" %} {%- set system_message = messages[0]["content"] %} {%- set loop_messages = messages[1:] %}{%- else %} {%- set loop_messages = messages %}{%- endif %}{%- if not tools is defined %} {%- set tools = none %}{%- endif %}{%- set user_messages = loop_messages | selectattr("role", "equalto", "user") | list %}
{#- This block checks for alternating user/assistant messages, skipping tool calling messages #}{%- set ns = namespace() %}{%- set ns.index = 0 %}{%- for message in loop_messages %} {%- if not (message.role == "tool" or message.role == "tool_results" or (message.tool_calls is defined and message.tool_calls is not none)) %} {%- if (message["role"] == "user") != (ns.index % 2 == 0) %} {{- raise_exception("After the optional system message, conversation roles must alternate user/assistant/user/assistant/...") }} {%- endif %} {%- set ns.index = ns.index + 1 %} {%- endif %}{%- endfor %}
{{- bos_token }}{%- for message in loop_messages %} {%- if message["role"] == "user" %} {%- if tools is not none and (message == user_messages[-1]) %} {{- "[AVAILABLE_TOOLS][" }} {%- for tool in tools %} {%- set tool = tool.function %} {{- '{"type": "function", "function": {' }} {%- for key, val in tool.items() if key != "return" %} {%- if val is string %} {{- '"' + key + '": "' + val + '"' }} {%- else %} {{- '"' + key + '": ' + val|tojson }} {%- endif %} {%- if not loop.last %} {{- ", " }} {%- endif %} {%- endfor %} {{- "}}" }} {%- if not loop.last %} {{- ", " }} {%- else %} {{- "]" }} {%- endif %} {%- endfor %} {{- "[/AVAILABLE_TOOLS]" }} {%- endif %} {%- if loop.last and system_message is defined %} {{- "[INST]" + system_message + "\n\n" + message["content"] + "[/INST]" }} {%- else %} {{- "[INST]" + message["content"] + "[/INST]" }} {%- endif %} {%- elif (message.tool_calls is defined and message.tool_calls is not none) %} {{- "[TOOL_CALLS][" }} {%- for tool_call in message.tool_calls %} {%- set out = tool_call.function|tojson %} {{- out[:-1] }} {%- if not tool_call.id is defined or tool_call.id|length != 9 %} {{- raise_exception("Tool call IDs should be alphanumeric strings with length 9!") }} {%- endif %} {{- ', "id": "' + tool_call.id + '"}' }} {%- if not loop.last %} {{- ", " }} {%- else %} {{- "]" + eos_token }} {%- endif %} {%- endfor %} {%- elif message["role"] == "assistant" %} {{- message["content"] + eos_token}} {%- elif message["role"] == "tool_results" or message["role"] == "tool" %} {%- if message.content is defined and message.content.content is defined %} {%- set content = message.content.content %} {%- else %} {%- set content = message.content %} {%- endif %} {{- '[TOOL_RESULTS]{"content": ' + content|string + ", " }} {%- if not message.tool_call_id is defined or message.tool_call_id|length != 9 %} {{- raise_exception("Tool call IDs should be alphanumeric strings with length 9!") }} {%- endif %} {{- '"call_id": "' + message.tool_call_id + '"}[/TOOL_RESULTS]' }} {%- else %} {{- raise_exception("Only user and assistant roles are supported, with the exception of an initial optional system message!") }} {%- endif %}{%- endfor %}artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.00_is0.00_seed101/global_step_300/actor/chat_template.jinjaAdded+87
artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.00_is0.00_seed101/global_step_300/actor/config.jsonAdded+65
artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.00_is0.00_seed101/global_step_300/actor/generation_config.jsonAdded+6
artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.00_is0.00_seed101/global_step_300/actor/huggingface/chat_template.jinjaAdded+87
artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.00_is0.00_seed101/global_step_300/actor/huggingface/config.jsonAdded+65
artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.00_is0.00_seed101/global_step_300/actor/huggingface/generation_config.jsonAdded+6
artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.00_is0.00_seed101/global_step_300/actor/huggingface/model.safetensors.index.jsonAdded+335
artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.00_is0.00_seed101/global_step_300/actor/huggingface/special_tokens_map.jsonAdded+24
artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.00_is0.00_seed101/global_step_300/actor/huggingface/tokenizer_config.jsonAdded
artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.00_is0.00_seed101/global_step_300/actor/special_tokens_map.jsonAdded+24
artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.00_is0.00_seed101/global_step_300/actor/tokenizer_config.jsonAdded
artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.00_is0.00_seed101/global_step_400/actor/chat_template.jinjaAdded+87
artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.00_is0.00_seed101/global_step_400/actor/config.jsonAdded+65
artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.00_is0.00_seed101/global_step_400/actor/generation_config.jsonAdded+6
artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.00_is0.00_seed101/global_step_400/actor/huggingface/chat_template.jinjaAdded+87
artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.00_is0.00_seed101/global_step_400/actor/huggingface/config.jsonAdded+65
artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.00_is0.00_seed101/global_step_400/actor/huggingface/generation_config.jsonAdded+6
artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.00_is0.00_seed101/global_step_400/actor/huggingface/model.safetensors.index.jsonAdded+335
artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.00_is0.00_seed101/global_step_400/actor/huggingface/special_tokens_map.jsonAdded+24
artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.00_is0.00_seed101/global_step_400/actor/huggingface/tokenizer_config.jsonAdded
artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.00_is0.00_seed101/global_step_400/actor/special_tokens_map.jsonAdded+24
artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.00_is0.00_seed101/global_step_400/actor/tokenizer_config.jsonAdded
artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.00_is0.00_seed101/global_step_402/actor/chat_template.jinjaAdded+87
artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.00_is0.00_seed101/global_step_402/actor/config.jsonAdded+65
artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.00_is0.00_seed101/global_step_402/actor/generation_config.jsonAdded+6
artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.00_is0.00_seed101/global_step_402/actor/huggingface/chat_template.jinjaAdded+87
artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.00_is0.00_seed101/global_step_402/actor/huggingface/config.jsonAdded+65
artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.00_is0.00_seed101/global_step_402/actor/huggingface/generation_config.jsonAdded+6
artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.00_is0.00_seed101/global_step_402/actor/huggingface/model.safetensors.index.jsonAdded+335
artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.00_is0.00_seed101/global_step_402/actor/huggingface/special_tokens_map.jsonAdded+24
artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.00_is0.00_seed101/global_step_402/actor/huggingface/tokenizer_config.jsonAdded
artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.00_is0.00_seed101/global_step_402/actor/special_tokens_map.jsonAdded+24
artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.00_is0.00_seed101/global_step_402/actor/tokenizer_config.jsonAdded
artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.00_is0.00_seed101/latest_checkpointed_iteration.txtAdded+1
artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.00_is0.00_seed101/wandb_id.txtAdded+1
artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.02_is0.02_seed101/global_step_300/actor/chat_template.jinjaAdded+87
artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.02_is0.02_seed101/global_step_300/actor/config.jsonAdded+65
artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.02_is0.02_seed101/global_step_300/actor/generation_config.jsonAdded+6
artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.02_is0.02_seed101/global_step_300/actor/huggingface/chat_template.jinjaAdded+87
artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.02_is0.02_seed101/global_step_300/actor/huggingface/config.jsonAdded+65
artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.02_is0.02_seed101/global_step_300/actor/huggingface/generation_config.jsonAdded+6
artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.02_is0.02_seed101/global_step_300/actor/huggingface/model.safetensors.index.jsonAdded+335
artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.02_is0.02_seed101/global_step_300/actor/huggingface/special_tokens_map.jsonAdded+24
artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.02_is0.02_seed101/global_step_300/actor/huggingface/tokenizer_config.jsonAdded
artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.02_is0.02_seed101/global_step_300/actor/special_tokens_map.jsonAdded+24
artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.02_is0.02_seed101/global_step_300/actor/tokenizer_config.jsonAdded
artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.02_is0.02_seed101/global_step_400/actor/chat_template.jinjaAdded+87
artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.02_is0.02_seed101/global_step_400/actor/config.jsonAdded+65
artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.02_is0.02_seed101/global_step_400/actor/generation_config.jsonAdded+6
artifacts/hf_models/ministral-8b-instruct-dsgrpo-dapo17k-math12k/dsgrpo_bs128_rollout8_lr3e-7_cs0.02_is0.02_seed101/global_step_400/actor/huggingface/chat_template.jinjaAdded+87