michaelchenkj commited on
Commit
b960b64
·
verified ·
1 Parent(s): 8314c5e

Upload folder using huggingface_hub

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +35 -0
  2. runs/mask15-i2-fulle-lm/checkpoint-1152/chat_template.jinja +85 -0
  3. runs/mask15-i2-fulle-lm/checkpoint-1152/config.json +32 -0
  4. runs/mask15-i2-fulle-lm/checkpoint-1152/generation_config.json +11 -0
  5. runs/mask15-i2-fulle-lm/checkpoint-1152/model.safetensors +3 -0
  6. runs/mask15-i2-fulle-lm/checkpoint-1152/optimizer.pt +3 -0
  7. runs/mask15-i2-fulle-lm/checkpoint-1152/rng_state_0.pth +3 -0
  8. runs/mask15-i2-fulle-lm/checkpoint-1152/rng_state_1.pth +3 -0
  9. runs/mask15-i2-fulle-lm/checkpoint-1152/scheduler.pt +3 -0
  10. runs/mask15-i2-fulle-lm/checkpoint-1152/tokenizer.json +3 -0
  11. runs/mask15-i2-fulle-lm/checkpoint-1152/tokenizer_config.json +22 -0
  12. runs/mask15-i2-fulle-lm/checkpoint-1152/trainer_state.json +0 -0
  13. runs/mask15-i2-fulle-lm/checkpoint-1152/training_args.bin +3 -0
  14. runs/mask15-i2-fulle-lm/checkpoint-1440/chat_template.jinja +85 -0
  15. runs/mask15-i2-fulle-lm/checkpoint-1440/config.json +32 -0
  16. runs/mask15-i2-fulle-lm/checkpoint-1440/generation_config.json +11 -0
  17. runs/mask15-i2-fulle-lm/checkpoint-1440/model.safetensors +3 -0
  18. runs/mask15-i2-fulle-lm/checkpoint-1440/optimizer.pt +3 -0
  19. runs/mask15-i2-fulle-lm/checkpoint-1440/rng_state_0.pth +3 -0
  20. runs/mask15-i2-fulle-lm/checkpoint-1440/rng_state_1.pth +3 -0
  21. runs/mask15-i2-fulle-lm/checkpoint-1440/scheduler.pt +3 -0
  22. runs/mask15-i2-fulle-lm/checkpoint-1440/tokenizer.json +3 -0
  23. runs/mask15-i2-fulle-lm/checkpoint-1440/tokenizer_config.json +22 -0
  24. runs/mask15-i2-fulle-lm/checkpoint-1440/trainer_state.json +0 -0
  25. runs/mask15-i2-fulle-lm/checkpoint-1440/training_args.bin +3 -0
  26. runs/mask15-i2-fulle-lm/checkpoint-1728/chat_template.jinja +85 -0
  27. runs/mask15-i2-fulle-lm/checkpoint-1728/config.json +32 -0
  28. runs/mask15-i2-fulle-lm/checkpoint-1728/generation_config.json +11 -0
  29. runs/mask15-i2-fulle-lm/checkpoint-1728/model.safetensors +3 -0
  30. runs/mask15-i2-fulle-lm/checkpoint-1728/optimizer.pt +3 -0
  31. runs/mask15-i2-fulle-lm/checkpoint-1728/rng_state_0.pth +3 -0
  32. runs/mask15-i2-fulle-lm/checkpoint-1728/rng_state_1.pth +3 -0
  33. runs/mask15-i2-fulle-lm/checkpoint-1728/scheduler.pt +3 -0
  34. runs/mask15-i2-fulle-lm/checkpoint-1728/tokenizer.json +3 -0
  35. runs/mask15-i2-fulle-lm/checkpoint-1728/tokenizer_config.json +22 -0
  36. runs/mask15-i2-fulle-lm/checkpoint-1728/trainer_state.json +0 -0
  37. runs/mask15-i2-fulle-lm/checkpoint-1728/training_args.bin +3 -0
  38. runs/mask15-i2-fulle-lm/checkpoint-2016/chat_template.jinja +85 -0
  39. runs/mask15-i2-fulle-lm/checkpoint-2016/config.json +32 -0
  40. runs/mask15-i2-fulle-lm/checkpoint-2016/generation_config.json +11 -0
  41. runs/mask15-i2-fulle-lm/checkpoint-2016/model.safetensors +3 -0
  42. runs/mask15-i2-fulle-lm/checkpoint-2016/optimizer.pt +3 -0
  43. runs/mask15-i2-fulle-lm/checkpoint-2016/rng_state_0.pth +3 -0
  44. runs/mask15-i2-fulle-lm/checkpoint-2016/rng_state_1.pth +3 -0
  45. runs/mask15-i2-fulle-lm/checkpoint-2016/scheduler.pt +3 -0
  46. runs/mask15-i2-fulle-lm/checkpoint-2016/tokenizer.json +3 -0
  47. runs/mask15-i2-fulle-lm/checkpoint-2016/tokenizer_config.json +22 -0
  48. runs/mask15-i2-fulle-lm/checkpoint-2016/trainer_state.json +0 -0
  49. runs/mask15-i2-fulle-lm/checkpoint-2016/training_args.bin +3 -0
  50. runs/mask15-i2-fulle-lm/checkpoint-2304/chat_template.jinja +85 -0
.gitattributes CHANGED
@@ -617,3 +617,38 @@ runs/mask15-l2r50-fulle-lm/checkpoint-6624/tokenizer.json filter=lfs diff=lfs me
617
  runs/mask15-l2r50-fulle-lm/checkpoint-6912/tokenizer.json filter=lfs diff=lfs merge=lfs -text
618
  runs/mask15-l2r50-fulle-lm/checkpoint-72/tokenizer.json filter=lfs diff=lfs merge=lfs -text
619
  runs/mask15-l2r50-fulle-lm/checkpoint-864/tokenizer.json filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
617
  runs/mask15-l2r50-fulle-lm/checkpoint-6912/tokenizer.json filter=lfs diff=lfs merge=lfs -text
618
  runs/mask15-l2r50-fulle-lm/checkpoint-72/tokenizer.json filter=lfs diff=lfs merge=lfs -text
619
  runs/mask15-l2r50-fulle-lm/checkpoint-864/tokenizer.json filter=lfs diff=lfs merge=lfs -text
620
+ runs/mask15-i2-fulle-lm/checkpoint-1152/tokenizer.json filter=lfs diff=lfs merge=lfs -text
621
+ runs/mask15-i2-fulle-lm/checkpoint-1440/tokenizer.json filter=lfs diff=lfs merge=lfs -text
622
+ runs/mask15-i2-fulle-lm/checkpoint-1728/tokenizer.json filter=lfs diff=lfs merge=lfs -text
623
+ runs/mask15-i2-fulle-lm/checkpoint-2016/tokenizer.json filter=lfs diff=lfs merge=lfs -text
624
+ runs/mask15-i2-fulle-lm/checkpoint-2304/tokenizer.json filter=lfs diff=lfs merge=lfs -text
625
+ runs/mask15-i2-fulle-lm/checkpoint-2592/tokenizer.json filter=lfs diff=lfs merge=lfs -text
626
+ runs/mask15-i2-fulle-lm/checkpoint-288/tokenizer.json filter=lfs diff=lfs merge=lfs -text
627
+ runs/mask15-i2-fulle-lm/checkpoint-2880/tokenizer.json filter=lfs diff=lfs merge=lfs -text
628
+ runs/mask15-i2-fulle-lm/checkpoint-3168/tokenizer.json filter=lfs diff=lfs merge=lfs -text
629
+ runs/mask15-i2-fulle-lm/checkpoint-3456/tokenizer.json filter=lfs diff=lfs merge=lfs -text
630
+ runs/mask15-i2-fulle-lm/checkpoint-3744/tokenizer.json filter=lfs diff=lfs merge=lfs -text
631
+ runs/mask15-i2-fulle-lm/checkpoint-4032/tokenizer.json filter=lfs diff=lfs merge=lfs -text
632
+ runs/mask15-i2-fulle-lm/checkpoint-4320/tokenizer.json filter=lfs diff=lfs merge=lfs -text
633
+ runs/mask15-i2-fulle-lm/checkpoint-4608/tokenizer.json filter=lfs diff=lfs merge=lfs -text
634
+ runs/mask15-i2-fulle-lm/checkpoint-4896/tokenizer.json filter=lfs diff=lfs merge=lfs -text
635
+ runs/mask15-i2-fulle-lm/checkpoint-5184/tokenizer.json filter=lfs diff=lfs merge=lfs -text
636
+ runs/mask15-i2-fulle-lm/checkpoint-5472/tokenizer.json filter=lfs diff=lfs merge=lfs -text
637
+ runs/mask15-i2-fulle-lm/checkpoint-576/tokenizer.json filter=lfs diff=lfs merge=lfs -text
638
+ runs/mask15-i2-fulle-lm/checkpoint-5760/tokenizer.json filter=lfs diff=lfs merge=lfs -text
639
+ runs/mask15-i2-fulle-lm/checkpoint-6048/tokenizer.json filter=lfs diff=lfs merge=lfs -text
640
+ runs/mask15-i2-fulle-lm/checkpoint-6336/tokenizer.json filter=lfs diff=lfs merge=lfs -text
641
+ runs/mask15-i2-fulle-lm/checkpoint-6624/tokenizer.json filter=lfs diff=lfs merge=lfs -text
642
+ runs/mask15-i2-fulle-lm/checkpoint-6912/tokenizer.json filter=lfs diff=lfs merge=lfs -text
643
+ runs/mask15-i2-fulle-lm/checkpoint-72/tokenizer.json filter=lfs diff=lfs merge=lfs -text
644
+ runs/mask15-i2-fulle-lm/checkpoint-7200/tokenizer.json filter=lfs diff=lfs merge=lfs -text
645
+ runs/mask15-i2-fulle-lm/checkpoint-7488/tokenizer.json filter=lfs diff=lfs merge=lfs -text
646
+ runs/mask15-i2-fulle-lm/checkpoint-7776/tokenizer.json filter=lfs diff=lfs merge=lfs -text
647
+ runs/mask15-i2-fulle-lm/checkpoint-8064/tokenizer.json filter=lfs diff=lfs merge=lfs -text
648
+ runs/mask15-i2-fulle-lm/checkpoint-8352/tokenizer.json filter=lfs diff=lfs merge=lfs -text
649
+ runs/mask15-i2-fulle-lm/checkpoint-864/tokenizer.json filter=lfs diff=lfs merge=lfs -text
650
+ runs/mask15-i2-fulle-lm/checkpoint-8640/tokenizer.json filter=lfs diff=lfs merge=lfs -text
651
+ runs/mask15-i2-fulle-lm/checkpoint-8928/tokenizer.json filter=lfs diff=lfs merge=lfs -text
652
+ runs/mask15-i2-fulle-lm/checkpoint-9216/tokenizer.json filter=lfs diff=lfs merge=lfs -text
653
+ runs/mask15-i2-fulle-lm/checkpoint-9504/tokenizer.json filter=lfs diff=lfs merge=lfs -text
654
+ runs/mask15-i2-fulle-lm/checkpoint-9792/tokenizer.json filter=lfs diff=lfs merge=lfs -text
runs/mask15-i2-fulle-lm/checkpoint-1152/chat_template.jinja ADDED
@@ -0,0 +1,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {%- if tools %}
2
+ {{- '<|im_start|>system\n' }}
3
+ {%- if messages[0].role == 'system' %}
4
+ {{- messages[0].content + '\n\n' }}
5
+ {%- endif %}
6
+ {{- "# 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>" }}
7
+ {%- for tool in tools %}
8
+ {{- "\n" }}
9
+ {{- tool | tojson }}
10
+ {%- endfor %}
11
+ {{- "\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" }}
12
+ {%- else %}
13
+ {%- if messages[0].role == 'system' %}
14
+ {{- '<|im_start|>system\n' + messages[0].content + '<|im_end|>\n' }}
15
+ {%- endif %}
16
+ {%- endif %}
17
+ {%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}
18
+ {%- for message in messages[::-1] %}
19
+ {%- set index = (messages|length - 1) - loop.index0 %}
20
+ {%- if ns.multi_step_tool and message.role == "user" and not(message.content.startswith('<tool_response>') and message.content.endswith('</tool_response>')) %}
21
+ {%- set ns.multi_step_tool = false %}
22
+ {%- set ns.last_query_index = index %}
23
+ {%- endif %}
24
+ {%- endfor %}
25
+ {%- for message in messages %}
26
+ {%- if (message.role == "user") or (message.role == "system" and not loop.first) %}
27
+ {{- '<|im_start|>' + message.role + '\n' + message.content + '<|im_end|>' + '\n' }}
28
+ {%- elif message.role == "assistant" %}
29
+ {%- set content = message.content %}
30
+ {%- set reasoning_content = '' %}
31
+ {%- if message.reasoning_content is defined and message.reasoning_content is not none %}
32
+ {%- set reasoning_content = message.reasoning_content %}
33
+ {%- else %}
34
+ {%- if '</think>' in message.content %}
35
+ {%- set content = message.content.split('</think>')[-1].lstrip('\n') %}
36
+ {%- set reasoning_content = message.content.split('</think>')[0].rstrip('\n').split('<think>')[-1].lstrip('\n') %}
37
+ {%- endif %}
38
+ {%- endif %}
39
+ {%- if loop.index0 > ns.last_query_index %}
40
+ {%- if loop.last or (not loop.last and reasoning_content) %}
41
+ {{- '<|im_start|>' + message.role + '\n<think>\n' + reasoning_content.strip('\n') + '\n</think>\n\n' + content.lstrip('\n') }}
42
+ {%- else %}
43
+ {{- '<|im_start|>' + message.role + '\n' + content }}
44
+ {%- endif %}
45
+ {%- else %}
46
+ {{- '<|im_start|>' + message.role + '\n' + content }}
47
+ {%- endif %}
48
+ {%- if message.tool_calls %}
49
+ {%- for tool_call in message.tool_calls %}
50
+ {%- if (loop.first and content) or (not loop.first) %}
51
+ {{- '\n' }}
52
+ {%- endif %}
53
+ {%- if tool_call.function %}
54
+ {%- set tool_call = tool_call.function %}
55
+ {%- endif %}
56
+ {{- '<tool_call>\n{"name": "' }}
57
+ {{- tool_call.name }}
58
+ {{- '", "arguments": ' }}
59
+ {%- if tool_call.arguments is string %}
60
+ {{- tool_call.arguments }}
61
+ {%- else %}
62
+ {{- tool_call.arguments | tojson }}
63
+ {%- endif %}
64
+ {{- '}\n</tool_call>' }}
65
+ {%- endfor %}
66
+ {%- endif %}
67
+ {{- '<|im_end|>\n' }}
68
+ {%- elif message.role == "tool" %}
69
+ {%- if loop.first or (messages[loop.index0 - 1].role != "tool") %}
70
+ {{- '<|im_start|>user' }}
71
+ {%- endif %}
72
+ {{- '\n<tool_response>\n' }}
73
+ {{- message.content }}
74
+ {{- '\n</tool_response>' }}
75
+ {%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
76
+ {{- '<|im_end|>\n' }}
77
+ {%- endif %}
78
+ {%- endif %}
79
+ {%- endfor %}
80
+ {%- if add_generation_prompt %}
81
+ {{- '<|im_start|>assistant\n' }}
82
+ {%- if enable_thinking is defined and enable_thinking is false %}
83
+ {{- '<think>\n\n</think>\n\n' }}
84
+ {%- endif %}
85
+ {%- endif %}
runs/mask15-i2-fulle-lm/checkpoint-1152/config.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "LlamaForCausalLM"
4
+ ],
5
+ "attention_bias": false,
6
+ "attention_dropout": 0.0,
7
+ "bos_token_id": null,
8
+ "dtype": "float32",
9
+ "eos_token_id": 151645,
10
+ "head_dim": 128,
11
+ "hidden_act": "silu",
12
+ "hidden_size": 512,
13
+ "initializer_range": 0.02,
14
+ "intermediate_size": 1536,
15
+ "max_position_embeddings": 2048,
16
+ "mlp_bias": false,
17
+ "model_type": "llama",
18
+ "num_attention_heads": 4,
19
+ "num_hidden_layers": 20,
20
+ "num_key_value_heads": 4,
21
+ "pad_token_id": 151645,
22
+ "pretraining_tp": 1,
23
+ "rms_norm_eps": 1e-06,
24
+ "rope_parameters": {
25
+ "rope_theta": 10000.0,
26
+ "rope_type": "default"
27
+ },
28
+ "tie_word_embeddings": true,
29
+ "transformers_version": "5.6.2",
30
+ "use_cache": false,
31
+ "vocab_size": 151674
32
+ }
runs/mask15-i2-fulle-lm/checkpoint-1152/generation_config.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "eos_token_id": [
4
+ 151645
5
+ ],
6
+ "output_attentions": false,
7
+ "output_hidden_states": false,
8
+ "pad_token_id": 151645,
9
+ "transformers_version": "5.6.2",
10
+ "use_cache": true
11
+ }
runs/mask15-i2-fulle-lm/checkpoint-1152/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:404b85aa9b7dc190e29f44d6f8fa559b6bb1347fa6cdf6e7809b876da47ec094
3
+ size 583362376
runs/mask15-i2-fulle-lm/checkpoint-1152/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bd65daca7f9ad4886ee48f401c0dfce1461363b5c98b98bf791c511e5e7a8051
3
+ size 1166837626
runs/mask15-i2-fulle-lm/checkpoint-1152/rng_state_0.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9a8b814797aa0adad4a7151824f58a839cc841fcbb703fac3e18bc06691c2a27
3
+ size 14512
runs/mask15-i2-fulle-lm/checkpoint-1152/rng_state_1.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fc58bcc55e4820af217bb9028866ed39df5623f06e2aafbe73a30ebc96cc0304
3
+ size 14512
runs/mask15-i2-fulle-lm/checkpoint-1152/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6a67914066d1aebda73626cb9d7d4cbc46ee7df332e5ae85a86cc87be8e519c8
3
+ size 1064
runs/mask15-i2-fulle-lm/checkpoint-1152/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:60e99075d371ecbb9f1dde97363f612d45bf0bf88f1a2006d9bfcf1939333c14
3
+ size 11424648
runs/mask15-i2-fulle-lm/checkpoint-1152/tokenizer_config.json ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "backend": "tokenizers",
4
+ "bos_token": null,
5
+ "clean_up_tokenization_spaces": false,
6
+ "eos_token": "<|im_end|>",
7
+ "errors": "replace",
8
+ "extra_special_tokens": [
9
+ "<|l2r_pred|>",
10
+ "<|r2l_pred|>",
11
+ "<|next_1_pred|>",
12
+ "<|next_2_pred|>",
13
+ "<|mask|>"
14
+ ],
15
+ "is_local": false,
16
+ "local_files_only": false,
17
+ "model_max_length": 32768,
18
+ "pad_token": "<|im_end|>",
19
+ "split_special_tokens": false,
20
+ "tokenizer_class": "Qwen2Tokenizer",
21
+ "unk_token": null
22
+ }
runs/mask15-i2-fulle-lm/checkpoint-1152/trainer_state.json ADDED
The diff for this file is too large to render. See raw diff
 
runs/mask15-i2-fulle-lm/checkpoint-1152/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a0b8d7bb9ac952b1abed3bd1e5c8f6ebd20daa957b3a85688954f8df03be6eb9
3
+ size 4856
runs/mask15-i2-fulle-lm/checkpoint-1440/chat_template.jinja ADDED
@@ -0,0 +1,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {%- if tools %}
2
+ {{- '<|im_start|>system\n' }}
3
+ {%- if messages[0].role == 'system' %}
4
+ {{- messages[0].content + '\n\n' }}
5
+ {%- endif %}
6
+ {{- "# 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>" }}
7
+ {%- for tool in tools %}
8
+ {{- "\n" }}
9
+ {{- tool | tojson }}
10
+ {%- endfor %}
11
+ {{- "\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" }}
12
+ {%- else %}
13
+ {%- if messages[0].role == 'system' %}
14
+ {{- '<|im_start|>system\n' + messages[0].content + '<|im_end|>\n' }}
15
+ {%- endif %}
16
+ {%- endif %}
17
+ {%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}
18
+ {%- for message in messages[::-1] %}
19
+ {%- set index = (messages|length - 1) - loop.index0 %}
20
+ {%- if ns.multi_step_tool and message.role == "user" and not(message.content.startswith('<tool_response>') and message.content.endswith('</tool_response>')) %}
21
+ {%- set ns.multi_step_tool = false %}
22
+ {%- set ns.last_query_index = index %}
23
+ {%- endif %}
24
+ {%- endfor %}
25
+ {%- for message in messages %}
26
+ {%- if (message.role == "user") or (message.role == "system" and not loop.first) %}
27
+ {{- '<|im_start|>' + message.role + '\n' + message.content + '<|im_end|>' + '\n' }}
28
+ {%- elif message.role == "assistant" %}
29
+ {%- set content = message.content %}
30
+ {%- set reasoning_content = '' %}
31
+ {%- if message.reasoning_content is defined and message.reasoning_content is not none %}
32
+ {%- set reasoning_content = message.reasoning_content %}
33
+ {%- else %}
34
+ {%- if '</think>' in message.content %}
35
+ {%- set content = message.content.split('</think>')[-1].lstrip('\n') %}
36
+ {%- set reasoning_content = message.content.split('</think>')[0].rstrip('\n').split('<think>')[-1].lstrip('\n') %}
37
+ {%- endif %}
38
+ {%- endif %}
39
+ {%- if loop.index0 > ns.last_query_index %}
40
+ {%- if loop.last or (not loop.last and reasoning_content) %}
41
+ {{- '<|im_start|>' + message.role + '\n<think>\n' + reasoning_content.strip('\n') + '\n</think>\n\n' + content.lstrip('\n') }}
42
+ {%- else %}
43
+ {{- '<|im_start|>' + message.role + '\n' + content }}
44
+ {%- endif %}
45
+ {%- else %}
46
+ {{- '<|im_start|>' + message.role + '\n' + content }}
47
+ {%- endif %}
48
+ {%- if message.tool_calls %}
49
+ {%- for tool_call in message.tool_calls %}
50
+ {%- if (loop.first and content) or (not loop.first) %}
51
+ {{- '\n' }}
52
+ {%- endif %}
53
+ {%- if tool_call.function %}
54
+ {%- set tool_call = tool_call.function %}
55
+ {%- endif %}
56
+ {{- '<tool_call>\n{"name": "' }}
57
+ {{- tool_call.name }}
58
+ {{- '", "arguments": ' }}
59
+ {%- if tool_call.arguments is string %}
60
+ {{- tool_call.arguments }}
61
+ {%- else %}
62
+ {{- tool_call.arguments | tojson }}
63
+ {%- endif %}
64
+ {{- '}\n</tool_call>' }}
65
+ {%- endfor %}
66
+ {%- endif %}
67
+ {{- '<|im_end|>\n' }}
68
+ {%- elif message.role == "tool" %}
69
+ {%- if loop.first or (messages[loop.index0 - 1].role != "tool") %}
70
+ {{- '<|im_start|>user' }}
71
+ {%- endif %}
72
+ {{- '\n<tool_response>\n' }}
73
+ {{- message.content }}
74
+ {{- '\n</tool_response>' }}
75
+ {%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
76
+ {{- '<|im_end|>\n' }}
77
+ {%- endif %}
78
+ {%- endif %}
79
+ {%- endfor %}
80
+ {%- if add_generation_prompt %}
81
+ {{- '<|im_start|>assistant\n' }}
82
+ {%- if enable_thinking is defined and enable_thinking is false %}
83
+ {{- '<think>\n\n</think>\n\n' }}
84
+ {%- endif %}
85
+ {%- endif %}
runs/mask15-i2-fulle-lm/checkpoint-1440/config.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "LlamaForCausalLM"
4
+ ],
5
+ "attention_bias": false,
6
+ "attention_dropout": 0.0,
7
+ "bos_token_id": null,
8
+ "dtype": "float32",
9
+ "eos_token_id": 151645,
10
+ "head_dim": 128,
11
+ "hidden_act": "silu",
12
+ "hidden_size": 512,
13
+ "initializer_range": 0.02,
14
+ "intermediate_size": 1536,
15
+ "max_position_embeddings": 2048,
16
+ "mlp_bias": false,
17
+ "model_type": "llama",
18
+ "num_attention_heads": 4,
19
+ "num_hidden_layers": 20,
20
+ "num_key_value_heads": 4,
21
+ "pad_token_id": 151645,
22
+ "pretraining_tp": 1,
23
+ "rms_norm_eps": 1e-06,
24
+ "rope_parameters": {
25
+ "rope_theta": 10000.0,
26
+ "rope_type": "default"
27
+ },
28
+ "tie_word_embeddings": true,
29
+ "transformers_version": "5.6.2",
30
+ "use_cache": false,
31
+ "vocab_size": 151674
32
+ }
runs/mask15-i2-fulle-lm/checkpoint-1440/generation_config.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "eos_token_id": [
4
+ 151645
5
+ ],
6
+ "output_attentions": false,
7
+ "output_hidden_states": false,
8
+ "pad_token_id": 151645,
9
+ "transformers_version": "5.6.2",
10
+ "use_cache": true
11
+ }
runs/mask15-i2-fulle-lm/checkpoint-1440/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e1930d325f7a32eb68108ead45d992d89e1868516f45ebe43b6aa8336e1e6461
3
+ size 583362376
runs/mask15-i2-fulle-lm/checkpoint-1440/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bfb1450f46015a22f5acbcb0b2305ef60508f05599e93bb7c2c74ed5ac013e17
3
+ size 1166837626
runs/mask15-i2-fulle-lm/checkpoint-1440/rng_state_0.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9cacde04369515d4fcfc9c3f4e660e330a1698179d0cd91768e074eb79e0d0d7
3
+ size 14512
runs/mask15-i2-fulle-lm/checkpoint-1440/rng_state_1.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:899c48771b2a29d566c80baf4ea0534316afc56c984612a510b558452a2264b3
3
+ size 14512
runs/mask15-i2-fulle-lm/checkpoint-1440/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8a84bbc84bb0dd489a2d72fd441cc0b8482e9e06d7cde3ac44b50a389883ce86
3
+ size 1064
runs/mask15-i2-fulle-lm/checkpoint-1440/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:60e99075d371ecbb9f1dde97363f612d45bf0bf88f1a2006d9bfcf1939333c14
3
+ size 11424648
runs/mask15-i2-fulle-lm/checkpoint-1440/tokenizer_config.json ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "backend": "tokenizers",
4
+ "bos_token": null,
5
+ "clean_up_tokenization_spaces": false,
6
+ "eos_token": "<|im_end|>",
7
+ "errors": "replace",
8
+ "extra_special_tokens": [
9
+ "<|l2r_pred|>",
10
+ "<|r2l_pred|>",
11
+ "<|next_1_pred|>",
12
+ "<|next_2_pred|>",
13
+ "<|mask|>"
14
+ ],
15
+ "is_local": false,
16
+ "local_files_only": false,
17
+ "model_max_length": 32768,
18
+ "pad_token": "<|im_end|>",
19
+ "split_special_tokens": false,
20
+ "tokenizer_class": "Qwen2Tokenizer",
21
+ "unk_token": null
22
+ }
runs/mask15-i2-fulle-lm/checkpoint-1440/trainer_state.json ADDED
The diff for this file is too large to render. See raw diff
 
runs/mask15-i2-fulle-lm/checkpoint-1440/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a0b8d7bb9ac952b1abed3bd1e5c8f6ebd20daa957b3a85688954f8df03be6eb9
3
+ size 4856
runs/mask15-i2-fulle-lm/checkpoint-1728/chat_template.jinja ADDED
@@ -0,0 +1,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {%- if tools %}
2
+ {{- '<|im_start|>system\n' }}
3
+ {%- if messages[0].role == 'system' %}
4
+ {{- messages[0].content + '\n\n' }}
5
+ {%- endif %}
6
+ {{- "# 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>" }}
7
+ {%- for tool in tools %}
8
+ {{- "\n" }}
9
+ {{- tool | tojson }}
10
+ {%- endfor %}
11
+ {{- "\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" }}
12
+ {%- else %}
13
+ {%- if messages[0].role == 'system' %}
14
+ {{- '<|im_start|>system\n' + messages[0].content + '<|im_end|>\n' }}
15
+ {%- endif %}
16
+ {%- endif %}
17
+ {%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}
18
+ {%- for message in messages[::-1] %}
19
+ {%- set index = (messages|length - 1) - loop.index0 %}
20
+ {%- if ns.multi_step_tool and message.role == "user" and not(message.content.startswith('<tool_response>') and message.content.endswith('</tool_response>')) %}
21
+ {%- set ns.multi_step_tool = false %}
22
+ {%- set ns.last_query_index = index %}
23
+ {%- endif %}
24
+ {%- endfor %}
25
+ {%- for message in messages %}
26
+ {%- if (message.role == "user") or (message.role == "system" and not loop.first) %}
27
+ {{- '<|im_start|>' + message.role + '\n' + message.content + '<|im_end|>' + '\n' }}
28
+ {%- elif message.role == "assistant" %}
29
+ {%- set content = message.content %}
30
+ {%- set reasoning_content = '' %}
31
+ {%- if message.reasoning_content is defined and message.reasoning_content is not none %}
32
+ {%- set reasoning_content = message.reasoning_content %}
33
+ {%- else %}
34
+ {%- if '</think>' in message.content %}
35
+ {%- set content = message.content.split('</think>')[-1].lstrip('\n') %}
36
+ {%- set reasoning_content = message.content.split('</think>')[0].rstrip('\n').split('<think>')[-1].lstrip('\n') %}
37
+ {%- endif %}
38
+ {%- endif %}
39
+ {%- if loop.index0 > ns.last_query_index %}
40
+ {%- if loop.last or (not loop.last and reasoning_content) %}
41
+ {{- '<|im_start|>' + message.role + '\n<think>\n' + reasoning_content.strip('\n') + '\n</think>\n\n' + content.lstrip('\n') }}
42
+ {%- else %}
43
+ {{- '<|im_start|>' + message.role + '\n' + content }}
44
+ {%- endif %}
45
+ {%- else %}
46
+ {{- '<|im_start|>' + message.role + '\n' + content }}
47
+ {%- endif %}
48
+ {%- if message.tool_calls %}
49
+ {%- for tool_call in message.tool_calls %}
50
+ {%- if (loop.first and content) or (not loop.first) %}
51
+ {{- '\n' }}
52
+ {%- endif %}
53
+ {%- if tool_call.function %}
54
+ {%- set tool_call = tool_call.function %}
55
+ {%- endif %}
56
+ {{- '<tool_call>\n{"name": "' }}
57
+ {{- tool_call.name }}
58
+ {{- '", "arguments": ' }}
59
+ {%- if tool_call.arguments is string %}
60
+ {{- tool_call.arguments }}
61
+ {%- else %}
62
+ {{- tool_call.arguments | tojson }}
63
+ {%- endif %}
64
+ {{- '}\n</tool_call>' }}
65
+ {%- endfor %}
66
+ {%- endif %}
67
+ {{- '<|im_end|>\n' }}
68
+ {%- elif message.role == "tool" %}
69
+ {%- if loop.first or (messages[loop.index0 - 1].role != "tool") %}
70
+ {{- '<|im_start|>user' }}
71
+ {%- endif %}
72
+ {{- '\n<tool_response>\n' }}
73
+ {{- message.content }}
74
+ {{- '\n</tool_response>' }}
75
+ {%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
76
+ {{- '<|im_end|>\n' }}
77
+ {%- endif %}
78
+ {%- endif %}
79
+ {%- endfor %}
80
+ {%- if add_generation_prompt %}
81
+ {{- '<|im_start|>assistant\n' }}
82
+ {%- if enable_thinking is defined and enable_thinking is false %}
83
+ {{- '<think>\n\n</think>\n\n' }}
84
+ {%- endif %}
85
+ {%- endif %}
runs/mask15-i2-fulle-lm/checkpoint-1728/config.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "LlamaForCausalLM"
4
+ ],
5
+ "attention_bias": false,
6
+ "attention_dropout": 0.0,
7
+ "bos_token_id": null,
8
+ "dtype": "float32",
9
+ "eos_token_id": 151645,
10
+ "head_dim": 128,
11
+ "hidden_act": "silu",
12
+ "hidden_size": 512,
13
+ "initializer_range": 0.02,
14
+ "intermediate_size": 1536,
15
+ "max_position_embeddings": 2048,
16
+ "mlp_bias": false,
17
+ "model_type": "llama",
18
+ "num_attention_heads": 4,
19
+ "num_hidden_layers": 20,
20
+ "num_key_value_heads": 4,
21
+ "pad_token_id": 151645,
22
+ "pretraining_tp": 1,
23
+ "rms_norm_eps": 1e-06,
24
+ "rope_parameters": {
25
+ "rope_theta": 10000.0,
26
+ "rope_type": "default"
27
+ },
28
+ "tie_word_embeddings": true,
29
+ "transformers_version": "5.6.2",
30
+ "use_cache": false,
31
+ "vocab_size": 151674
32
+ }
runs/mask15-i2-fulle-lm/checkpoint-1728/generation_config.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "eos_token_id": [
4
+ 151645
5
+ ],
6
+ "output_attentions": false,
7
+ "output_hidden_states": false,
8
+ "pad_token_id": 151645,
9
+ "transformers_version": "5.6.2",
10
+ "use_cache": true
11
+ }
runs/mask15-i2-fulle-lm/checkpoint-1728/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:10bae8180b35a4a9f0e238d11bf10967954ce2d29c5c3af395b27aef1dee25f8
3
+ size 583362376
runs/mask15-i2-fulle-lm/checkpoint-1728/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a769785d641530c731cbfb4fbf964da7fad77ee915e9d595c4f612f5779c65b7
3
+ size 1166837626
runs/mask15-i2-fulle-lm/checkpoint-1728/rng_state_0.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bf7277f6aa90c87725397247d24bffad9ca9c58726fb0456d7d92b73c4d92a17
3
+ size 14512
runs/mask15-i2-fulle-lm/checkpoint-1728/rng_state_1.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f885a63156fd7435ec5e23cbf9c31fff7b4cacca3fec2ae2276ec8725212713c
3
+ size 14512
runs/mask15-i2-fulle-lm/checkpoint-1728/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d6a6171dda32af3a9caef592bd2cfcdef1224bfed4ddda14026d355f2f43e8f1
3
+ size 1064
runs/mask15-i2-fulle-lm/checkpoint-1728/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:60e99075d371ecbb9f1dde97363f612d45bf0bf88f1a2006d9bfcf1939333c14
3
+ size 11424648
runs/mask15-i2-fulle-lm/checkpoint-1728/tokenizer_config.json ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "backend": "tokenizers",
4
+ "bos_token": null,
5
+ "clean_up_tokenization_spaces": false,
6
+ "eos_token": "<|im_end|>",
7
+ "errors": "replace",
8
+ "extra_special_tokens": [
9
+ "<|l2r_pred|>",
10
+ "<|r2l_pred|>",
11
+ "<|next_1_pred|>",
12
+ "<|next_2_pred|>",
13
+ "<|mask|>"
14
+ ],
15
+ "is_local": false,
16
+ "local_files_only": false,
17
+ "model_max_length": 32768,
18
+ "pad_token": "<|im_end|>",
19
+ "split_special_tokens": false,
20
+ "tokenizer_class": "Qwen2Tokenizer",
21
+ "unk_token": null
22
+ }
runs/mask15-i2-fulle-lm/checkpoint-1728/trainer_state.json ADDED
The diff for this file is too large to render. See raw diff
 
runs/mask15-i2-fulle-lm/checkpoint-1728/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a0b8d7bb9ac952b1abed3bd1e5c8f6ebd20daa957b3a85688954f8df03be6eb9
3
+ size 4856
runs/mask15-i2-fulle-lm/checkpoint-2016/chat_template.jinja ADDED
@@ -0,0 +1,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {%- if tools %}
2
+ {{- '<|im_start|>system\n' }}
3
+ {%- if messages[0].role == 'system' %}
4
+ {{- messages[0].content + '\n\n' }}
5
+ {%- endif %}
6
+ {{- "# 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>" }}
7
+ {%- for tool in tools %}
8
+ {{- "\n" }}
9
+ {{- tool | tojson }}
10
+ {%- endfor %}
11
+ {{- "\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" }}
12
+ {%- else %}
13
+ {%- if messages[0].role == 'system' %}
14
+ {{- '<|im_start|>system\n' + messages[0].content + '<|im_end|>\n' }}
15
+ {%- endif %}
16
+ {%- endif %}
17
+ {%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}
18
+ {%- for message in messages[::-1] %}
19
+ {%- set index = (messages|length - 1) - loop.index0 %}
20
+ {%- if ns.multi_step_tool and message.role == "user" and not(message.content.startswith('<tool_response>') and message.content.endswith('</tool_response>')) %}
21
+ {%- set ns.multi_step_tool = false %}
22
+ {%- set ns.last_query_index = index %}
23
+ {%- endif %}
24
+ {%- endfor %}
25
+ {%- for message in messages %}
26
+ {%- if (message.role == "user") or (message.role == "system" and not loop.first) %}
27
+ {{- '<|im_start|>' + message.role + '\n' + message.content + '<|im_end|>' + '\n' }}
28
+ {%- elif message.role == "assistant" %}
29
+ {%- set content = message.content %}
30
+ {%- set reasoning_content = '' %}
31
+ {%- if message.reasoning_content is defined and message.reasoning_content is not none %}
32
+ {%- set reasoning_content = message.reasoning_content %}
33
+ {%- else %}
34
+ {%- if '</think>' in message.content %}
35
+ {%- set content = message.content.split('</think>')[-1].lstrip('\n') %}
36
+ {%- set reasoning_content = message.content.split('</think>')[0].rstrip('\n').split('<think>')[-1].lstrip('\n') %}
37
+ {%- endif %}
38
+ {%- endif %}
39
+ {%- if loop.index0 > ns.last_query_index %}
40
+ {%- if loop.last or (not loop.last and reasoning_content) %}
41
+ {{- '<|im_start|>' + message.role + '\n<think>\n' + reasoning_content.strip('\n') + '\n</think>\n\n' + content.lstrip('\n') }}
42
+ {%- else %}
43
+ {{- '<|im_start|>' + message.role + '\n' + content }}
44
+ {%- endif %}
45
+ {%- else %}
46
+ {{- '<|im_start|>' + message.role + '\n' + content }}
47
+ {%- endif %}
48
+ {%- if message.tool_calls %}
49
+ {%- for tool_call in message.tool_calls %}
50
+ {%- if (loop.first and content) or (not loop.first) %}
51
+ {{- '\n' }}
52
+ {%- endif %}
53
+ {%- if tool_call.function %}
54
+ {%- set tool_call = tool_call.function %}
55
+ {%- endif %}
56
+ {{- '<tool_call>\n{"name": "' }}
57
+ {{- tool_call.name }}
58
+ {{- '", "arguments": ' }}
59
+ {%- if tool_call.arguments is string %}
60
+ {{- tool_call.arguments }}
61
+ {%- else %}
62
+ {{- tool_call.arguments | tojson }}
63
+ {%- endif %}
64
+ {{- '}\n</tool_call>' }}
65
+ {%- endfor %}
66
+ {%- endif %}
67
+ {{- '<|im_end|>\n' }}
68
+ {%- elif message.role == "tool" %}
69
+ {%- if loop.first or (messages[loop.index0 - 1].role != "tool") %}
70
+ {{- '<|im_start|>user' }}
71
+ {%- endif %}
72
+ {{- '\n<tool_response>\n' }}
73
+ {{- message.content }}
74
+ {{- '\n</tool_response>' }}
75
+ {%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
76
+ {{- '<|im_end|>\n' }}
77
+ {%- endif %}
78
+ {%- endif %}
79
+ {%- endfor %}
80
+ {%- if add_generation_prompt %}
81
+ {{- '<|im_start|>assistant\n' }}
82
+ {%- if enable_thinking is defined and enable_thinking is false %}
83
+ {{- '<think>\n\n</think>\n\n' }}
84
+ {%- endif %}
85
+ {%- endif %}
runs/mask15-i2-fulle-lm/checkpoint-2016/config.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "LlamaForCausalLM"
4
+ ],
5
+ "attention_bias": false,
6
+ "attention_dropout": 0.0,
7
+ "bos_token_id": null,
8
+ "dtype": "float32",
9
+ "eos_token_id": 151645,
10
+ "head_dim": 128,
11
+ "hidden_act": "silu",
12
+ "hidden_size": 512,
13
+ "initializer_range": 0.02,
14
+ "intermediate_size": 1536,
15
+ "max_position_embeddings": 2048,
16
+ "mlp_bias": false,
17
+ "model_type": "llama",
18
+ "num_attention_heads": 4,
19
+ "num_hidden_layers": 20,
20
+ "num_key_value_heads": 4,
21
+ "pad_token_id": 151645,
22
+ "pretraining_tp": 1,
23
+ "rms_norm_eps": 1e-06,
24
+ "rope_parameters": {
25
+ "rope_theta": 10000.0,
26
+ "rope_type": "default"
27
+ },
28
+ "tie_word_embeddings": true,
29
+ "transformers_version": "5.6.2",
30
+ "use_cache": false,
31
+ "vocab_size": 151674
32
+ }
runs/mask15-i2-fulle-lm/checkpoint-2016/generation_config.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "eos_token_id": [
4
+ 151645
5
+ ],
6
+ "output_attentions": false,
7
+ "output_hidden_states": false,
8
+ "pad_token_id": 151645,
9
+ "transformers_version": "5.6.2",
10
+ "use_cache": true
11
+ }
runs/mask15-i2-fulle-lm/checkpoint-2016/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:95b86c4fc01e9a21fbd5c079f34827f91cf4b2aa21f6e8138cd6e169501750e8
3
+ size 583362376
runs/mask15-i2-fulle-lm/checkpoint-2016/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e2c24d66bedad19df43e177aaca6e0621886dd80d0359c01ed5d7a9170e515d4
3
+ size 1166837626
runs/mask15-i2-fulle-lm/checkpoint-2016/rng_state_0.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b18abef51f0f9072226e293e899a7902c34ba363e2b8487c74f4334e2c1b5039
3
+ size 14512
runs/mask15-i2-fulle-lm/checkpoint-2016/rng_state_1.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5294ff8a446e24d019026ccc207b4c4f00c22a0efb1346775d3310c2723f2806
3
+ size 14512
runs/mask15-i2-fulle-lm/checkpoint-2016/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:71f52a3ae3412b2053eb61b18dd446a6b3125f82036fb38a407b55123d55fdf7
3
+ size 1064
runs/mask15-i2-fulle-lm/checkpoint-2016/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:60e99075d371ecbb9f1dde97363f612d45bf0bf88f1a2006d9bfcf1939333c14
3
+ size 11424648
runs/mask15-i2-fulle-lm/checkpoint-2016/tokenizer_config.json ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "backend": "tokenizers",
4
+ "bos_token": null,
5
+ "clean_up_tokenization_spaces": false,
6
+ "eos_token": "<|im_end|>",
7
+ "errors": "replace",
8
+ "extra_special_tokens": [
9
+ "<|l2r_pred|>",
10
+ "<|r2l_pred|>",
11
+ "<|next_1_pred|>",
12
+ "<|next_2_pred|>",
13
+ "<|mask|>"
14
+ ],
15
+ "is_local": false,
16
+ "local_files_only": false,
17
+ "model_max_length": 32768,
18
+ "pad_token": "<|im_end|>",
19
+ "split_special_tokens": false,
20
+ "tokenizer_class": "Qwen2Tokenizer",
21
+ "unk_token": null
22
+ }
runs/mask15-i2-fulle-lm/checkpoint-2016/trainer_state.json ADDED
The diff for this file is too large to render. See raw diff
 
runs/mask15-i2-fulle-lm/checkpoint-2016/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a0b8d7bb9ac952b1abed3bd1e5c8f6ebd20daa957b3a85688954f8df03be6eb9
3
+ size 4856
runs/mask15-i2-fulle-lm/checkpoint-2304/chat_template.jinja ADDED
@@ -0,0 +1,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {%- if tools %}
2
+ {{- '<|im_start|>system\n' }}
3
+ {%- if messages[0].role == 'system' %}
4
+ {{- messages[0].content + '\n\n' }}
5
+ {%- endif %}
6
+ {{- "# 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>" }}
7
+ {%- for tool in tools %}
8
+ {{- "\n" }}
9
+ {{- tool | tojson }}
10
+ {%- endfor %}
11
+ {{- "\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" }}
12
+ {%- else %}
13
+ {%- if messages[0].role == 'system' %}
14
+ {{- '<|im_start|>system\n' + messages[0].content + '<|im_end|>\n' }}
15
+ {%- endif %}
16
+ {%- endif %}
17
+ {%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}
18
+ {%- for message in messages[::-1] %}
19
+ {%- set index = (messages|length - 1) - loop.index0 %}
20
+ {%- if ns.multi_step_tool and message.role == "user" and not(message.content.startswith('<tool_response>') and message.content.endswith('</tool_response>')) %}
21
+ {%- set ns.multi_step_tool = false %}
22
+ {%- set ns.last_query_index = index %}
23
+ {%- endif %}
24
+ {%- endfor %}
25
+ {%- for message in messages %}
26
+ {%- if (message.role == "user") or (message.role == "system" and not loop.first) %}
27
+ {{- '<|im_start|>' + message.role + '\n' + message.content + '<|im_end|>' + '\n' }}
28
+ {%- elif message.role == "assistant" %}
29
+ {%- set content = message.content %}
30
+ {%- set reasoning_content = '' %}
31
+ {%- if message.reasoning_content is defined and message.reasoning_content is not none %}
32
+ {%- set reasoning_content = message.reasoning_content %}
33
+ {%- else %}
34
+ {%- if '</think>' in message.content %}
35
+ {%- set content = message.content.split('</think>')[-1].lstrip('\n') %}
36
+ {%- set reasoning_content = message.content.split('</think>')[0].rstrip('\n').split('<think>')[-1].lstrip('\n') %}
37
+ {%- endif %}
38
+ {%- endif %}
39
+ {%- if loop.index0 > ns.last_query_index %}
40
+ {%- if loop.last or (not loop.last and reasoning_content) %}
41
+ {{- '<|im_start|>' + message.role + '\n<think>\n' + reasoning_content.strip('\n') + '\n</think>\n\n' + content.lstrip('\n') }}
42
+ {%- else %}
43
+ {{- '<|im_start|>' + message.role + '\n' + content }}
44
+ {%- endif %}
45
+ {%- else %}
46
+ {{- '<|im_start|>' + message.role + '\n' + content }}
47
+ {%- endif %}
48
+ {%- if message.tool_calls %}
49
+ {%- for tool_call in message.tool_calls %}
50
+ {%- if (loop.first and content) or (not loop.first) %}
51
+ {{- '\n' }}
52
+ {%- endif %}
53
+ {%- if tool_call.function %}
54
+ {%- set tool_call = tool_call.function %}
55
+ {%- endif %}
56
+ {{- '<tool_call>\n{"name": "' }}
57
+ {{- tool_call.name }}
58
+ {{- '", "arguments": ' }}
59
+ {%- if tool_call.arguments is string %}
60
+ {{- tool_call.arguments }}
61
+ {%- else %}
62
+ {{- tool_call.arguments | tojson }}
63
+ {%- endif %}
64
+ {{- '}\n</tool_call>' }}
65
+ {%- endfor %}
66
+ {%- endif %}
67
+ {{- '<|im_end|>\n' }}
68
+ {%- elif message.role == "tool" %}
69
+ {%- if loop.first or (messages[loop.index0 - 1].role != "tool") %}
70
+ {{- '<|im_start|>user' }}
71
+ {%- endif %}
72
+ {{- '\n<tool_response>\n' }}
73
+ {{- message.content }}
74
+ {{- '\n</tool_response>' }}
75
+ {%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
76
+ {{- '<|im_end|>\n' }}
77
+ {%- endif %}
78
+ {%- endif %}
79
+ {%- endfor %}
80
+ {%- if add_generation_prompt %}
81
+ {{- '<|im_start|>assistant\n' }}
82
+ {%- if enable_thinking is defined and enable_thinking is false %}
83
+ {{- '<think>\n\n</think>\n\n' }}
84
+ {%- endif %}
85
+ {%- endif %}