michaelchenkj commited on
Commit
401d2c4
·
verified ·
1 Parent(s): a2863eb

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 +37 -0
  2. runs/mask15-fulle-lm/checkpoint-10080/chat_template.jinja +85 -0
  3. runs/mask15-fulle-lm/checkpoint-10080/config.json +32 -0
  4. runs/mask15-fulle-lm/checkpoint-10080/generation_config.json +11 -0
  5. runs/mask15-fulle-lm/checkpoint-10080/model.safetensors +3 -0
  6. runs/mask15-fulle-lm/checkpoint-10080/optimizer.pt +3 -0
  7. runs/mask15-fulle-lm/checkpoint-10080/rng_state_0.pth +3 -0
  8. runs/mask15-fulle-lm/checkpoint-10080/rng_state_1.pth +3 -0
  9. runs/mask15-fulle-lm/checkpoint-10080/scheduler.pt +3 -0
  10. runs/mask15-fulle-lm/checkpoint-10080/tokenizer.json +3 -0
  11. runs/mask15-fulle-lm/checkpoint-10080/tokenizer_config.json +20 -0
  12. runs/mask15-fulle-lm/checkpoint-10080/trainer_state.json +0 -0
  13. runs/mask15-fulle-lm/checkpoint-10080/training_args.bin +3 -0
  14. runs/mask15-fulle-lm/checkpoint-10368/chat_template.jinja +85 -0
  15. runs/mask15-fulle-lm/checkpoint-10368/config.json +32 -0
  16. runs/mask15-fulle-lm/checkpoint-10368/generation_config.json +11 -0
  17. runs/mask15-fulle-lm/checkpoint-10368/model.safetensors +3 -0
  18. runs/mask15-fulle-lm/checkpoint-10368/optimizer.pt +3 -0
  19. runs/mask15-fulle-lm/checkpoint-10368/rng_state_0.pth +3 -0
  20. runs/mask15-fulle-lm/checkpoint-10368/rng_state_1.pth +3 -0
  21. runs/mask15-fulle-lm/checkpoint-10368/scheduler.pt +3 -0
  22. runs/mask15-fulle-lm/checkpoint-10368/tokenizer.json +3 -0
  23. runs/mask15-fulle-lm/checkpoint-10368/tokenizer_config.json +20 -0
  24. runs/mask15-fulle-lm/checkpoint-10368/trainer_state.json +0 -0
  25. runs/mask15-fulle-lm/checkpoint-10368/training_args.bin +3 -0
  26. runs/mask15-fulle-lm/checkpoint-1152/chat_template.jinja +85 -0
  27. runs/mask15-fulle-lm/checkpoint-1152/config.json +32 -0
  28. runs/mask15-fulle-lm/checkpoint-1152/generation_config.json +11 -0
  29. runs/mask15-fulle-lm/checkpoint-1152/model.safetensors +3 -0
  30. runs/mask15-fulle-lm/checkpoint-1152/optimizer.pt +3 -0
  31. runs/mask15-fulle-lm/checkpoint-1152/rng_state_0.pth +3 -0
  32. runs/mask15-fulle-lm/checkpoint-1152/rng_state_1.pth +3 -0
  33. runs/mask15-fulle-lm/checkpoint-1152/scheduler.pt +3 -0
  34. runs/mask15-fulle-lm/checkpoint-1152/tokenizer.json +3 -0
  35. runs/mask15-fulle-lm/checkpoint-1152/tokenizer_config.json +20 -0
  36. runs/mask15-fulle-lm/checkpoint-1152/trainer_state.json +0 -0
  37. runs/mask15-fulle-lm/checkpoint-1152/training_args.bin +3 -0
  38. runs/mask15-fulle-lm/checkpoint-1440/chat_template.jinja +85 -0
  39. runs/mask15-fulle-lm/checkpoint-1440/config.json +32 -0
  40. runs/mask15-fulle-lm/checkpoint-1440/generation_config.json +11 -0
  41. runs/mask15-fulle-lm/checkpoint-1440/model.safetensors +3 -0
  42. runs/mask15-fulle-lm/checkpoint-1440/optimizer.pt +3 -0
  43. runs/mask15-fulle-lm/checkpoint-1440/rng_state_0.pth +3 -0
  44. runs/mask15-fulle-lm/checkpoint-1440/rng_state_1.pth +3 -0
  45. runs/mask15-fulle-lm/checkpoint-1440/scheduler.pt +3 -0
  46. runs/mask15-fulle-lm/checkpoint-1440/tokenizer.json +3 -0
  47. runs/mask15-fulle-lm/checkpoint-1440/tokenizer_config.json +20 -0
  48. runs/mask15-fulle-lm/checkpoint-1440/trainer_state.json +0 -0
  49. runs/mask15-fulle-lm/checkpoint-1440/training_args.bin +3 -0
  50. runs/mask15-fulle-lm/checkpoint-1728/chat_template.jinja +85 -0
.gitattributes CHANGED
@@ -325,3 +325,40 @@ runs/i5-fulle-lm/checkpoint-7200/tokenizer.json filter=lfs diff=lfs merge=lfs -t
325
  runs/i5-fulle-lm/checkpoint-864/tokenizer.json filter=lfs diff=lfs merge=lfs -text
326
  runs/i5-fulle-lm/checkpoint-288/tokenizer.json filter=lfs diff=lfs merge=lfs -text
327
  runs/i5-fulle-lm/checkpoint-72/tokenizer.json filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
325
  runs/i5-fulle-lm/checkpoint-864/tokenizer.json filter=lfs diff=lfs merge=lfs -text
326
  runs/i5-fulle-lm/checkpoint-288/tokenizer.json filter=lfs diff=lfs merge=lfs -text
327
  runs/i5-fulle-lm/checkpoint-72/tokenizer.json filter=lfs diff=lfs merge=lfs -text
328
+ runs/mask15-fulle-lm/checkpoint-10080/tokenizer.json filter=lfs diff=lfs merge=lfs -text
329
+ runs/mask15-fulle-lm/checkpoint-10368/tokenizer.json filter=lfs diff=lfs merge=lfs -text
330
+ runs/mask15-fulle-lm/checkpoint-1152/tokenizer.json filter=lfs diff=lfs merge=lfs -text
331
+ runs/mask15-fulle-lm/checkpoint-1440/tokenizer.json filter=lfs diff=lfs merge=lfs -text
332
+ runs/mask15-fulle-lm/checkpoint-1728/tokenizer.json filter=lfs diff=lfs merge=lfs -text
333
+ runs/mask15-fulle-lm/checkpoint-2016/tokenizer.json filter=lfs diff=lfs merge=lfs -text
334
+ runs/mask15-fulle-lm/checkpoint-2304/tokenizer.json filter=lfs diff=lfs merge=lfs -text
335
+ runs/mask15-fulle-lm/checkpoint-2592/tokenizer.json filter=lfs diff=lfs merge=lfs -text
336
+ runs/mask15-fulle-lm/checkpoint-288/tokenizer.json filter=lfs diff=lfs merge=lfs -text
337
+ runs/mask15-fulle-lm/checkpoint-2880/tokenizer.json filter=lfs diff=lfs merge=lfs -text
338
+ runs/mask15-fulle-lm/checkpoint-3168/tokenizer.json filter=lfs diff=lfs merge=lfs -text
339
+ runs/mask15-fulle-lm/checkpoint-3456/tokenizer.json filter=lfs diff=lfs merge=lfs -text
340
+ runs/mask15-fulle-lm/checkpoint-3744/tokenizer.json filter=lfs diff=lfs merge=lfs -text
341
+ runs/mask15-fulle-lm/checkpoint-4032/tokenizer.json filter=lfs diff=lfs merge=lfs -text
342
+ runs/mask15-fulle-lm/checkpoint-4320/tokenizer.json filter=lfs diff=lfs merge=lfs -text
343
+ runs/mask15-fulle-lm/checkpoint-4608/tokenizer.json filter=lfs diff=lfs merge=lfs -text
344
+ runs/mask15-fulle-lm/checkpoint-4896/tokenizer.json filter=lfs diff=lfs merge=lfs -text
345
+ runs/mask15-fulle-lm/checkpoint-5184/tokenizer.json filter=lfs diff=lfs merge=lfs -text
346
+ runs/mask15-fulle-lm/checkpoint-5472/tokenizer.json filter=lfs diff=lfs merge=lfs -text
347
+ runs/mask15-fulle-lm/checkpoint-576/tokenizer.json filter=lfs diff=lfs merge=lfs -text
348
+ runs/mask15-fulle-lm/checkpoint-5760/tokenizer.json filter=lfs diff=lfs merge=lfs -text
349
+ runs/mask15-fulle-lm/checkpoint-6048/tokenizer.json filter=lfs diff=lfs merge=lfs -text
350
+ runs/mask15-fulle-lm/checkpoint-6336/tokenizer.json filter=lfs diff=lfs merge=lfs -text
351
+ runs/mask15-fulle-lm/checkpoint-6624/tokenizer.json filter=lfs diff=lfs merge=lfs -text
352
+ runs/mask15-fulle-lm/checkpoint-6912/tokenizer.json filter=lfs diff=lfs merge=lfs -text
353
+ runs/mask15-fulle-lm/checkpoint-72/tokenizer.json filter=lfs diff=lfs merge=lfs -text
354
+ runs/mask15-fulle-lm/checkpoint-7200/tokenizer.json filter=lfs diff=lfs merge=lfs -text
355
+ runs/mask15-fulle-lm/checkpoint-7488/tokenizer.json filter=lfs diff=lfs merge=lfs -text
356
+ runs/mask15-fulle-lm/checkpoint-7776/tokenizer.json filter=lfs diff=lfs merge=lfs -text
357
+ runs/mask15-fulle-lm/checkpoint-8064/tokenizer.json filter=lfs diff=lfs merge=lfs -text
358
+ runs/mask15-fulle-lm/checkpoint-8352/tokenizer.json filter=lfs diff=lfs merge=lfs -text
359
+ runs/mask15-fulle-lm/checkpoint-864/tokenizer.json filter=lfs diff=lfs merge=lfs -text
360
+ runs/mask15-fulle-lm/checkpoint-8640/tokenizer.json filter=lfs diff=lfs merge=lfs -text
361
+ runs/mask15-fulle-lm/checkpoint-8928/tokenizer.json filter=lfs diff=lfs merge=lfs -text
362
+ runs/mask15-fulle-lm/checkpoint-9216/tokenizer.json filter=lfs diff=lfs merge=lfs -text
363
+ runs/mask15-fulle-lm/checkpoint-9504/tokenizer.json filter=lfs diff=lfs merge=lfs -text
364
+ runs/mask15-fulle-lm/checkpoint-9792/tokenizer.json filter=lfs diff=lfs merge=lfs -text
runs/mask15-fulle-lm/checkpoint-10080/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-fulle-lm/checkpoint-10080/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": 151672
32
+ }
runs/mask15-fulle-lm/checkpoint-10080/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-fulle-lm/checkpoint-10080/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fb7652289d255fd0858354494c226c20ea487e72a7ae1e114c7262ecd32fe21e
3
+ size 583358280
runs/mask15-fulle-lm/checkpoint-10080/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dae7c31d4bde073993b09daf4832eb1bea6c2e100ada556d73b2f38de2809986
3
+ size 1166831994
runs/mask15-fulle-lm/checkpoint-10080/rng_state_0.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8b4c4021c9d95e185063d28c7c1c2d2fab52c94c114dc69dd0b2a2515644c185
3
+ size 14512
runs/mask15-fulle-lm/checkpoint-10080/rng_state_1.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8c0dc13293f0b125cf72d2fd4a1911c2a8b88799d62b3047be050694f781a010
3
+ size 14512
runs/mask15-fulle-lm/checkpoint-10080/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:382f5d43bf4270795579ec5ec62380276c99a156f2c669880121f6b6e7d6b332
3
+ size 1064
runs/mask15-fulle-lm/checkpoint-10080/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9245fe3cb2d40f9ed8d5d8ddd1d58701ba2a236beec08f656162281673f30560
3
+ size 11424264
runs/mask15-fulle-lm/checkpoint-10080/tokenizer_config.json ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "<|mask|>"
12
+ ],
13
+ "is_local": false,
14
+ "local_files_only": false,
15
+ "model_max_length": 32768,
16
+ "pad_token": "<|im_end|>",
17
+ "split_special_tokens": false,
18
+ "tokenizer_class": "Qwen2Tokenizer",
19
+ "unk_token": null
20
+ }
runs/mask15-fulle-lm/checkpoint-10080/trainer_state.json ADDED
The diff for this file is too large to render. See raw diff
 
runs/mask15-fulle-lm/checkpoint-10080/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:83bb57b0510f5b48b743ce96f4c968e5fc3952acc84b1039f320953d2e0a9740
3
+ size 4856
runs/mask15-fulle-lm/checkpoint-10368/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-fulle-lm/checkpoint-10368/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": 151672
32
+ }
runs/mask15-fulle-lm/checkpoint-10368/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-fulle-lm/checkpoint-10368/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3eb52231b3b7ba56f7aa192860397c5dd1561ee294ba3b3b9438ed0308232b6c
3
+ size 583358280
runs/mask15-fulle-lm/checkpoint-10368/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6f74612b739a47c9581eb4d281f735e70df900ac65d2ca5ce17d29bcf514a4f5
3
+ size 1166831994
runs/mask15-fulle-lm/checkpoint-10368/rng_state_0.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8b9512589ac907f39784d3ae50b449133e5ee7539f5f9934e0fa395af2570ac8
3
+ size 14512
runs/mask15-fulle-lm/checkpoint-10368/rng_state_1.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a98da4e5879837e573f253e8d3174d690e4491d7f147ddd95f2c45ab69e28793
3
+ size 14512
runs/mask15-fulle-lm/checkpoint-10368/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ec8e2ada15846f168bde9d1d2dcb16f29cf467a8bf6a0ba91e0d3e10394afced
3
+ size 1064
runs/mask15-fulle-lm/checkpoint-10368/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9245fe3cb2d40f9ed8d5d8ddd1d58701ba2a236beec08f656162281673f30560
3
+ size 11424264
runs/mask15-fulle-lm/checkpoint-10368/tokenizer_config.json ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "<|mask|>"
12
+ ],
13
+ "is_local": false,
14
+ "local_files_only": false,
15
+ "model_max_length": 32768,
16
+ "pad_token": "<|im_end|>",
17
+ "split_special_tokens": false,
18
+ "tokenizer_class": "Qwen2Tokenizer",
19
+ "unk_token": null
20
+ }
runs/mask15-fulle-lm/checkpoint-10368/trainer_state.json ADDED
The diff for this file is too large to render. See raw diff
 
runs/mask15-fulle-lm/checkpoint-10368/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:83bb57b0510f5b48b743ce96f4c968e5fc3952acc84b1039f320953d2e0a9740
3
+ size 4856
runs/mask15-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-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": 151672
32
+ }
runs/mask15-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-fulle-lm/checkpoint-1152/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b7f82ec289a9e8fcd5f8a3ff6a74723748a38e7228090ba9bca3008890d81449
3
+ size 583358280
runs/mask15-fulle-lm/checkpoint-1152/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:234bcd171623ab21b6471cbf816e841028e210786535ff4f8fd2511cb1ca9408
3
+ size 1166829434
runs/mask15-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:4b589a5c822740a79de4ffd247576f1bc115455441197a4a7d2bf7fbc2437ba2
3
+ size 14512
runs/mask15-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:df1473f0291d2e7bd3c33e759b5ca397d6b06f221e973dc7f78f947357d90e22
3
+ size 14512
runs/mask15-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-fulle-lm/checkpoint-1152/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9245fe3cb2d40f9ed8d5d8ddd1d58701ba2a236beec08f656162281673f30560
3
+ size 11424264
runs/mask15-fulle-lm/checkpoint-1152/tokenizer_config.json ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "<|mask|>"
12
+ ],
13
+ "is_local": false,
14
+ "local_files_only": false,
15
+ "model_max_length": 32768,
16
+ "pad_token": "<|im_end|>",
17
+ "split_special_tokens": false,
18
+ "tokenizer_class": "Qwen2Tokenizer",
19
+ "unk_token": null
20
+ }
runs/mask15-fulle-lm/checkpoint-1152/trainer_state.json ADDED
The diff for this file is too large to render. See raw diff
 
runs/mask15-fulle-lm/checkpoint-1152/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:83bb57b0510f5b48b743ce96f4c968e5fc3952acc84b1039f320953d2e0a9740
3
+ size 4856
runs/mask15-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-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": 151672
32
+ }
runs/mask15-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-fulle-lm/checkpoint-1440/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b71aa99a362432ddd2ea7cfd57a2c7de3085b0a0c588d2602ec5d780dc807c2c
3
+ size 583358280
runs/mask15-fulle-lm/checkpoint-1440/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d79d736b8c228210d10b57c350851ebc7084a656b3f67926c31e786fe0850b39
3
+ size 1166829434
runs/mask15-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:59896f67c2f6db37039605e7d0332009cc053c099b9f3c3ffcfb76bdcae0c117
3
+ size 14512
runs/mask15-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:3a6bfee160669cd93c9a9d87b93a6a594a232c257c47afd4600d8c9a66605a1b
3
+ size 14512
runs/mask15-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-fulle-lm/checkpoint-1440/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9245fe3cb2d40f9ed8d5d8ddd1d58701ba2a236beec08f656162281673f30560
3
+ size 11424264
runs/mask15-fulle-lm/checkpoint-1440/tokenizer_config.json ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "<|mask|>"
12
+ ],
13
+ "is_local": false,
14
+ "local_files_only": false,
15
+ "model_max_length": 32768,
16
+ "pad_token": "<|im_end|>",
17
+ "split_special_tokens": false,
18
+ "tokenizer_class": "Qwen2Tokenizer",
19
+ "unk_token": null
20
+ }
runs/mask15-fulle-lm/checkpoint-1440/trainer_state.json ADDED
The diff for this file is too large to render. See raw diff
 
runs/mask15-fulle-lm/checkpoint-1440/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:83bb57b0510f5b48b743ce96f4c968e5fc3952acc84b1039f320953d2e0a9740
3
+ size 4856
runs/mask15-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 %}