Clockz commited on
Commit
69f13b6
·
verified ·
1 Parent(s): 4e6b7dc

Upload folder using huggingface_hub

Browse files
Files changed (41) hide show
  1. idzoo_0.9zoo_0.1teacher/README.md +27 -0
  2. idzoo_0.9zoo_0.1teacher/base/README.md +27 -0
  3. idzoo_0.9zoo_0.1teacher/base/chat_template.jinja +1 -0
  4. idzoo_0.9zoo_0.1teacher/base/config.json +43 -0
  5. idzoo_0.9zoo_0.1teacher/base/generation_config.json +7 -0
  6. idzoo_0.9zoo_0.1teacher/base/model.safetensors +3 -0
  7. idzoo_0.9zoo_0.1teacher/base/special_tokens_map.json +38 -0
  8. idzoo_0.9zoo_0.1teacher/base/tokenizer.json +0 -0
  9. idzoo_0.9zoo_0.1teacher/base/tokenizer_config.json +143 -0
  10. idzoo_0.9zoo_0.1teacher/rl/contextzoo_0.1zoo_0.9teacher/README.md +27 -0
  11. idzoo_0.9zoo_0.1teacher/rl/contextzoo_0.1zoo_0.9teacher/chat_template.jinja +1 -0
  12. idzoo_0.9zoo_0.1teacher/rl/contextzoo_0.1zoo_0.9teacher/config.json +44 -0
  13. idzoo_0.9zoo_0.1teacher/rl/contextzoo_0.1zoo_0.9teacher/generation_config.json +7 -0
  14. idzoo_0.9zoo_0.1teacher/rl/contextzoo_0.1zoo_0.9teacher/model.safetensors +3 -0
  15. idzoo_0.9zoo_0.1teacher/rl/contextzoo_0.1zoo_0.9teacher/special_tokens_map.json +38 -0
  16. idzoo_0.9zoo_0.1teacher/rl/contextzoo_0.1zoo_0.9teacher/tokenizer.json +0 -0
  17. idzoo_0.9zoo_0.1teacher/rl/contextzoo_0.1zoo_0.9teacher/tokenizer_config.json +143 -0
  18. idzoo_0.9zoo_0.1teacher/rl/contextzoo_0.5zoo_0.5teacher/README.md +27 -0
  19. idzoo_0.9zoo_0.1teacher/rl/contextzoo_0.5zoo_0.5teacher/chat_template.jinja +1 -0
  20. idzoo_0.9zoo_0.1teacher/rl/contextzoo_0.5zoo_0.5teacher/config.json +44 -0
  21. idzoo_0.9zoo_0.1teacher/rl/contextzoo_0.5zoo_0.5teacher/generation_config.json +7 -0
  22. idzoo_0.9zoo_0.1teacher/rl/contextzoo_0.5zoo_0.5teacher/model.safetensors +3 -0
  23. idzoo_0.9zoo_0.1teacher/rl/contextzoo_0.5zoo_0.5teacher/special_tokens_map.json +38 -0
  24. idzoo_0.9zoo_0.1teacher/rl/contextzoo_0.5zoo_0.5teacher/tokenizer.json +0 -0
  25. idzoo_0.9zoo_0.1teacher/rl/contextzoo_0.5zoo_0.5teacher/tokenizer_config.json +143 -0
  26. idzoo_0.9zoo_0.1teacher/rl/contextzoo_0.9zoo_0.1teacher/README.md +27 -0
  27. idzoo_0.9zoo_0.1teacher/rl/contextzoo_0.9zoo_0.1teacher/chat_template.jinja +1 -0
  28. idzoo_0.9zoo_0.1teacher/rl/contextzoo_0.9zoo_0.1teacher/config.json +44 -0
  29. idzoo_0.9zoo_0.1teacher/rl/contextzoo_0.9zoo_0.1teacher/generation_config.json +7 -0
  30. idzoo_0.9zoo_0.1teacher/rl/contextzoo_0.9zoo_0.1teacher/model.safetensors +3 -0
  31. idzoo_0.9zoo_0.1teacher/rl/contextzoo_0.9zoo_0.1teacher/special_tokens_map.json +38 -0
  32. idzoo_0.9zoo_0.1teacher/rl/contextzoo_0.9zoo_0.1teacher/tokenizer.json +0 -0
  33. idzoo_0.9zoo_0.1teacher/rl/contextzoo_0.9zoo_0.1teacher/tokenizer_config.json +143 -0
  34. idzoo_0.9zoo_0.1teacher/rl/contextzoo_1.0teacher/README.md +27 -0
  35. idzoo_0.9zoo_0.1teacher/rl/contextzoo_1.0teacher/chat_template.jinja +1 -0
  36. idzoo_0.9zoo_0.1teacher/rl/contextzoo_1.0teacher/config.json +44 -0
  37. idzoo_0.9zoo_0.1teacher/rl/contextzoo_1.0teacher/generation_config.json +7 -0
  38. idzoo_0.9zoo_0.1teacher/rl/contextzoo_1.0teacher/model.safetensors +3 -0
  39. idzoo_0.9zoo_0.1teacher/rl/contextzoo_1.0teacher/special_tokens_map.json +38 -0
  40. idzoo_0.9zoo_0.1teacher/rl/contextzoo_1.0teacher/tokenizer.json +0 -0
  41. idzoo_0.9zoo_0.1teacher/rl/contextzoo_1.0teacher/tokenizer_config.json +143 -0
idzoo_0.9zoo_0.1teacher/README.md ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ library_name: transformers
4
+ tags:
5
+ - reasoning
6
+ - context-learning
7
+ - synthetic-data
8
+ - transformers
9
+ ---
10
+
11
+ # idzoo_0.9zoo_0.1teacher
12
+
13
+ 90% zoo, 10% teacher context mixture. This directory contains the final pretraining checkpoint and the final RL checkpoints for the associated context experiments.
14
+
15
+ ## Citation
16
+
17
+ ```bibtex
18
+ @misc{zhang2025interplaypretrainingmidtrainingrl,
19
+ title={On the Interplay of Pre-Training, Mid-Training, and RL on Reasoning Language Models},
20
+ author={Charlie Zhang and Graham Neubig and Xiang Yue},
21
+ year={2025},
22
+ eprint={2512.07783},
23
+ archivePrefix={arXiv},
24
+ primaryClass={cs.CL},
25
+ url={https://arxiv.org/abs/2512.07783},
26
+ }
27
+ ```
idzoo_0.9zoo_0.1teacher/base/README.md ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ library_name: transformers
4
+ tags:
5
+ - reasoning
6
+ - context-learning
7
+ - synthetic-data
8
+ - transformers
9
+ ---
10
+
11
+ # idzoo_0.9zoo_0.1teacher / base
12
+
13
+ Final pretraining checkpoint used to initialize the RL runs under this setting.
14
+
15
+ ## Citation
16
+
17
+ ```bibtex
18
+ @misc{zhang2025interplaypretrainingmidtrainingrl,
19
+ title={On the Interplay of Pre-Training, Mid-Training, and RL on Reasoning Language Models},
20
+ author={Charlie Zhang and Graham Neubig and Xiang Yue},
21
+ year={2025},
22
+ eprint={2512.07783},
23
+ archivePrefix={arXiv},
24
+ primaryClass={cs.CL},
25
+ url={https://arxiv.org/abs/2512.07783},
26
+ }
27
+ ```
idzoo_0.9zoo_0.1teacher/base/chat_template.jinja ADDED
@@ -0,0 +1 @@
 
 
1
+ {% if messages[0]['role'] == 'system' %}{% set loop_messages = messages[1:] %}{% set system_message = messages[0]['content'] %}{% else %}{% set loop_messages = messages %}{% endif %}{% if system_message is defined %}{{ system_message }}{% endif %}{% for message in loop_messages %}{% set content = message['content'] %}{% if message['role'] == 'user' %}{{ content }}{% elif message['role'] == 'assistant' %}{{ content }}{% endif %}{% endfor %}
idzoo_0.9zoo_0.1teacher/base/config.json ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "Qwen2ForCausalLM"
4
+ ],
5
+ "attention_dropout": 0.0,
6
+ "bos_token_id": 2,
7
+ "eos_token_id": 3,
8
+ "hidden_act": "silu",
9
+ "hidden_size": 768,
10
+ "initializer_range": 0.02,
11
+ "intermediate_size": 3072,
12
+ "layer_types": [
13
+ "full_attention",
14
+ "full_attention",
15
+ "full_attention",
16
+ "full_attention",
17
+ "full_attention",
18
+ "full_attention",
19
+ "full_attention",
20
+ "full_attention",
21
+ "full_attention",
22
+ "full_attention",
23
+ "full_attention",
24
+ "full_attention"
25
+ ],
26
+ "max_position_embeddings": 2048,
27
+ "max_window_layers": 24,
28
+ "model_type": "qwen2",
29
+ "num_attention_heads": 12,
30
+ "num_hidden_layers": 12,
31
+ "num_key_value_heads": 2,
32
+ "rms_norm_eps": 1e-06,
33
+ "rope_scaling": null,
34
+ "rope_theta": 1000000.0,
35
+ "sliding_window": null,
36
+ "tie_word_embeddings": true,
37
+ "torch_dtype": "float32",
38
+ "transformers_version": "4.55.0",
39
+ "use_cache": false,
40
+ "use_mrope": false,
41
+ "use_sliding_window": false,
42
+ "vocab_size": 2200
43
+ }
idzoo_0.9zoo_0.1teacher/base/generation_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 2,
4
+ "eos_token_id": 3,
5
+ "transformers_version": "4.55.0",
6
+ "use_cache": false
7
+ }
idzoo_0.9zoo_0.1teacher/base/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0a4cb561fc6b16b0cdeec3b62ff129b9db44aabc49c90b78a815bf2034a37f4f
3
+ size 412699256
idzoo_0.9zoo_0.1teacher/base/special_tokens_map.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<question>",
4
+ "</question>",
5
+ "<solution>",
6
+ "</solution>",
7
+ "<answer>",
8
+ "</answer>"
9
+ ],
10
+ "bos_token": {
11
+ "content": "[BOS]",
12
+ "lstrip": false,
13
+ "normalized": false,
14
+ "rstrip": false,
15
+ "single_word": false
16
+ },
17
+ "eos_token": {
18
+ "content": "[EOS]",
19
+ "lstrip": false,
20
+ "normalized": false,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ },
24
+ "pad_token": {
25
+ "content": "[PAD]",
26
+ "lstrip": false,
27
+ "normalized": false,
28
+ "rstrip": false,
29
+ "single_word": false
30
+ },
31
+ "unk_token": {
32
+ "content": "[UNK]",
33
+ "lstrip": false,
34
+ "normalized": false,
35
+ "rstrip": false,
36
+ "single_word": false
37
+ }
38
+ }
idzoo_0.9zoo_0.1teacher/base/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
idzoo_0.9zoo_0.1teacher/base/tokenizer_config.json ADDED
@@ -0,0 +1,143 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "added_tokens_decoder": {
4
+ "0": {
5
+ "content": "[UNK]",
6
+ "lstrip": false,
7
+ "normalized": false,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ },
12
+ "1": {
13
+ "content": "[PAD]",
14
+ "lstrip": false,
15
+ "normalized": false,
16
+ "rstrip": false,
17
+ "single_word": false,
18
+ "special": true
19
+ },
20
+ "2": {
21
+ "content": "[BOS]",
22
+ "lstrip": false,
23
+ "normalized": false,
24
+ "rstrip": false,
25
+ "single_word": false,
26
+ "special": true
27
+ },
28
+ "3": {
29
+ "content": "[EOS]",
30
+ "lstrip": false,
31
+ "normalized": false,
32
+ "rstrip": false,
33
+ "single_word": false,
34
+ "special": true
35
+ },
36
+ "4": {
37
+ "content": "<question>",
38
+ "lstrip": false,
39
+ "normalized": false,
40
+ "rstrip": false,
41
+ "single_word": false,
42
+ "special": true
43
+ },
44
+ "5": {
45
+ "content": "</question>",
46
+ "lstrip": false,
47
+ "normalized": false,
48
+ "rstrip": false,
49
+ "single_word": false,
50
+ "special": true
51
+ },
52
+ "6": {
53
+ "content": "<solution>",
54
+ "lstrip": false,
55
+ "normalized": false,
56
+ "rstrip": false,
57
+ "single_word": false,
58
+ "special": true
59
+ },
60
+ "7": {
61
+ "content": "</solution>",
62
+ "lstrip": false,
63
+ "normalized": false,
64
+ "rstrip": false,
65
+ "single_word": false,
66
+ "special": true
67
+ },
68
+ "8": {
69
+ "content": "<answer>",
70
+ "lstrip": false,
71
+ "normalized": false,
72
+ "rstrip": false,
73
+ "single_word": false,
74
+ "special": true
75
+ },
76
+ "9": {
77
+ "content": "</answer>",
78
+ "lstrip": false,
79
+ "normalized": false,
80
+ "rstrip": false,
81
+ "single_word": false,
82
+ "special": true
83
+ },
84
+ "2196": {
85
+ "content": "<special_token_0>",
86
+ "lstrip": false,
87
+ "normalized": false,
88
+ "rstrip": false,
89
+ "single_word": false,
90
+ "special": true
91
+ },
92
+ "2197": {
93
+ "content": "<special_token_1>",
94
+ "lstrip": false,
95
+ "normalized": false,
96
+ "rstrip": false,
97
+ "single_word": false,
98
+ "special": true
99
+ },
100
+ "2198": {
101
+ "content": "<special_token_2>",
102
+ "lstrip": false,
103
+ "normalized": false,
104
+ "rstrip": false,
105
+ "single_word": false,
106
+ "special": true
107
+ },
108
+ "2199": {
109
+ "content": "<special_token_3>",
110
+ "lstrip": false,
111
+ "normalized": false,
112
+ "rstrip": false,
113
+ "single_word": false,
114
+ "special": true
115
+ },
116
+ "2200": {
117
+ "content": "<special_token_4>",
118
+ "lstrip": false,
119
+ "normalized": false,
120
+ "rstrip": false,
121
+ "single_word": false,
122
+ "special": true
123
+ }
124
+ },
125
+ "additional_special_tokens": [
126
+ "<question>",
127
+ "</question>",
128
+ "<solution>",
129
+ "</solution>",
130
+ "<answer>",
131
+ "</answer>"
132
+ ],
133
+ "bos_token": "[BOS]",
134
+ "clean_up_tokenization_spaces": false,
135
+ "eos_token": "[EOS]",
136
+ "extra_special_tokens": {},
137
+ "model_max_length": 1000000000000000019884624838656,
138
+ "pad_token": "[PAD]",
139
+ "padding_side": "right",
140
+ "split_special_tokens": false,
141
+ "tokenizer_class": "PreTrainedTokenizerFast",
142
+ "unk_token": "[UNK]"
143
+ }
idzoo_0.9zoo_0.1teacher/rl/contextzoo_0.1zoo_0.9teacher/README.md ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ library_name: transformers
4
+ tags:
5
+ - reasoning
6
+ - context-learning
7
+ - synthetic-data
8
+ - transformers
9
+ ---
10
+
11
+ # idzoo_0.9zoo_0.1teacher / rl / contextzoo_0.1zoo_0.9teacher
12
+
13
+ Final RL checkpoint for this experiment variant.
14
+
15
+ ## Citation
16
+
17
+ ```bibtex
18
+ @misc{zhang2025interplaypretrainingmidtrainingrl,
19
+ title={On the Interplay of Pre-Training, Mid-Training, and RL on Reasoning Language Models},
20
+ author={Charlie Zhang and Graham Neubig and Xiang Yue},
21
+ year={2025},
22
+ eprint={2512.07783},
23
+ archivePrefix={arXiv},
24
+ primaryClass={cs.CL},
25
+ url={https://arxiv.org/abs/2512.07783},
26
+ }
27
+ ```
idzoo_0.9zoo_0.1teacher/rl/contextzoo_0.1zoo_0.9teacher/chat_template.jinja ADDED
@@ -0,0 +1 @@
 
 
1
+ {% if messages[0]['role'] == 'system' %}{% set loop_messages = messages[1:] %}{% set system_message = messages[0]['content'] %}{% else %}{% set loop_messages = messages %}{% endif %}{% if system_message is defined %}{{ system_message }}{% endif %}{% for message in loop_messages %}{% set content = message['content'] %}{% if message['role'] == 'user' %}{{ content }}{% elif message['role'] == 'assistant' %}{{ content }}{% endif %}{% endfor %}
idzoo_0.9zoo_0.1teacher/rl/contextzoo_0.1zoo_0.9teacher/config.json ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "Qwen2ForCausalLM"
4
+ ],
5
+ "attention_dropout": 0.0,
6
+ "bos_token_id": 2,
7
+ "eos_token_id": 3,
8
+ "hidden_act": "silu",
9
+ "hidden_size": 768,
10
+ "initializer_range": 0.02,
11
+ "intermediate_size": 3072,
12
+ "layer_types": [
13
+ "full_attention",
14
+ "full_attention",
15
+ "full_attention",
16
+ "full_attention",
17
+ "full_attention",
18
+ "full_attention",
19
+ "full_attention",
20
+ "full_attention",
21
+ "full_attention",
22
+ "full_attention",
23
+ "full_attention",
24
+ "full_attention"
25
+ ],
26
+ "max_position_embeddings": 2048,
27
+ "max_window_layers": 24,
28
+ "model_type": "qwen2",
29
+ "num_attention_heads": 12,
30
+ "num_hidden_layers": 12,
31
+ "num_key_value_heads": 2,
32
+ "pad_token_id": 1,
33
+ "rms_norm_eps": 1e-06,
34
+ "rope_scaling": null,
35
+ "rope_theta": 1000000.0,
36
+ "sliding_window": null,
37
+ "tie_word_embeddings": true,
38
+ "torch_dtype": "bfloat16",
39
+ "transformers_version": "4.55.0",
40
+ "use_cache": false,
41
+ "use_mrope": false,
42
+ "use_sliding_window": false,
43
+ "vocab_size": 2200
44
+ }
idzoo_0.9zoo_0.1teacher/rl/contextzoo_0.1zoo_0.9teacher/generation_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 2,
4
+ "eos_token_id": 3,
5
+ "transformers_version": "4.55.0",
6
+ "use_cache": false
7
+ }
idzoo_0.9zoo_0.1teacher/rl/contextzoo_0.1zoo_0.9teacher/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:37658f1c24c99ac0aadba15a3f0f8a6407185c5379fa176c27d932287a03af2e
3
+ size 209736984
idzoo_0.9zoo_0.1teacher/rl/contextzoo_0.1zoo_0.9teacher/special_tokens_map.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<question>",
4
+ "</question>",
5
+ "<solution>",
6
+ "</solution>",
7
+ "<answer>",
8
+ "</answer>"
9
+ ],
10
+ "bos_token": {
11
+ "content": "[BOS]",
12
+ "lstrip": false,
13
+ "normalized": false,
14
+ "rstrip": false,
15
+ "single_word": false
16
+ },
17
+ "eos_token": {
18
+ "content": "[EOS]",
19
+ "lstrip": false,
20
+ "normalized": false,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ },
24
+ "pad_token": {
25
+ "content": "[PAD]",
26
+ "lstrip": false,
27
+ "normalized": false,
28
+ "rstrip": false,
29
+ "single_word": false
30
+ },
31
+ "unk_token": {
32
+ "content": "[UNK]",
33
+ "lstrip": false,
34
+ "normalized": false,
35
+ "rstrip": false,
36
+ "single_word": false
37
+ }
38
+ }
idzoo_0.9zoo_0.1teacher/rl/contextzoo_0.1zoo_0.9teacher/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
idzoo_0.9zoo_0.1teacher/rl/contextzoo_0.1zoo_0.9teacher/tokenizer_config.json ADDED
@@ -0,0 +1,143 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "added_tokens_decoder": {
4
+ "0": {
5
+ "content": "[UNK]",
6
+ "lstrip": false,
7
+ "normalized": false,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ },
12
+ "1": {
13
+ "content": "[PAD]",
14
+ "lstrip": false,
15
+ "normalized": false,
16
+ "rstrip": false,
17
+ "single_word": false,
18
+ "special": true
19
+ },
20
+ "2": {
21
+ "content": "[BOS]",
22
+ "lstrip": false,
23
+ "normalized": false,
24
+ "rstrip": false,
25
+ "single_word": false,
26
+ "special": true
27
+ },
28
+ "3": {
29
+ "content": "[EOS]",
30
+ "lstrip": false,
31
+ "normalized": false,
32
+ "rstrip": false,
33
+ "single_word": false,
34
+ "special": true
35
+ },
36
+ "4": {
37
+ "content": "<question>",
38
+ "lstrip": false,
39
+ "normalized": false,
40
+ "rstrip": false,
41
+ "single_word": false,
42
+ "special": true
43
+ },
44
+ "5": {
45
+ "content": "</question>",
46
+ "lstrip": false,
47
+ "normalized": false,
48
+ "rstrip": false,
49
+ "single_word": false,
50
+ "special": true
51
+ },
52
+ "6": {
53
+ "content": "<solution>",
54
+ "lstrip": false,
55
+ "normalized": false,
56
+ "rstrip": false,
57
+ "single_word": false,
58
+ "special": true
59
+ },
60
+ "7": {
61
+ "content": "</solution>",
62
+ "lstrip": false,
63
+ "normalized": false,
64
+ "rstrip": false,
65
+ "single_word": false,
66
+ "special": true
67
+ },
68
+ "8": {
69
+ "content": "<answer>",
70
+ "lstrip": false,
71
+ "normalized": false,
72
+ "rstrip": false,
73
+ "single_word": false,
74
+ "special": true
75
+ },
76
+ "9": {
77
+ "content": "</answer>",
78
+ "lstrip": false,
79
+ "normalized": false,
80
+ "rstrip": false,
81
+ "single_word": false,
82
+ "special": true
83
+ },
84
+ "2196": {
85
+ "content": "<special_token_0>",
86
+ "lstrip": false,
87
+ "normalized": false,
88
+ "rstrip": false,
89
+ "single_word": false,
90
+ "special": true
91
+ },
92
+ "2197": {
93
+ "content": "<special_token_1>",
94
+ "lstrip": false,
95
+ "normalized": false,
96
+ "rstrip": false,
97
+ "single_word": false,
98
+ "special": true
99
+ },
100
+ "2198": {
101
+ "content": "<special_token_2>",
102
+ "lstrip": false,
103
+ "normalized": false,
104
+ "rstrip": false,
105
+ "single_word": false,
106
+ "special": true
107
+ },
108
+ "2199": {
109
+ "content": "<special_token_3>",
110
+ "lstrip": false,
111
+ "normalized": false,
112
+ "rstrip": false,
113
+ "single_word": false,
114
+ "special": true
115
+ },
116
+ "2200": {
117
+ "content": "<special_token_4>",
118
+ "lstrip": false,
119
+ "normalized": false,
120
+ "rstrip": false,
121
+ "single_word": false,
122
+ "special": true
123
+ }
124
+ },
125
+ "additional_special_tokens": [
126
+ "<question>",
127
+ "</question>",
128
+ "<solution>",
129
+ "</solution>",
130
+ "<answer>",
131
+ "</answer>"
132
+ ],
133
+ "bos_token": "[BOS]",
134
+ "clean_up_tokenization_spaces": false,
135
+ "eos_token": "[EOS]",
136
+ "extra_special_tokens": {},
137
+ "model_max_length": 1000000000000000019884624838656,
138
+ "pad_token": "[PAD]",
139
+ "padding_side": "right",
140
+ "split_special_tokens": false,
141
+ "tokenizer_class": "PreTrainedTokenizerFast",
142
+ "unk_token": "[UNK]"
143
+ }
idzoo_0.9zoo_0.1teacher/rl/contextzoo_0.5zoo_0.5teacher/README.md ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ library_name: transformers
4
+ tags:
5
+ - reasoning
6
+ - context-learning
7
+ - synthetic-data
8
+ - transformers
9
+ ---
10
+
11
+ # idzoo_0.9zoo_0.1teacher / rl / contextzoo_0.5zoo_0.5teacher
12
+
13
+ Final RL checkpoint for this experiment variant.
14
+
15
+ ## Citation
16
+
17
+ ```bibtex
18
+ @misc{zhang2025interplaypretrainingmidtrainingrl,
19
+ title={On the Interplay of Pre-Training, Mid-Training, and RL on Reasoning Language Models},
20
+ author={Charlie Zhang and Graham Neubig and Xiang Yue},
21
+ year={2025},
22
+ eprint={2512.07783},
23
+ archivePrefix={arXiv},
24
+ primaryClass={cs.CL},
25
+ url={https://arxiv.org/abs/2512.07783},
26
+ }
27
+ ```
idzoo_0.9zoo_0.1teacher/rl/contextzoo_0.5zoo_0.5teacher/chat_template.jinja ADDED
@@ -0,0 +1 @@
 
 
1
+ {% if messages[0]['role'] == 'system' %}{% set loop_messages = messages[1:] %}{% set system_message = messages[0]['content'] %}{% else %}{% set loop_messages = messages %}{% endif %}{% if system_message is defined %}{{ system_message }}{% endif %}{% for message in loop_messages %}{% set content = message['content'] %}{% if message['role'] == 'user' %}{{ content }}{% elif message['role'] == 'assistant' %}{{ content }}{% endif %}{% endfor %}
idzoo_0.9zoo_0.1teacher/rl/contextzoo_0.5zoo_0.5teacher/config.json ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "Qwen2ForCausalLM"
4
+ ],
5
+ "attention_dropout": 0.0,
6
+ "bos_token_id": 2,
7
+ "eos_token_id": 3,
8
+ "hidden_act": "silu",
9
+ "hidden_size": 768,
10
+ "initializer_range": 0.02,
11
+ "intermediate_size": 3072,
12
+ "layer_types": [
13
+ "full_attention",
14
+ "full_attention",
15
+ "full_attention",
16
+ "full_attention",
17
+ "full_attention",
18
+ "full_attention",
19
+ "full_attention",
20
+ "full_attention",
21
+ "full_attention",
22
+ "full_attention",
23
+ "full_attention",
24
+ "full_attention"
25
+ ],
26
+ "max_position_embeddings": 2048,
27
+ "max_window_layers": 24,
28
+ "model_type": "qwen2",
29
+ "num_attention_heads": 12,
30
+ "num_hidden_layers": 12,
31
+ "num_key_value_heads": 2,
32
+ "pad_token_id": 1,
33
+ "rms_norm_eps": 1e-06,
34
+ "rope_scaling": null,
35
+ "rope_theta": 1000000.0,
36
+ "sliding_window": null,
37
+ "tie_word_embeddings": true,
38
+ "torch_dtype": "bfloat16",
39
+ "transformers_version": "4.55.0",
40
+ "use_cache": false,
41
+ "use_mrope": false,
42
+ "use_sliding_window": false,
43
+ "vocab_size": 2200
44
+ }
idzoo_0.9zoo_0.1teacher/rl/contextzoo_0.5zoo_0.5teacher/generation_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 2,
4
+ "eos_token_id": 3,
5
+ "transformers_version": "4.55.0",
6
+ "use_cache": false
7
+ }
idzoo_0.9zoo_0.1teacher/rl/contextzoo_0.5zoo_0.5teacher/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fea5a3eca14d33d776af0acd4021c82da9b2f6562d17bb60d5ecdedd23eabebd
3
+ size 209736984
idzoo_0.9zoo_0.1teacher/rl/contextzoo_0.5zoo_0.5teacher/special_tokens_map.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<question>",
4
+ "</question>",
5
+ "<solution>",
6
+ "</solution>",
7
+ "<answer>",
8
+ "</answer>"
9
+ ],
10
+ "bos_token": {
11
+ "content": "[BOS]",
12
+ "lstrip": false,
13
+ "normalized": false,
14
+ "rstrip": false,
15
+ "single_word": false
16
+ },
17
+ "eos_token": {
18
+ "content": "[EOS]",
19
+ "lstrip": false,
20
+ "normalized": false,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ },
24
+ "pad_token": {
25
+ "content": "[PAD]",
26
+ "lstrip": false,
27
+ "normalized": false,
28
+ "rstrip": false,
29
+ "single_word": false
30
+ },
31
+ "unk_token": {
32
+ "content": "[UNK]",
33
+ "lstrip": false,
34
+ "normalized": false,
35
+ "rstrip": false,
36
+ "single_word": false
37
+ }
38
+ }
idzoo_0.9zoo_0.1teacher/rl/contextzoo_0.5zoo_0.5teacher/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
idzoo_0.9zoo_0.1teacher/rl/contextzoo_0.5zoo_0.5teacher/tokenizer_config.json ADDED
@@ -0,0 +1,143 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "added_tokens_decoder": {
4
+ "0": {
5
+ "content": "[UNK]",
6
+ "lstrip": false,
7
+ "normalized": false,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ },
12
+ "1": {
13
+ "content": "[PAD]",
14
+ "lstrip": false,
15
+ "normalized": false,
16
+ "rstrip": false,
17
+ "single_word": false,
18
+ "special": true
19
+ },
20
+ "2": {
21
+ "content": "[BOS]",
22
+ "lstrip": false,
23
+ "normalized": false,
24
+ "rstrip": false,
25
+ "single_word": false,
26
+ "special": true
27
+ },
28
+ "3": {
29
+ "content": "[EOS]",
30
+ "lstrip": false,
31
+ "normalized": false,
32
+ "rstrip": false,
33
+ "single_word": false,
34
+ "special": true
35
+ },
36
+ "4": {
37
+ "content": "<question>",
38
+ "lstrip": false,
39
+ "normalized": false,
40
+ "rstrip": false,
41
+ "single_word": false,
42
+ "special": true
43
+ },
44
+ "5": {
45
+ "content": "</question>",
46
+ "lstrip": false,
47
+ "normalized": false,
48
+ "rstrip": false,
49
+ "single_word": false,
50
+ "special": true
51
+ },
52
+ "6": {
53
+ "content": "<solution>",
54
+ "lstrip": false,
55
+ "normalized": false,
56
+ "rstrip": false,
57
+ "single_word": false,
58
+ "special": true
59
+ },
60
+ "7": {
61
+ "content": "</solution>",
62
+ "lstrip": false,
63
+ "normalized": false,
64
+ "rstrip": false,
65
+ "single_word": false,
66
+ "special": true
67
+ },
68
+ "8": {
69
+ "content": "<answer>",
70
+ "lstrip": false,
71
+ "normalized": false,
72
+ "rstrip": false,
73
+ "single_word": false,
74
+ "special": true
75
+ },
76
+ "9": {
77
+ "content": "</answer>",
78
+ "lstrip": false,
79
+ "normalized": false,
80
+ "rstrip": false,
81
+ "single_word": false,
82
+ "special": true
83
+ },
84
+ "2196": {
85
+ "content": "<special_token_0>",
86
+ "lstrip": false,
87
+ "normalized": false,
88
+ "rstrip": false,
89
+ "single_word": false,
90
+ "special": true
91
+ },
92
+ "2197": {
93
+ "content": "<special_token_1>",
94
+ "lstrip": false,
95
+ "normalized": false,
96
+ "rstrip": false,
97
+ "single_word": false,
98
+ "special": true
99
+ },
100
+ "2198": {
101
+ "content": "<special_token_2>",
102
+ "lstrip": false,
103
+ "normalized": false,
104
+ "rstrip": false,
105
+ "single_word": false,
106
+ "special": true
107
+ },
108
+ "2199": {
109
+ "content": "<special_token_3>",
110
+ "lstrip": false,
111
+ "normalized": false,
112
+ "rstrip": false,
113
+ "single_word": false,
114
+ "special": true
115
+ },
116
+ "2200": {
117
+ "content": "<special_token_4>",
118
+ "lstrip": false,
119
+ "normalized": false,
120
+ "rstrip": false,
121
+ "single_word": false,
122
+ "special": true
123
+ }
124
+ },
125
+ "additional_special_tokens": [
126
+ "<question>",
127
+ "</question>",
128
+ "<solution>",
129
+ "</solution>",
130
+ "<answer>",
131
+ "</answer>"
132
+ ],
133
+ "bos_token": "[BOS]",
134
+ "clean_up_tokenization_spaces": false,
135
+ "eos_token": "[EOS]",
136
+ "extra_special_tokens": {},
137
+ "model_max_length": 1000000000000000019884624838656,
138
+ "pad_token": "[PAD]",
139
+ "padding_side": "right",
140
+ "split_special_tokens": false,
141
+ "tokenizer_class": "PreTrainedTokenizerFast",
142
+ "unk_token": "[UNK]"
143
+ }
idzoo_0.9zoo_0.1teacher/rl/contextzoo_0.9zoo_0.1teacher/README.md ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ library_name: transformers
4
+ tags:
5
+ - reasoning
6
+ - context-learning
7
+ - synthetic-data
8
+ - transformers
9
+ ---
10
+
11
+ # idzoo_0.9zoo_0.1teacher / rl / contextzoo_0.9zoo_0.1teacher
12
+
13
+ Final RL checkpoint for this experiment variant.
14
+
15
+ ## Citation
16
+
17
+ ```bibtex
18
+ @misc{zhang2025interplaypretrainingmidtrainingrl,
19
+ title={On the Interplay of Pre-Training, Mid-Training, and RL on Reasoning Language Models},
20
+ author={Charlie Zhang and Graham Neubig and Xiang Yue},
21
+ year={2025},
22
+ eprint={2512.07783},
23
+ archivePrefix={arXiv},
24
+ primaryClass={cs.CL},
25
+ url={https://arxiv.org/abs/2512.07783},
26
+ }
27
+ ```
idzoo_0.9zoo_0.1teacher/rl/contextzoo_0.9zoo_0.1teacher/chat_template.jinja ADDED
@@ -0,0 +1 @@
 
 
1
+ {% if messages[0]['role'] == 'system' %}{% set loop_messages = messages[1:] %}{% set system_message = messages[0]['content'] %}{% else %}{% set loop_messages = messages %}{% endif %}{% if system_message is defined %}{{ system_message }}{% endif %}{% for message in loop_messages %}{% set content = message['content'] %}{% if message['role'] == 'user' %}{{ content }}{% elif message['role'] == 'assistant' %}{{ content }}{% endif %}{% endfor %}
idzoo_0.9zoo_0.1teacher/rl/contextzoo_0.9zoo_0.1teacher/config.json ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "Qwen2ForCausalLM"
4
+ ],
5
+ "attention_dropout": 0.0,
6
+ "bos_token_id": 2,
7
+ "eos_token_id": 3,
8
+ "hidden_act": "silu",
9
+ "hidden_size": 768,
10
+ "initializer_range": 0.02,
11
+ "intermediate_size": 3072,
12
+ "layer_types": [
13
+ "full_attention",
14
+ "full_attention",
15
+ "full_attention",
16
+ "full_attention",
17
+ "full_attention",
18
+ "full_attention",
19
+ "full_attention",
20
+ "full_attention",
21
+ "full_attention",
22
+ "full_attention",
23
+ "full_attention",
24
+ "full_attention"
25
+ ],
26
+ "max_position_embeddings": 2048,
27
+ "max_window_layers": 24,
28
+ "model_type": "qwen2",
29
+ "num_attention_heads": 12,
30
+ "num_hidden_layers": 12,
31
+ "num_key_value_heads": 2,
32
+ "pad_token_id": 1,
33
+ "rms_norm_eps": 1e-06,
34
+ "rope_scaling": null,
35
+ "rope_theta": 1000000.0,
36
+ "sliding_window": null,
37
+ "tie_word_embeddings": true,
38
+ "torch_dtype": "bfloat16",
39
+ "transformers_version": "4.55.0",
40
+ "use_cache": false,
41
+ "use_mrope": false,
42
+ "use_sliding_window": false,
43
+ "vocab_size": 2200
44
+ }
idzoo_0.9zoo_0.1teacher/rl/contextzoo_0.9zoo_0.1teacher/generation_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 2,
4
+ "eos_token_id": 3,
5
+ "transformers_version": "4.55.0",
6
+ "use_cache": false
7
+ }
idzoo_0.9zoo_0.1teacher/rl/contextzoo_0.9zoo_0.1teacher/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f918328e6c903ef1c4f6229b6b5b51a393063e0552ecaffa2f30ce8fee3c72ed
3
+ size 209736984
idzoo_0.9zoo_0.1teacher/rl/contextzoo_0.9zoo_0.1teacher/special_tokens_map.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<question>",
4
+ "</question>",
5
+ "<solution>",
6
+ "</solution>",
7
+ "<answer>",
8
+ "</answer>"
9
+ ],
10
+ "bos_token": {
11
+ "content": "[BOS]",
12
+ "lstrip": false,
13
+ "normalized": false,
14
+ "rstrip": false,
15
+ "single_word": false
16
+ },
17
+ "eos_token": {
18
+ "content": "[EOS]",
19
+ "lstrip": false,
20
+ "normalized": false,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ },
24
+ "pad_token": {
25
+ "content": "[PAD]",
26
+ "lstrip": false,
27
+ "normalized": false,
28
+ "rstrip": false,
29
+ "single_word": false
30
+ },
31
+ "unk_token": {
32
+ "content": "[UNK]",
33
+ "lstrip": false,
34
+ "normalized": false,
35
+ "rstrip": false,
36
+ "single_word": false
37
+ }
38
+ }
idzoo_0.9zoo_0.1teacher/rl/contextzoo_0.9zoo_0.1teacher/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
idzoo_0.9zoo_0.1teacher/rl/contextzoo_0.9zoo_0.1teacher/tokenizer_config.json ADDED
@@ -0,0 +1,143 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "added_tokens_decoder": {
4
+ "0": {
5
+ "content": "[UNK]",
6
+ "lstrip": false,
7
+ "normalized": false,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ },
12
+ "1": {
13
+ "content": "[PAD]",
14
+ "lstrip": false,
15
+ "normalized": false,
16
+ "rstrip": false,
17
+ "single_word": false,
18
+ "special": true
19
+ },
20
+ "2": {
21
+ "content": "[BOS]",
22
+ "lstrip": false,
23
+ "normalized": false,
24
+ "rstrip": false,
25
+ "single_word": false,
26
+ "special": true
27
+ },
28
+ "3": {
29
+ "content": "[EOS]",
30
+ "lstrip": false,
31
+ "normalized": false,
32
+ "rstrip": false,
33
+ "single_word": false,
34
+ "special": true
35
+ },
36
+ "4": {
37
+ "content": "<question>",
38
+ "lstrip": false,
39
+ "normalized": false,
40
+ "rstrip": false,
41
+ "single_word": false,
42
+ "special": true
43
+ },
44
+ "5": {
45
+ "content": "</question>",
46
+ "lstrip": false,
47
+ "normalized": false,
48
+ "rstrip": false,
49
+ "single_word": false,
50
+ "special": true
51
+ },
52
+ "6": {
53
+ "content": "<solution>",
54
+ "lstrip": false,
55
+ "normalized": false,
56
+ "rstrip": false,
57
+ "single_word": false,
58
+ "special": true
59
+ },
60
+ "7": {
61
+ "content": "</solution>",
62
+ "lstrip": false,
63
+ "normalized": false,
64
+ "rstrip": false,
65
+ "single_word": false,
66
+ "special": true
67
+ },
68
+ "8": {
69
+ "content": "<answer>",
70
+ "lstrip": false,
71
+ "normalized": false,
72
+ "rstrip": false,
73
+ "single_word": false,
74
+ "special": true
75
+ },
76
+ "9": {
77
+ "content": "</answer>",
78
+ "lstrip": false,
79
+ "normalized": false,
80
+ "rstrip": false,
81
+ "single_word": false,
82
+ "special": true
83
+ },
84
+ "2196": {
85
+ "content": "<special_token_0>",
86
+ "lstrip": false,
87
+ "normalized": false,
88
+ "rstrip": false,
89
+ "single_word": false,
90
+ "special": true
91
+ },
92
+ "2197": {
93
+ "content": "<special_token_1>",
94
+ "lstrip": false,
95
+ "normalized": false,
96
+ "rstrip": false,
97
+ "single_word": false,
98
+ "special": true
99
+ },
100
+ "2198": {
101
+ "content": "<special_token_2>",
102
+ "lstrip": false,
103
+ "normalized": false,
104
+ "rstrip": false,
105
+ "single_word": false,
106
+ "special": true
107
+ },
108
+ "2199": {
109
+ "content": "<special_token_3>",
110
+ "lstrip": false,
111
+ "normalized": false,
112
+ "rstrip": false,
113
+ "single_word": false,
114
+ "special": true
115
+ },
116
+ "2200": {
117
+ "content": "<special_token_4>",
118
+ "lstrip": false,
119
+ "normalized": false,
120
+ "rstrip": false,
121
+ "single_word": false,
122
+ "special": true
123
+ }
124
+ },
125
+ "additional_special_tokens": [
126
+ "<question>",
127
+ "</question>",
128
+ "<solution>",
129
+ "</solution>",
130
+ "<answer>",
131
+ "</answer>"
132
+ ],
133
+ "bos_token": "[BOS]",
134
+ "clean_up_tokenization_spaces": false,
135
+ "eos_token": "[EOS]",
136
+ "extra_special_tokens": {},
137
+ "model_max_length": 1000000000000000019884624838656,
138
+ "pad_token": "[PAD]",
139
+ "padding_side": "right",
140
+ "split_special_tokens": false,
141
+ "tokenizer_class": "PreTrainedTokenizerFast",
142
+ "unk_token": "[UNK]"
143
+ }
idzoo_0.9zoo_0.1teacher/rl/contextzoo_1.0teacher/README.md ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ library_name: transformers
4
+ tags:
5
+ - reasoning
6
+ - context-learning
7
+ - synthetic-data
8
+ - transformers
9
+ ---
10
+
11
+ # idzoo_0.9zoo_0.1teacher / rl / contextzoo_1.0teacher
12
+
13
+ Final RL checkpoint for this experiment variant.
14
+
15
+ ## Citation
16
+
17
+ ```bibtex
18
+ @misc{zhang2025interplaypretrainingmidtrainingrl,
19
+ title={On the Interplay of Pre-Training, Mid-Training, and RL on Reasoning Language Models},
20
+ author={Charlie Zhang and Graham Neubig and Xiang Yue},
21
+ year={2025},
22
+ eprint={2512.07783},
23
+ archivePrefix={arXiv},
24
+ primaryClass={cs.CL},
25
+ url={https://arxiv.org/abs/2512.07783},
26
+ }
27
+ ```
idzoo_0.9zoo_0.1teacher/rl/contextzoo_1.0teacher/chat_template.jinja ADDED
@@ -0,0 +1 @@
 
 
1
+ {% if messages[0]['role'] == 'system' %}{% set loop_messages = messages[1:] %}{% set system_message = messages[0]['content'] %}{% else %}{% set loop_messages = messages %}{% endif %}{% if system_message is defined %}{{ system_message }}{% endif %}{% for message in loop_messages %}{% set content = message['content'] %}{% if message['role'] == 'user' %}{{ content }}{% elif message['role'] == 'assistant' %}{{ content }}{% endif %}{% endfor %}
idzoo_0.9zoo_0.1teacher/rl/contextzoo_1.0teacher/config.json ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "Qwen2ForCausalLM"
4
+ ],
5
+ "attention_dropout": 0.0,
6
+ "bos_token_id": 2,
7
+ "eos_token_id": 3,
8
+ "hidden_act": "silu",
9
+ "hidden_size": 768,
10
+ "initializer_range": 0.02,
11
+ "intermediate_size": 3072,
12
+ "layer_types": [
13
+ "full_attention",
14
+ "full_attention",
15
+ "full_attention",
16
+ "full_attention",
17
+ "full_attention",
18
+ "full_attention",
19
+ "full_attention",
20
+ "full_attention",
21
+ "full_attention",
22
+ "full_attention",
23
+ "full_attention",
24
+ "full_attention"
25
+ ],
26
+ "max_position_embeddings": 2048,
27
+ "max_window_layers": 24,
28
+ "model_type": "qwen2",
29
+ "num_attention_heads": 12,
30
+ "num_hidden_layers": 12,
31
+ "num_key_value_heads": 2,
32
+ "pad_token_id": 1,
33
+ "rms_norm_eps": 1e-06,
34
+ "rope_scaling": null,
35
+ "rope_theta": 1000000.0,
36
+ "sliding_window": null,
37
+ "tie_word_embeddings": true,
38
+ "torch_dtype": "bfloat16",
39
+ "transformers_version": "4.55.0",
40
+ "use_cache": false,
41
+ "use_mrope": false,
42
+ "use_sliding_window": false,
43
+ "vocab_size": 2200
44
+ }
idzoo_0.9zoo_0.1teacher/rl/contextzoo_1.0teacher/generation_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 2,
4
+ "eos_token_id": 3,
5
+ "transformers_version": "4.55.0",
6
+ "use_cache": false
7
+ }
idzoo_0.9zoo_0.1teacher/rl/contextzoo_1.0teacher/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:caddf7397cec81f20bc3306cd73d0ebf3c08397bcd70a59e3ca2ffb258edf335
3
+ size 209736984
idzoo_0.9zoo_0.1teacher/rl/contextzoo_1.0teacher/special_tokens_map.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<question>",
4
+ "</question>",
5
+ "<solution>",
6
+ "</solution>",
7
+ "<answer>",
8
+ "</answer>"
9
+ ],
10
+ "bos_token": {
11
+ "content": "[BOS]",
12
+ "lstrip": false,
13
+ "normalized": false,
14
+ "rstrip": false,
15
+ "single_word": false
16
+ },
17
+ "eos_token": {
18
+ "content": "[EOS]",
19
+ "lstrip": false,
20
+ "normalized": false,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ },
24
+ "pad_token": {
25
+ "content": "[PAD]",
26
+ "lstrip": false,
27
+ "normalized": false,
28
+ "rstrip": false,
29
+ "single_word": false
30
+ },
31
+ "unk_token": {
32
+ "content": "[UNK]",
33
+ "lstrip": false,
34
+ "normalized": false,
35
+ "rstrip": false,
36
+ "single_word": false
37
+ }
38
+ }
idzoo_0.9zoo_0.1teacher/rl/contextzoo_1.0teacher/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
idzoo_0.9zoo_0.1teacher/rl/contextzoo_1.0teacher/tokenizer_config.json ADDED
@@ -0,0 +1,143 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "added_tokens_decoder": {
4
+ "0": {
5
+ "content": "[UNK]",
6
+ "lstrip": false,
7
+ "normalized": false,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ },
12
+ "1": {
13
+ "content": "[PAD]",
14
+ "lstrip": false,
15
+ "normalized": false,
16
+ "rstrip": false,
17
+ "single_word": false,
18
+ "special": true
19
+ },
20
+ "2": {
21
+ "content": "[BOS]",
22
+ "lstrip": false,
23
+ "normalized": false,
24
+ "rstrip": false,
25
+ "single_word": false,
26
+ "special": true
27
+ },
28
+ "3": {
29
+ "content": "[EOS]",
30
+ "lstrip": false,
31
+ "normalized": false,
32
+ "rstrip": false,
33
+ "single_word": false,
34
+ "special": true
35
+ },
36
+ "4": {
37
+ "content": "<question>",
38
+ "lstrip": false,
39
+ "normalized": false,
40
+ "rstrip": false,
41
+ "single_word": false,
42
+ "special": true
43
+ },
44
+ "5": {
45
+ "content": "</question>",
46
+ "lstrip": false,
47
+ "normalized": false,
48
+ "rstrip": false,
49
+ "single_word": false,
50
+ "special": true
51
+ },
52
+ "6": {
53
+ "content": "<solution>",
54
+ "lstrip": false,
55
+ "normalized": false,
56
+ "rstrip": false,
57
+ "single_word": false,
58
+ "special": true
59
+ },
60
+ "7": {
61
+ "content": "</solution>",
62
+ "lstrip": false,
63
+ "normalized": false,
64
+ "rstrip": false,
65
+ "single_word": false,
66
+ "special": true
67
+ },
68
+ "8": {
69
+ "content": "<answer>",
70
+ "lstrip": false,
71
+ "normalized": false,
72
+ "rstrip": false,
73
+ "single_word": false,
74
+ "special": true
75
+ },
76
+ "9": {
77
+ "content": "</answer>",
78
+ "lstrip": false,
79
+ "normalized": false,
80
+ "rstrip": false,
81
+ "single_word": false,
82
+ "special": true
83
+ },
84
+ "2196": {
85
+ "content": "<special_token_0>",
86
+ "lstrip": false,
87
+ "normalized": false,
88
+ "rstrip": false,
89
+ "single_word": false,
90
+ "special": true
91
+ },
92
+ "2197": {
93
+ "content": "<special_token_1>",
94
+ "lstrip": false,
95
+ "normalized": false,
96
+ "rstrip": false,
97
+ "single_word": false,
98
+ "special": true
99
+ },
100
+ "2198": {
101
+ "content": "<special_token_2>",
102
+ "lstrip": false,
103
+ "normalized": false,
104
+ "rstrip": false,
105
+ "single_word": false,
106
+ "special": true
107
+ },
108
+ "2199": {
109
+ "content": "<special_token_3>",
110
+ "lstrip": false,
111
+ "normalized": false,
112
+ "rstrip": false,
113
+ "single_word": false,
114
+ "special": true
115
+ },
116
+ "2200": {
117
+ "content": "<special_token_4>",
118
+ "lstrip": false,
119
+ "normalized": false,
120
+ "rstrip": false,
121
+ "single_word": false,
122
+ "special": true
123
+ }
124
+ },
125
+ "additional_special_tokens": [
126
+ "<question>",
127
+ "</question>",
128
+ "<solution>",
129
+ "</solution>",
130
+ "<answer>",
131
+ "</answer>"
132
+ ],
133
+ "bos_token": "[BOS]",
134
+ "clean_up_tokenization_spaces": false,
135
+ "eos_token": "[EOS]",
136
+ "extra_special_tokens": {},
137
+ "model_max_length": 1000000000000000019884624838656,
138
+ "pad_token": "[PAD]",
139
+ "padding_side": "right",
140
+ "split_special_tokens": false,
141
+ "tokenizer_class": "PreTrainedTokenizerFast",
142
+ "unk_token": "[UNK]"
143
+ }