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+38
- runs/i5-exp-fulle-lm/checkpoint-10080/chat_template.jinjaAdded+85
- runs/i5-exp-fulle-lm/checkpoint-10080/config.jsonAdded+32
- runs/i5-exp-fulle-lm/checkpoint-10080/generation_config.jsonAdded+11
- runs/i5-exp-fulle-lm/checkpoint-10080/model.safetensorsAdded+3
- runs/i5-exp-fulle-lm/checkpoint-10080/optimizer.ptAdded+3
- runs/i5-exp-fulle-lm/checkpoint-10080/rng_state_0.pthAdded+3
- runs/i5-exp-fulle-lm/checkpoint-10080/rng_state_1.pthAdded+3
- runs/i5-exp-fulle-lm/checkpoint-10080/rng_state_2.pthAdded+3
- runs/i5-exp-fulle-lm/checkpoint-10080/rng_state_3.pthAdded+3
- runs/i5-exp-fulle-lm/checkpoint-10080/scheduler.ptAdded+3
- runs/i5-exp-fulle-lm/checkpoint-10080/tokenizer.jsonAdded+3
- runs/i5-exp-fulle-lm/checkpoint-10080/tokenizer_config.jsonAdded+23
- runs/i5-exp-fulle-lm/checkpoint-10080/trainer_state.jsonAdded
- runs/i5-exp-fulle-lm/checkpoint-10080/training_args.binAdded+3
- runs/i5-exp-fulle-lm/checkpoint-10368/chat_template.jinjaAdded+85
- runs/i5-exp-fulle-lm/checkpoint-10368/config.jsonAdded+32
- runs/i5-exp-fulle-lm/checkpoint-10368/generation_config.jsonAdded+11
- runs/i5-exp-fulle-lm/checkpoint-10368/model.safetensorsAdded+3
- runs/i5-exp-fulle-lm/checkpoint-10368/optimizer.ptAdded+3
- runs/i5-exp-fulle-lm/checkpoint-10368/rng_state_0.pthAdded+3
- runs/i5-exp-fulle-lm/checkpoint-10368/rng_state_1.pthAdded+3
- runs/i5-exp-fulle-lm/checkpoint-10368/rng_state_2.pthAdded+3
- runs/i5-exp-fulle-lm/checkpoint-10368/rng_state_3.pthAdded+3
- runs/i5-exp-fulle-lm/checkpoint-10368/scheduler.ptAdded+3
- runs/i5-exp-fulle-lm/checkpoint-10368/tokenizer.jsonAdded+3
- runs/i5-exp-fulle-lm/checkpoint-10368/tokenizer_config.jsonAdded+23
- runs/i5-exp-fulle-lm/checkpoint-10368/trainer_state.jsonAdded
- runs/i5-exp-fulle-lm/checkpoint-10368/training_args.binAdded+3
- runs/i5-exp-fulle-lm/checkpoint-10656/chat_template.jinjaAdded+85
- runs/i5-exp-fulle-lm/checkpoint-10656/config.jsonAdded+32
- runs/i5-exp-fulle-lm/checkpoint-10656/generation_config.jsonAdded+11
- runs/i5-exp-fulle-lm/checkpoint-10656/model.safetensorsAdded+3
- runs/i5-exp-fulle-lm/checkpoint-10656/optimizer.ptAdded+3
- runs/i5-exp-fulle-lm/checkpoint-10656/rng_state_0.pthAdded+3
- runs/i5-exp-fulle-lm/checkpoint-10656/rng_state_1.pthAdded+3
- runs/i5-exp-fulle-lm/checkpoint-10656/rng_state_2.pthAdded+3
- runs/i5-exp-fulle-lm/checkpoint-10656/rng_state_3.pthAdded+3
- runs/i5-exp-fulle-lm/checkpoint-10656/scheduler.ptAdded+3
- runs/i5-exp-fulle-lm/checkpoint-10656/tokenizer.jsonAdded+3
- runs/i5-exp-fulle-lm/checkpoint-10656/tokenizer_config.jsonAdded+23
- runs/i5-exp-fulle-lm/checkpoint-10656/trainer_state.jsonAdded
- runs/i5-exp-fulle-lm/checkpoint-10656/training_args.binAdded+3
- runs/i5-exp-fulle-lm/checkpoint-1152/chat_template.jinjaAdded+85
- runs/i5-exp-fulle-lm/checkpoint-1152/config.jsonAdded+32
- runs/i5-exp-fulle-lm/checkpoint-1152/generation_config.jsonAdded+11
- runs/i5-exp-fulle-lm/checkpoint-1152/model.safetensorsAdded+3
- runs/i5-exp-fulle-lm/checkpoint-1152/optimizer.ptAdded+3
- runs/i5-exp-fulle-lm/checkpoint-1152/rng_state_0.pthAdded+3
- runs/i5-exp-fulle-lm/checkpoint-1152/rng_state_1.pthAdded+3
428 unmodified lines429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469428 unmodified linesruns/psm25-spm25-fulle-lm/checkpoint-9216/tokenizer.json filter=lfs diff=lfs merge=lfs -textruns/psm25-spm25-fulle-lm/checkpoint-9504/tokenizer.json filter=lfs diff=lfs merge=lfs -textruns/psm25-spm25-fulle-lm/checkpoint-9792/tokenizer.json filter=lfs diff=lfs merge=lfs -textruns/i5-exp-fulle-lm/checkpoint-10080/tokenizer.json filter=lfs diff=lfs merge=lfs -textruns/i5-exp-fulle-lm/checkpoint-10368/tokenizer.json filter=lfs diff=lfs merge=lfs -textruns/i5-exp-fulle-lm/checkpoint-10656/tokenizer.json filter=lfs diff=lfs merge=lfs -textruns/i5-exp-fulle-lm/checkpoint-1152/tokenizer.json filter=lfs diff=lfs merge=lfs -textruns/i5-exp-fulle-lm/checkpoint-1440/tokenizer.json filter=lfs diff=lfs merge=lfs -textruns/i5-exp-fulle-lm/checkpoint-1728/tokenizer.json filter=lfs diff=lfs merge=lfs -textruns/i5-exp-fulle-lm/checkpoint-2016/tokenizer.json filter=lfs diff=lfs merge=lfs -textruns/i5-exp-fulle-lm/checkpoint-2304/tokenizer.json filter=lfs diff=lfs merge=lfs -textruns/i5-exp-fulle-lm/checkpoint-2592/tokenizer.json filter=lfs diff=lfs merge=lfs -textruns/i5-exp-fulle-lm/checkpoint-288/tokenizer.json filter=lfs diff=lfs merge=lfs -textruns/i5-exp-fulle-lm/checkpoint-2880/tokenizer.json filter=lfs diff=lfs merge=lfs -textruns/i5-exp-fulle-lm/checkpoint-3168/tokenizer.json filter=lfs diff=lfs merge=lfs -textruns/i5-exp-fulle-lm/checkpoint-3456/tokenizer.json filter=lfs diff=lfs merge=lfs -textruns/i5-exp-fulle-lm/checkpoint-3744/tokenizer.json filter=lfs diff=lfs merge=lfs -textruns/i5-exp-fulle-lm/checkpoint-4032/tokenizer.json filter=lfs diff=lfs merge=lfs -textruns/i5-exp-fulle-lm/checkpoint-4320/tokenizer.json filter=lfs diff=lfs merge=lfs -textruns/i5-exp-fulle-lm/checkpoint-4608/tokenizer.json filter=lfs diff=lfs merge=lfs -textruns/i5-exp-fulle-lm/checkpoint-4896/tokenizer.json filter=lfs diff=lfs merge=lfs -textruns/i5-exp-fulle-lm/checkpoint-5184/tokenizer.json filter=lfs diff=lfs merge=lfs -textruns/i5-exp-fulle-lm/checkpoint-5472/tokenizer.json filter=lfs diff=lfs merge=lfs -textruns/i5-exp-fulle-lm/checkpoint-576/tokenizer.json filter=lfs diff=lfs merge=lfs -textruns/i5-exp-fulle-lm/checkpoint-5760/tokenizer.json filter=lfs diff=lfs merge=lfs -textruns/i5-exp-fulle-lm/checkpoint-6048/tokenizer.json filter=lfs diff=lfs merge=lfs -textruns/i5-exp-fulle-lm/checkpoint-6336/tokenizer.json filter=lfs diff=lfs merge=lfs -textruns/i5-exp-fulle-lm/checkpoint-6624/tokenizer.json filter=lfs diff=lfs merge=lfs -textruns/i5-exp-fulle-lm/checkpoint-6912/tokenizer.json filter=lfs diff=lfs merge=lfs -textruns/i5-exp-fulle-lm/checkpoint-72/tokenizer.json filter=lfs diff=lfs merge=lfs -textruns/i5-exp-fulle-lm/checkpoint-7200/tokenizer.json filter=lfs diff=lfs merge=lfs -textruns/i5-exp-fulle-lm/checkpoint-7488/tokenizer.json filter=lfs diff=lfs merge=lfs -textruns/i5-exp-fulle-lm/checkpoint-7776/tokenizer.json filter=lfs diff=lfs merge=lfs -textruns/i5-exp-fulle-lm/checkpoint-8064/tokenizer.json filter=lfs diff=lfs merge=lfs -textruns/i5-exp-fulle-lm/checkpoint-8352/tokenizer.json filter=lfs diff=lfs merge=lfs -textruns/i5-exp-fulle-lm/checkpoint-864/tokenizer.json filter=lfs diff=lfs merge=lfs -textruns/i5-exp-fulle-lm/checkpoint-8640/tokenizer.json filter=lfs diff=lfs merge=lfs -textruns/i5-exp-fulle-lm/checkpoint-8928/tokenizer.json filter=lfs diff=lfs merge=lfs -textruns/i5-exp-fulle-lm/checkpoint-9216/tokenizer.json filter=lfs diff=lfs merge=lfs -textruns/i5-exp-fulle-lm/checkpoint-9504/tokenizer.json filter=lfs diff=lfs merge=lfs -textruns/i5-exp-fulle-lm/checkpoint-9792/tokenizer.json filter=lfs diff=lfs merge=lfs -text12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485{%- 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.5.0", "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.5.0", "use_cache": true}123version https://git-lfs.github.com/spec/v1oid sha256:68596249f845021ab5bf4449b9bc16e5b4760a5ad5e0fa2f7a06b64f7788b73csize 583366472123version https://git-lfs.github.com/spec/v1oid sha256:2233036e24a0b694a0f1caf226fa91d074630f62e4d11e18eba48ce19e1d0f89size 1166848378123version https://git-lfs.github.com/spec/v1oid sha256:bc4e09f15812502810bf8258e14f606d367dfcf16643f20adaba83837f628d66size 15024123version https://git-lfs.github.com/spec/v1oid sha256:72b37a3df39cd91b6c41ee1933f634cda4effc57d1b54f9e0599f6fb25fda85asize 15024123version https://git-lfs.github.com/spec/v1oid sha256:53a86b00ef01a9476be686c6032a959e657f3435299ffaab7d1528034bcfcbf0size 15024123version https://git-lfs.github.com/spec/v1oid sha256:a8b0c33318dee352f61ddadbd7dc24c3178e7ee3fa774f230cb1760a6c1ee72esize 15024123version https://git-lfs.github.com/spec/v1oid sha256:382f5d43bf4270795579ec5ec62380276c99a156f2c669880121f6b6e7d6b332size 1064123version https://git-lfs.github.com/spec/v1oid sha256:54452a75ce56e0ec6fa4b0d12b962e4761c2cf48469a1c7e59a810fa28365a2esize 114250391234567891011121314151617181920212223{ "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, "model_max_length": 131072, "pad_token": "<|im_end|>", "split_special_tokens": false, "tokenizer_class": "Qwen2Tokenizer", "unk_token": null}123version https://git-lfs.github.com/spec/v1oid sha256:85d2fc3b79dd6cfafb5b42e194b813e76c2b7719d45b26d4374b5f045a5ac271size 479212345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485{%- 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.5.0", "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.5.0", "use_cache": true}123version https://git-lfs.github.com/spec/v1oid sha256:c514663f41d4f4fc9f43c88dc9cf93647885a53f3262bfbbdf38b0d355f1a63bsize 583366472123version https://git-lfs.github.com/spec/v1oid sha256:67bfcbeb5d58b06736b9618fc52041c0e060f50e2e3cf8330423b26bfc18e444size 1166848378123version https://git-lfs.github.com/spec/v1oid sha256:8d488e4b3a50089a08962680af9641f2886ea457e7a689d37616924e7718a948size 15024123version https://git-lfs.github.com/spec/v1oid sha256:8c294bce82e5f15f032b62399a26b7ef187f9a6f7532cd334574a2e742bddd0esize 15024123version https://git-lfs.github.com/spec/v1oid sha256:9f48ecea0ade0f765c6c8f1c69423fd6061c13f2ccfb21182f5927428514fbd6size 15024123version https://git-lfs.github.com/spec/v1oid sha256:f2497d5fd26f79156625c93f124bf484058a4710aaeec29cecfe59e635fcb95fsize 15024123version https://git-lfs.github.com/spec/v1oid sha256:ec8e2ada15846f168bde9d1d2dcb16f29cf467a8bf6a0ba91e0d3e10394afcedsize 1064123version https://git-lfs.github.com/spec/v1oid sha256:54452a75ce56e0ec6fa4b0d12b962e4761c2cf48469a1c7e59a810fa28365a2esize 114250391234567891011121314151617181920212223{ "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, "model_max_length": 131072, "pad_token": "<|im_end|>", "split_special_tokens": false, "tokenizer_class": "Qwen2Tokenizer", "unk_token": null}123version https://git-lfs.github.com/spec/v1oid sha256:85d2fc3b79dd6cfafb5b42e194b813e76c2b7719d45b26d4374b5f045a5ac271size 479212345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485{%- 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.5.0", "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.5.0", "use_cache": true}123version https://git-lfs.github.com/spec/v1oid sha256:8efcb73be7ca38e6cadc95fc65d0aa9f0fbe432eeebc0f58204b134719a7b8c0size 583366472123version https://git-lfs.github.com/spec/v1oid sha256:1fd9bd5d85275873cafea60d8e78196cebc557ee2654f982a68008b58c4b83b4size 1166848378123version https://git-lfs.github.com/spec/v1oid sha256:6c736d70b2f1ca50b8c9c605173c16fa1d7c923dc5a7a97e99c96b44620bbe94size 15024123version https://git-lfs.github.com/spec/v1oid sha256:ccbcf66b65326b3c41b852c5ec40561e52612967bb5f9987639ae1b62ca2a479size 15024123version https://git-lfs.github.com/spec/v1oid sha256:5c219ca494d2ff0c065d57d3c3bcb328ccb869030f3b9a342e2ba366d5156fb1size 15024123version https://git-lfs.github.com/spec/v1oid sha256:c89bdedffe868b1828e588702c47b6ad8b97b946a360e17ec9d2686a78790d68size 15024123version https://git-lfs.github.com/spec/v1oid sha256:30130fe222daf995984f7ccc29c1e69eda6301b0e09914c8a9dd9903e0c02463size 1064123version https://git-lfs.github.com/spec/v1oid sha256:54452a75ce56e0ec6fa4b0d12b962e4761c2cf48469a1c7e59a810fa28365a2esize 114250391234567891011121314151617181920212223{ "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, "model_max_length": 131072, "pad_token": "<|im_end|>", "split_special_tokens": false, "tokenizer_class": "Qwen2Tokenizer", "unk_token": null}123version https://git-lfs.github.com/spec/v1oid sha256:85d2fc3b79dd6cfafb5b42e194b813e76c2b7719d45b26d4374b5f045a5ac271size 479212345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485{%- 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.5.0", "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.5.0", "use_cache": true}123version https://git-lfs.github.com/spec/v1oid sha256:39eba62c7931f7b096246b4779bad62e1317fa6ea17e804ceb958c9d518f1f12size 583366472123version https://git-lfs.github.com/spec/v1oid sha256:55d4f63bae21fd71d7a114d22a2b6cd6361538e9b4768be7a960ad8f20de7385size 1166845818123version https://git-lfs.github.com/spec/v1oid sha256:62b735ad70e5179210c3231e43080bd2451d7d358b5efe5db5997cbd75fd394dsize 15024123version https://git-lfs.github.com/spec/v1oid sha256:4e39f26de4d91b53c07b4529fc28b0d8db87f95f5cd65b50c9d4f7b36f41aac1size 15024.gitattributes+38
runs/i5-exp-fulle-lm/checkpoint-10080/chat_template.jinjaAdded+85
runs/i5-exp-fulle-lm/checkpoint-10080/config.jsonAdded+32
runs/i5-exp-fulle-lm/checkpoint-10080/generation_config.jsonAdded+11
runs/i5-exp-fulle-lm/checkpoint-10080/model.safetensorsAdded+3
runs/i5-exp-fulle-lm/checkpoint-10080/optimizer.ptAdded+3
runs/i5-exp-fulle-lm/checkpoint-10080/rng_state_0.pthAdded+3
runs/i5-exp-fulle-lm/checkpoint-10080/rng_state_1.pthAdded+3
runs/i5-exp-fulle-lm/checkpoint-10080/rng_state_2.pthAdded+3
runs/i5-exp-fulle-lm/checkpoint-10080/rng_state_3.pthAdded+3
runs/i5-exp-fulle-lm/checkpoint-10080/scheduler.ptAdded+3
runs/i5-exp-fulle-lm/checkpoint-10080/tokenizer.jsonAdded+3
runs/i5-exp-fulle-lm/checkpoint-10080/tokenizer_config.jsonAdded+23
runs/i5-exp-fulle-lm/checkpoint-10080/trainer_state.jsonAdded
runs/i5-exp-fulle-lm/checkpoint-10080/training_args.binAdded+3
runs/i5-exp-fulle-lm/checkpoint-10368/chat_template.jinjaAdded+85
runs/i5-exp-fulle-lm/checkpoint-10368/config.jsonAdded+32
runs/i5-exp-fulle-lm/checkpoint-10368/generation_config.jsonAdded+11
runs/i5-exp-fulle-lm/checkpoint-10368/model.safetensorsAdded+3
runs/i5-exp-fulle-lm/checkpoint-10368/optimizer.ptAdded+3
runs/i5-exp-fulle-lm/checkpoint-10368/rng_state_0.pthAdded+3
runs/i5-exp-fulle-lm/checkpoint-10368/rng_state_1.pthAdded+3
runs/i5-exp-fulle-lm/checkpoint-10368/rng_state_2.pthAdded+3
runs/i5-exp-fulle-lm/checkpoint-10368/rng_state_3.pthAdded+3
runs/i5-exp-fulle-lm/checkpoint-10368/scheduler.ptAdded+3
runs/i5-exp-fulle-lm/checkpoint-10368/tokenizer.jsonAdded+3
runs/i5-exp-fulle-lm/checkpoint-10368/tokenizer_config.jsonAdded+23
runs/i5-exp-fulle-lm/checkpoint-10368/trainer_state.jsonAdded
runs/i5-exp-fulle-lm/checkpoint-10368/training_args.binAdded+3
runs/i5-exp-fulle-lm/checkpoint-10656/chat_template.jinjaAdded+85
runs/i5-exp-fulle-lm/checkpoint-10656/config.jsonAdded+32
runs/i5-exp-fulle-lm/checkpoint-10656/generation_config.jsonAdded+11
runs/i5-exp-fulle-lm/checkpoint-10656/model.safetensorsAdded+3
runs/i5-exp-fulle-lm/checkpoint-10656/optimizer.ptAdded+3
runs/i5-exp-fulle-lm/checkpoint-10656/rng_state_0.pthAdded+3
runs/i5-exp-fulle-lm/checkpoint-10656/rng_state_1.pthAdded+3
runs/i5-exp-fulle-lm/checkpoint-10656/rng_state_2.pthAdded+3
runs/i5-exp-fulle-lm/checkpoint-10656/rng_state_3.pthAdded+3
runs/i5-exp-fulle-lm/checkpoint-10656/scheduler.ptAdded+3
runs/i5-exp-fulle-lm/checkpoint-10656/tokenizer.jsonAdded+3
runs/i5-exp-fulle-lm/checkpoint-10656/tokenizer_config.jsonAdded+23
runs/i5-exp-fulle-lm/checkpoint-10656/trainer_state.jsonAdded
runs/i5-exp-fulle-lm/checkpoint-10656/training_args.binAdded+3
runs/i5-exp-fulle-lm/checkpoint-1152/chat_template.jinjaAdded+85
runs/i5-exp-fulle-lm/checkpoint-1152/config.jsonAdded+32
runs/i5-exp-fulle-lm/checkpoint-1152/generation_config.jsonAdded+11
runs/i5-exp-fulle-lm/checkpoint-1152/model.safetensorsAdded+3
runs/i5-exp-fulle-lm/checkpoint-1152/optimizer.ptAdded+3
runs/i5-exp-fulle-lm/checkpoint-1152/rng_state_0.pthAdded+3
runs/i5-exp-fulle-lm/checkpoint-1152/rng_state_1.pthAdded+3