Upload folder using huggingface_hub
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
Files changed (50)
- .gitattributes+24
- runs/i5-fulle-lm/checkpoint-1152/chat_template.jinjaAdded+85
- runs/i5-fulle-lm/checkpoint-1152/config.jsonAdded+32
- runs/i5-fulle-lm/checkpoint-1152/generation_config.jsonAdded+11
- runs/i5-fulle-lm/checkpoint-1152/model.safetensorsAdded+3
- runs/i5-fulle-lm/checkpoint-1152/optimizer.ptAdded+3
- runs/i5-fulle-lm/checkpoint-1152/rng_state_0.pthAdded+3
- runs/i5-fulle-lm/checkpoint-1152/rng_state_1.pthAdded+3
- runs/i5-fulle-lm/checkpoint-1152/scheduler.ptAdded+3
- runs/i5-fulle-lm/checkpoint-1152/tokenizer.jsonAdded+3
- runs/i5-fulle-lm/checkpoint-1152/tokenizer_config.jsonAdded+24
- runs/i5-fulle-lm/checkpoint-1152/trainer_state.jsonAdded
- runs/i5-fulle-lm/checkpoint-1152/training_args.binAdded+3
- runs/i5-fulle-lm/checkpoint-1440/chat_template.jinjaAdded+85
- runs/i5-fulle-lm/checkpoint-1440/config.jsonAdded+32
- runs/i5-fulle-lm/checkpoint-1440/generation_config.jsonAdded+11
- runs/i5-fulle-lm/checkpoint-1440/model.safetensorsAdded+3
- runs/i5-fulle-lm/checkpoint-1440/optimizer.ptAdded+3
- runs/i5-fulle-lm/checkpoint-1440/rng_state_0.pthAdded+3
- runs/i5-fulle-lm/checkpoint-1440/rng_state_1.pthAdded+3
- runs/i5-fulle-lm/checkpoint-1440/scheduler.ptAdded+3
- runs/i5-fulle-lm/checkpoint-1440/tokenizer.jsonAdded+3
- runs/i5-fulle-lm/checkpoint-1440/tokenizer_config.jsonAdded+24
- runs/i5-fulle-lm/checkpoint-1440/trainer_state.jsonAdded
- runs/i5-fulle-lm/checkpoint-1440/training_args.binAdded+3
- runs/i5-fulle-lm/checkpoint-1728/chat_template.jinjaAdded+85
- runs/i5-fulle-lm/checkpoint-1728/config.jsonAdded+32
- runs/i5-fulle-lm/checkpoint-1728/generation_config.jsonAdded+11
- runs/i5-fulle-lm/checkpoint-1728/model.safetensorsAdded+3
- runs/i5-fulle-lm/checkpoint-1728/optimizer.ptAdded+3
- runs/i5-fulle-lm/checkpoint-1728/rng_state_0.pthAdded+3
- runs/i5-fulle-lm/checkpoint-1728/rng_state_1.pthAdded+3
- runs/i5-fulle-lm/checkpoint-1728/scheduler.ptAdded+3
- runs/i5-fulle-lm/checkpoint-1728/tokenizer.jsonAdded+3
- runs/i5-fulle-lm/checkpoint-1728/tokenizer_config.jsonAdded+24
- runs/i5-fulle-lm/checkpoint-1728/trainer_state.jsonAdded
- runs/i5-fulle-lm/checkpoint-1728/training_args.binAdded+3
- runs/i5-fulle-lm/checkpoint-2016/chat_template.jinjaAdded+85
- runs/i5-fulle-lm/checkpoint-2016/config.jsonAdded+32
- runs/i5-fulle-lm/checkpoint-2016/generation_config.jsonAdded+11
- runs/i5-fulle-lm/checkpoint-2016/model.safetensorsAdded+3
- runs/i5-fulle-lm/checkpoint-2016/optimizer.ptAdded+3
- runs/i5-fulle-lm/checkpoint-2016/rng_state_0.pthAdded+3
- runs/i5-fulle-lm/checkpoint-2016/rng_state_1.pthAdded+3
- runs/i5-fulle-lm/checkpoint-2016/scheduler.ptAdded+3
- runs/i5-fulle-lm/checkpoint-2016/tokenizer.jsonAdded+3
- runs/i5-fulle-lm/checkpoint-2016/tokenizer_config.jsonAdded+24
- runs/i5-fulle-lm/checkpoint-2016/trainer_state.jsonAdded
- runs/i5-fulle-lm/checkpoint-2016/training_args.binAdded+3
- runs/i5-fulle-lm/checkpoint-2304/chat_template.jinjaAdded+85
298 unmodified lines299300301298 unmodified linesruns/baseline-fulle-lm/checkpoint-8352/tokenizer.json filter=lfs diff=lfs merge=lfs -textruns/baseline-fulle-lm/checkpoint-864/tokenizer.json filter=lfs diff=lfs merge=lfs -textruns/baseline-fulle-lm/checkpoint-8640/tokenizer.json filter=lfs diff=lfs merge=lfs -text298 unmodified lines299300301302303304305306307308309310311312313314315316317318319320321322323324325298 unmodified linesruns/baseline-fulle-lm/checkpoint-8352/tokenizer.json filter=lfs diff=lfs merge=lfs -textruns/baseline-fulle-lm/checkpoint-864/tokenizer.json filter=lfs diff=lfs merge=lfs -textruns/baseline-fulle-lm/checkpoint-8640/tokenizer.json filter=lfs diff=lfs merge=lfs -textruns/i5-fulle-lm/checkpoint-1152/tokenizer.json filter=lfs diff=lfs merge=lfs -textruns/i5-fulle-lm/checkpoint-1440/tokenizer.json filter=lfs diff=lfs merge=lfs -textruns/i5-fulle-lm/checkpoint-1728/tokenizer.json filter=lfs diff=lfs merge=lfs -textruns/i5-fulle-lm/checkpoint-2016/tokenizer.json filter=lfs diff=lfs merge=lfs -textruns/i5-fulle-lm/checkpoint-2304/tokenizer.json filter=lfs diff=lfs merge=lfs -textruns/i5-fulle-lm/checkpoint-2592/tokenizer.json filter=lfs diff=lfs merge=lfs -textruns/i5-fulle-lm/checkpoint-2880/tokenizer.json filter=lfs diff=lfs merge=lfs -textruns/i5-fulle-lm/checkpoint-3168/tokenizer.json filter=lfs diff=lfs merge=lfs -textruns/i5-fulle-lm/checkpoint-3456/tokenizer.json filter=lfs diff=lfs merge=lfs -textruns/i5-fulle-lm/checkpoint-3744/tokenizer.json filter=lfs diff=lfs merge=lfs -textruns/i5-fulle-lm/checkpoint-4032/tokenizer.json filter=lfs diff=lfs merge=lfs -textruns/i5-fulle-lm/checkpoint-4320/tokenizer.json filter=lfs diff=lfs merge=lfs -textruns/i5-fulle-lm/checkpoint-4608/tokenizer.json filter=lfs diff=lfs merge=lfs -textruns/i5-fulle-lm/checkpoint-4896/tokenizer.json filter=lfs diff=lfs merge=lfs -textruns/i5-fulle-lm/checkpoint-5184/tokenizer.json filter=lfs diff=lfs merge=lfs -textruns/i5-fulle-lm/checkpoint-5472/tokenizer.json filter=lfs diff=lfs merge=lfs -textruns/i5-fulle-lm/checkpoint-576/tokenizer.json filter=lfs diff=lfs merge=lfs -textruns/i5-fulle-lm/checkpoint-5760/tokenizer.json filter=lfs diff=lfs merge=lfs -textruns/i5-fulle-lm/checkpoint-6048/tokenizer.json filter=lfs diff=lfs merge=lfs -textruns/i5-fulle-lm/checkpoint-6336/tokenizer.json filter=lfs diff=lfs merge=lfs -textruns/i5-fulle-lm/checkpoint-6624/tokenizer.json filter=lfs diff=lfs merge=lfs -textruns/i5-fulle-lm/checkpoint-6912/tokenizer.json filter=lfs diff=lfs merge=lfs -textruns/i5-fulle-lm/checkpoint-7200/tokenizer.json filter=lfs diff=lfs merge=lfs -textruns/i5-fulle-lm/checkpoint-864/tokenizer.json filter=lfs diff=lfs merge=lfs -text
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485{%- if tools %} {{- '<|im_start|>system\n' }} {%- if messages[0].role == 'system' %} {{- messages[0].content + '\n\n' }} {%- endif %} {{- "# Tools\n\nYou may call one or more functions to assist with the user query.\n\nYou are provided with function signatures within <tools></tools> XML tags:\n<tools>" }} {%- for tool in tools %} {{- "\n" }} {{- tool | tojson }} {%- endfor %} {{- "\n</tools>\n\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\n<tool_call>\n{\"name\": <function-name>, \"arguments\": <args-json-object>}\n</tool_call><|im_end|>\n" }}{%- else %} {%- if messages[0].role == 'system' %} {{- '<|im_start|>system\n' + messages[0].content + '<|im_end|>\n' }} {%- endif %}{%- endif %}{%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}{%- for message in messages[::-1] %} {%- set index = (messages|length - 1) - loop.index0 %} {%- if ns.multi_step_tool and message.role == "user" and not(message.content.startswith('<tool_response>') and message.content.endswith('</tool_response>')) %} {%- set ns.multi_step_tool = false %} {%- set ns.last_query_index = index %} {%- endif %}{%- endfor %}{%- for message in messages %} {%- if (message.role == "user") or (message.role == "system" and not loop.first) %} {{- '<|im_start|>' + message.role + '\n' + message.content + '<|im_end|>' + '\n' }} {%- elif message.role == "assistant" %} {%- set content = message.content %} {%- set reasoning_content = '' %} {%- if message.reasoning_content is defined and message.reasoning_content is not none %} {%- set reasoning_content = message.reasoning_content %} {%- else %} {%- if '</think>' in message.content %} {%- set content = message.content.split('</think>')[-1].lstrip('\n') %} {%- set reasoning_content = message.content.split('</think>')[0].rstrip('\n').split('<think>')[-1].lstrip('\n') %} {%- endif %} {%- endif %} {%- if loop.index0 > ns.last_query_index %} {%- if loop.last or (not loop.last and reasoning_content) %} {{- '<|im_start|>' + message.role + '\n<think>\n' + reasoning_content.strip('\n') + '\n</think>\n\n' + content.lstrip('\n') }} {%- else %} {{- '<|im_start|>' + message.role + '\n' + content }} {%- endif %} {%- else %} {{- '<|im_start|>' + message.role + '\n' + content }} {%- endif %} {%- if message.tool_calls %} {%- for tool_call in message.tool_calls %} {%- if (loop.first and content) or (not loop.first) %} {{- '\n' }} {%- endif %} {%- if tool_call.function %} {%- set tool_call = tool_call.function %} {%- endif %} {{- '<tool_call>\n{"name": "' }} {{- tool_call.name }} {{- '", "arguments": ' }} {%- if tool_call.arguments is string %} {{- tool_call.arguments }} {%- else %} {{- tool_call.arguments | tojson }} {%- endif %} {{- '}\n</tool_call>' }} {%- endfor %} {%- endif %} {{- '<|im_end|>\n' }} {%- elif message.role == "tool" %} {%- if loop.first or (messages[loop.index0 - 1].role != "tool") %} {{- '<|im_start|>user' }} {%- endif %} {{- '\n<tool_response>\n' }} {{- message.content }} {{- '\n</tool_response>' }} {%- if loop.last or (messages[loop.index0 + 1].role != "tool") %} {{- '<|im_end|>\n' }} {%- endif %} {%- endif %}{%- endfor %}{%- if add_generation_prompt %} {{- '<|im_start|>assistant\n' }} {%- if enable_thinking is defined and enable_thinking is false %} {{- '<think>\n\n</think>\n\n' }} {%- endif %}{%- endif %}1234567891011121314151617181920212223242526272829303132{ "architectures": [ "LlamaForCausalLM" ], "attention_bias": false, "attention_dropout": 0.0, "bos_token_id": null, "dtype": "float32", "eos_token_id": 151645, "head_dim": 128, "hidden_act": "silu", "hidden_size": 512, "initializer_range": 0.02, "intermediate_size": 1536, "max_position_embeddings": 2048, "mlp_bias": false, "model_type": "llama", "num_attention_heads": 4, "num_hidden_layers": 20, "num_key_value_heads": 4, "pad_token_id": 151645, "pretraining_tp": 1, "rms_norm_eps": 1e-06, "rope_parameters": { "rope_theta": 10000.0, "rope_type": "default" }, "tie_word_embeddings": true, "transformers_version": "5.6.2", "use_cache": false, "vocab_size": 151676}1234567891011{ "_from_model_config": true, "eos_token_id": [ 151645 ], "output_attentions": false, "output_hidden_states": false, "pad_token_id": 151645, "transformers_version": "5.6.2", "use_cache": true}123version https://git-lfs.github.com/spec/v1oid sha256:2fbb08f511119b44417aa92e1dd86326ac46d9898fda3751de62d841eeefe748size 583366472123version https://git-lfs.github.com/spec/v1oid sha256:6b9b633c85939fb68fb58d2de9f6aa8f5ead2e40933c308c1ab468201e1e39f1size 1166848378123version https://git-lfs.github.com/spec/v1oid sha256:a0f9b53ae160773f7447066440e794b3e8b84a8feabba481d3dc578345958e99size 14512123version https://git-lfs.github.com/spec/v1oid sha256:bcf51d16b6f8617007bbb23ffdf6286dab68d69cf7a39ae1ddcb85e6df4dc88esize 14512123version https://git-lfs.github.com/spec/v1oid sha256:6a67914066d1aebda73626cb9d7d4cbc46ee7df332e5ae85a86cc87be8e519c8size 1064123version https://git-lfs.github.com/spec/v1oid sha256:54452a75ce56e0ec6fa4b0d12b962e4761c2cf48469a1c7e59a810fa28365a2esize 11425039123456789101112131415161718192021222324{ "add_prefix_space": false, "backend": "tokenizers", "bos_token": null, "clean_up_tokenization_spaces": false, "eos_token": "<|im_end|>", "errors": "replace", "extra_special_tokens": [ "<|l2r_pred|>", "<|r2l_pred|>", "<|next_1_pred|>", "<|next_2_pred|>", "<|next_3_pred|>", "<|next_4_pred|>", "<|next_5_pred|>" ], "is_local": false, "local_files_only": false, "model_max_length": 32768, "pad_token": "<|im_end|>", "split_special_tokens": false, "tokenizer_class": "Qwen2Tokenizer", "unk_token": null}123version https://git-lfs.github.com/spec/v1oid sha256:d8f263d5de9e8b34b81241ea7fcc18ffaeeea0ecb1f271a59a90d09a98f86bf5size 485612345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485{%- if tools %} {{- '<|im_start|>system\n' }} {%- if messages[0].role == 'system' %} {{- messages[0].content + '\n\n' }} {%- endif %} {{- "# Tools\n\nYou may call one or more functions to assist with the user query.\n\nYou are provided with function signatures within <tools></tools> XML tags:\n<tools>" }} {%- for tool in tools %} {{- "\n" }} {{- tool | tojson }} {%- endfor %} {{- "\n</tools>\n\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\n<tool_call>\n{\"name\": <function-name>, \"arguments\": <args-json-object>}\n</tool_call><|im_end|>\n" }}{%- else %} {%- if messages[0].role == 'system' %} {{- '<|im_start|>system\n' + messages[0].content + '<|im_end|>\n' }} {%- endif %}{%- endif %}{%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}{%- for message in messages[::-1] %} {%- set index = (messages|length - 1) - loop.index0 %} {%- if ns.multi_step_tool and message.role == "user" and not(message.content.startswith('<tool_response>') and message.content.endswith('</tool_response>')) %} {%- set ns.multi_step_tool = false %} {%- set ns.last_query_index = index %} {%- endif %}{%- endfor %}{%- for message in messages %} {%- if (message.role == "user") or (message.role == "system" and not loop.first) %} {{- '<|im_start|>' + message.role + '\n' + message.content + '<|im_end|>' + '\n' }} {%- elif message.role == "assistant" %} {%- set content = message.content %} {%- set reasoning_content = '' %} {%- if message.reasoning_content is defined and message.reasoning_content is not none %} {%- set reasoning_content = message.reasoning_content %} {%- else %} {%- if '</think>' in message.content %} {%- set content = message.content.split('</think>')[-1].lstrip('\n') %} {%- set reasoning_content = message.content.split('</think>')[0].rstrip('\n').split('<think>')[-1].lstrip('\n') %} {%- endif %} {%- endif %} {%- if loop.index0 > ns.last_query_index %} {%- if loop.last or (not loop.last and reasoning_content) %} {{- '<|im_start|>' + message.role + '\n<think>\n' + reasoning_content.strip('\n') + '\n</think>\n\n' + content.lstrip('\n') }} {%- else %} {{- '<|im_start|>' + message.role + '\n' + content }} {%- endif %} {%- else %} {{- '<|im_start|>' + message.role + '\n' + content }} {%- endif %} {%- if message.tool_calls %} {%- for tool_call in message.tool_calls %} {%- if (loop.first and content) or (not loop.first) %} {{- '\n' }} {%- endif %} {%- if tool_call.function %} {%- set tool_call = tool_call.function %} {%- endif %} {{- '<tool_call>\n{"name": "' }} {{- tool_call.name }} {{- '", "arguments": ' }} {%- if tool_call.arguments is string %} {{- tool_call.arguments }} {%- else %} {{- tool_call.arguments | tojson }} {%- endif %} {{- '}\n</tool_call>' }} {%- endfor %} {%- endif %} {{- '<|im_end|>\n' }} {%- elif message.role == "tool" %} {%- if loop.first or (messages[loop.index0 - 1].role != "tool") %} {{- '<|im_start|>user' }} {%- endif %} {{- '\n<tool_response>\n' }} {{- message.content }} {{- '\n</tool_response>' }} {%- if loop.last or (messages[loop.index0 + 1].role != "tool") %} {{- '<|im_end|>\n' }} {%- endif %} {%- endif %}{%- endfor %}{%- if add_generation_prompt %} {{- '<|im_start|>assistant\n' }} {%- if enable_thinking is defined and enable_thinking is false %} {{- '<think>\n\n</think>\n\n' }} {%- endif %}{%- endif %}1234567891011121314151617181920212223242526272829303132{ "architectures": [ "LlamaForCausalLM" ], "attention_bias": false, "attention_dropout": 0.0, "bos_token_id": null, "dtype": "float32", "eos_token_id": 151645, "head_dim": 128, "hidden_act": "silu", "hidden_size": 512, "initializer_range": 0.02, "intermediate_size": 1536, "max_position_embeddings": 2048, "mlp_bias": false, "model_type": "llama", "num_attention_heads": 4, "num_hidden_layers": 20, "num_key_value_heads": 4, "pad_token_id": 151645, "pretraining_tp": 1, "rms_norm_eps": 1e-06, "rope_parameters": { "rope_theta": 10000.0, "rope_type": "default" }, "tie_word_embeddings": true, "transformers_version": "5.6.2", "use_cache": false, "vocab_size": 151676}1234567891011{ "_from_model_config": true, "eos_token_id": [ 151645 ], "output_attentions": false, "output_hidden_states": false, "pad_token_id": 151645, "transformers_version": "5.6.2", "use_cache": true}123version https://git-lfs.github.com/spec/v1oid sha256:f5c4b44607e3909eb2c3522da7a1fdf3ee93b0262555aa638ebb478108a30004size 583366472123version https://git-lfs.github.com/spec/v1oid sha256:2851f671cc260d83c80e7f3853da1aab94c44e6c4b6f5538369578c33b37f48esize 1166848378123version https://git-lfs.github.com/spec/v1oid sha256:071c824408ffb0c490a68961d002244bd26d6ff1aef68d31ab486706278366c3size 14512123version https://git-lfs.github.com/spec/v1oid sha256:0e269c2fc6889f144b1e5b92d4fa622867515e3cba6e8bc00de1211853be214esize 14512123version https://git-lfs.github.com/spec/v1oid sha256:8a84bbc84bb0dd489a2d72fd441cc0b8482e9e06d7cde3ac44b50a389883ce86size 1064123version https://git-lfs.github.com/spec/v1oid sha256:54452a75ce56e0ec6fa4b0d12b962e4761c2cf48469a1c7e59a810fa28365a2esize 11425039123456789101112131415161718192021222324{ "add_prefix_space": false, "backend": "tokenizers", "bos_token": null, "clean_up_tokenization_spaces": false, "eos_token": "<|im_end|>", "errors": "replace", "extra_special_tokens": [ "<|l2r_pred|>", "<|r2l_pred|>", "<|next_1_pred|>", "<|next_2_pred|>", "<|next_3_pred|>", "<|next_4_pred|>", "<|next_5_pred|>" ], "is_local": false, "local_files_only": false, "model_max_length": 32768, "pad_token": "<|im_end|>", "split_special_tokens": false, "tokenizer_class": "Qwen2Tokenizer", "unk_token": null}123version https://git-lfs.github.com/spec/v1oid sha256:d8f263d5de9e8b34b81241ea7fcc18ffaeeea0ecb1f271a59a90d09a98f86bf5size 485612345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485{%- if tools %} {{- '<|im_start|>system\n' }} {%- if messages[0].role == 'system' %} {{- messages[0].content + '\n\n' }} {%- endif %} {{- "# Tools\n\nYou may call one or more functions to assist with the user query.\n\nYou are provided with function signatures within <tools></tools> XML tags:\n<tools>" }} {%- for tool in tools %} {{- "\n" }} {{- tool | tojson }} {%- endfor %} {{- "\n</tools>\n\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\n<tool_call>\n{\"name\": <function-name>, \"arguments\": <args-json-object>}\n</tool_call><|im_end|>\n" }}{%- else %} {%- if messages[0].role == 'system' %} {{- '<|im_start|>system\n' + messages[0].content + '<|im_end|>\n' }} {%- endif %}{%- endif %}{%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}{%- for message in messages[::-1] %} {%- set index = (messages|length - 1) - loop.index0 %} {%- if ns.multi_step_tool and message.role == "user" and not(message.content.startswith('<tool_response>') and message.content.endswith('</tool_response>')) %} {%- set ns.multi_step_tool = false %} {%- set ns.last_query_index = index %} {%- endif %}{%- endfor %}{%- for message in messages %} {%- if (message.role == "user") or (message.role == "system" and not loop.first) %} {{- '<|im_start|>' + message.role + '\n' + message.content + '<|im_end|>' + '\n' }} {%- elif message.role == "assistant" %} {%- set content = message.content %} {%- set reasoning_content = '' %} {%- if message.reasoning_content is defined and message.reasoning_content is not none %} {%- set reasoning_content = message.reasoning_content %} {%- else %} {%- if '</think>' in message.content %} {%- set content = message.content.split('</think>')[-1].lstrip('\n') %} {%- set reasoning_content = message.content.split('</think>')[0].rstrip('\n').split('<think>')[-1].lstrip('\n') %} {%- endif %} {%- endif %} {%- if loop.index0 > ns.last_query_index %} {%- if loop.last or (not loop.last and reasoning_content) %} {{- '<|im_start|>' + message.role + '\n<think>\n' + reasoning_content.strip('\n') + '\n</think>\n\n' + content.lstrip('\n') }} {%- else %} {{- '<|im_start|>' + message.role + '\n' + content }} {%- endif %} {%- else %} {{- '<|im_start|>' + message.role + '\n' + content }} {%- endif %} {%- if message.tool_calls %} {%- for tool_call in message.tool_calls %} {%- if (loop.first and content) or (not loop.first) %} {{- '\n' }} {%- endif %} {%- if tool_call.function %} {%- set tool_call = tool_call.function %} {%- endif %} {{- '<tool_call>\n{"name": "' }} {{- tool_call.name }} {{- '", "arguments": ' }} {%- if tool_call.arguments is string %} {{- tool_call.arguments }} {%- else %} {{- tool_call.arguments | tojson }} {%- endif %} {{- '}\n</tool_call>' }} {%- endfor %} {%- endif %} {{- '<|im_end|>\n' }} {%- elif message.role == "tool" %} {%- if loop.first or (messages[loop.index0 - 1].role != "tool") %} {{- '<|im_start|>user' }} {%- endif %} {{- '\n<tool_response>\n' }} {{- message.content }} {{- '\n</tool_response>' }} {%- if loop.last or (messages[loop.index0 + 1].role != "tool") %} {{- '<|im_end|>\n' }} {%- endif %} {%- endif %}{%- endfor %}{%- if add_generation_prompt %} {{- '<|im_start|>assistant\n' }} {%- if enable_thinking is defined and enable_thinking is false %} {{- '<think>\n\n</think>\n\n' }} {%- endif %}{%- endif %}1234567891011121314151617181920212223242526272829303132{ "architectures": [ "LlamaForCausalLM" ], "attention_bias": false, "attention_dropout": 0.0, "bos_token_id": null, "dtype": "float32", "eos_token_id": 151645, "head_dim": 128, "hidden_act": "silu", "hidden_size": 512, "initializer_range": 0.02, "intermediate_size": 1536, "max_position_embeddings": 2048, "mlp_bias": false, "model_type": "llama", "num_attention_heads": 4, "num_hidden_layers": 20, "num_key_value_heads": 4, "pad_token_id": 151645, "pretraining_tp": 1, "rms_norm_eps": 1e-06, "rope_parameters": { "rope_theta": 10000.0, "rope_type": "default" }, "tie_word_embeddings": true, "transformers_version": "5.6.2", "use_cache": false, "vocab_size": 151676}1234567891011{ "_from_model_config": true, "eos_token_id": [ 151645 ], "output_attentions": false, "output_hidden_states": false, "pad_token_id": 151645, "transformers_version": "5.6.2", "use_cache": true}123version https://git-lfs.github.com/spec/v1oid sha256:c652ce3dd3d5161ca0deeb25ec1e65a5dc942f14bfc624d0270ea4bd70884246size 583366472123version https://git-lfs.github.com/spec/v1oid sha256:1b0f405c707a830fc6cacb872ef9d952d5cde86ce0284edeb44d8e835633165dsize 1166848378123version https://git-lfs.github.com/spec/v1oid sha256:9d9a0928fde30f792ff89d05f707de41d890ce9059333d5dd706a3b3dcac5cf4size 14512123version https://git-lfs.github.com/spec/v1oid sha256:4c90276ef05fbdfb63c68b1e70ad1fe9ebff6b60eebfd87121321c182a4c5e70size 14512123version https://git-lfs.github.com/spec/v1oid sha256:d6a6171dda32af3a9caef592bd2cfcdef1224bfed4ddda14026d355f2f43e8f1size 1064123version https://git-lfs.github.com/spec/v1oid sha256:54452a75ce56e0ec6fa4b0d12b962e4761c2cf48469a1c7e59a810fa28365a2esize 11425039123456789101112131415161718192021222324{ "add_prefix_space": false, "backend": "tokenizers", "bos_token": null, "clean_up_tokenization_spaces": false, "eos_token": "<|im_end|>", "errors": "replace", "extra_special_tokens": [ "<|l2r_pred|>", "<|r2l_pred|>", "<|next_1_pred|>", "<|next_2_pred|>", "<|next_3_pred|>", "<|next_4_pred|>", "<|next_5_pred|>" ], "is_local": false, "local_files_only": false, "model_max_length": 32768, "pad_token": "<|im_end|>", "split_special_tokens": false, "tokenizer_class": "Qwen2Tokenizer", "unk_token": null}123version https://git-lfs.github.com/spec/v1oid sha256:d8f263d5de9e8b34b81241ea7fcc18ffaeeea0ecb1f271a59a90d09a98f86bf5size 485612345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485{%- if tools %} {{- '<|im_start|>system\n' }} {%- if messages[0].role == 'system' %} {{- messages[0].content + '\n\n' }} {%- endif %} {{- "# Tools\n\nYou may call one or more functions to assist with the user query.\n\nYou are provided with function signatures within <tools></tools> XML tags:\n<tools>" }} {%- for tool in tools %} {{- "\n" }} {{- tool | tojson }} {%- endfor %} {{- "\n</tools>\n\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\n<tool_call>\n{\"name\": <function-name>, \"arguments\": <args-json-object>}\n</tool_call><|im_end|>\n" }}{%- else %} {%- if messages[0].role == 'system' %} {{- '<|im_start|>system\n' + messages[0].content + '<|im_end|>\n' }} {%- endif %}{%- endif %}{%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}{%- for message in messages[::-1] %} {%- set index = (messages|length - 1) - loop.index0 %} {%- if ns.multi_step_tool and message.role == "user" and not(message.content.startswith('<tool_response>') and message.content.endswith('</tool_response>')) %} {%- set ns.multi_step_tool = false %} {%- set ns.last_query_index = index %} {%- endif %}{%- endfor %}{%- for message in messages %} {%- if (message.role == "user") or (message.role == "system" and not loop.first) %} {{- '<|im_start|>' + message.role + '\n' + message.content + '<|im_end|>' + '\n' }} {%- elif message.role == "assistant" %} {%- set content = message.content %} {%- set reasoning_content = '' %} {%- if message.reasoning_content is defined and message.reasoning_content is not none %} {%- set reasoning_content = message.reasoning_content %} {%- else %} {%- if '</think>' in message.content %} {%- set content = message.content.split('</think>')[-1].lstrip('\n') %} {%- set reasoning_content = message.content.split('</think>')[0].rstrip('\n').split('<think>')[-1].lstrip('\n') %} {%- endif %} {%- endif %} {%- if loop.index0 > ns.last_query_index %} {%- if loop.last or (not loop.last and reasoning_content) %} {{- '<|im_start|>' + message.role + '\n<think>\n' + reasoning_content.strip('\n') + '\n</think>\n\n' + content.lstrip('\n') }} {%- else %} {{- '<|im_start|>' + message.role + '\n' + content }} {%- endif %} {%- else %} {{- '<|im_start|>' + message.role + '\n' + content }} {%- endif %} {%- if message.tool_calls %} {%- for tool_call in message.tool_calls %} {%- if (loop.first and content) or (not loop.first) %} {{- '\n' }} {%- endif %} {%- if tool_call.function %} {%- set tool_call = tool_call.function %} {%- endif %} {{- '<tool_call>\n{"name": "' }} {{- tool_call.name }} {{- '", "arguments": ' }} {%- if tool_call.arguments is string %} {{- tool_call.arguments }} {%- else %} {{- tool_call.arguments | tojson }} {%- endif %} {{- '}\n</tool_call>' }} {%- endfor %} {%- endif %} {{- '<|im_end|>\n' }} {%- elif message.role == "tool" %} {%- if loop.first or (messages[loop.index0 - 1].role != "tool") %} {{- '<|im_start|>user' }} {%- endif %} {{- '\n<tool_response>\n' }} {{- message.content }} {{- '\n</tool_response>' }} {%- if loop.last or (messages[loop.index0 + 1].role != "tool") %} {{- '<|im_end|>\n' }} {%- endif %} {%- endif %}{%- endfor %}{%- if add_generation_prompt %} {{- '<|im_start|>assistant\n' }} {%- if enable_thinking is defined and enable_thinking is false %} {{- '<think>\n\n</think>\n\n' }} {%- endif %}{%- endif %}1234567891011121314151617181920212223242526272829303132{ "architectures": [ "LlamaForCausalLM" ], "attention_bias": false, "attention_dropout": 0.0, "bos_token_id": null, "dtype": "float32", "eos_token_id": 151645, "head_dim": 128, "hidden_act": "silu", "hidden_size": 512, "initializer_range": 0.02, "intermediate_size": 1536, "max_position_embeddings": 2048, "mlp_bias": false, "model_type": "llama", "num_attention_heads": 4, "num_hidden_layers": 20, "num_key_value_heads": 4, "pad_token_id": 151645, "pretraining_tp": 1, "rms_norm_eps": 1e-06, "rope_parameters": { "rope_theta": 10000.0, "rope_type": "default" }, "tie_word_embeddings": true, "transformers_version": "5.6.2", "use_cache": false, "vocab_size": 151676}1234567891011{ "_from_model_config": true, "eos_token_id": [ 151645 ], "output_attentions": false, "output_hidden_states": false, "pad_token_id": 151645, "transformers_version": "5.6.2", "use_cache": true}123version https://git-lfs.github.com/spec/v1oid sha256:4a1abf51041cd32dc6d5b81450593ccfd3d0e812c0b2995c82577ada65bfe6b4size 583366472123version https://git-lfs.github.com/spec/v1oid sha256:3c2fc6d4845bfb352f46343d77f09241d4a8825a7cf54f9740fa0a6264c254e5size 1166848378123version https://git-lfs.github.com/spec/v1oid sha256:5f838ad17ab3db337d02332be5592362e88be8d268f27a9f222112a904d16ba5size 14512123version https://git-lfs.github.com/spec/v1oid sha256:fff32f68c348b054ff83891b5f7de62a06422daa265203d988eef4ea2d667b27size 14512123version https://git-lfs.github.com/spec/v1oid sha256:71f52a3ae3412b2053eb61b18dd446a6b3125f82036fb38a407b55123d55fdf7size 1064123version https://git-lfs.github.com/spec/v1oid sha256:54452a75ce56e0ec6fa4b0d12b962e4761c2cf48469a1c7e59a810fa28365a2esize 11425039123456789101112131415161718192021222324{ "add_prefix_space": false, "backend": "tokenizers", "bos_token": null, "clean_up_tokenization_spaces": false, "eos_token": "<|im_end|>", "errors": "replace", "extra_special_tokens": [ "<|l2r_pred|>", "<|r2l_pred|>", "<|next_1_pred|>", "<|next_2_pred|>", "<|next_3_pred|>", "<|next_4_pred|>", "<|next_5_pred|>" ], "is_local": false, "local_files_only": false, "model_max_length": 32768, "pad_token": "<|im_end|>", "split_special_tokens": false, "tokenizer_class": "Qwen2Tokenizer", "unk_token": null}123version https://git-lfs.github.com/spec/v1oid sha256:d8f263d5de9e8b34b81241ea7fcc18ffaeeea0ecb1f271a59a90d09a98f86bf5size 485612345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485{%- if tools %} {{- '<|im_start|>system\n' }} {%- if messages[0].role == 'system' %} {{- messages[0].content + '\n\n' }} {%- endif %} {{- "# Tools\n\nYou may call one or more functions to assist with the user query.\n\nYou are provided with function signatures within <tools></tools> XML tags:\n<tools>" }} {%- for tool in tools %} {{- "\n" }} {{- tool | tojson }} {%- endfor %} {{- "\n</tools>\n\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\n<tool_call>\n{\"name\": <function-name>, \"arguments\": <args-json-object>}\n</tool_call><|im_end|>\n" }}{%- else %} {%- if messages[0].role == 'system' %} {{- '<|im_start|>system\n' + messages[0].content + '<|im_end|>\n' }} {%- endif %}{%- endif %}{%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}{%- for message in messages[::-1] %} {%- set index = (messages|length - 1) - loop.index0 %} {%- if ns.multi_step_tool and message.role == "user" and not(message.content.startswith('<tool_response>') and message.content.endswith('</tool_response>')) %} {%- set ns.multi_step_tool = false %} {%- set ns.last_query_index = index %} {%- endif %}{%- endfor %}{%- for message in messages %} {%- if (message.role == "user") or (message.role == "system" and not loop.first) %} {{- '<|im_start|>' + message.role + '\n' + message.content + '<|im_end|>' + '\n' }} {%- elif message.role == "assistant" %} {%- set content = message.content %} {%- set reasoning_content = '' %} {%- if message.reasoning_content is defined and message.reasoning_content is not none %} {%- set reasoning_content = message.reasoning_content %} {%- else %} {%- if '</think>' in message.content %} {%- set content = message.content.split('</think>')[-1].lstrip('\n') %} {%- set reasoning_content = message.content.split('</think>')[0].rstrip('\n').split('<think>')[-1].lstrip('\n') %} {%- endif %} {%- endif %} {%- if loop.index0 > ns.last_query_index %} {%- if loop.last or (not loop.last and reasoning_content) %} {{- '<|im_start|>' + message.role + '\n<think>\n' + reasoning_content.strip('\n') + '\n</think>\n\n' + content.lstrip('\n') }} {%- else %} {{- '<|im_start|>' + message.role + '\n' + content }} {%- endif %} {%- else %} {{- '<|im_start|>' + message.role + '\n' + content }} {%- endif %} {%- if message.tool_calls %} {%- for tool_call in message.tool_calls %} {%- if (loop.first and content) or (not loop.first) %} {{- '\n' }} {%- endif %} {%- if tool_call.function %} {%- set tool_call = tool_call.function %} {%- endif %} {{- '<tool_call>\n{"name": "' }} {{- tool_call.name }} {{- '", "arguments": ' }} {%- if tool_call.arguments is string %} {{- tool_call.arguments }} {%- else %} {{- tool_call.arguments | tojson }} {%- endif %} {{- '}\n</tool_call>' }} {%- endfor %} {%- endif %} {{- '<|im_end|>\n' }} {%- elif message.role == "tool" %} {%- if loop.first or (messages[loop.index0 - 1].role != "tool") %} {{- '<|im_start|>user' }} {%- endif %} {{- '\n<tool_response>\n' }} {{- message.content }} {{- '\n</tool_response>' }} {%- if loop.last or (messages[loop.index0 + 1].role != "tool") %} {{- '<|im_end|>\n' }} {%- endif %} {%- endif %}{%- endfor %}{%- if add_generation_prompt %} {{- '<|im_start|>assistant\n' }} {%- if enable_thinking is defined and enable_thinking is false %} {{- '<think>\n\n</think>\n\n' }} {%- endif %}{%- endif %}.gitattributes+24
runs/i5-fulle-lm/checkpoint-1152/chat_template.jinjaAdded+85
runs/i5-fulle-lm/checkpoint-1152/config.jsonAdded+32
runs/i5-fulle-lm/checkpoint-1152/generation_config.jsonAdded+11
runs/i5-fulle-lm/checkpoint-1152/model.safetensorsAdded+3
runs/i5-fulle-lm/checkpoint-1152/optimizer.ptAdded+3
runs/i5-fulle-lm/checkpoint-1152/rng_state_0.pthAdded+3
runs/i5-fulle-lm/checkpoint-1152/rng_state_1.pthAdded+3
runs/i5-fulle-lm/checkpoint-1152/scheduler.ptAdded+3
runs/i5-fulle-lm/checkpoint-1152/tokenizer.jsonAdded+3
runs/i5-fulle-lm/checkpoint-1152/tokenizer_config.jsonAdded+24
runs/i5-fulle-lm/checkpoint-1152/trainer_state.jsonAdded
runs/i5-fulle-lm/checkpoint-1152/training_args.binAdded+3
runs/i5-fulle-lm/checkpoint-1440/chat_template.jinjaAdded+85
runs/i5-fulle-lm/checkpoint-1440/config.jsonAdded+32
runs/i5-fulle-lm/checkpoint-1440/generation_config.jsonAdded+11
runs/i5-fulle-lm/checkpoint-1440/model.safetensorsAdded+3
runs/i5-fulle-lm/checkpoint-1440/optimizer.ptAdded+3
runs/i5-fulle-lm/checkpoint-1440/rng_state_0.pthAdded+3
runs/i5-fulle-lm/checkpoint-1440/rng_state_1.pthAdded+3
runs/i5-fulle-lm/checkpoint-1440/scheduler.ptAdded+3
runs/i5-fulle-lm/checkpoint-1440/tokenizer.jsonAdded+3
runs/i5-fulle-lm/checkpoint-1440/tokenizer_config.jsonAdded+24
runs/i5-fulle-lm/checkpoint-1440/trainer_state.jsonAdded
runs/i5-fulle-lm/checkpoint-1440/training_args.binAdded+3
runs/i5-fulle-lm/checkpoint-1728/chat_template.jinjaAdded+85
runs/i5-fulle-lm/checkpoint-1728/config.jsonAdded+32
runs/i5-fulle-lm/checkpoint-1728/generation_config.jsonAdded+11
runs/i5-fulle-lm/checkpoint-1728/model.safetensorsAdded+3
runs/i5-fulle-lm/checkpoint-1728/optimizer.ptAdded+3
runs/i5-fulle-lm/checkpoint-1728/rng_state_0.pthAdded+3
runs/i5-fulle-lm/checkpoint-1728/rng_state_1.pthAdded+3
runs/i5-fulle-lm/checkpoint-1728/scheduler.ptAdded+3
runs/i5-fulle-lm/checkpoint-1728/tokenizer.jsonAdded+3
runs/i5-fulle-lm/checkpoint-1728/tokenizer_config.jsonAdded+24
runs/i5-fulle-lm/checkpoint-1728/trainer_state.jsonAdded
runs/i5-fulle-lm/checkpoint-1728/training_args.binAdded+3
runs/i5-fulle-lm/checkpoint-2016/chat_template.jinjaAdded+85
runs/i5-fulle-lm/checkpoint-2016/config.jsonAdded+32
runs/i5-fulle-lm/checkpoint-2016/generation_config.jsonAdded+11
runs/i5-fulle-lm/checkpoint-2016/model.safetensorsAdded+3
runs/i5-fulle-lm/checkpoint-2016/optimizer.ptAdded+3
runs/i5-fulle-lm/checkpoint-2016/rng_state_0.pthAdded+3
runs/i5-fulle-lm/checkpoint-2016/rng_state_1.pthAdded+3
runs/i5-fulle-lm/checkpoint-2016/scheduler.ptAdded+3
runs/i5-fulle-lm/checkpoint-2016/tokenizer.jsonAdded+3
runs/i5-fulle-lm/checkpoint-2016/tokenizer_config.jsonAdded+24
runs/i5-fulle-lm/checkpoint-2016/trainer_state.jsonAdded
runs/i5-fulle-lm/checkpoint-2016/training_args.binAdded+3
runs/i5-fulle-lm/checkpoint-2304/chat_template.jinjaAdded+85