michaelchenkj commited on
Commit
4e9a94d
·
verified ·
1 Parent(s): 68d0961

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/l2r75-fulle-lm/checkpoint-1152/chat_template.jinja +85 -0
  3. runs/l2r75-fulle-lm/checkpoint-1152/config.json +32 -0
  4. runs/l2r75-fulle-lm/checkpoint-1152/generation_config.json +11 -0
  5. runs/l2r75-fulle-lm/checkpoint-1152/model.safetensors +3 -0
  6. runs/l2r75-fulle-lm/checkpoint-1152/optimizer.pt +3 -0
  7. runs/l2r75-fulle-lm/checkpoint-1152/rng_state_0.pth +3 -0
  8. runs/l2r75-fulle-lm/checkpoint-1152/rng_state_1.pth +3 -0
  9. runs/l2r75-fulle-lm/checkpoint-1152/rng_state_2.pth +3 -0
  10. runs/l2r75-fulle-lm/checkpoint-1152/rng_state_3.pth +3 -0
  11. runs/l2r75-fulle-lm/checkpoint-1152/scheduler.pt +3 -0
  12. runs/l2r75-fulle-lm/checkpoint-1152/tokenizer.json +3 -0
  13. runs/l2r75-fulle-lm/checkpoint-1152/tokenizer_config.json +18 -0
  14. runs/l2r75-fulle-lm/checkpoint-1152/trainer_state.json +0 -0
  15. runs/l2r75-fulle-lm/checkpoint-1152/training_args.bin +3 -0
  16. runs/l2r75-fulle-lm/checkpoint-1440/chat_template.jinja +85 -0
  17. runs/l2r75-fulle-lm/checkpoint-1440/config.json +32 -0
  18. runs/l2r75-fulle-lm/checkpoint-1440/generation_config.json +11 -0
  19. runs/l2r75-fulle-lm/checkpoint-1440/model.safetensors +3 -0
  20. runs/l2r75-fulle-lm/checkpoint-1440/optimizer.pt +3 -0
  21. runs/l2r75-fulle-lm/checkpoint-1440/rng_state_0.pth +3 -0
  22. runs/l2r75-fulle-lm/checkpoint-1440/rng_state_1.pth +3 -0
  23. runs/l2r75-fulle-lm/checkpoint-1440/rng_state_2.pth +3 -0
  24. runs/l2r75-fulle-lm/checkpoint-1440/rng_state_3.pth +3 -0
  25. runs/l2r75-fulle-lm/checkpoint-1440/scheduler.pt +3 -0
  26. runs/l2r75-fulle-lm/checkpoint-1440/tokenizer.json +3 -0
  27. runs/l2r75-fulle-lm/checkpoint-1440/tokenizer_config.json +18 -0
  28. runs/l2r75-fulle-lm/checkpoint-1440/trainer_state.json +0 -0
  29. runs/l2r75-fulle-lm/checkpoint-1440/training_args.bin +3 -0
  30. runs/l2r75-fulle-lm/checkpoint-1728/chat_template.jinja +85 -0
  31. runs/l2r75-fulle-lm/checkpoint-1728/config.json +32 -0
  32. runs/l2r75-fulle-lm/checkpoint-1728/generation_config.json +11 -0
  33. runs/l2r75-fulle-lm/checkpoint-1728/model.safetensors +3 -0
  34. runs/l2r75-fulle-lm/checkpoint-1728/optimizer.pt +3 -0
  35. runs/l2r75-fulle-lm/checkpoint-1728/rng_state_0.pth +3 -0
  36. runs/l2r75-fulle-lm/checkpoint-1728/rng_state_1.pth +3 -0
  37. runs/l2r75-fulle-lm/checkpoint-1728/rng_state_2.pth +3 -0
  38. runs/l2r75-fulle-lm/checkpoint-1728/rng_state_3.pth +3 -0
  39. runs/l2r75-fulle-lm/checkpoint-1728/scheduler.pt +3 -0
  40. runs/l2r75-fulle-lm/checkpoint-1728/tokenizer.json +3 -0
  41. runs/l2r75-fulle-lm/checkpoint-1728/tokenizer_config.json +18 -0
  42. runs/l2r75-fulle-lm/checkpoint-1728/trainer_state.json +0 -0
  43. runs/l2r75-fulle-lm/checkpoint-1728/training_args.bin +3 -0
  44. runs/l2r75-fulle-lm/checkpoint-2016/chat_template.jinja +85 -0
  45. runs/l2r75-fulle-lm/checkpoint-2016/config.json +32 -0
  46. runs/l2r75-fulle-lm/checkpoint-2016/generation_config.json +11 -0
  47. runs/l2r75-fulle-lm/checkpoint-2016/model.safetensors +3 -0
  48. runs/l2r75-fulle-lm/checkpoint-2016/optimizer.pt +3 -0
  49. runs/l2r75-fulle-lm/checkpoint-2016/rng_state_0.pth +3 -0
  50. runs/l2r75-fulle-lm/checkpoint-2016/rng_state_1.pth +3 -0
.gitattributes CHANGED
@@ -502,3 +502,38 @@ runs/random15-fulle-lm/checkpoint-8928/tokenizer.json filter=lfs diff=lfs merge=
502
  runs/random15-fulle-lm/checkpoint-9216/tokenizer.json filter=lfs diff=lfs merge=lfs -text
503
  runs/random15-fulle-lm/checkpoint-9504/tokenizer.json filter=lfs diff=lfs merge=lfs -text
504
  runs/random15-fulle-lm/checkpoint-9792/tokenizer.json filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
502
  runs/random15-fulle-lm/checkpoint-9216/tokenizer.json filter=lfs diff=lfs merge=lfs -text
503
  runs/random15-fulle-lm/checkpoint-9504/tokenizer.json filter=lfs diff=lfs merge=lfs -text
504
  runs/random15-fulle-lm/checkpoint-9792/tokenizer.json filter=lfs diff=lfs merge=lfs -text
505
+ runs/l2r75-fulle-lm/checkpoint-1152/tokenizer.json filter=lfs diff=lfs merge=lfs -text
506
+ runs/l2r75-fulle-lm/checkpoint-1440/tokenizer.json filter=lfs diff=lfs merge=lfs -text
507
+ runs/l2r75-fulle-lm/checkpoint-1728/tokenizer.json filter=lfs diff=lfs merge=lfs -text
508
+ runs/l2r75-fulle-lm/checkpoint-2016/tokenizer.json filter=lfs diff=lfs merge=lfs -text
509
+ runs/l2r75-fulle-lm/checkpoint-2304/tokenizer.json filter=lfs diff=lfs merge=lfs -text
510
+ runs/l2r75-fulle-lm/checkpoint-2592/tokenizer.json filter=lfs diff=lfs merge=lfs -text
511
+ runs/l2r75-fulle-lm/checkpoint-288/tokenizer.json filter=lfs diff=lfs merge=lfs -text
512
+ runs/l2r75-fulle-lm/checkpoint-2880/tokenizer.json filter=lfs diff=lfs merge=lfs -text
513
+ runs/l2r75-fulle-lm/checkpoint-3168/tokenizer.json filter=lfs diff=lfs merge=lfs -text
514
+ runs/l2r75-fulle-lm/checkpoint-3456/tokenizer.json filter=lfs diff=lfs merge=lfs -text
515
+ runs/l2r75-fulle-lm/checkpoint-3744/tokenizer.json filter=lfs diff=lfs merge=lfs -text
516
+ runs/l2r75-fulle-lm/checkpoint-4032/tokenizer.json filter=lfs diff=lfs merge=lfs -text
517
+ runs/l2r75-fulle-lm/checkpoint-4320/tokenizer.json filter=lfs diff=lfs merge=lfs -text
518
+ runs/l2r75-fulle-lm/checkpoint-4608/tokenizer.json filter=lfs diff=lfs merge=lfs -text
519
+ runs/l2r75-fulle-lm/checkpoint-4896/tokenizer.json filter=lfs diff=lfs merge=lfs -text
520
+ runs/l2r75-fulle-lm/checkpoint-5184/tokenizer.json filter=lfs diff=lfs merge=lfs -text
521
+ runs/l2r75-fulle-lm/checkpoint-5472/tokenizer.json filter=lfs diff=lfs merge=lfs -text
522
+ runs/l2r75-fulle-lm/checkpoint-576/tokenizer.json filter=lfs diff=lfs merge=lfs -text
523
+ runs/l2r75-fulle-lm/checkpoint-5760/tokenizer.json filter=lfs diff=lfs merge=lfs -text
524
+ runs/l2r75-fulle-lm/checkpoint-6048/tokenizer.json filter=lfs diff=lfs merge=lfs -text
525
+ runs/l2r75-fulle-lm/checkpoint-6336/tokenizer.json filter=lfs diff=lfs merge=lfs -text
526
+ runs/l2r75-fulle-lm/checkpoint-6624/tokenizer.json filter=lfs diff=lfs merge=lfs -text
527
+ runs/l2r75-fulle-lm/checkpoint-6912/tokenizer.json filter=lfs diff=lfs merge=lfs -text
528
+ runs/l2r75-fulle-lm/checkpoint-72/tokenizer.json filter=lfs diff=lfs merge=lfs -text
529
+ runs/l2r75-fulle-lm/checkpoint-7200/tokenizer.json filter=lfs diff=lfs merge=lfs -text
530
+ runs/l2r75-fulle-lm/checkpoint-7488/tokenizer.json filter=lfs diff=lfs merge=lfs -text
531
+ runs/l2r75-fulle-lm/checkpoint-7776/tokenizer.json filter=lfs diff=lfs merge=lfs -text
532
+ runs/l2r75-fulle-lm/checkpoint-8064/tokenizer.json filter=lfs diff=lfs merge=lfs -text
533
+ runs/l2r75-fulle-lm/checkpoint-8352/tokenizer.json filter=lfs diff=lfs merge=lfs -text
534
+ runs/l2r75-fulle-lm/checkpoint-864/tokenizer.json filter=lfs diff=lfs merge=lfs -text
535
+ runs/l2r75-fulle-lm/checkpoint-8640/tokenizer.json filter=lfs diff=lfs merge=lfs -text
536
+ runs/l2r75-fulle-lm/checkpoint-8928/tokenizer.json filter=lfs diff=lfs merge=lfs -text
537
+ runs/l2r75-fulle-lm/checkpoint-9216/tokenizer.json filter=lfs diff=lfs merge=lfs -text
538
+ runs/l2r75-fulle-lm/checkpoint-9504/tokenizer.json filter=lfs diff=lfs merge=lfs -text
539
+ runs/l2r75-fulle-lm/checkpoint-9792/tokenizer.json filter=lfs diff=lfs merge=lfs -text
runs/l2r75-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/l2r75-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.5.0",
30
+ "use_cache": false,
31
+ "vocab_size": 151671
32
+ }
runs/l2r75-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.5.0",
10
+ "use_cache": true
11
+ }
runs/l2r75-fulle-lm/checkpoint-1152/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dfe5b0dcdb47eeb8c37874b44679e44bbb8723be692f4034e294a169ac84fd84
3
+ size 583356232
runs/l2r75-fulle-lm/checkpoint-1152/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d96b1df32bba12416467be169d983d33a9c177e458ea8d206037605ed3aa4558
3
+ size 1166825338
runs/l2r75-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:929c3907ac3a11bce8abb1ebd17fb508da4065192359a37c4d529a4fea02960d
3
+ size 15024
runs/l2r75-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:f9799e4d8dbaa39920b07ecf8643abc6af6f5f23b9d4a7fd46b6480a0be4d063
3
+ size 15024
runs/l2r75-fulle-lm/checkpoint-1152/rng_state_2.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2526cb7034769200858e6fedb356f036b556a4117d66aae01bdf3eafaa197cf2
3
+ size 15024
runs/l2r75-fulle-lm/checkpoint-1152/rng_state_3.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b2aec78ad169e768897f12b44e6765047490fb189671d6f6153323ecb4b94883
3
+ size 15024
runs/l2r75-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/l2r75-fulle-lm/checkpoint-1152/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:59b6776030505d5b441d0727cce137047df748ab15db6ba3a1bac93c123742fb
3
+ size 11424079
runs/l2r75-fulle-lm/checkpoint-1152/tokenizer_config.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ ],
12
+ "is_local": false,
13
+ "model_max_length": 131072,
14
+ "pad_token": "<|im_end|>",
15
+ "split_special_tokens": false,
16
+ "tokenizer_class": "Qwen2Tokenizer",
17
+ "unk_token": null
18
+ }
runs/l2r75-fulle-lm/checkpoint-1152/trainer_state.json ADDED
The diff for this file is too large to render. See raw diff
 
runs/l2r75-fulle-lm/checkpoint-1152/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:748c844a303a93c3afdbb713c4783e73bbe9d0fc5f8440049f94dc1508526d32
3
+ size 4792
runs/l2r75-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/l2r75-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.5.0",
30
+ "use_cache": false,
31
+ "vocab_size": 151671
32
+ }
runs/l2r75-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.5.0",
10
+ "use_cache": true
11
+ }
runs/l2r75-fulle-lm/checkpoint-1440/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a445b5e20b9b4e7bb27f116650f2a3ec82dff1a5b77ec1c71b3d56e1b4fe1aa5
3
+ size 583356232
runs/l2r75-fulle-lm/checkpoint-1440/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5df18968f20f824e283ec6cc3ae77878b2fc75f8ee318a7cb4b504bfbc173cc4
3
+ size 1166825338
runs/l2r75-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:2b1dfed66aea4e59c5fbb97f6f7b9eedaa2102bc813da51af9a94ba9c42b0e8c
3
+ size 15024
runs/l2r75-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:31bbc97cda656d11c5036ea59105511b2f07d7b2834b974ae356d2de6f8d922d
3
+ size 15024
runs/l2r75-fulle-lm/checkpoint-1440/rng_state_2.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f54eefd68dc84d612a90080eb0724dd4cdddd67659a3ca9aa7aeb336ba20c1fe
3
+ size 15024
runs/l2r75-fulle-lm/checkpoint-1440/rng_state_3.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:37d7701ca99aff6a37aa49666cef9609252548ec1ef723213fedc3c95ad648af
3
+ size 15024
runs/l2r75-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/l2r75-fulle-lm/checkpoint-1440/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:59b6776030505d5b441d0727cce137047df748ab15db6ba3a1bac93c123742fb
3
+ size 11424079
runs/l2r75-fulle-lm/checkpoint-1440/tokenizer_config.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ ],
12
+ "is_local": false,
13
+ "model_max_length": 131072,
14
+ "pad_token": "<|im_end|>",
15
+ "split_special_tokens": false,
16
+ "tokenizer_class": "Qwen2Tokenizer",
17
+ "unk_token": null
18
+ }
runs/l2r75-fulle-lm/checkpoint-1440/trainer_state.json ADDED
The diff for this file is too large to render. See raw diff
 
runs/l2r75-fulle-lm/checkpoint-1440/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:748c844a303a93c3afdbb713c4783e73bbe9d0fc5f8440049f94dc1508526d32
3
+ size 4792
runs/l2r75-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/l2r75-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.5.0",
30
+ "use_cache": false,
31
+ "vocab_size": 151671
32
+ }
runs/l2r75-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.5.0",
10
+ "use_cache": true
11
+ }
runs/l2r75-fulle-lm/checkpoint-1728/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4c1f6da56c3a0e09963d79149505265ce99b731d90868658d1ae060b496a9450
3
+ size 583356232
runs/l2r75-fulle-lm/checkpoint-1728/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ea05121f99fd2987878c420dea6b45e0571022397eb3baa71a32f6a556da5e8a
3
+ size 1166825338
runs/l2r75-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:51ed22a085bba41e435c0a6328a9318a916ae10d32bfa7f7bf6d8683ace3a6a2
3
+ size 15024
runs/l2r75-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:0e4c2bd1e679c020f2bf711b98ec927f03a7fe436c40214a33b971fe98af4f0b
3
+ size 15024
runs/l2r75-fulle-lm/checkpoint-1728/rng_state_2.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ebd7f0b05f10f1263afbae2fea8915e74e2f5592ad06ad83925cbc63e3f03877
3
+ size 15024
runs/l2r75-fulle-lm/checkpoint-1728/rng_state_3.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bd1d91a7372bb818f47a24a979cbc210da64a51af6df9c2773c8fc8a849cd93d
3
+ size 15024
runs/l2r75-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/l2r75-fulle-lm/checkpoint-1728/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:59b6776030505d5b441d0727cce137047df748ab15db6ba3a1bac93c123742fb
3
+ size 11424079
runs/l2r75-fulle-lm/checkpoint-1728/tokenizer_config.json ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ ],
12
+ "is_local": false,
13
+ "model_max_length": 131072,
14
+ "pad_token": "<|im_end|>",
15
+ "split_special_tokens": false,
16
+ "tokenizer_class": "Qwen2Tokenizer",
17
+ "unk_token": null
18
+ }
runs/l2r75-fulle-lm/checkpoint-1728/trainer_state.json ADDED
The diff for this file is too large to render. See raw diff
 
runs/l2r75-fulle-lm/checkpoint-1728/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:748c844a303a93c3afdbb713c4783e73bbe9d0fc5f8440049f94dc1508526d32
3
+ size 4792
runs/l2r75-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/l2r75-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.5.0",
30
+ "use_cache": false,
31
+ "vocab_size": 151671
32
+ }
runs/l2r75-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.5.0",
10
+ "use_cache": true
11
+ }
runs/l2r75-fulle-lm/checkpoint-2016/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:04e32467bd733077d74d0ca3f9fb6815e463fcdde4415ec1043e4dcae7950203
3
+ size 583356232
runs/l2r75-fulle-lm/checkpoint-2016/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:42e38f91493ae461ba554afc71b2a8d7153b66a6c579f032ddd766ee909d0bbe
3
+ size 1166825338
runs/l2r75-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:f31492b1c50723743e76b8aea7c3df6e44badf32f3cd0259112b65de16e5a6e8
3
+ size 15024
runs/l2r75-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:b4cd0c3c5f82aa2e0c335b86e9098123bfa27752ba614c1fa0c6bca72ea15777
3
+ size 15024