Sindhujach217 commited on
Commit
6e1abc7
·
verified ·
1 Parent(s): b6a0e8b

Add files using upload-large-folder tool

Browse files
Files changed (50) hide show
  1. README.md +74 -0
  2. adapter_config.json +50 -0
  3. added_tokens.json +24 -0
  4. chat_template.jinja +54 -0
  5. checkpoint-100/README.md +210 -0
  6. checkpoint-100/adapter_config.json +50 -0
  7. checkpoint-100/added_tokens.json +24 -0
  8. checkpoint-100/chat_template.jinja +54 -0
  9. checkpoint-100/merges.txt +0 -0
  10. checkpoint-100/special_tokens_map.json +25 -0
  11. checkpoint-100/tokenizer_config.json +208 -0
  12. checkpoint-100/trainer_state.json +109 -0
  13. checkpoint-100/vocab.json +0 -0
  14. checkpoint-500/README.md +210 -0
  15. checkpoint-500/adapter_config.json +50 -0
  16. checkpoint-500/added_tokens.json +24 -0
  17. checkpoint-500/chat_template.jinja +54 -0
  18. checkpoint-500/merges.txt +0 -0
  19. checkpoint-500/special_tokens_map.json +25 -0
  20. checkpoint-500/tokenizer_config.json +208 -0
  21. checkpoint-500/trainer_state.json +409 -0
  22. checkpoint-500/vocab.json +0 -0
  23. checkpoint-600/README.md +210 -0
  24. checkpoint-600/adapter_config.json +50 -0
  25. checkpoint-600/added_tokens.json +24 -0
  26. checkpoint-600/chat_template.jinja +54 -0
  27. checkpoint-600/merges.txt +0 -0
  28. checkpoint-600/special_tokens_map.json +25 -0
  29. checkpoint-600/tokenizer_config.json +208 -0
  30. checkpoint-600/trainer_state.json +484 -0
  31. checkpoint-600/vocab.json +0 -0
  32. checkpoint-700/adapter_config.json +50 -0
  33. checkpoint-700/chat_template.jinja +54 -0
  34. checkpoint-700/special_tokens_map.json +25 -0
  35. checkpoint-700/tokenizer_config.json +208 -0
  36. checkpoint-700/trainer_state.json +559 -0
  37. checkpoint-700/vocab.json +0 -0
  38. checkpoint-800/README.md +210 -0
  39. checkpoint-800/adapter_config.json +50 -0
  40. checkpoint-800/added_tokens.json +24 -0
  41. checkpoint-800/chat_template.jinja +54 -0
  42. checkpoint-800/merges.txt +0 -0
  43. checkpoint-800/special_tokens_map.json +25 -0
  44. checkpoint-800/tokenizer_config.json +208 -0
  45. checkpoint-800/trainer_state.json +634 -0
  46. checkpoint-800/vocab.json +0 -0
  47. merges.txt +0 -0
  48. special_tokens_map.json +25 -0
  49. tokenizer_config.json +208 -0
  50. vocab.json +0 -0
README.md ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: unsloth/qwen2.5-14b-instruct-unsloth-bnb-4bit
3
+ library_name: peft
4
+ model_name: FactualDPO_qwen25_delta100_last
5
+ tags:
6
+ - base_model:adapter:unsloth/qwen2.5-14b-instruct-unsloth-bnb-4bit
7
+ - dpo
8
+ - lora
9
+ - transformers
10
+ - trl
11
+ - unsloth
12
+ licence: license
13
+ pipeline_tag: text-generation
14
+ ---
15
+
16
+ # Model Card for FactualDPO_qwen25_delta100_last
17
+
18
+ This model is a fine-tuned version of [unsloth/qwen2.5-14b-instruct-unsloth-bnb-4bit](https://huggingface.co/unsloth/qwen2.5-14b-instruct-unsloth-bnb-4bit).
19
+ It has been trained using [TRL](https://github.com/huggingface/trl).
20
+
21
+ ## Quick start
22
+
23
+ ```python
24
+ from transformers import pipeline
25
+
26
+ question = "If you had a time machine, but could only go to the past or the future once and never return, which would you choose and why?"
27
+ generator = pipeline("text-generation", model="None", device="cuda")
28
+ output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
29
+ print(output["generated_text"])
30
+ ```
31
+
32
+ ## Training procedure
33
+
34
+ [<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="150" height="24"/>](https://wandb.ai/vector-institute-aieng/aixpert/runs/3w1sgx6t)
35
+
36
+
37
+ This model was trained with DPO, a method introduced in [Direct Preference Optimization: Your Language Model is Secretly a Reward Model](https://huggingface.co/papers/2305.18290).
38
+
39
+ ### Framework versions
40
+
41
+ - PEFT 0.18.0
42
+ - TRL: 0.22.2
43
+ - Transformers: 4.57.1
44
+ - Pytorch: 2.6.0+cu124
45
+ - Datasets: 3.6.0
46
+ - Tokenizers: 0.22.1
47
+
48
+ ## Citations
49
+
50
+ Cite DPO as:
51
+
52
+ ```bibtex
53
+ @inproceedings{rafailov2023direct,
54
+ title = {{Direct Preference Optimization: Your Language Model is Secretly a Reward Model}},
55
+ author = {Rafael Rafailov and Archit Sharma and Eric Mitchell and Christopher D. Manning and Stefano Ermon and Chelsea Finn},
56
+ year = 2023,
57
+ booktitle = {Advances in Neural Information Processing Systems 36: Annual Conference on Neural Information Processing Systems 2023, NeurIPS 2023, New Orleans, LA, USA, December 10 - 16, 2023},
58
+ url = {http://papers.nips.cc/paper_files/paper/2023/hash/a85b405ed65c6477a4fe8302b5e06ce7-Abstract-Conference.html},
59
+ editor = {Alice Oh and Tristan Naumann and Amir Globerson and Kate Saenko and Moritz Hardt and Sergey Levine},
60
+ }
61
+ ```
62
+
63
+ Cite TRL as:
64
+
65
+ ```bibtex
66
+ @misc{vonwerra2022trl,
67
+ title = {{TRL: Transformer Reinforcement Learning}},
68
+ author = {Leandro von Werra and Younes Belkada and Lewis Tunstall and Edward Beeching and Tristan Thrush and Nathan Lambert and Shengyi Huang and Kashif Rasul and Quentin Gallou{\'e}dec},
69
+ year = 2020,
70
+ journal = {GitHub repository},
71
+ publisher = {GitHub},
72
+ howpublished = {\url{https://github.com/huggingface/trl}}
73
+ }
74
+ ```
adapter_config.json ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alora_invocation_tokens": null,
3
+ "alpha_pattern": {},
4
+ "arrow_config": null,
5
+ "auto_mapping": {
6
+ "base_model_class": "Qwen2ForCausalLM",
7
+ "parent_library": "transformers.models.qwen2.modeling_qwen2",
8
+ "unsloth_fixed": true
9
+ },
10
+ "base_model_name_or_path": "unsloth/qwen2.5-14b-instruct-unsloth-bnb-4bit",
11
+ "bias": "none",
12
+ "corda_config": null,
13
+ "ensure_weight_tying": false,
14
+ "eva_config": null,
15
+ "exclude_modules": null,
16
+ "fan_in_fan_out": false,
17
+ "inference_mode": true,
18
+ "init_lora_weights": true,
19
+ "layer_replication": null,
20
+ "layers_pattern": null,
21
+ "layers_to_transform": null,
22
+ "loftq_config": {},
23
+ "lora_alpha": 64,
24
+ "lora_bias": false,
25
+ "lora_dropout": 0.05,
26
+ "megatron_config": null,
27
+ "megatron_core": "megatron.core",
28
+ "modules_to_save": null,
29
+ "peft_type": "LORA",
30
+ "peft_version": "0.18.0",
31
+ "qalora_group_size": 16,
32
+ "r": 32,
33
+ "rank_pattern": {},
34
+ "revision": null,
35
+ "target_modules": [
36
+ "q_proj",
37
+ "o_proj",
38
+ "v_proj",
39
+ "up_proj",
40
+ "down_proj",
41
+ "gate_proj",
42
+ "k_proj"
43
+ ],
44
+ "target_parameters": null,
45
+ "task_type": "CAUSAL_LM",
46
+ "trainable_token_indices": null,
47
+ "use_dora": false,
48
+ "use_qalora": false,
49
+ "use_rslora": false
50
+ }
added_tokens.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "</tool_call>": 151658,
3
+ "<tool_call>": 151657,
4
+ "<|box_end|>": 151649,
5
+ "<|box_start|>": 151648,
6
+ "<|endoftext|>": 151643,
7
+ "<|file_sep|>": 151664,
8
+ "<|fim_middle|>": 151660,
9
+ "<|fim_pad|>": 151662,
10
+ "<|fim_prefix|>": 151659,
11
+ "<|fim_suffix|>": 151661,
12
+ "<|im_end|>": 151645,
13
+ "<|im_start|>": 151644,
14
+ "<|image_pad|>": 151655,
15
+ "<|object_ref_end|>": 151647,
16
+ "<|object_ref_start|>": 151646,
17
+ "<|quad_end|>": 151651,
18
+ "<|quad_start|>": 151650,
19
+ "<|repo_name|>": 151663,
20
+ "<|video_pad|>": 151656,
21
+ "<|vision_end|>": 151653,
22
+ "<|vision_pad|>": 151654,
23
+ "<|vision_start|>": 151652
24
+ }
chat_template.jinja ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {%- if tools %}
2
+ {{- '<|im_start|>system\n' }}
3
+ {%- if messages[0]['role'] == 'system' %}
4
+ {{- messages[0]['content'] }}
5
+ {%- else %}
6
+ {{- 'You are Qwen, created by Alibaba Cloud. You are a helpful assistant.' }}
7
+ {%- endif %}
8
+ {{- "\n\n# 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>" }}
9
+ {%- for tool in tools %}
10
+ {{- "\n" }}
11
+ {{- tool | tojson }}
12
+ {%- endfor %}
13
+ {{- "\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" }}
14
+ {%- else %}
15
+ {%- if messages[0]['role'] == 'system' %}
16
+ {{- '<|im_start|>system\n' + messages[0]['content'] + '<|im_end|>\n' }}
17
+ {%- else %}
18
+ {{- '<|im_start|>system\nYou are Qwen, created by Alibaba Cloud. You are a helpful assistant.<|im_end|>\n' }}
19
+ {%- endif %}
20
+ {%- endif %}
21
+ {%- for message in messages %}
22
+ {%- if (message.role == "user") or (message.role == "system" and not loop.first) or (message.role == "assistant" and not message.tool_calls) %}
23
+ {{- '<|im_start|>' + message.role + '\n' + message.content + '<|im_end|>' + '\n' }}
24
+ {%- elif message.role == "assistant" %}
25
+ {{- '<|im_start|>' + message.role }}
26
+ {%- if message.content %}
27
+ {{- '\n' + message.content }}
28
+ {%- endif %}
29
+ {%- for tool_call in message.tool_calls %}
30
+ {%- if tool_call.function is defined %}
31
+ {%- set tool_call = tool_call.function %}
32
+ {%- endif %}
33
+ {{- '\n<tool_call>\n{"name": "' }}
34
+ {{- tool_call.name }}
35
+ {{- '", "arguments": ' }}
36
+ {{- tool_call.arguments | tojson }}
37
+ {{- '}\n</tool_call>' }}
38
+ {%- endfor %}
39
+ {{- '<|im_end|>\n' }}
40
+ {%- elif message.role == "tool" %}
41
+ {%- if (loop.index0 == 0) or (messages[loop.index0 - 1].role != "tool") %}
42
+ {{- '<|im_start|>user' }}
43
+ {%- endif %}
44
+ {{- '\n<tool_response>\n' }}
45
+ {{- message.content }}
46
+ {{- '\n</tool_response>' }}
47
+ {%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
48
+ {{- '<|im_end|>\n' }}
49
+ {%- endif %}
50
+ {%- endif %}
51
+ {%- endfor %}
52
+ {%- if add_generation_prompt %}
53
+ {{- '<|im_start|>assistant\n' }}
54
+ {%- endif %}
checkpoint-100/README.md ADDED
@@ -0,0 +1,210 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: unsloth/qwen2.5-14b-instruct-unsloth-bnb-4bit
3
+ library_name: peft
4
+ pipeline_tag: text-generation
5
+ tags:
6
+ - base_model:adapter:unsloth/qwen2.5-14b-instruct-unsloth-bnb-4bit
7
+ - dpo
8
+ - lora
9
+ - transformers
10
+ - trl
11
+ - unsloth
12
+ ---
13
+
14
+ # Model Card for Model ID
15
+
16
+ <!-- Provide a quick summary of what the model is/does. -->
17
+
18
+
19
+
20
+ ## Model Details
21
+
22
+ ### Model Description
23
+
24
+ <!-- Provide a longer summary of what this model is. -->
25
+
26
+
27
+
28
+ - **Developed by:** [More Information Needed]
29
+ - **Funded by [optional]:** [More Information Needed]
30
+ - **Shared by [optional]:** [More Information Needed]
31
+ - **Model type:** [More Information Needed]
32
+ - **Language(s) (NLP):** [More Information Needed]
33
+ - **License:** [More Information Needed]
34
+ - **Finetuned from model [optional]:** [More Information Needed]
35
+
36
+ ### Model Sources [optional]
37
+
38
+ <!-- Provide the basic links for the model. -->
39
+
40
+ - **Repository:** [More Information Needed]
41
+ - **Paper [optional]:** [More Information Needed]
42
+ - **Demo [optional]:** [More Information Needed]
43
+
44
+ ## Uses
45
+
46
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
47
+
48
+ ### Direct Use
49
+
50
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
51
+
52
+ [More Information Needed]
53
+
54
+ ### Downstream Use [optional]
55
+
56
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
57
+
58
+ [More Information Needed]
59
+
60
+ ### Out-of-Scope Use
61
+
62
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
63
+
64
+ [More Information Needed]
65
+
66
+ ## Bias, Risks, and Limitations
67
+
68
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
69
+
70
+ [More Information Needed]
71
+
72
+ ### Recommendations
73
+
74
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
75
+
76
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
77
+
78
+ ## How to Get Started with the Model
79
+
80
+ Use the code below to get started with the model.
81
+
82
+ [More Information Needed]
83
+
84
+ ## Training Details
85
+
86
+ ### Training Data
87
+
88
+ <!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
89
+
90
+ [More Information Needed]
91
+
92
+ ### Training Procedure
93
+
94
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
95
+
96
+ #### Preprocessing [optional]
97
+
98
+ [More Information Needed]
99
+
100
+
101
+ #### Training Hyperparameters
102
+
103
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
104
+
105
+ #### Speeds, Sizes, Times [optional]
106
+
107
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
108
+
109
+ [More Information Needed]
110
+
111
+ ## Evaluation
112
+
113
+ <!-- This section describes the evaluation protocols and provides the results. -->
114
+
115
+ ### Testing Data, Factors & Metrics
116
+
117
+ #### Testing Data
118
+
119
+ <!-- This should link to a Dataset Card if possible. -->
120
+
121
+ [More Information Needed]
122
+
123
+ #### Factors
124
+
125
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
126
+
127
+ [More Information Needed]
128
+
129
+ #### Metrics
130
+
131
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
132
+
133
+ [More Information Needed]
134
+
135
+ ### Results
136
+
137
+ [More Information Needed]
138
+
139
+ #### Summary
140
+
141
+
142
+
143
+ ## Model Examination [optional]
144
+
145
+ <!-- Relevant interpretability work for the model goes here -->
146
+
147
+ [More Information Needed]
148
+
149
+ ## Environmental Impact
150
+
151
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
152
+
153
+ Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
154
+
155
+ - **Hardware Type:** [More Information Needed]
156
+ - **Hours used:** [More Information Needed]
157
+ - **Cloud Provider:** [More Information Needed]
158
+ - **Compute Region:** [More Information Needed]
159
+ - **Carbon Emitted:** [More Information Needed]
160
+
161
+ ## Technical Specifications [optional]
162
+
163
+ ### Model Architecture and Objective
164
+
165
+ [More Information Needed]
166
+
167
+ ### Compute Infrastructure
168
+
169
+ [More Information Needed]
170
+
171
+ #### Hardware
172
+
173
+ [More Information Needed]
174
+
175
+ #### Software
176
+
177
+ [More Information Needed]
178
+
179
+ ## Citation [optional]
180
+
181
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
182
+
183
+ **BibTeX:**
184
+
185
+ [More Information Needed]
186
+
187
+ **APA:**
188
+
189
+ [More Information Needed]
190
+
191
+ ## Glossary [optional]
192
+
193
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
194
+
195
+ [More Information Needed]
196
+
197
+ ## More Information [optional]
198
+
199
+ [More Information Needed]
200
+
201
+ ## Model Card Authors [optional]
202
+
203
+ [More Information Needed]
204
+
205
+ ## Model Card Contact
206
+
207
+ [More Information Needed]
208
+ ### Framework versions
209
+
210
+ - PEFT 0.18.0
checkpoint-100/adapter_config.json ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alora_invocation_tokens": null,
3
+ "alpha_pattern": {},
4
+ "arrow_config": null,
5
+ "auto_mapping": {
6
+ "base_model_class": "Qwen2ForCausalLM",
7
+ "parent_library": "transformers.models.qwen2.modeling_qwen2",
8
+ "unsloth_fixed": true
9
+ },
10
+ "base_model_name_or_path": "unsloth/qwen2.5-14b-instruct-unsloth-bnb-4bit",
11
+ "bias": "none",
12
+ "corda_config": null,
13
+ "ensure_weight_tying": false,
14
+ "eva_config": null,
15
+ "exclude_modules": null,
16
+ "fan_in_fan_out": false,
17
+ "inference_mode": true,
18
+ "init_lora_weights": true,
19
+ "layer_replication": null,
20
+ "layers_pattern": null,
21
+ "layers_to_transform": null,
22
+ "loftq_config": {},
23
+ "lora_alpha": 64,
24
+ "lora_bias": false,
25
+ "lora_dropout": 0.05,
26
+ "megatron_config": null,
27
+ "megatron_core": "megatron.core",
28
+ "modules_to_save": null,
29
+ "peft_type": "LORA",
30
+ "peft_version": "0.18.0",
31
+ "qalora_group_size": 16,
32
+ "r": 32,
33
+ "rank_pattern": {},
34
+ "revision": null,
35
+ "target_modules": [
36
+ "q_proj",
37
+ "o_proj",
38
+ "v_proj",
39
+ "up_proj",
40
+ "down_proj",
41
+ "gate_proj",
42
+ "k_proj"
43
+ ],
44
+ "target_parameters": null,
45
+ "task_type": "CAUSAL_LM",
46
+ "trainable_token_indices": null,
47
+ "use_dora": false,
48
+ "use_qalora": false,
49
+ "use_rslora": false
50
+ }
checkpoint-100/added_tokens.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "</tool_call>": 151658,
3
+ "<tool_call>": 151657,
4
+ "<|box_end|>": 151649,
5
+ "<|box_start|>": 151648,
6
+ "<|endoftext|>": 151643,
7
+ "<|file_sep|>": 151664,
8
+ "<|fim_middle|>": 151660,
9
+ "<|fim_pad|>": 151662,
10
+ "<|fim_prefix|>": 151659,
11
+ "<|fim_suffix|>": 151661,
12
+ "<|im_end|>": 151645,
13
+ "<|im_start|>": 151644,
14
+ "<|image_pad|>": 151655,
15
+ "<|object_ref_end|>": 151647,
16
+ "<|object_ref_start|>": 151646,
17
+ "<|quad_end|>": 151651,
18
+ "<|quad_start|>": 151650,
19
+ "<|repo_name|>": 151663,
20
+ "<|video_pad|>": 151656,
21
+ "<|vision_end|>": 151653,
22
+ "<|vision_pad|>": 151654,
23
+ "<|vision_start|>": 151652
24
+ }
checkpoint-100/chat_template.jinja ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {%- if tools %}
2
+ {{- '<|im_start|>system\n' }}
3
+ {%- if messages[0]['role'] == 'system' %}
4
+ {{- messages[0]['content'] }}
5
+ {%- else %}
6
+ {{- 'You are Qwen, created by Alibaba Cloud. You are a helpful assistant.' }}
7
+ {%- endif %}
8
+ {{- "\n\n# 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>" }}
9
+ {%- for tool in tools %}
10
+ {{- "\n" }}
11
+ {{- tool | tojson }}
12
+ {%- endfor %}
13
+ {{- "\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" }}
14
+ {%- else %}
15
+ {%- if messages[0]['role'] == 'system' %}
16
+ {{- '<|im_start|>system\n' + messages[0]['content'] + '<|im_end|>\n' }}
17
+ {%- else %}
18
+ {{- '<|im_start|>system\nYou are Qwen, created by Alibaba Cloud. You are a helpful assistant.<|im_end|>\n' }}
19
+ {%- endif %}
20
+ {%- endif %}
21
+ {%- for message in messages %}
22
+ {%- if (message.role == "user") or (message.role == "system" and not loop.first) or (message.role == "assistant" and not message.tool_calls) %}
23
+ {{- '<|im_start|>' + message.role + '\n' + message.content + '<|im_end|>' + '\n' }}
24
+ {%- elif message.role == "assistant" %}
25
+ {{- '<|im_start|>' + message.role }}
26
+ {%- if message.content %}
27
+ {{- '\n' + message.content }}
28
+ {%- endif %}
29
+ {%- for tool_call in message.tool_calls %}
30
+ {%- if tool_call.function is defined %}
31
+ {%- set tool_call = tool_call.function %}
32
+ {%- endif %}
33
+ {{- '\n<tool_call>\n{"name": "' }}
34
+ {{- tool_call.name }}
35
+ {{- '", "arguments": ' }}
36
+ {{- tool_call.arguments | tojson }}
37
+ {{- '}\n</tool_call>' }}
38
+ {%- endfor %}
39
+ {{- '<|im_end|>\n' }}
40
+ {%- elif message.role == "tool" %}
41
+ {%- if (loop.index0 == 0) or (messages[loop.index0 - 1].role != "tool") %}
42
+ {{- '<|im_start|>user' }}
43
+ {%- endif %}
44
+ {{- '\n<tool_response>\n' }}
45
+ {{- message.content }}
46
+ {{- '\n</tool_response>' }}
47
+ {%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
48
+ {{- '<|im_end|>\n' }}
49
+ {%- endif %}
50
+ {%- endif %}
51
+ {%- endfor %}
52
+ {%- if add_generation_prompt %}
53
+ {{- '<|im_start|>assistant\n' }}
54
+ {%- endif %}
checkpoint-100/merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-100/special_tokens_map.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<|im_start|>",
4
+ "<|im_end|>",
5
+ "<|object_ref_start|>",
6
+ "<|object_ref_end|>",
7
+ "<|box_start|>",
8
+ "<|box_end|>",
9
+ "<|quad_start|>",
10
+ "<|quad_end|>",
11
+ "<|vision_start|>",
12
+ "<|vision_end|>",
13
+ "<|vision_pad|>",
14
+ "<|image_pad|>",
15
+ "<|video_pad|>"
16
+ ],
17
+ "eos_token": {
18
+ "content": "<|im_end|>",
19
+ "lstrip": false,
20
+ "normalized": false,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ },
24
+ "pad_token": "<|im_end|>"
25
+ }
checkpoint-100/tokenizer_config.json ADDED
@@ -0,0 +1,208 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": false,
3
+ "add_prefix_space": false,
4
+ "added_tokens_decoder": {
5
+ "151643": {
6
+ "content": "<|endoftext|>",
7
+ "lstrip": false,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ },
13
+ "151644": {
14
+ "content": "<|im_start|>",
15
+ "lstrip": false,
16
+ "normalized": false,
17
+ "rstrip": false,
18
+ "single_word": false,
19
+ "special": true
20
+ },
21
+ "151645": {
22
+ "content": "<|im_end|>",
23
+ "lstrip": false,
24
+ "normalized": false,
25
+ "rstrip": false,
26
+ "single_word": false,
27
+ "special": true
28
+ },
29
+ "151646": {
30
+ "content": "<|object_ref_start|>",
31
+ "lstrip": false,
32
+ "normalized": false,
33
+ "rstrip": false,
34
+ "single_word": false,
35
+ "special": true
36
+ },
37
+ "151647": {
38
+ "content": "<|object_ref_end|>",
39
+ "lstrip": false,
40
+ "normalized": false,
41
+ "rstrip": false,
42
+ "single_word": false,
43
+ "special": true
44
+ },
45
+ "151648": {
46
+ "content": "<|box_start|>",
47
+ "lstrip": false,
48
+ "normalized": false,
49
+ "rstrip": false,
50
+ "single_word": false,
51
+ "special": true
52
+ },
53
+ "151649": {
54
+ "content": "<|box_end|>",
55
+ "lstrip": false,
56
+ "normalized": false,
57
+ "rstrip": false,
58
+ "single_word": false,
59
+ "special": true
60
+ },
61
+ "151650": {
62
+ "content": "<|quad_start|>",
63
+ "lstrip": false,
64
+ "normalized": false,
65
+ "rstrip": false,
66
+ "single_word": false,
67
+ "special": true
68
+ },
69
+ "151651": {
70
+ "content": "<|quad_end|>",
71
+ "lstrip": false,
72
+ "normalized": false,
73
+ "rstrip": false,
74
+ "single_word": false,
75
+ "special": true
76
+ },
77
+ "151652": {
78
+ "content": "<|vision_start|>",
79
+ "lstrip": false,
80
+ "normalized": false,
81
+ "rstrip": false,
82
+ "single_word": false,
83
+ "special": true
84
+ },
85
+ "151653": {
86
+ "content": "<|vision_end|>",
87
+ "lstrip": false,
88
+ "normalized": false,
89
+ "rstrip": false,
90
+ "single_word": false,
91
+ "special": true
92
+ },
93
+ "151654": {
94
+ "content": "<|vision_pad|>",
95
+ "lstrip": false,
96
+ "normalized": false,
97
+ "rstrip": false,
98
+ "single_word": false,
99
+ "special": true
100
+ },
101
+ "151655": {
102
+ "content": "<|image_pad|>",
103
+ "lstrip": false,
104
+ "normalized": false,
105
+ "rstrip": false,
106
+ "single_word": false,
107
+ "special": true
108
+ },
109
+ "151656": {
110
+ "content": "<|video_pad|>",
111
+ "lstrip": false,
112
+ "normalized": false,
113
+ "rstrip": false,
114
+ "single_word": false,
115
+ "special": true
116
+ },
117
+ "151657": {
118
+ "content": "<tool_call>",
119
+ "lstrip": false,
120
+ "normalized": false,
121
+ "rstrip": false,
122
+ "single_word": false,
123
+ "special": false
124
+ },
125
+ "151658": {
126
+ "content": "</tool_call>",
127
+ "lstrip": false,
128
+ "normalized": false,
129
+ "rstrip": false,
130
+ "single_word": false,
131
+ "special": false
132
+ },
133
+ "151659": {
134
+ "content": "<|fim_prefix|>",
135
+ "lstrip": false,
136
+ "normalized": false,
137
+ "rstrip": false,
138
+ "single_word": false,
139
+ "special": false
140
+ },
141
+ "151660": {
142
+ "content": "<|fim_middle|>",
143
+ "lstrip": false,
144
+ "normalized": false,
145
+ "rstrip": false,
146
+ "single_word": false,
147
+ "special": false
148
+ },
149
+ "151661": {
150
+ "content": "<|fim_suffix|>",
151
+ "lstrip": false,
152
+ "normalized": false,
153
+ "rstrip": false,
154
+ "single_word": false,
155
+ "special": false
156
+ },
157
+ "151662": {
158
+ "content": "<|fim_pad|>",
159
+ "lstrip": false,
160
+ "normalized": false,
161
+ "rstrip": false,
162
+ "single_word": false,
163
+ "special": false
164
+ },
165
+ "151663": {
166
+ "content": "<|repo_name|>",
167
+ "lstrip": false,
168
+ "normalized": false,
169
+ "rstrip": false,
170
+ "single_word": false,
171
+ "special": false
172
+ },
173
+ "151664": {
174
+ "content": "<|file_sep|>",
175
+ "lstrip": false,
176
+ "normalized": false,
177
+ "rstrip": false,
178
+ "single_word": false,
179
+ "special": false
180
+ }
181
+ },
182
+ "additional_special_tokens": [
183
+ "<|im_start|>",
184
+ "<|im_end|>",
185
+ "<|object_ref_start|>",
186
+ "<|object_ref_end|>",
187
+ "<|box_start|>",
188
+ "<|box_end|>",
189
+ "<|quad_start|>",
190
+ "<|quad_end|>",
191
+ "<|vision_start|>",
192
+ "<|vision_end|>",
193
+ "<|vision_pad|>",
194
+ "<|image_pad|>",
195
+ "<|video_pad|>"
196
+ ],
197
+ "bos_token": null,
198
+ "clean_up_tokenization_spaces": false,
199
+ "eos_token": "<|im_end|>",
200
+ "errors": "replace",
201
+ "extra_special_tokens": {},
202
+ "model_max_length": 2048,
203
+ "pad_token": "<|im_end|>",
204
+ "padding_side": "right",
205
+ "split_special_tokens": false,
206
+ "tokenizer_class": "Qwen2Tokenizer",
207
+ "unk_token": null
208
+ }
checkpoint-100/trainer_state.json ADDED
@@ -0,0 +1,109 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 0.28444444444444444,
6
+ "eval_steps": 500,
7
+ "global_step": 100,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "epoch": 0.05688888888888889,
14
+ "grad_norm": 25.723350524902344,
15
+ "learning_rate": 1.2954545454545456e-07,
16
+ "logits/chosen": -0.7062767744064331,
17
+ "logits/rejected": -0.6522080898284912,
18
+ "logps/chosen": -340.785888671875,
19
+ "logps/rejected": -653.7647705078125,
20
+ "loss": 4.7628,
21
+ "rewards/accuracies": 0.4468750059604645,
22
+ "rewards/chosen": 0.001610723091289401,
23
+ "rewards/margins": 0.006242862902581692,
24
+ "rewards/rejected": -0.004632140044122934,
25
+ "step": 20
26
+ },
27
+ {
28
+ "epoch": 0.11377777777777778,
29
+ "grad_norm": 15.587135314941406,
30
+ "learning_rate": 2.6590909090909093e-07,
31
+ "logits/chosen": -0.678135871887207,
32
+ "logits/rejected": -0.6651075482368469,
33
+ "logps/chosen": -347.43890380859375,
34
+ "logps/rejected": -708.3135986328125,
35
+ "loss": 4.8391,
36
+ "rewards/accuracies": 0.522265613079071,
37
+ "rewards/chosen": 0.0011627988424152136,
38
+ "rewards/margins": 0.010068175382912159,
39
+ "rewards/rejected": -0.008905376307666302,
40
+ "step": 40
41
+ },
42
+ {
43
+ "epoch": 0.17066666666666666,
44
+ "grad_norm": 19.355424880981445,
45
+ "learning_rate": 4.0227272727272725e-07,
46
+ "logits/chosen": -0.6907597184181213,
47
+ "logits/rejected": -0.6496841907501221,
48
+ "logps/chosen": -341.603759765625,
49
+ "logps/rejected": -661.4761962890625,
50
+ "loss": 4.863,
51
+ "rewards/accuracies": 0.528515636920929,
52
+ "rewards/chosen": -0.0007408790988847613,
53
+ "rewards/margins": 0.02941317856311798,
54
+ "rewards/rejected": -0.030154060572385788,
55
+ "step": 60
56
+ },
57
+ {
58
+ "epoch": 0.22755555555555557,
59
+ "grad_norm": 22.927623748779297,
60
+ "learning_rate": 5.386363636363637e-07,
61
+ "logits/chosen": -0.6875197887420654,
62
+ "logits/rejected": -0.6486619710922241,
63
+ "logps/chosen": -345.1783142089844,
64
+ "logps/rejected": -661.5092163085938,
65
+ "loss": 4.7676,
66
+ "rewards/accuracies": 0.61328125,
67
+ "rewards/chosen": 0.011638931930065155,
68
+ "rewards/margins": 0.1211162656545639,
69
+ "rewards/rejected": -0.10947732627391815,
70
+ "step": 80
71
+ },
72
+ {
73
+ "epoch": 0.28444444444444444,
74
+ "grad_norm": 20.672826766967773,
75
+ "learning_rate": 6.75e-07,
76
+ "logits/chosen": -0.6816097497940063,
77
+ "logits/rejected": -0.6414457559585571,
78
+ "logps/chosen": -344.27825927734375,
79
+ "logps/rejected": -658.2562255859375,
80
+ "loss": 4.56,
81
+ "rewards/accuracies": 0.647656261920929,
82
+ "rewards/chosen": 0.04126482084393501,
83
+ "rewards/margins": 0.30062881112098694,
84
+ "rewards/rejected": -0.2593640089035034,
85
+ "step": 100
86
+ }
87
+ ],
88
+ "logging_steps": 20,
89
+ "max_steps": 1056,
90
+ "num_input_tokens_seen": 0,
91
+ "num_train_epochs": 3,
92
+ "save_steps": 100,
93
+ "stateful_callbacks": {
94
+ "TrainerControl": {
95
+ "args": {
96
+ "should_epoch_stop": false,
97
+ "should_evaluate": false,
98
+ "should_log": false,
99
+ "should_save": true,
100
+ "should_training_stop": false
101
+ },
102
+ "attributes": {}
103
+ }
104
+ },
105
+ "total_flos": 0.0,
106
+ "train_batch_size": 2,
107
+ "trial_name": null,
108
+ "trial_params": null
109
+ }
checkpoint-100/vocab.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-500/README.md ADDED
@@ -0,0 +1,210 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: unsloth/qwen2.5-14b-instruct-unsloth-bnb-4bit
3
+ library_name: peft
4
+ pipeline_tag: text-generation
5
+ tags:
6
+ - base_model:adapter:unsloth/qwen2.5-14b-instruct-unsloth-bnb-4bit
7
+ - dpo
8
+ - lora
9
+ - transformers
10
+ - trl
11
+ - unsloth
12
+ ---
13
+
14
+ # Model Card for Model ID
15
+
16
+ <!-- Provide a quick summary of what the model is/does. -->
17
+
18
+
19
+
20
+ ## Model Details
21
+
22
+ ### Model Description
23
+
24
+ <!-- Provide a longer summary of what this model is. -->
25
+
26
+
27
+
28
+ - **Developed by:** [More Information Needed]
29
+ - **Funded by [optional]:** [More Information Needed]
30
+ - **Shared by [optional]:** [More Information Needed]
31
+ - **Model type:** [More Information Needed]
32
+ - **Language(s) (NLP):** [More Information Needed]
33
+ - **License:** [More Information Needed]
34
+ - **Finetuned from model [optional]:** [More Information Needed]
35
+
36
+ ### Model Sources [optional]
37
+
38
+ <!-- Provide the basic links for the model. -->
39
+
40
+ - **Repository:** [More Information Needed]
41
+ - **Paper [optional]:** [More Information Needed]
42
+ - **Demo [optional]:** [More Information Needed]
43
+
44
+ ## Uses
45
+
46
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
47
+
48
+ ### Direct Use
49
+
50
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
51
+
52
+ [More Information Needed]
53
+
54
+ ### Downstream Use [optional]
55
+
56
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
57
+
58
+ [More Information Needed]
59
+
60
+ ### Out-of-Scope Use
61
+
62
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
63
+
64
+ [More Information Needed]
65
+
66
+ ## Bias, Risks, and Limitations
67
+
68
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
69
+
70
+ [More Information Needed]
71
+
72
+ ### Recommendations
73
+
74
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
75
+
76
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
77
+
78
+ ## How to Get Started with the Model
79
+
80
+ Use the code below to get started with the model.
81
+
82
+ [More Information Needed]
83
+
84
+ ## Training Details
85
+
86
+ ### Training Data
87
+
88
+ <!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
89
+
90
+ [More Information Needed]
91
+
92
+ ### Training Procedure
93
+
94
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
95
+
96
+ #### Preprocessing [optional]
97
+
98
+ [More Information Needed]
99
+
100
+
101
+ #### Training Hyperparameters
102
+
103
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
104
+
105
+ #### Speeds, Sizes, Times [optional]
106
+
107
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
108
+
109
+ [More Information Needed]
110
+
111
+ ## Evaluation
112
+
113
+ <!-- This section describes the evaluation protocols and provides the results. -->
114
+
115
+ ### Testing Data, Factors & Metrics
116
+
117
+ #### Testing Data
118
+
119
+ <!-- This should link to a Dataset Card if possible. -->
120
+
121
+ [More Information Needed]
122
+
123
+ #### Factors
124
+
125
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
126
+
127
+ [More Information Needed]
128
+
129
+ #### Metrics
130
+
131
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
132
+
133
+ [More Information Needed]
134
+
135
+ ### Results
136
+
137
+ [More Information Needed]
138
+
139
+ #### Summary
140
+
141
+
142
+
143
+ ## Model Examination [optional]
144
+
145
+ <!-- Relevant interpretability work for the model goes here -->
146
+
147
+ [More Information Needed]
148
+
149
+ ## Environmental Impact
150
+
151
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
152
+
153
+ Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
154
+
155
+ - **Hardware Type:** [More Information Needed]
156
+ - **Hours used:** [More Information Needed]
157
+ - **Cloud Provider:** [More Information Needed]
158
+ - **Compute Region:** [More Information Needed]
159
+ - **Carbon Emitted:** [More Information Needed]
160
+
161
+ ## Technical Specifications [optional]
162
+
163
+ ### Model Architecture and Objective
164
+
165
+ [More Information Needed]
166
+
167
+ ### Compute Infrastructure
168
+
169
+ [More Information Needed]
170
+
171
+ #### Hardware
172
+
173
+ [More Information Needed]
174
+
175
+ #### Software
176
+
177
+ [More Information Needed]
178
+
179
+ ## Citation [optional]
180
+
181
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
182
+
183
+ **BibTeX:**
184
+
185
+ [More Information Needed]
186
+
187
+ **APA:**
188
+
189
+ [More Information Needed]
190
+
191
+ ## Glossary [optional]
192
+
193
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
194
+
195
+ [More Information Needed]
196
+
197
+ ## More Information [optional]
198
+
199
+ [More Information Needed]
200
+
201
+ ## Model Card Authors [optional]
202
+
203
+ [More Information Needed]
204
+
205
+ ## Model Card Contact
206
+
207
+ [More Information Needed]
208
+ ### Framework versions
209
+
210
+ - PEFT 0.18.0
checkpoint-500/adapter_config.json ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alora_invocation_tokens": null,
3
+ "alpha_pattern": {},
4
+ "arrow_config": null,
5
+ "auto_mapping": {
6
+ "base_model_class": "Qwen2ForCausalLM",
7
+ "parent_library": "transformers.models.qwen2.modeling_qwen2",
8
+ "unsloth_fixed": true
9
+ },
10
+ "base_model_name_or_path": "unsloth/qwen2.5-14b-instruct-unsloth-bnb-4bit",
11
+ "bias": "none",
12
+ "corda_config": null,
13
+ "ensure_weight_tying": false,
14
+ "eva_config": null,
15
+ "exclude_modules": null,
16
+ "fan_in_fan_out": false,
17
+ "inference_mode": true,
18
+ "init_lora_weights": true,
19
+ "layer_replication": null,
20
+ "layers_pattern": null,
21
+ "layers_to_transform": null,
22
+ "loftq_config": {},
23
+ "lora_alpha": 64,
24
+ "lora_bias": false,
25
+ "lora_dropout": 0.05,
26
+ "megatron_config": null,
27
+ "megatron_core": "megatron.core",
28
+ "modules_to_save": null,
29
+ "peft_type": "LORA",
30
+ "peft_version": "0.18.0",
31
+ "qalora_group_size": 16,
32
+ "r": 32,
33
+ "rank_pattern": {},
34
+ "revision": null,
35
+ "target_modules": [
36
+ "q_proj",
37
+ "o_proj",
38
+ "v_proj",
39
+ "up_proj",
40
+ "down_proj",
41
+ "gate_proj",
42
+ "k_proj"
43
+ ],
44
+ "target_parameters": null,
45
+ "task_type": "CAUSAL_LM",
46
+ "trainable_token_indices": null,
47
+ "use_dora": false,
48
+ "use_qalora": false,
49
+ "use_rslora": false
50
+ }
checkpoint-500/added_tokens.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "</tool_call>": 151658,
3
+ "<tool_call>": 151657,
4
+ "<|box_end|>": 151649,
5
+ "<|box_start|>": 151648,
6
+ "<|endoftext|>": 151643,
7
+ "<|file_sep|>": 151664,
8
+ "<|fim_middle|>": 151660,
9
+ "<|fim_pad|>": 151662,
10
+ "<|fim_prefix|>": 151659,
11
+ "<|fim_suffix|>": 151661,
12
+ "<|im_end|>": 151645,
13
+ "<|im_start|>": 151644,
14
+ "<|image_pad|>": 151655,
15
+ "<|object_ref_end|>": 151647,
16
+ "<|object_ref_start|>": 151646,
17
+ "<|quad_end|>": 151651,
18
+ "<|quad_start|>": 151650,
19
+ "<|repo_name|>": 151663,
20
+ "<|video_pad|>": 151656,
21
+ "<|vision_end|>": 151653,
22
+ "<|vision_pad|>": 151654,
23
+ "<|vision_start|>": 151652
24
+ }
checkpoint-500/chat_template.jinja ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {%- if tools %}
2
+ {{- '<|im_start|>system\n' }}
3
+ {%- if messages[0]['role'] == 'system' %}
4
+ {{- messages[0]['content'] }}
5
+ {%- else %}
6
+ {{- 'You are Qwen, created by Alibaba Cloud. You are a helpful assistant.' }}
7
+ {%- endif %}
8
+ {{- "\n\n# 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>" }}
9
+ {%- for tool in tools %}
10
+ {{- "\n" }}
11
+ {{- tool | tojson }}
12
+ {%- endfor %}
13
+ {{- "\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" }}
14
+ {%- else %}
15
+ {%- if messages[0]['role'] == 'system' %}
16
+ {{- '<|im_start|>system\n' + messages[0]['content'] + '<|im_end|>\n' }}
17
+ {%- else %}
18
+ {{- '<|im_start|>system\nYou are Qwen, created by Alibaba Cloud. You are a helpful assistant.<|im_end|>\n' }}
19
+ {%- endif %}
20
+ {%- endif %}
21
+ {%- for message in messages %}
22
+ {%- if (message.role == "user") or (message.role == "system" and not loop.first) or (message.role == "assistant" and not message.tool_calls) %}
23
+ {{- '<|im_start|>' + message.role + '\n' + message.content + '<|im_end|>' + '\n' }}
24
+ {%- elif message.role == "assistant" %}
25
+ {{- '<|im_start|>' + message.role }}
26
+ {%- if message.content %}
27
+ {{- '\n' + message.content }}
28
+ {%- endif %}
29
+ {%- for tool_call in message.tool_calls %}
30
+ {%- if tool_call.function is defined %}
31
+ {%- set tool_call = tool_call.function %}
32
+ {%- endif %}
33
+ {{- '\n<tool_call>\n{"name": "' }}
34
+ {{- tool_call.name }}
35
+ {{- '", "arguments": ' }}
36
+ {{- tool_call.arguments | tojson }}
37
+ {{- '}\n</tool_call>' }}
38
+ {%- endfor %}
39
+ {{- '<|im_end|>\n' }}
40
+ {%- elif message.role == "tool" %}
41
+ {%- if (loop.index0 == 0) or (messages[loop.index0 - 1].role != "tool") %}
42
+ {{- '<|im_start|>user' }}
43
+ {%- endif %}
44
+ {{- '\n<tool_response>\n' }}
45
+ {{- message.content }}
46
+ {{- '\n</tool_response>' }}
47
+ {%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
48
+ {{- '<|im_end|>\n' }}
49
+ {%- endif %}
50
+ {%- endif %}
51
+ {%- endfor %}
52
+ {%- if add_generation_prompt %}
53
+ {{- '<|im_start|>assistant\n' }}
54
+ {%- endif %}
checkpoint-500/merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-500/special_tokens_map.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<|im_start|>",
4
+ "<|im_end|>",
5
+ "<|object_ref_start|>",
6
+ "<|object_ref_end|>",
7
+ "<|box_start|>",
8
+ "<|box_end|>",
9
+ "<|quad_start|>",
10
+ "<|quad_end|>",
11
+ "<|vision_start|>",
12
+ "<|vision_end|>",
13
+ "<|vision_pad|>",
14
+ "<|image_pad|>",
15
+ "<|video_pad|>"
16
+ ],
17
+ "eos_token": {
18
+ "content": "<|im_end|>",
19
+ "lstrip": false,
20
+ "normalized": false,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ },
24
+ "pad_token": "<|im_end|>"
25
+ }
checkpoint-500/tokenizer_config.json ADDED
@@ -0,0 +1,208 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": false,
3
+ "add_prefix_space": false,
4
+ "added_tokens_decoder": {
5
+ "151643": {
6
+ "content": "<|endoftext|>",
7
+ "lstrip": false,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ },
13
+ "151644": {
14
+ "content": "<|im_start|>",
15
+ "lstrip": false,
16
+ "normalized": false,
17
+ "rstrip": false,
18
+ "single_word": false,
19
+ "special": true
20
+ },
21
+ "151645": {
22
+ "content": "<|im_end|>",
23
+ "lstrip": false,
24
+ "normalized": false,
25
+ "rstrip": false,
26
+ "single_word": false,
27
+ "special": true
28
+ },
29
+ "151646": {
30
+ "content": "<|object_ref_start|>",
31
+ "lstrip": false,
32
+ "normalized": false,
33
+ "rstrip": false,
34
+ "single_word": false,
35
+ "special": true
36
+ },
37
+ "151647": {
38
+ "content": "<|object_ref_end|>",
39
+ "lstrip": false,
40
+ "normalized": false,
41
+ "rstrip": false,
42
+ "single_word": false,
43
+ "special": true
44
+ },
45
+ "151648": {
46
+ "content": "<|box_start|>",
47
+ "lstrip": false,
48
+ "normalized": false,
49
+ "rstrip": false,
50
+ "single_word": false,
51
+ "special": true
52
+ },
53
+ "151649": {
54
+ "content": "<|box_end|>",
55
+ "lstrip": false,
56
+ "normalized": false,
57
+ "rstrip": false,
58
+ "single_word": false,
59
+ "special": true
60
+ },
61
+ "151650": {
62
+ "content": "<|quad_start|>",
63
+ "lstrip": false,
64
+ "normalized": false,
65
+ "rstrip": false,
66
+ "single_word": false,
67
+ "special": true
68
+ },
69
+ "151651": {
70
+ "content": "<|quad_end|>",
71
+ "lstrip": false,
72
+ "normalized": false,
73
+ "rstrip": false,
74
+ "single_word": false,
75
+ "special": true
76
+ },
77
+ "151652": {
78
+ "content": "<|vision_start|>",
79
+ "lstrip": false,
80
+ "normalized": false,
81
+ "rstrip": false,
82
+ "single_word": false,
83
+ "special": true
84
+ },
85
+ "151653": {
86
+ "content": "<|vision_end|>",
87
+ "lstrip": false,
88
+ "normalized": false,
89
+ "rstrip": false,
90
+ "single_word": false,
91
+ "special": true
92
+ },
93
+ "151654": {
94
+ "content": "<|vision_pad|>",
95
+ "lstrip": false,
96
+ "normalized": false,
97
+ "rstrip": false,
98
+ "single_word": false,
99
+ "special": true
100
+ },
101
+ "151655": {
102
+ "content": "<|image_pad|>",
103
+ "lstrip": false,
104
+ "normalized": false,
105
+ "rstrip": false,
106
+ "single_word": false,
107
+ "special": true
108
+ },
109
+ "151656": {
110
+ "content": "<|video_pad|>",
111
+ "lstrip": false,
112
+ "normalized": false,
113
+ "rstrip": false,
114
+ "single_word": false,
115
+ "special": true
116
+ },
117
+ "151657": {
118
+ "content": "<tool_call>",
119
+ "lstrip": false,
120
+ "normalized": false,
121
+ "rstrip": false,
122
+ "single_word": false,
123
+ "special": false
124
+ },
125
+ "151658": {
126
+ "content": "</tool_call>",
127
+ "lstrip": false,
128
+ "normalized": false,
129
+ "rstrip": false,
130
+ "single_word": false,
131
+ "special": false
132
+ },
133
+ "151659": {
134
+ "content": "<|fim_prefix|>",
135
+ "lstrip": false,
136
+ "normalized": false,
137
+ "rstrip": false,
138
+ "single_word": false,
139
+ "special": false
140
+ },
141
+ "151660": {
142
+ "content": "<|fim_middle|>",
143
+ "lstrip": false,
144
+ "normalized": false,
145
+ "rstrip": false,
146
+ "single_word": false,
147
+ "special": false
148
+ },
149
+ "151661": {
150
+ "content": "<|fim_suffix|>",
151
+ "lstrip": false,
152
+ "normalized": false,
153
+ "rstrip": false,
154
+ "single_word": false,
155
+ "special": false
156
+ },
157
+ "151662": {
158
+ "content": "<|fim_pad|>",
159
+ "lstrip": false,
160
+ "normalized": false,
161
+ "rstrip": false,
162
+ "single_word": false,
163
+ "special": false
164
+ },
165
+ "151663": {
166
+ "content": "<|repo_name|>",
167
+ "lstrip": false,
168
+ "normalized": false,
169
+ "rstrip": false,
170
+ "single_word": false,
171
+ "special": false
172
+ },
173
+ "151664": {
174
+ "content": "<|file_sep|>",
175
+ "lstrip": false,
176
+ "normalized": false,
177
+ "rstrip": false,
178
+ "single_word": false,
179
+ "special": false
180
+ }
181
+ },
182
+ "additional_special_tokens": [
183
+ "<|im_start|>",
184
+ "<|im_end|>",
185
+ "<|object_ref_start|>",
186
+ "<|object_ref_end|>",
187
+ "<|box_start|>",
188
+ "<|box_end|>",
189
+ "<|quad_start|>",
190
+ "<|quad_end|>",
191
+ "<|vision_start|>",
192
+ "<|vision_end|>",
193
+ "<|vision_pad|>",
194
+ "<|image_pad|>",
195
+ "<|video_pad|>"
196
+ ],
197
+ "bos_token": null,
198
+ "clean_up_tokenization_spaces": false,
199
+ "eos_token": "<|im_end|>",
200
+ "errors": "replace",
201
+ "extra_special_tokens": {},
202
+ "model_max_length": 2048,
203
+ "pad_token": "<|im_end|>",
204
+ "padding_side": "right",
205
+ "split_special_tokens": false,
206
+ "tokenizer_class": "Qwen2Tokenizer",
207
+ "unk_token": null
208
+ }
checkpoint-500/trainer_state.json ADDED
@@ -0,0 +1,409 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 1.420977777777778,
6
+ "eval_steps": 500,
7
+ "global_step": 500,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "epoch": 0.05688888888888889,
14
+ "grad_norm": 25.723350524902344,
15
+ "learning_rate": 1.2954545454545456e-07,
16
+ "logits/chosen": -0.7062767744064331,
17
+ "logits/rejected": -0.6522080898284912,
18
+ "logps/chosen": -340.785888671875,
19
+ "logps/rejected": -653.7647705078125,
20
+ "loss": 4.7628,
21
+ "rewards/accuracies": 0.4468750059604645,
22
+ "rewards/chosen": 0.001610723091289401,
23
+ "rewards/margins": 0.006242862902581692,
24
+ "rewards/rejected": -0.004632140044122934,
25
+ "step": 20
26
+ },
27
+ {
28
+ "epoch": 0.11377777777777778,
29
+ "grad_norm": 15.587135314941406,
30
+ "learning_rate": 2.6590909090909093e-07,
31
+ "logits/chosen": -0.678135871887207,
32
+ "logits/rejected": -0.6651075482368469,
33
+ "logps/chosen": -347.43890380859375,
34
+ "logps/rejected": -708.3135986328125,
35
+ "loss": 4.8391,
36
+ "rewards/accuracies": 0.522265613079071,
37
+ "rewards/chosen": 0.0011627988424152136,
38
+ "rewards/margins": 0.010068175382912159,
39
+ "rewards/rejected": -0.008905376307666302,
40
+ "step": 40
41
+ },
42
+ {
43
+ "epoch": 0.17066666666666666,
44
+ "grad_norm": 19.355424880981445,
45
+ "learning_rate": 4.0227272727272725e-07,
46
+ "logits/chosen": -0.6907597184181213,
47
+ "logits/rejected": -0.6496841907501221,
48
+ "logps/chosen": -341.603759765625,
49
+ "logps/rejected": -661.4761962890625,
50
+ "loss": 4.863,
51
+ "rewards/accuracies": 0.528515636920929,
52
+ "rewards/chosen": -0.0007408790988847613,
53
+ "rewards/margins": 0.02941317856311798,
54
+ "rewards/rejected": -0.030154060572385788,
55
+ "step": 60
56
+ },
57
+ {
58
+ "epoch": 0.22755555555555557,
59
+ "grad_norm": 22.927623748779297,
60
+ "learning_rate": 5.386363636363637e-07,
61
+ "logits/chosen": -0.6875197887420654,
62
+ "logits/rejected": -0.6486619710922241,
63
+ "logps/chosen": -345.1783142089844,
64
+ "logps/rejected": -661.5092163085938,
65
+ "loss": 4.7676,
66
+ "rewards/accuracies": 0.61328125,
67
+ "rewards/chosen": 0.011638931930065155,
68
+ "rewards/margins": 0.1211162656545639,
69
+ "rewards/rejected": -0.10947732627391815,
70
+ "step": 80
71
+ },
72
+ {
73
+ "epoch": 0.28444444444444444,
74
+ "grad_norm": 20.672826766967773,
75
+ "learning_rate": 6.75e-07,
76
+ "logits/chosen": -0.6816097497940063,
77
+ "logits/rejected": -0.6414457559585571,
78
+ "logps/chosen": -344.27825927734375,
79
+ "logps/rejected": -658.2562255859375,
80
+ "loss": 4.56,
81
+ "rewards/accuracies": 0.647656261920929,
82
+ "rewards/chosen": 0.04126482084393501,
83
+ "rewards/margins": 0.30062881112098694,
84
+ "rewards/rejected": -0.2593640089035034,
85
+ "step": 100
86
+ },
87
+ {
88
+ "epoch": 0.3413333333333333,
89
+ "grad_norm": 13.753314971923828,
90
+ "learning_rate": 8.113636363636363e-07,
91
+ "logits/chosen": -0.6626165509223938,
92
+ "logits/rejected": -0.642012357711792,
93
+ "logps/chosen": -342.14031982421875,
94
+ "logps/rejected": -667.3262939453125,
95
+ "loss": 4.3726,
96
+ "rewards/accuracies": 0.6734374761581421,
97
+ "rewards/chosen": 0.10678935050964355,
98
+ "rewards/margins": 0.6032775640487671,
99
+ "rewards/rejected": -0.4964882731437683,
100
+ "step": 120
101
+ },
102
+ {
103
+ "epoch": 0.3982222222222222,
104
+ "grad_norm": 7.477163791656494,
105
+ "learning_rate": 9.477272727272726e-07,
106
+ "logits/chosen": -0.6697568297386169,
107
+ "logits/rejected": -0.6643576622009277,
108
+ "logps/chosen": -343.89959716796875,
109
+ "logps/rejected": -715.9915161132812,
110
+ "loss": 4.0971,
111
+ "rewards/accuracies": 0.7171875238418579,
112
+ "rewards/chosen": 0.21032771468162537,
113
+ "rewards/margins": 1.4638903141021729,
114
+ "rewards/rejected": -1.253562569618225,
115
+ "step": 140
116
+ },
117
+ {
118
+ "epoch": 0.45511111111111113,
119
+ "grad_norm": 8.21181869506836,
120
+ "learning_rate": 1.0840909090909092e-06,
121
+ "logits/chosen": -0.6967095136642456,
122
+ "logits/rejected": -0.681812047958374,
123
+ "logps/chosen": -340.03509521484375,
124
+ "logps/rejected": -682.7234497070312,
125
+ "loss": 4.1412,
126
+ "rewards/accuracies": 0.742968738079071,
127
+ "rewards/chosen": 0.3784622550010681,
128
+ "rewards/margins": 2.152285099029541,
129
+ "rewards/rejected": -1.7738231420516968,
130
+ "step": 160
131
+ },
132
+ {
133
+ "epoch": 0.512,
134
+ "grad_norm": 6.915646076202393,
135
+ "learning_rate": 1.2204545454545454e-06,
136
+ "logits/chosen": -0.6905465722084045,
137
+ "logits/rejected": -0.6835938692092896,
138
+ "logps/chosen": -337.03912353515625,
139
+ "logps/rejected": -689.4818725585938,
140
+ "loss": 3.7365,
141
+ "rewards/accuracies": 0.7515624761581421,
142
+ "rewards/chosen": 0.5243303775787354,
143
+ "rewards/margins": 3.7261250019073486,
144
+ "rewards/rejected": -3.2017948627471924,
145
+ "step": 180
146
+ },
147
+ {
148
+ "epoch": 0.5688888888888889,
149
+ "grad_norm": 6.492739200592041,
150
+ "learning_rate": 1.3568181818181818e-06,
151
+ "logits/chosen": -0.750757098197937,
152
+ "logits/rejected": -0.7309343814849854,
153
+ "logps/chosen": -339.7341003417969,
154
+ "logps/rejected": -700.2279663085938,
155
+ "loss": 3.7081,
156
+ "rewards/accuracies": 0.791796863079071,
157
+ "rewards/chosen": 0.37986624240875244,
158
+ "rewards/margins": 5.3291778564453125,
159
+ "rewards/rejected": -4.94931173324585,
160
+ "step": 200
161
+ },
162
+ {
163
+ "epoch": 0.6257777777777778,
164
+ "grad_norm": 5.47404670715332,
165
+ "learning_rate": 1.4931818181818182e-06,
166
+ "logits/chosen": -0.7830198407173157,
167
+ "logits/rejected": -0.7797198295593262,
168
+ "logps/chosen": -347.9498596191406,
169
+ "logps/rejected": -765.7747192382812,
170
+ "loss": 3.1446,
171
+ "rewards/accuracies": 0.7847656011581421,
172
+ "rewards/chosen": 0.12148561328649521,
173
+ "rewards/margins": 7.9653730392456055,
174
+ "rewards/rejected": -7.843888282775879,
175
+ "step": 220
176
+ },
177
+ {
178
+ "epoch": 0.6826666666666666,
179
+ "grad_norm": 7.549896240234375,
180
+ "learning_rate": 1.6295454545454544e-06,
181
+ "logits/chosen": -0.9069732427597046,
182
+ "logits/rejected": -0.9081719517707825,
183
+ "logps/chosen": -359.0387268066406,
184
+ "logps/rejected": -788.9415283203125,
185
+ "loss": 2.8459,
186
+ "rewards/accuracies": 0.801953136920929,
187
+ "rewards/chosen": -0.5870370268821716,
188
+ "rewards/margins": 11.03849983215332,
189
+ "rewards/rejected": -11.625536918640137,
190
+ "step": 240
191
+ },
192
+ {
193
+ "epoch": 0.7395555555555555,
194
+ "grad_norm": 6.950064182281494,
195
+ "learning_rate": 1.7659090909090909e-06,
196
+ "logits/chosen": -1.0507304668426514,
197
+ "logits/rejected": -1.0437712669372559,
198
+ "logps/chosen": -363.00946044921875,
199
+ "logps/rejected": -855.9450073242188,
200
+ "loss": 2.3475,
201
+ "rewards/accuracies": 0.7890625,
202
+ "rewards/chosen": -1.7975599765777588,
203
+ "rewards/margins": 15.68769645690918,
204
+ "rewards/rejected": -17.48525619506836,
205
+ "step": 260
206
+ },
207
+ {
208
+ "epoch": 0.7964444444444444,
209
+ "grad_norm": 7.705135822296143,
210
+ "learning_rate": 1.7984073648922751e-06,
211
+ "logits/chosen": -1.271202802658081,
212
+ "logits/rejected": -1.2308619022369385,
213
+ "logps/chosen": -372.968017578125,
214
+ "logps/rejected": -874.5939331054688,
215
+ "loss": 2.0129,
216
+ "rewards/accuracies": 0.7964843511581421,
217
+ "rewards/chosen": -2.9631118774414062,
218
+ "rewards/margins": 19.912986755371094,
219
+ "rewards/rejected": -22.876102447509766,
220
+ "step": 280
221
+ },
222
+ {
223
+ "epoch": 0.8533333333333334,
224
+ "grad_norm": 12.216048240661621,
225
+ "learning_rate": 1.7913403507563104e-06,
226
+ "logits/chosen": -1.400701880455017,
227
+ "logits/rejected": -1.363081455230713,
228
+ "logps/chosen": -379.55963134765625,
229
+ "logps/rejected": -1006.6408081054688,
230
+ "loss": 1.8445,
231
+ "rewards/accuracies": 0.805468738079071,
232
+ "rewards/chosen": -3.517793655395508,
233
+ "rewards/margins": 27.90765380859375,
234
+ "rewards/rejected": -31.42544937133789,
235
+ "step": 300
236
+ },
237
+ {
238
+ "epoch": 0.9102222222222223,
239
+ "grad_norm": 5.293786525726318,
240
+ "learning_rate": 1.7786664064079399e-06,
241
+ "logits/chosen": -1.4596669673919678,
242
+ "logits/rejected": -1.4353153705596924,
243
+ "logps/chosen": -385.25439453125,
244
+ "logps/rejected": -1005.0475463867188,
245
+ "loss": 1.5993,
246
+ "rewards/accuracies": 0.823437511920929,
247
+ "rewards/chosen": -3.530385971069336,
248
+ "rewards/margins": 30.658462524414062,
249
+ "rewards/rejected": -34.18885040283203,
250
+ "step": 320
251
+ },
252
+ {
253
+ "epoch": 0.9671111111111111,
254
+ "grad_norm": 5.214448928833008,
255
+ "learning_rate": 1.7604652566362601e-06,
256
+ "logits/chosen": -1.4935115575790405,
257
+ "logits/rejected": -1.4993070363998413,
258
+ "logps/chosen": -374.81219482421875,
259
+ "logps/rejected": -1065.3048095703125,
260
+ "loss": 1.4563,
261
+ "rewards/accuracies": 0.8140624761581421,
262
+ "rewards/chosen": -3.6835930347442627,
263
+ "rewards/margins": 35.69647979736328,
264
+ "rewards/rejected": -39.38006591796875,
265
+ "step": 340
266
+ },
267
+ {
268
+ "epoch": 1.0227555555555556,
269
+ "grad_norm": 5.167357921600342,
270
+ "learning_rate": 1.7368513948291994e-06,
271
+ "logits/chosen": -1.5450448989868164,
272
+ "logits/rejected": -1.5312340259552002,
273
+ "logps/chosen": -390.2657165527344,
274
+ "logps/rejected": -1115.527587890625,
275
+ "loss": 1.4704,
276
+ "rewards/accuracies": 0.8154951930046082,
277
+ "rewards/chosen": -3.921747922897339,
278
+ "rewards/margins": 38.49018096923828,
279
+ "rewards/rejected": -42.411930084228516,
280
+ "step": 360
281
+ },
282
+ {
283
+ "epoch": 1.0796444444444444,
284
+ "grad_norm": 4.9285407066345215,
285
+ "learning_rate": 1.707973362758804e-06,
286
+ "logits/chosen": -1.5365326404571533,
287
+ "logits/rejected": -1.5479919910430908,
288
+ "logps/chosen": -379.05078125,
289
+ "logps/rejected": -1110.8424072265625,
290
+ "loss": 1.524,
291
+ "rewards/accuracies": 0.815625011920929,
292
+ "rewards/chosen": -3.505291700363159,
293
+ "rewards/margins": 39.89087677001953,
294
+ "rewards/rejected": -43.39616775512695,
295
+ "step": 380
296
+ },
297
+ {
298
+ "epoch": 1.1365333333333334,
299
+ "grad_norm": 4.965682029724121,
300
+ "learning_rate": 1.6740128161869303e-06,
301
+ "logits/chosen": -1.5383026599884033,
302
+ "logits/rejected": -1.5448668003082275,
303
+ "logps/chosen": -375.23004150390625,
304
+ "logps/rejected": -1089.509033203125,
305
+ "loss": 1.2728,
306
+ "rewards/accuracies": 0.83984375,
307
+ "rewards/chosen": -3.8725147247314453,
308
+ "rewards/margins": 40.29158401489258,
309
+ "rewards/rejected": -44.164100646972656,
310
+ "step": 400
311
+ },
312
+ {
313
+ "epoch": 1.1934222222222222,
314
+ "grad_norm": 4.170207500457764,
315
+ "learning_rate": 1.635183382169105e-06,
316
+ "logits/chosen": -1.6174129247665405,
317
+ "logits/rejected": -1.598515272140503,
318
+ "logps/chosen": -385.2093200683594,
319
+ "logps/rejected": -1157.7808837890625,
320
+ "loss": 1.2895,
321
+ "rewards/accuracies": 0.830859363079071,
322
+ "rewards/chosen": -4.239663600921631,
323
+ "rewards/margins": 44.047298431396484,
324
+ "rewards/rejected": -48.28696823120117,
325
+ "step": 420
326
+ },
327
+ {
328
+ "epoch": 1.2503111111111112,
329
+ "grad_norm": 4.982669353485107,
330
+ "learning_rate": 1.5917293152446181e-06,
331
+ "logits/chosen": -1.6095243692398071,
332
+ "logits/rejected": -1.6014487743377686,
333
+ "logps/chosen": -391.41705322265625,
334
+ "logps/rejected": -1123.428466796875,
335
+ "loss": 1.3683,
336
+ "rewards/accuracies": 0.835156261920929,
337
+ "rewards/chosen": -4.419755458831787,
338
+ "rewards/margins": 43.6191520690918,
339
+ "rewards/rejected": -48.03890609741211,
340
+ "step": 440
341
+ },
342
+ {
343
+ "epoch": 1.3072,
344
+ "grad_norm": 5.365580081939697,
345
+ "learning_rate": 1.5439239609660238e-06,
346
+ "logits/chosen": -1.55153489112854,
347
+ "logits/rejected": -1.5819648504257202,
348
+ "logps/chosen": -379.72222900390625,
349
+ "logps/rejected": -1220.7442626953125,
350
+ "loss": 1.3303,
351
+ "rewards/accuracies": 0.8285156488418579,
352
+ "rewards/chosen": -3.9600634574890137,
353
+ "rewards/margins": 50.48019790649414,
354
+ "rewards/rejected": -54.44025421142578,
355
+ "step": 460
356
+ },
357
+ {
358
+ "epoch": 1.364088888888889,
359
+ "grad_norm": 5.603168964385986,
360
+ "learning_rate": 1.492068036433128e-06,
361
+ "logits/chosen": -1.5621448755264282,
362
+ "logits/rejected": -1.5893001556396484,
363
+ "logps/chosen": -379.4105224609375,
364
+ "logps/rejected": -1226.2530517578125,
365
+ "loss": 1.3152,
366
+ "rewards/accuracies": 0.837890625,
367
+ "rewards/chosen": -3.8145880699157715,
368
+ "rewards/margins": 50.653114318847656,
369
+ "rewards/rejected": -54.46770095825195,
370
+ "step": 480
371
+ },
372
+ {
373
+ "epoch": 1.420977777777778,
374
+ "grad_norm": 7.285942554473877,
375
+ "learning_rate": 1.4364877386476803e-06,
376
+ "logits/chosen": -1.5568413734436035,
377
+ "logits/rejected": -1.5949300527572632,
378
+ "logps/chosen": -391.8574523925781,
379
+ "logps/rejected": -1221.8057861328125,
380
+ "loss": 1.3131,
381
+ "rewards/accuracies": 0.837109386920929,
382
+ "rewards/chosen": -4.1453447341918945,
383
+ "rewards/margins": 51.3240966796875,
384
+ "rewards/rejected": -55.46944046020508,
385
+ "step": 500
386
+ }
387
+ ],
388
+ "logging_steps": 20,
389
+ "max_steps": 1056,
390
+ "num_input_tokens_seen": 0,
391
+ "num_train_epochs": 3,
392
+ "save_steps": 100,
393
+ "stateful_callbacks": {
394
+ "TrainerControl": {
395
+ "args": {
396
+ "should_epoch_stop": false,
397
+ "should_evaluate": false,
398
+ "should_log": false,
399
+ "should_save": true,
400
+ "should_training_stop": false
401
+ },
402
+ "attributes": {}
403
+ }
404
+ },
405
+ "total_flos": 0.0,
406
+ "train_batch_size": 2,
407
+ "trial_name": null,
408
+ "trial_params": null
409
+ }
checkpoint-500/vocab.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-600/README.md ADDED
@@ -0,0 +1,210 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: unsloth/qwen2.5-14b-instruct-unsloth-bnb-4bit
3
+ library_name: peft
4
+ pipeline_tag: text-generation
5
+ tags:
6
+ - base_model:adapter:unsloth/qwen2.5-14b-instruct-unsloth-bnb-4bit
7
+ - dpo
8
+ - lora
9
+ - transformers
10
+ - trl
11
+ - unsloth
12
+ ---
13
+
14
+ # Model Card for Model ID
15
+
16
+ <!-- Provide a quick summary of what the model is/does. -->
17
+
18
+
19
+
20
+ ## Model Details
21
+
22
+ ### Model Description
23
+
24
+ <!-- Provide a longer summary of what this model is. -->
25
+
26
+
27
+
28
+ - **Developed by:** [More Information Needed]
29
+ - **Funded by [optional]:** [More Information Needed]
30
+ - **Shared by [optional]:** [More Information Needed]
31
+ - **Model type:** [More Information Needed]
32
+ - **Language(s) (NLP):** [More Information Needed]
33
+ - **License:** [More Information Needed]
34
+ - **Finetuned from model [optional]:** [More Information Needed]
35
+
36
+ ### Model Sources [optional]
37
+
38
+ <!-- Provide the basic links for the model. -->
39
+
40
+ - **Repository:** [More Information Needed]
41
+ - **Paper [optional]:** [More Information Needed]
42
+ - **Demo [optional]:** [More Information Needed]
43
+
44
+ ## Uses
45
+
46
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
47
+
48
+ ### Direct Use
49
+
50
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
51
+
52
+ [More Information Needed]
53
+
54
+ ### Downstream Use [optional]
55
+
56
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
57
+
58
+ [More Information Needed]
59
+
60
+ ### Out-of-Scope Use
61
+
62
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
63
+
64
+ [More Information Needed]
65
+
66
+ ## Bias, Risks, and Limitations
67
+
68
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
69
+
70
+ [More Information Needed]
71
+
72
+ ### Recommendations
73
+
74
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
75
+
76
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
77
+
78
+ ## How to Get Started with the Model
79
+
80
+ Use the code below to get started with the model.
81
+
82
+ [More Information Needed]
83
+
84
+ ## Training Details
85
+
86
+ ### Training Data
87
+
88
+ <!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
89
+
90
+ [More Information Needed]
91
+
92
+ ### Training Procedure
93
+
94
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
95
+
96
+ #### Preprocessing [optional]
97
+
98
+ [More Information Needed]
99
+
100
+
101
+ #### Training Hyperparameters
102
+
103
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
104
+
105
+ #### Speeds, Sizes, Times [optional]
106
+
107
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
108
+
109
+ [More Information Needed]
110
+
111
+ ## Evaluation
112
+
113
+ <!-- This section describes the evaluation protocols and provides the results. -->
114
+
115
+ ### Testing Data, Factors & Metrics
116
+
117
+ #### Testing Data
118
+
119
+ <!-- This should link to a Dataset Card if possible. -->
120
+
121
+ [More Information Needed]
122
+
123
+ #### Factors
124
+
125
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
126
+
127
+ [More Information Needed]
128
+
129
+ #### Metrics
130
+
131
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
132
+
133
+ [More Information Needed]
134
+
135
+ ### Results
136
+
137
+ [More Information Needed]
138
+
139
+ #### Summary
140
+
141
+
142
+
143
+ ## Model Examination [optional]
144
+
145
+ <!-- Relevant interpretability work for the model goes here -->
146
+
147
+ [More Information Needed]
148
+
149
+ ## Environmental Impact
150
+
151
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
152
+
153
+ Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
154
+
155
+ - **Hardware Type:** [More Information Needed]
156
+ - **Hours used:** [More Information Needed]
157
+ - **Cloud Provider:** [More Information Needed]
158
+ - **Compute Region:** [More Information Needed]
159
+ - **Carbon Emitted:** [More Information Needed]
160
+
161
+ ## Technical Specifications [optional]
162
+
163
+ ### Model Architecture and Objective
164
+
165
+ [More Information Needed]
166
+
167
+ ### Compute Infrastructure
168
+
169
+ [More Information Needed]
170
+
171
+ #### Hardware
172
+
173
+ [More Information Needed]
174
+
175
+ #### Software
176
+
177
+ [More Information Needed]
178
+
179
+ ## Citation [optional]
180
+
181
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
182
+
183
+ **BibTeX:**
184
+
185
+ [More Information Needed]
186
+
187
+ **APA:**
188
+
189
+ [More Information Needed]
190
+
191
+ ## Glossary [optional]
192
+
193
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
194
+
195
+ [More Information Needed]
196
+
197
+ ## More Information [optional]
198
+
199
+ [More Information Needed]
200
+
201
+ ## Model Card Authors [optional]
202
+
203
+ [More Information Needed]
204
+
205
+ ## Model Card Contact
206
+
207
+ [More Information Needed]
208
+ ### Framework versions
209
+
210
+ - PEFT 0.18.0
checkpoint-600/adapter_config.json ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alora_invocation_tokens": null,
3
+ "alpha_pattern": {},
4
+ "arrow_config": null,
5
+ "auto_mapping": {
6
+ "base_model_class": "Qwen2ForCausalLM",
7
+ "parent_library": "transformers.models.qwen2.modeling_qwen2",
8
+ "unsloth_fixed": true
9
+ },
10
+ "base_model_name_or_path": "unsloth/qwen2.5-14b-instruct-unsloth-bnb-4bit",
11
+ "bias": "none",
12
+ "corda_config": null,
13
+ "ensure_weight_tying": false,
14
+ "eva_config": null,
15
+ "exclude_modules": null,
16
+ "fan_in_fan_out": false,
17
+ "inference_mode": true,
18
+ "init_lora_weights": true,
19
+ "layer_replication": null,
20
+ "layers_pattern": null,
21
+ "layers_to_transform": null,
22
+ "loftq_config": {},
23
+ "lora_alpha": 64,
24
+ "lora_bias": false,
25
+ "lora_dropout": 0.05,
26
+ "megatron_config": null,
27
+ "megatron_core": "megatron.core",
28
+ "modules_to_save": null,
29
+ "peft_type": "LORA",
30
+ "peft_version": "0.18.0",
31
+ "qalora_group_size": 16,
32
+ "r": 32,
33
+ "rank_pattern": {},
34
+ "revision": null,
35
+ "target_modules": [
36
+ "q_proj",
37
+ "o_proj",
38
+ "v_proj",
39
+ "up_proj",
40
+ "down_proj",
41
+ "gate_proj",
42
+ "k_proj"
43
+ ],
44
+ "target_parameters": null,
45
+ "task_type": "CAUSAL_LM",
46
+ "trainable_token_indices": null,
47
+ "use_dora": false,
48
+ "use_qalora": false,
49
+ "use_rslora": false
50
+ }
checkpoint-600/added_tokens.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "</tool_call>": 151658,
3
+ "<tool_call>": 151657,
4
+ "<|box_end|>": 151649,
5
+ "<|box_start|>": 151648,
6
+ "<|endoftext|>": 151643,
7
+ "<|file_sep|>": 151664,
8
+ "<|fim_middle|>": 151660,
9
+ "<|fim_pad|>": 151662,
10
+ "<|fim_prefix|>": 151659,
11
+ "<|fim_suffix|>": 151661,
12
+ "<|im_end|>": 151645,
13
+ "<|im_start|>": 151644,
14
+ "<|image_pad|>": 151655,
15
+ "<|object_ref_end|>": 151647,
16
+ "<|object_ref_start|>": 151646,
17
+ "<|quad_end|>": 151651,
18
+ "<|quad_start|>": 151650,
19
+ "<|repo_name|>": 151663,
20
+ "<|video_pad|>": 151656,
21
+ "<|vision_end|>": 151653,
22
+ "<|vision_pad|>": 151654,
23
+ "<|vision_start|>": 151652
24
+ }
checkpoint-600/chat_template.jinja ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {%- if tools %}
2
+ {{- '<|im_start|>system\n' }}
3
+ {%- if messages[0]['role'] == 'system' %}
4
+ {{- messages[0]['content'] }}
5
+ {%- else %}
6
+ {{- 'You are Qwen, created by Alibaba Cloud. You are a helpful assistant.' }}
7
+ {%- endif %}
8
+ {{- "\n\n# 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>" }}
9
+ {%- for tool in tools %}
10
+ {{- "\n" }}
11
+ {{- tool | tojson }}
12
+ {%- endfor %}
13
+ {{- "\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" }}
14
+ {%- else %}
15
+ {%- if messages[0]['role'] == 'system' %}
16
+ {{- '<|im_start|>system\n' + messages[0]['content'] + '<|im_end|>\n' }}
17
+ {%- else %}
18
+ {{- '<|im_start|>system\nYou are Qwen, created by Alibaba Cloud. You are a helpful assistant.<|im_end|>\n' }}
19
+ {%- endif %}
20
+ {%- endif %}
21
+ {%- for message in messages %}
22
+ {%- if (message.role == "user") or (message.role == "system" and not loop.first) or (message.role == "assistant" and not message.tool_calls) %}
23
+ {{- '<|im_start|>' + message.role + '\n' + message.content + '<|im_end|>' + '\n' }}
24
+ {%- elif message.role == "assistant" %}
25
+ {{- '<|im_start|>' + message.role }}
26
+ {%- if message.content %}
27
+ {{- '\n' + message.content }}
28
+ {%- endif %}
29
+ {%- for tool_call in message.tool_calls %}
30
+ {%- if tool_call.function is defined %}
31
+ {%- set tool_call = tool_call.function %}
32
+ {%- endif %}
33
+ {{- '\n<tool_call>\n{"name": "' }}
34
+ {{- tool_call.name }}
35
+ {{- '", "arguments": ' }}
36
+ {{- tool_call.arguments | tojson }}
37
+ {{- '}\n</tool_call>' }}
38
+ {%- endfor %}
39
+ {{- '<|im_end|>\n' }}
40
+ {%- elif message.role == "tool" %}
41
+ {%- if (loop.index0 == 0) or (messages[loop.index0 - 1].role != "tool") %}
42
+ {{- '<|im_start|>user' }}
43
+ {%- endif %}
44
+ {{- '\n<tool_response>\n' }}
45
+ {{- message.content }}
46
+ {{- '\n</tool_response>' }}
47
+ {%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
48
+ {{- '<|im_end|>\n' }}
49
+ {%- endif %}
50
+ {%- endif %}
51
+ {%- endfor %}
52
+ {%- if add_generation_prompt %}
53
+ {{- '<|im_start|>assistant\n' }}
54
+ {%- endif %}
checkpoint-600/merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-600/special_tokens_map.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<|im_start|>",
4
+ "<|im_end|>",
5
+ "<|object_ref_start|>",
6
+ "<|object_ref_end|>",
7
+ "<|box_start|>",
8
+ "<|box_end|>",
9
+ "<|quad_start|>",
10
+ "<|quad_end|>",
11
+ "<|vision_start|>",
12
+ "<|vision_end|>",
13
+ "<|vision_pad|>",
14
+ "<|image_pad|>",
15
+ "<|video_pad|>"
16
+ ],
17
+ "eos_token": {
18
+ "content": "<|im_end|>",
19
+ "lstrip": false,
20
+ "normalized": false,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ },
24
+ "pad_token": "<|im_end|>"
25
+ }
checkpoint-600/tokenizer_config.json ADDED
@@ -0,0 +1,208 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": false,
3
+ "add_prefix_space": false,
4
+ "added_tokens_decoder": {
5
+ "151643": {
6
+ "content": "<|endoftext|>",
7
+ "lstrip": false,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ },
13
+ "151644": {
14
+ "content": "<|im_start|>",
15
+ "lstrip": false,
16
+ "normalized": false,
17
+ "rstrip": false,
18
+ "single_word": false,
19
+ "special": true
20
+ },
21
+ "151645": {
22
+ "content": "<|im_end|>",
23
+ "lstrip": false,
24
+ "normalized": false,
25
+ "rstrip": false,
26
+ "single_word": false,
27
+ "special": true
28
+ },
29
+ "151646": {
30
+ "content": "<|object_ref_start|>",
31
+ "lstrip": false,
32
+ "normalized": false,
33
+ "rstrip": false,
34
+ "single_word": false,
35
+ "special": true
36
+ },
37
+ "151647": {
38
+ "content": "<|object_ref_end|>",
39
+ "lstrip": false,
40
+ "normalized": false,
41
+ "rstrip": false,
42
+ "single_word": false,
43
+ "special": true
44
+ },
45
+ "151648": {
46
+ "content": "<|box_start|>",
47
+ "lstrip": false,
48
+ "normalized": false,
49
+ "rstrip": false,
50
+ "single_word": false,
51
+ "special": true
52
+ },
53
+ "151649": {
54
+ "content": "<|box_end|>",
55
+ "lstrip": false,
56
+ "normalized": false,
57
+ "rstrip": false,
58
+ "single_word": false,
59
+ "special": true
60
+ },
61
+ "151650": {
62
+ "content": "<|quad_start|>",
63
+ "lstrip": false,
64
+ "normalized": false,
65
+ "rstrip": false,
66
+ "single_word": false,
67
+ "special": true
68
+ },
69
+ "151651": {
70
+ "content": "<|quad_end|>",
71
+ "lstrip": false,
72
+ "normalized": false,
73
+ "rstrip": false,
74
+ "single_word": false,
75
+ "special": true
76
+ },
77
+ "151652": {
78
+ "content": "<|vision_start|>",
79
+ "lstrip": false,
80
+ "normalized": false,
81
+ "rstrip": false,
82
+ "single_word": false,
83
+ "special": true
84
+ },
85
+ "151653": {
86
+ "content": "<|vision_end|>",
87
+ "lstrip": false,
88
+ "normalized": false,
89
+ "rstrip": false,
90
+ "single_word": false,
91
+ "special": true
92
+ },
93
+ "151654": {
94
+ "content": "<|vision_pad|>",
95
+ "lstrip": false,
96
+ "normalized": false,
97
+ "rstrip": false,
98
+ "single_word": false,
99
+ "special": true
100
+ },
101
+ "151655": {
102
+ "content": "<|image_pad|>",
103
+ "lstrip": false,
104
+ "normalized": false,
105
+ "rstrip": false,
106
+ "single_word": false,
107
+ "special": true
108
+ },
109
+ "151656": {
110
+ "content": "<|video_pad|>",
111
+ "lstrip": false,
112
+ "normalized": false,
113
+ "rstrip": false,
114
+ "single_word": false,
115
+ "special": true
116
+ },
117
+ "151657": {
118
+ "content": "<tool_call>",
119
+ "lstrip": false,
120
+ "normalized": false,
121
+ "rstrip": false,
122
+ "single_word": false,
123
+ "special": false
124
+ },
125
+ "151658": {
126
+ "content": "</tool_call>",
127
+ "lstrip": false,
128
+ "normalized": false,
129
+ "rstrip": false,
130
+ "single_word": false,
131
+ "special": false
132
+ },
133
+ "151659": {
134
+ "content": "<|fim_prefix|>",
135
+ "lstrip": false,
136
+ "normalized": false,
137
+ "rstrip": false,
138
+ "single_word": false,
139
+ "special": false
140
+ },
141
+ "151660": {
142
+ "content": "<|fim_middle|>",
143
+ "lstrip": false,
144
+ "normalized": false,
145
+ "rstrip": false,
146
+ "single_word": false,
147
+ "special": false
148
+ },
149
+ "151661": {
150
+ "content": "<|fim_suffix|>",
151
+ "lstrip": false,
152
+ "normalized": false,
153
+ "rstrip": false,
154
+ "single_word": false,
155
+ "special": false
156
+ },
157
+ "151662": {
158
+ "content": "<|fim_pad|>",
159
+ "lstrip": false,
160
+ "normalized": false,
161
+ "rstrip": false,
162
+ "single_word": false,
163
+ "special": false
164
+ },
165
+ "151663": {
166
+ "content": "<|repo_name|>",
167
+ "lstrip": false,
168
+ "normalized": false,
169
+ "rstrip": false,
170
+ "single_word": false,
171
+ "special": false
172
+ },
173
+ "151664": {
174
+ "content": "<|file_sep|>",
175
+ "lstrip": false,
176
+ "normalized": false,
177
+ "rstrip": false,
178
+ "single_word": false,
179
+ "special": false
180
+ }
181
+ },
182
+ "additional_special_tokens": [
183
+ "<|im_start|>",
184
+ "<|im_end|>",
185
+ "<|object_ref_start|>",
186
+ "<|object_ref_end|>",
187
+ "<|box_start|>",
188
+ "<|box_end|>",
189
+ "<|quad_start|>",
190
+ "<|quad_end|>",
191
+ "<|vision_start|>",
192
+ "<|vision_end|>",
193
+ "<|vision_pad|>",
194
+ "<|image_pad|>",
195
+ "<|video_pad|>"
196
+ ],
197
+ "bos_token": null,
198
+ "clean_up_tokenization_spaces": false,
199
+ "eos_token": "<|im_end|>",
200
+ "errors": "replace",
201
+ "extra_special_tokens": {},
202
+ "model_max_length": 2048,
203
+ "pad_token": "<|im_end|>",
204
+ "padding_side": "right",
205
+ "split_special_tokens": false,
206
+ "tokenizer_class": "Qwen2Tokenizer",
207
+ "unk_token": null
208
+ }
checkpoint-600/trainer_state.json ADDED
@@ -0,0 +1,484 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 1.7054222222222222,
6
+ "eval_steps": 500,
7
+ "global_step": 600,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "epoch": 0.05688888888888889,
14
+ "grad_norm": 25.723350524902344,
15
+ "learning_rate": 1.2954545454545456e-07,
16
+ "logits/chosen": -0.7062767744064331,
17
+ "logits/rejected": -0.6522080898284912,
18
+ "logps/chosen": -340.785888671875,
19
+ "logps/rejected": -653.7647705078125,
20
+ "loss": 4.7628,
21
+ "rewards/accuracies": 0.4468750059604645,
22
+ "rewards/chosen": 0.001610723091289401,
23
+ "rewards/margins": 0.006242862902581692,
24
+ "rewards/rejected": -0.004632140044122934,
25
+ "step": 20
26
+ },
27
+ {
28
+ "epoch": 0.11377777777777778,
29
+ "grad_norm": 15.587135314941406,
30
+ "learning_rate": 2.6590909090909093e-07,
31
+ "logits/chosen": -0.678135871887207,
32
+ "logits/rejected": -0.6651075482368469,
33
+ "logps/chosen": -347.43890380859375,
34
+ "logps/rejected": -708.3135986328125,
35
+ "loss": 4.8391,
36
+ "rewards/accuracies": 0.522265613079071,
37
+ "rewards/chosen": 0.0011627988424152136,
38
+ "rewards/margins": 0.010068175382912159,
39
+ "rewards/rejected": -0.008905376307666302,
40
+ "step": 40
41
+ },
42
+ {
43
+ "epoch": 0.17066666666666666,
44
+ "grad_norm": 19.355424880981445,
45
+ "learning_rate": 4.0227272727272725e-07,
46
+ "logits/chosen": -0.6907597184181213,
47
+ "logits/rejected": -0.6496841907501221,
48
+ "logps/chosen": -341.603759765625,
49
+ "logps/rejected": -661.4761962890625,
50
+ "loss": 4.863,
51
+ "rewards/accuracies": 0.528515636920929,
52
+ "rewards/chosen": -0.0007408790988847613,
53
+ "rewards/margins": 0.02941317856311798,
54
+ "rewards/rejected": -0.030154060572385788,
55
+ "step": 60
56
+ },
57
+ {
58
+ "epoch": 0.22755555555555557,
59
+ "grad_norm": 22.927623748779297,
60
+ "learning_rate": 5.386363636363637e-07,
61
+ "logits/chosen": -0.6875197887420654,
62
+ "logits/rejected": -0.6486619710922241,
63
+ "logps/chosen": -345.1783142089844,
64
+ "logps/rejected": -661.5092163085938,
65
+ "loss": 4.7676,
66
+ "rewards/accuracies": 0.61328125,
67
+ "rewards/chosen": 0.011638931930065155,
68
+ "rewards/margins": 0.1211162656545639,
69
+ "rewards/rejected": -0.10947732627391815,
70
+ "step": 80
71
+ },
72
+ {
73
+ "epoch": 0.28444444444444444,
74
+ "grad_norm": 20.672826766967773,
75
+ "learning_rate": 6.75e-07,
76
+ "logits/chosen": -0.6816097497940063,
77
+ "logits/rejected": -0.6414457559585571,
78
+ "logps/chosen": -344.27825927734375,
79
+ "logps/rejected": -658.2562255859375,
80
+ "loss": 4.56,
81
+ "rewards/accuracies": 0.647656261920929,
82
+ "rewards/chosen": 0.04126482084393501,
83
+ "rewards/margins": 0.30062881112098694,
84
+ "rewards/rejected": -0.2593640089035034,
85
+ "step": 100
86
+ },
87
+ {
88
+ "epoch": 0.3413333333333333,
89
+ "grad_norm": 13.753314971923828,
90
+ "learning_rate": 8.113636363636363e-07,
91
+ "logits/chosen": -0.6626165509223938,
92
+ "logits/rejected": -0.642012357711792,
93
+ "logps/chosen": -342.14031982421875,
94
+ "logps/rejected": -667.3262939453125,
95
+ "loss": 4.3726,
96
+ "rewards/accuracies": 0.6734374761581421,
97
+ "rewards/chosen": 0.10678935050964355,
98
+ "rewards/margins": 0.6032775640487671,
99
+ "rewards/rejected": -0.4964882731437683,
100
+ "step": 120
101
+ },
102
+ {
103
+ "epoch": 0.3982222222222222,
104
+ "grad_norm": 7.477163791656494,
105
+ "learning_rate": 9.477272727272726e-07,
106
+ "logits/chosen": -0.6697568297386169,
107
+ "logits/rejected": -0.6643576622009277,
108
+ "logps/chosen": -343.89959716796875,
109
+ "logps/rejected": -715.9915161132812,
110
+ "loss": 4.0971,
111
+ "rewards/accuracies": 0.7171875238418579,
112
+ "rewards/chosen": 0.21032771468162537,
113
+ "rewards/margins": 1.4638903141021729,
114
+ "rewards/rejected": -1.253562569618225,
115
+ "step": 140
116
+ },
117
+ {
118
+ "epoch": 0.45511111111111113,
119
+ "grad_norm": 8.21181869506836,
120
+ "learning_rate": 1.0840909090909092e-06,
121
+ "logits/chosen": -0.6967095136642456,
122
+ "logits/rejected": -0.681812047958374,
123
+ "logps/chosen": -340.03509521484375,
124
+ "logps/rejected": -682.7234497070312,
125
+ "loss": 4.1412,
126
+ "rewards/accuracies": 0.742968738079071,
127
+ "rewards/chosen": 0.3784622550010681,
128
+ "rewards/margins": 2.152285099029541,
129
+ "rewards/rejected": -1.7738231420516968,
130
+ "step": 160
131
+ },
132
+ {
133
+ "epoch": 0.512,
134
+ "grad_norm": 6.915646076202393,
135
+ "learning_rate": 1.2204545454545454e-06,
136
+ "logits/chosen": -0.6905465722084045,
137
+ "logits/rejected": -0.6835938692092896,
138
+ "logps/chosen": -337.03912353515625,
139
+ "logps/rejected": -689.4818725585938,
140
+ "loss": 3.7365,
141
+ "rewards/accuracies": 0.7515624761581421,
142
+ "rewards/chosen": 0.5243303775787354,
143
+ "rewards/margins": 3.7261250019073486,
144
+ "rewards/rejected": -3.2017948627471924,
145
+ "step": 180
146
+ },
147
+ {
148
+ "epoch": 0.5688888888888889,
149
+ "grad_norm": 6.492739200592041,
150
+ "learning_rate": 1.3568181818181818e-06,
151
+ "logits/chosen": -0.750757098197937,
152
+ "logits/rejected": -0.7309343814849854,
153
+ "logps/chosen": -339.7341003417969,
154
+ "logps/rejected": -700.2279663085938,
155
+ "loss": 3.7081,
156
+ "rewards/accuracies": 0.791796863079071,
157
+ "rewards/chosen": 0.37986624240875244,
158
+ "rewards/margins": 5.3291778564453125,
159
+ "rewards/rejected": -4.94931173324585,
160
+ "step": 200
161
+ },
162
+ {
163
+ "epoch": 0.6257777777777778,
164
+ "grad_norm": 5.47404670715332,
165
+ "learning_rate": 1.4931818181818182e-06,
166
+ "logits/chosen": -0.7830198407173157,
167
+ "logits/rejected": -0.7797198295593262,
168
+ "logps/chosen": -347.9498596191406,
169
+ "logps/rejected": -765.7747192382812,
170
+ "loss": 3.1446,
171
+ "rewards/accuracies": 0.7847656011581421,
172
+ "rewards/chosen": 0.12148561328649521,
173
+ "rewards/margins": 7.9653730392456055,
174
+ "rewards/rejected": -7.843888282775879,
175
+ "step": 220
176
+ },
177
+ {
178
+ "epoch": 0.6826666666666666,
179
+ "grad_norm": 7.549896240234375,
180
+ "learning_rate": 1.6295454545454544e-06,
181
+ "logits/chosen": -0.9069732427597046,
182
+ "logits/rejected": -0.9081719517707825,
183
+ "logps/chosen": -359.0387268066406,
184
+ "logps/rejected": -788.9415283203125,
185
+ "loss": 2.8459,
186
+ "rewards/accuracies": 0.801953136920929,
187
+ "rewards/chosen": -0.5870370268821716,
188
+ "rewards/margins": 11.03849983215332,
189
+ "rewards/rejected": -11.625536918640137,
190
+ "step": 240
191
+ },
192
+ {
193
+ "epoch": 0.7395555555555555,
194
+ "grad_norm": 6.950064182281494,
195
+ "learning_rate": 1.7659090909090909e-06,
196
+ "logits/chosen": -1.0507304668426514,
197
+ "logits/rejected": -1.0437712669372559,
198
+ "logps/chosen": -363.00946044921875,
199
+ "logps/rejected": -855.9450073242188,
200
+ "loss": 2.3475,
201
+ "rewards/accuracies": 0.7890625,
202
+ "rewards/chosen": -1.7975599765777588,
203
+ "rewards/margins": 15.68769645690918,
204
+ "rewards/rejected": -17.48525619506836,
205
+ "step": 260
206
+ },
207
+ {
208
+ "epoch": 0.7964444444444444,
209
+ "grad_norm": 7.705135822296143,
210
+ "learning_rate": 1.7984073648922751e-06,
211
+ "logits/chosen": -1.271202802658081,
212
+ "logits/rejected": -1.2308619022369385,
213
+ "logps/chosen": -372.968017578125,
214
+ "logps/rejected": -874.5939331054688,
215
+ "loss": 2.0129,
216
+ "rewards/accuracies": 0.7964843511581421,
217
+ "rewards/chosen": -2.9631118774414062,
218
+ "rewards/margins": 19.912986755371094,
219
+ "rewards/rejected": -22.876102447509766,
220
+ "step": 280
221
+ },
222
+ {
223
+ "epoch": 0.8533333333333334,
224
+ "grad_norm": 12.216048240661621,
225
+ "learning_rate": 1.7913403507563104e-06,
226
+ "logits/chosen": -1.400701880455017,
227
+ "logits/rejected": -1.363081455230713,
228
+ "logps/chosen": -379.55963134765625,
229
+ "logps/rejected": -1006.6408081054688,
230
+ "loss": 1.8445,
231
+ "rewards/accuracies": 0.805468738079071,
232
+ "rewards/chosen": -3.517793655395508,
233
+ "rewards/margins": 27.90765380859375,
234
+ "rewards/rejected": -31.42544937133789,
235
+ "step": 300
236
+ },
237
+ {
238
+ "epoch": 0.9102222222222223,
239
+ "grad_norm": 5.293786525726318,
240
+ "learning_rate": 1.7786664064079399e-06,
241
+ "logits/chosen": -1.4596669673919678,
242
+ "logits/rejected": -1.4353153705596924,
243
+ "logps/chosen": -385.25439453125,
244
+ "logps/rejected": -1005.0475463867188,
245
+ "loss": 1.5993,
246
+ "rewards/accuracies": 0.823437511920929,
247
+ "rewards/chosen": -3.530385971069336,
248
+ "rewards/margins": 30.658462524414062,
249
+ "rewards/rejected": -34.18885040283203,
250
+ "step": 320
251
+ },
252
+ {
253
+ "epoch": 0.9671111111111111,
254
+ "grad_norm": 5.214448928833008,
255
+ "learning_rate": 1.7604652566362601e-06,
256
+ "logits/chosen": -1.4935115575790405,
257
+ "logits/rejected": -1.4993070363998413,
258
+ "logps/chosen": -374.81219482421875,
259
+ "logps/rejected": -1065.3048095703125,
260
+ "loss": 1.4563,
261
+ "rewards/accuracies": 0.8140624761581421,
262
+ "rewards/chosen": -3.6835930347442627,
263
+ "rewards/margins": 35.69647979736328,
264
+ "rewards/rejected": -39.38006591796875,
265
+ "step": 340
266
+ },
267
+ {
268
+ "epoch": 1.0227555555555556,
269
+ "grad_norm": 5.167357921600342,
270
+ "learning_rate": 1.7368513948291994e-06,
271
+ "logits/chosen": -1.5450448989868164,
272
+ "logits/rejected": -1.5312340259552002,
273
+ "logps/chosen": -390.2657165527344,
274
+ "logps/rejected": -1115.527587890625,
275
+ "loss": 1.4704,
276
+ "rewards/accuracies": 0.8154951930046082,
277
+ "rewards/chosen": -3.921747922897339,
278
+ "rewards/margins": 38.49018096923828,
279
+ "rewards/rejected": -42.411930084228516,
280
+ "step": 360
281
+ },
282
+ {
283
+ "epoch": 1.0796444444444444,
284
+ "grad_norm": 4.9285407066345215,
285
+ "learning_rate": 1.707973362758804e-06,
286
+ "logits/chosen": -1.5365326404571533,
287
+ "logits/rejected": -1.5479919910430908,
288
+ "logps/chosen": -379.05078125,
289
+ "logps/rejected": -1110.8424072265625,
290
+ "loss": 1.524,
291
+ "rewards/accuracies": 0.815625011920929,
292
+ "rewards/chosen": -3.505291700363159,
293
+ "rewards/margins": 39.89087677001953,
294
+ "rewards/rejected": -43.39616775512695,
295
+ "step": 380
296
+ },
297
+ {
298
+ "epoch": 1.1365333333333334,
299
+ "grad_norm": 4.965682029724121,
300
+ "learning_rate": 1.6740128161869303e-06,
301
+ "logits/chosen": -1.5383026599884033,
302
+ "logits/rejected": -1.5448668003082275,
303
+ "logps/chosen": -375.23004150390625,
304
+ "logps/rejected": -1089.509033203125,
305
+ "loss": 1.2728,
306
+ "rewards/accuracies": 0.83984375,
307
+ "rewards/chosen": -3.8725147247314453,
308
+ "rewards/margins": 40.29158401489258,
309
+ "rewards/rejected": -44.164100646972656,
310
+ "step": 400
311
+ },
312
+ {
313
+ "epoch": 1.1934222222222222,
314
+ "grad_norm": 4.170207500457764,
315
+ "learning_rate": 1.635183382169105e-06,
316
+ "logits/chosen": -1.6174129247665405,
317
+ "logits/rejected": -1.598515272140503,
318
+ "logps/chosen": -385.2093200683594,
319
+ "logps/rejected": -1157.7808837890625,
320
+ "loss": 1.2895,
321
+ "rewards/accuracies": 0.830859363079071,
322
+ "rewards/chosen": -4.239663600921631,
323
+ "rewards/margins": 44.047298431396484,
324
+ "rewards/rejected": -48.28696823120117,
325
+ "step": 420
326
+ },
327
+ {
328
+ "epoch": 1.2503111111111112,
329
+ "grad_norm": 4.982669353485107,
330
+ "learning_rate": 1.5917293152446181e-06,
331
+ "logits/chosen": -1.6095243692398071,
332
+ "logits/rejected": -1.6014487743377686,
333
+ "logps/chosen": -391.41705322265625,
334
+ "logps/rejected": -1123.428466796875,
335
+ "loss": 1.3683,
336
+ "rewards/accuracies": 0.835156261920929,
337
+ "rewards/chosen": -4.419755458831787,
338
+ "rewards/margins": 43.6191520690918,
339
+ "rewards/rejected": -48.03890609741211,
340
+ "step": 440
341
+ },
342
+ {
343
+ "epoch": 1.3072,
344
+ "grad_norm": 5.365580081939697,
345
+ "learning_rate": 1.5439239609660238e-06,
346
+ "logits/chosen": -1.55153489112854,
347
+ "logits/rejected": -1.5819648504257202,
348
+ "logps/chosen": -379.72222900390625,
349
+ "logps/rejected": -1220.7442626953125,
350
+ "loss": 1.3303,
351
+ "rewards/accuracies": 0.8285156488418579,
352
+ "rewards/chosen": -3.9600634574890137,
353
+ "rewards/margins": 50.48019790649414,
354
+ "rewards/rejected": -54.44025421142578,
355
+ "step": 460
356
+ },
357
+ {
358
+ "epoch": 1.364088888888889,
359
+ "grad_norm": 5.603168964385986,
360
+ "learning_rate": 1.492068036433128e-06,
361
+ "logits/chosen": -1.5621448755264282,
362
+ "logits/rejected": -1.5893001556396484,
363
+ "logps/chosen": -379.4105224609375,
364
+ "logps/rejected": -1226.2530517578125,
365
+ "loss": 1.3152,
366
+ "rewards/accuracies": 0.837890625,
367
+ "rewards/chosen": -3.8145880699157715,
368
+ "rewards/margins": 50.653114318847656,
369
+ "rewards/rejected": -54.46770095825195,
370
+ "step": 480
371
+ },
372
+ {
373
+ "epoch": 1.420977777777778,
374
+ "grad_norm": 7.285942554473877,
375
+ "learning_rate": 1.4364877386476803e-06,
376
+ "logits/chosen": -1.5568413734436035,
377
+ "logits/rejected": -1.5949300527572632,
378
+ "logps/chosen": -391.8574523925781,
379
+ "logps/rejected": -1221.8057861328125,
380
+ "loss": 1.3131,
381
+ "rewards/accuracies": 0.837109386920929,
382
+ "rewards/chosen": -4.1453447341918945,
383
+ "rewards/margins": 51.3240966796875,
384
+ "rewards/rejected": -55.46944046020508,
385
+ "step": 500
386
+ },
387
+ {
388
+ "epoch": 1.4778666666666667,
389
+ "grad_norm": 5.188837051391602,
390
+ "learning_rate": 1.3775326925880672e-06,
391
+ "logits/chosen": -1.5099071264266968,
392
+ "logits/rejected": -1.538757562637329,
393
+ "logps/chosen": -382.1160888671875,
394
+ "logps/rejected": -1294.1851806640625,
395
+ "loss": 1.1844,
396
+ "rewards/accuracies": 0.8414062261581421,
397
+ "rewards/chosen": -3.6662063598632812,
398
+ "rewards/margins": 53.77040481567383,
399
+ "rewards/rejected": -57.436607360839844,
400
+ "step": 520
401
+ },
402
+ {
403
+ "epoch": 1.5347555555555554,
404
+ "grad_norm": 5.107513904571533,
405
+ "learning_rate": 1.3155737519115306e-06,
406
+ "logits/chosen": -1.565260887145996,
407
+ "logits/rejected": -1.5936307907104492,
408
+ "logps/chosen": -380.9848937988281,
409
+ "logps/rejected": -1163.626708984375,
410
+ "loss": 1.2198,
411
+ "rewards/accuracies": 0.8433593511581421,
412
+ "rewards/chosen": -3.710998058319092,
413
+ "rewards/margins": 47.719356536865234,
414
+ "rewards/rejected": -51.43035125732422,
415
+ "step": 540
416
+ },
417
+ {
418
+ "epoch": 1.5916444444444444,
419
+ "grad_norm": 4.466892719268799,
420
+ "learning_rate": 1.2510006661184866e-06,
421
+ "logits/chosen": -1.5557365417480469,
422
+ "logits/rejected": -1.582177996635437,
423
+ "logps/chosen": -389.8815612792969,
424
+ "logps/rejected": -1274.912841796875,
425
+ "loss": 1.1301,
426
+ "rewards/accuracies": 0.84765625,
427
+ "rewards/chosen": -4.558670997619629,
428
+ "rewards/margins": 53.85039520263672,
429
+ "rewards/rejected": -58.4090690612793,
430
+ "step": 560
431
+ },
432
+ {
433
+ "epoch": 1.6485333333333334,
434
+ "grad_norm": 4.823034763336182,
435
+ "learning_rate": 1.1842196288535226e-06,
436
+ "logits/chosen": -1.5631791353225708,
437
+ "logits/rejected": -1.5713732242584229,
438
+ "logps/chosen": -388.4598693847656,
439
+ "logps/rejected": -1245.7056884765625,
440
+ "loss": 1.2336,
441
+ "rewards/accuracies": 0.84765625,
442
+ "rewards/chosen": -4.465853691101074,
443
+ "rewards/margins": 52.74620819091797,
444
+ "rewards/rejected": -57.212059020996094,
445
+ "step": 580
446
+ },
447
+ {
448
+ "epoch": 1.7054222222222222,
449
+ "grad_norm": 4.383596420288086,
450
+ "learning_rate": 1.115650722765358e-06,
451
+ "logits/chosen": -1.4939193725585938,
452
+ "logits/rejected": -1.5414621829986572,
453
+ "logps/chosen": -392.1934509277344,
454
+ "logps/rejected": -1259.5296630859375,
455
+ "loss": 1.1556,
456
+ "rewards/accuracies": 0.853515625,
457
+ "rewards/chosen": -4.005014419555664,
458
+ "rewards/margins": 54.73443603515625,
459
+ "rewards/rejected": -58.73945236206055,
460
+ "step": 600
461
+ }
462
+ ],
463
+ "logging_steps": 20,
464
+ "max_steps": 1056,
465
+ "num_input_tokens_seen": 0,
466
+ "num_train_epochs": 3,
467
+ "save_steps": 100,
468
+ "stateful_callbacks": {
469
+ "TrainerControl": {
470
+ "args": {
471
+ "should_epoch_stop": false,
472
+ "should_evaluate": false,
473
+ "should_log": false,
474
+ "should_save": true,
475
+ "should_training_stop": false
476
+ },
477
+ "attributes": {}
478
+ }
479
+ },
480
+ "total_flos": 0.0,
481
+ "train_batch_size": 2,
482
+ "trial_name": null,
483
+ "trial_params": null
484
+ }
checkpoint-600/vocab.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-700/adapter_config.json ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alora_invocation_tokens": null,
3
+ "alpha_pattern": {},
4
+ "arrow_config": null,
5
+ "auto_mapping": {
6
+ "base_model_class": "Qwen2ForCausalLM",
7
+ "parent_library": "transformers.models.qwen2.modeling_qwen2",
8
+ "unsloth_fixed": true
9
+ },
10
+ "base_model_name_or_path": "unsloth/qwen2.5-14b-instruct-unsloth-bnb-4bit",
11
+ "bias": "none",
12
+ "corda_config": null,
13
+ "ensure_weight_tying": false,
14
+ "eva_config": null,
15
+ "exclude_modules": null,
16
+ "fan_in_fan_out": false,
17
+ "inference_mode": true,
18
+ "init_lora_weights": true,
19
+ "layer_replication": null,
20
+ "layers_pattern": null,
21
+ "layers_to_transform": null,
22
+ "loftq_config": {},
23
+ "lora_alpha": 64,
24
+ "lora_bias": false,
25
+ "lora_dropout": 0.05,
26
+ "megatron_config": null,
27
+ "megatron_core": "megatron.core",
28
+ "modules_to_save": null,
29
+ "peft_type": "LORA",
30
+ "peft_version": "0.18.0",
31
+ "qalora_group_size": 16,
32
+ "r": 32,
33
+ "rank_pattern": {},
34
+ "revision": null,
35
+ "target_modules": [
36
+ "q_proj",
37
+ "o_proj",
38
+ "v_proj",
39
+ "up_proj",
40
+ "down_proj",
41
+ "gate_proj",
42
+ "k_proj"
43
+ ],
44
+ "target_parameters": null,
45
+ "task_type": "CAUSAL_LM",
46
+ "trainable_token_indices": null,
47
+ "use_dora": false,
48
+ "use_qalora": false,
49
+ "use_rslora": false
50
+ }
checkpoint-700/chat_template.jinja ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {%- if tools %}
2
+ {{- '<|im_start|>system\n' }}
3
+ {%- if messages[0]['role'] == 'system' %}
4
+ {{- messages[0]['content'] }}
5
+ {%- else %}
6
+ {{- 'You are Qwen, created by Alibaba Cloud. You are a helpful assistant.' }}
7
+ {%- endif %}
8
+ {{- "\n\n# 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>" }}
9
+ {%- for tool in tools %}
10
+ {{- "\n" }}
11
+ {{- tool | tojson }}
12
+ {%- endfor %}
13
+ {{- "\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" }}
14
+ {%- else %}
15
+ {%- if messages[0]['role'] == 'system' %}
16
+ {{- '<|im_start|>system\n' + messages[0]['content'] + '<|im_end|>\n' }}
17
+ {%- else %}
18
+ {{- '<|im_start|>system\nYou are Qwen, created by Alibaba Cloud. You are a helpful assistant.<|im_end|>\n' }}
19
+ {%- endif %}
20
+ {%- endif %}
21
+ {%- for message in messages %}
22
+ {%- if (message.role == "user") or (message.role == "system" and not loop.first) or (message.role == "assistant" and not message.tool_calls) %}
23
+ {{- '<|im_start|>' + message.role + '\n' + message.content + '<|im_end|>' + '\n' }}
24
+ {%- elif message.role == "assistant" %}
25
+ {{- '<|im_start|>' + message.role }}
26
+ {%- if message.content %}
27
+ {{- '\n' + message.content }}
28
+ {%- endif %}
29
+ {%- for tool_call in message.tool_calls %}
30
+ {%- if tool_call.function is defined %}
31
+ {%- set tool_call = tool_call.function %}
32
+ {%- endif %}
33
+ {{- '\n<tool_call>\n{"name": "' }}
34
+ {{- tool_call.name }}
35
+ {{- '", "arguments": ' }}
36
+ {{- tool_call.arguments | tojson }}
37
+ {{- '}\n</tool_call>' }}
38
+ {%- endfor %}
39
+ {{- '<|im_end|>\n' }}
40
+ {%- elif message.role == "tool" %}
41
+ {%- if (loop.index0 == 0) or (messages[loop.index0 - 1].role != "tool") %}
42
+ {{- '<|im_start|>user' }}
43
+ {%- endif %}
44
+ {{- '\n<tool_response>\n' }}
45
+ {{- message.content }}
46
+ {{- '\n</tool_response>' }}
47
+ {%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
48
+ {{- '<|im_end|>\n' }}
49
+ {%- endif %}
50
+ {%- endif %}
51
+ {%- endfor %}
52
+ {%- if add_generation_prompt %}
53
+ {{- '<|im_start|>assistant\n' }}
54
+ {%- endif %}
checkpoint-700/special_tokens_map.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<|im_start|>",
4
+ "<|im_end|>",
5
+ "<|object_ref_start|>",
6
+ "<|object_ref_end|>",
7
+ "<|box_start|>",
8
+ "<|box_end|>",
9
+ "<|quad_start|>",
10
+ "<|quad_end|>",
11
+ "<|vision_start|>",
12
+ "<|vision_end|>",
13
+ "<|vision_pad|>",
14
+ "<|image_pad|>",
15
+ "<|video_pad|>"
16
+ ],
17
+ "eos_token": {
18
+ "content": "<|im_end|>",
19
+ "lstrip": false,
20
+ "normalized": false,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ },
24
+ "pad_token": "<|im_end|>"
25
+ }
checkpoint-700/tokenizer_config.json ADDED
@@ -0,0 +1,208 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": false,
3
+ "add_prefix_space": false,
4
+ "added_tokens_decoder": {
5
+ "151643": {
6
+ "content": "<|endoftext|>",
7
+ "lstrip": false,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ },
13
+ "151644": {
14
+ "content": "<|im_start|>",
15
+ "lstrip": false,
16
+ "normalized": false,
17
+ "rstrip": false,
18
+ "single_word": false,
19
+ "special": true
20
+ },
21
+ "151645": {
22
+ "content": "<|im_end|>",
23
+ "lstrip": false,
24
+ "normalized": false,
25
+ "rstrip": false,
26
+ "single_word": false,
27
+ "special": true
28
+ },
29
+ "151646": {
30
+ "content": "<|object_ref_start|>",
31
+ "lstrip": false,
32
+ "normalized": false,
33
+ "rstrip": false,
34
+ "single_word": false,
35
+ "special": true
36
+ },
37
+ "151647": {
38
+ "content": "<|object_ref_end|>",
39
+ "lstrip": false,
40
+ "normalized": false,
41
+ "rstrip": false,
42
+ "single_word": false,
43
+ "special": true
44
+ },
45
+ "151648": {
46
+ "content": "<|box_start|>",
47
+ "lstrip": false,
48
+ "normalized": false,
49
+ "rstrip": false,
50
+ "single_word": false,
51
+ "special": true
52
+ },
53
+ "151649": {
54
+ "content": "<|box_end|>",
55
+ "lstrip": false,
56
+ "normalized": false,
57
+ "rstrip": false,
58
+ "single_word": false,
59
+ "special": true
60
+ },
61
+ "151650": {
62
+ "content": "<|quad_start|>",
63
+ "lstrip": false,
64
+ "normalized": false,
65
+ "rstrip": false,
66
+ "single_word": false,
67
+ "special": true
68
+ },
69
+ "151651": {
70
+ "content": "<|quad_end|>",
71
+ "lstrip": false,
72
+ "normalized": false,
73
+ "rstrip": false,
74
+ "single_word": false,
75
+ "special": true
76
+ },
77
+ "151652": {
78
+ "content": "<|vision_start|>",
79
+ "lstrip": false,
80
+ "normalized": false,
81
+ "rstrip": false,
82
+ "single_word": false,
83
+ "special": true
84
+ },
85
+ "151653": {
86
+ "content": "<|vision_end|>",
87
+ "lstrip": false,
88
+ "normalized": false,
89
+ "rstrip": false,
90
+ "single_word": false,
91
+ "special": true
92
+ },
93
+ "151654": {
94
+ "content": "<|vision_pad|>",
95
+ "lstrip": false,
96
+ "normalized": false,
97
+ "rstrip": false,
98
+ "single_word": false,
99
+ "special": true
100
+ },
101
+ "151655": {
102
+ "content": "<|image_pad|>",
103
+ "lstrip": false,
104
+ "normalized": false,
105
+ "rstrip": false,
106
+ "single_word": false,
107
+ "special": true
108
+ },
109
+ "151656": {
110
+ "content": "<|video_pad|>",
111
+ "lstrip": false,
112
+ "normalized": false,
113
+ "rstrip": false,
114
+ "single_word": false,
115
+ "special": true
116
+ },
117
+ "151657": {
118
+ "content": "<tool_call>",
119
+ "lstrip": false,
120
+ "normalized": false,
121
+ "rstrip": false,
122
+ "single_word": false,
123
+ "special": false
124
+ },
125
+ "151658": {
126
+ "content": "</tool_call>",
127
+ "lstrip": false,
128
+ "normalized": false,
129
+ "rstrip": false,
130
+ "single_word": false,
131
+ "special": false
132
+ },
133
+ "151659": {
134
+ "content": "<|fim_prefix|>",
135
+ "lstrip": false,
136
+ "normalized": false,
137
+ "rstrip": false,
138
+ "single_word": false,
139
+ "special": false
140
+ },
141
+ "151660": {
142
+ "content": "<|fim_middle|>",
143
+ "lstrip": false,
144
+ "normalized": false,
145
+ "rstrip": false,
146
+ "single_word": false,
147
+ "special": false
148
+ },
149
+ "151661": {
150
+ "content": "<|fim_suffix|>",
151
+ "lstrip": false,
152
+ "normalized": false,
153
+ "rstrip": false,
154
+ "single_word": false,
155
+ "special": false
156
+ },
157
+ "151662": {
158
+ "content": "<|fim_pad|>",
159
+ "lstrip": false,
160
+ "normalized": false,
161
+ "rstrip": false,
162
+ "single_word": false,
163
+ "special": false
164
+ },
165
+ "151663": {
166
+ "content": "<|repo_name|>",
167
+ "lstrip": false,
168
+ "normalized": false,
169
+ "rstrip": false,
170
+ "single_word": false,
171
+ "special": false
172
+ },
173
+ "151664": {
174
+ "content": "<|file_sep|>",
175
+ "lstrip": false,
176
+ "normalized": false,
177
+ "rstrip": false,
178
+ "single_word": false,
179
+ "special": false
180
+ }
181
+ },
182
+ "additional_special_tokens": [
183
+ "<|im_start|>",
184
+ "<|im_end|>",
185
+ "<|object_ref_start|>",
186
+ "<|object_ref_end|>",
187
+ "<|box_start|>",
188
+ "<|box_end|>",
189
+ "<|quad_start|>",
190
+ "<|quad_end|>",
191
+ "<|vision_start|>",
192
+ "<|vision_end|>",
193
+ "<|vision_pad|>",
194
+ "<|image_pad|>",
195
+ "<|video_pad|>"
196
+ ],
197
+ "bos_token": null,
198
+ "clean_up_tokenization_spaces": false,
199
+ "eos_token": "<|im_end|>",
200
+ "errors": "replace",
201
+ "extra_special_tokens": {},
202
+ "model_max_length": 2048,
203
+ "pad_token": "<|im_end|>",
204
+ "padding_side": "right",
205
+ "split_special_tokens": false,
206
+ "tokenizer_class": "Qwen2Tokenizer",
207
+ "unk_token": null
208
+ }
checkpoint-700/trainer_state.json ADDED
@@ -0,0 +1,559 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 1.9898666666666667,
6
+ "eval_steps": 500,
7
+ "global_step": 700,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "epoch": 0.05688888888888889,
14
+ "grad_norm": 25.723350524902344,
15
+ "learning_rate": 1.2954545454545456e-07,
16
+ "logits/chosen": -0.7062767744064331,
17
+ "logits/rejected": -0.6522080898284912,
18
+ "logps/chosen": -340.785888671875,
19
+ "logps/rejected": -653.7647705078125,
20
+ "loss": 4.7628,
21
+ "rewards/accuracies": 0.4468750059604645,
22
+ "rewards/chosen": 0.001610723091289401,
23
+ "rewards/margins": 0.006242862902581692,
24
+ "rewards/rejected": -0.004632140044122934,
25
+ "step": 20
26
+ },
27
+ {
28
+ "epoch": 0.11377777777777778,
29
+ "grad_norm": 15.587135314941406,
30
+ "learning_rate": 2.6590909090909093e-07,
31
+ "logits/chosen": -0.678135871887207,
32
+ "logits/rejected": -0.6651075482368469,
33
+ "logps/chosen": -347.43890380859375,
34
+ "logps/rejected": -708.3135986328125,
35
+ "loss": 4.8391,
36
+ "rewards/accuracies": 0.522265613079071,
37
+ "rewards/chosen": 0.0011627988424152136,
38
+ "rewards/margins": 0.010068175382912159,
39
+ "rewards/rejected": -0.008905376307666302,
40
+ "step": 40
41
+ },
42
+ {
43
+ "epoch": 0.17066666666666666,
44
+ "grad_norm": 19.355424880981445,
45
+ "learning_rate": 4.0227272727272725e-07,
46
+ "logits/chosen": -0.6907597184181213,
47
+ "logits/rejected": -0.6496841907501221,
48
+ "logps/chosen": -341.603759765625,
49
+ "logps/rejected": -661.4761962890625,
50
+ "loss": 4.863,
51
+ "rewards/accuracies": 0.528515636920929,
52
+ "rewards/chosen": -0.0007408790988847613,
53
+ "rewards/margins": 0.02941317856311798,
54
+ "rewards/rejected": -0.030154060572385788,
55
+ "step": 60
56
+ },
57
+ {
58
+ "epoch": 0.22755555555555557,
59
+ "grad_norm": 22.927623748779297,
60
+ "learning_rate": 5.386363636363637e-07,
61
+ "logits/chosen": -0.6875197887420654,
62
+ "logits/rejected": -0.6486619710922241,
63
+ "logps/chosen": -345.1783142089844,
64
+ "logps/rejected": -661.5092163085938,
65
+ "loss": 4.7676,
66
+ "rewards/accuracies": 0.61328125,
67
+ "rewards/chosen": 0.011638931930065155,
68
+ "rewards/margins": 0.1211162656545639,
69
+ "rewards/rejected": -0.10947732627391815,
70
+ "step": 80
71
+ },
72
+ {
73
+ "epoch": 0.28444444444444444,
74
+ "grad_norm": 20.672826766967773,
75
+ "learning_rate": 6.75e-07,
76
+ "logits/chosen": -0.6816097497940063,
77
+ "logits/rejected": -0.6414457559585571,
78
+ "logps/chosen": -344.27825927734375,
79
+ "logps/rejected": -658.2562255859375,
80
+ "loss": 4.56,
81
+ "rewards/accuracies": 0.647656261920929,
82
+ "rewards/chosen": 0.04126482084393501,
83
+ "rewards/margins": 0.30062881112098694,
84
+ "rewards/rejected": -0.2593640089035034,
85
+ "step": 100
86
+ },
87
+ {
88
+ "epoch": 0.3413333333333333,
89
+ "grad_norm": 13.753314971923828,
90
+ "learning_rate": 8.113636363636363e-07,
91
+ "logits/chosen": -0.6626165509223938,
92
+ "logits/rejected": -0.642012357711792,
93
+ "logps/chosen": -342.14031982421875,
94
+ "logps/rejected": -667.3262939453125,
95
+ "loss": 4.3726,
96
+ "rewards/accuracies": 0.6734374761581421,
97
+ "rewards/chosen": 0.10678935050964355,
98
+ "rewards/margins": 0.6032775640487671,
99
+ "rewards/rejected": -0.4964882731437683,
100
+ "step": 120
101
+ },
102
+ {
103
+ "epoch": 0.3982222222222222,
104
+ "grad_norm": 7.477163791656494,
105
+ "learning_rate": 9.477272727272726e-07,
106
+ "logits/chosen": -0.6697568297386169,
107
+ "logits/rejected": -0.6643576622009277,
108
+ "logps/chosen": -343.89959716796875,
109
+ "logps/rejected": -715.9915161132812,
110
+ "loss": 4.0971,
111
+ "rewards/accuracies": 0.7171875238418579,
112
+ "rewards/chosen": 0.21032771468162537,
113
+ "rewards/margins": 1.4638903141021729,
114
+ "rewards/rejected": -1.253562569618225,
115
+ "step": 140
116
+ },
117
+ {
118
+ "epoch": 0.45511111111111113,
119
+ "grad_norm": 8.21181869506836,
120
+ "learning_rate": 1.0840909090909092e-06,
121
+ "logits/chosen": -0.6967095136642456,
122
+ "logits/rejected": -0.681812047958374,
123
+ "logps/chosen": -340.03509521484375,
124
+ "logps/rejected": -682.7234497070312,
125
+ "loss": 4.1412,
126
+ "rewards/accuracies": 0.742968738079071,
127
+ "rewards/chosen": 0.3784622550010681,
128
+ "rewards/margins": 2.152285099029541,
129
+ "rewards/rejected": -1.7738231420516968,
130
+ "step": 160
131
+ },
132
+ {
133
+ "epoch": 0.512,
134
+ "grad_norm": 6.915646076202393,
135
+ "learning_rate": 1.2204545454545454e-06,
136
+ "logits/chosen": -0.6905465722084045,
137
+ "logits/rejected": -0.6835938692092896,
138
+ "logps/chosen": -337.03912353515625,
139
+ "logps/rejected": -689.4818725585938,
140
+ "loss": 3.7365,
141
+ "rewards/accuracies": 0.7515624761581421,
142
+ "rewards/chosen": 0.5243303775787354,
143
+ "rewards/margins": 3.7261250019073486,
144
+ "rewards/rejected": -3.2017948627471924,
145
+ "step": 180
146
+ },
147
+ {
148
+ "epoch": 0.5688888888888889,
149
+ "grad_norm": 6.492739200592041,
150
+ "learning_rate": 1.3568181818181818e-06,
151
+ "logits/chosen": -0.750757098197937,
152
+ "logits/rejected": -0.7309343814849854,
153
+ "logps/chosen": -339.7341003417969,
154
+ "logps/rejected": -700.2279663085938,
155
+ "loss": 3.7081,
156
+ "rewards/accuracies": 0.791796863079071,
157
+ "rewards/chosen": 0.37986624240875244,
158
+ "rewards/margins": 5.3291778564453125,
159
+ "rewards/rejected": -4.94931173324585,
160
+ "step": 200
161
+ },
162
+ {
163
+ "epoch": 0.6257777777777778,
164
+ "grad_norm": 5.47404670715332,
165
+ "learning_rate": 1.4931818181818182e-06,
166
+ "logits/chosen": -0.7830198407173157,
167
+ "logits/rejected": -0.7797198295593262,
168
+ "logps/chosen": -347.9498596191406,
169
+ "logps/rejected": -765.7747192382812,
170
+ "loss": 3.1446,
171
+ "rewards/accuracies": 0.7847656011581421,
172
+ "rewards/chosen": 0.12148561328649521,
173
+ "rewards/margins": 7.9653730392456055,
174
+ "rewards/rejected": -7.843888282775879,
175
+ "step": 220
176
+ },
177
+ {
178
+ "epoch": 0.6826666666666666,
179
+ "grad_norm": 7.549896240234375,
180
+ "learning_rate": 1.6295454545454544e-06,
181
+ "logits/chosen": -0.9069732427597046,
182
+ "logits/rejected": -0.9081719517707825,
183
+ "logps/chosen": -359.0387268066406,
184
+ "logps/rejected": -788.9415283203125,
185
+ "loss": 2.8459,
186
+ "rewards/accuracies": 0.801953136920929,
187
+ "rewards/chosen": -0.5870370268821716,
188
+ "rewards/margins": 11.03849983215332,
189
+ "rewards/rejected": -11.625536918640137,
190
+ "step": 240
191
+ },
192
+ {
193
+ "epoch": 0.7395555555555555,
194
+ "grad_norm": 6.950064182281494,
195
+ "learning_rate": 1.7659090909090909e-06,
196
+ "logits/chosen": -1.0507304668426514,
197
+ "logits/rejected": -1.0437712669372559,
198
+ "logps/chosen": -363.00946044921875,
199
+ "logps/rejected": -855.9450073242188,
200
+ "loss": 2.3475,
201
+ "rewards/accuracies": 0.7890625,
202
+ "rewards/chosen": -1.7975599765777588,
203
+ "rewards/margins": 15.68769645690918,
204
+ "rewards/rejected": -17.48525619506836,
205
+ "step": 260
206
+ },
207
+ {
208
+ "epoch": 0.7964444444444444,
209
+ "grad_norm": 7.705135822296143,
210
+ "learning_rate": 1.7984073648922751e-06,
211
+ "logits/chosen": -1.271202802658081,
212
+ "logits/rejected": -1.2308619022369385,
213
+ "logps/chosen": -372.968017578125,
214
+ "logps/rejected": -874.5939331054688,
215
+ "loss": 2.0129,
216
+ "rewards/accuracies": 0.7964843511581421,
217
+ "rewards/chosen": -2.9631118774414062,
218
+ "rewards/margins": 19.912986755371094,
219
+ "rewards/rejected": -22.876102447509766,
220
+ "step": 280
221
+ },
222
+ {
223
+ "epoch": 0.8533333333333334,
224
+ "grad_norm": 12.216048240661621,
225
+ "learning_rate": 1.7913403507563104e-06,
226
+ "logits/chosen": -1.400701880455017,
227
+ "logits/rejected": -1.363081455230713,
228
+ "logps/chosen": -379.55963134765625,
229
+ "logps/rejected": -1006.6408081054688,
230
+ "loss": 1.8445,
231
+ "rewards/accuracies": 0.805468738079071,
232
+ "rewards/chosen": -3.517793655395508,
233
+ "rewards/margins": 27.90765380859375,
234
+ "rewards/rejected": -31.42544937133789,
235
+ "step": 300
236
+ },
237
+ {
238
+ "epoch": 0.9102222222222223,
239
+ "grad_norm": 5.293786525726318,
240
+ "learning_rate": 1.7786664064079399e-06,
241
+ "logits/chosen": -1.4596669673919678,
242
+ "logits/rejected": -1.4353153705596924,
243
+ "logps/chosen": -385.25439453125,
244
+ "logps/rejected": -1005.0475463867188,
245
+ "loss": 1.5993,
246
+ "rewards/accuracies": 0.823437511920929,
247
+ "rewards/chosen": -3.530385971069336,
248
+ "rewards/margins": 30.658462524414062,
249
+ "rewards/rejected": -34.18885040283203,
250
+ "step": 320
251
+ },
252
+ {
253
+ "epoch": 0.9671111111111111,
254
+ "grad_norm": 5.214448928833008,
255
+ "learning_rate": 1.7604652566362601e-06,
256
+ "logits/chosen": -1.4935115575790405,
257
+ "logits/rejected": -1.4993070363998413,
258
+ "logps/chosen": -374.81219482421875,
259
+ "logps/rejected": -1065.3048095703125,
260
+ "loss": 1.4563,
261
+ "rewards/accuracies": 0.8140624761581421,
262
+ "rewards/chosen": -3.6835930347442627,
263
+ "rewards/margins": 35.69647979736328,
264
+ "rewards/rejected": -39.38006591796875,
265
+ "step": 340
266
+ },
267
+ {
268
+ "epoch": 1.0227555555555556,
269
+ "grad_norm": 5.167357921600342,
270
+ "learning_rate": 1.7368513948291994e-06,
271
+ "logits/chosen": -1.5450448989868164,
272
+ "logits/rejected": -1.5312340259552002,
273
+ "logps/chosen": -390.2657165527344,
274
+ "logps/rejected": -1115.527587890625,
275
+ "loss": 1.4704,
276
+ "rewards/accuracies": 0.8154951930046082,
277
+ "rewards/chosen": -3.921747922897339,
278
+ "rewards/margins": 38.49018096923828,
279
+ "rewards/rejected": -42.411930084228516,
280
+ "step": 360
281
+ },
282
+ {
283
+ "epoch": 1.0796444444444444,
284
+ "grad_norm": 4.9285407066345215,
285
+ "learning_rate": 1.707973362758804e-06,
286
+ "logits/chosen": -1.5365326404571533,
287
+ "logits/rejected": -1.5479919910430908,
288
+ "logps/chosen": -379.05078125,
289
+ "logps/rejected": -1110.8424072265625,
290
+ "loss": 1.524,
291
+ "rewards/accuracies": 0.815625011920929,
292
+ "rewards/chosen": -3.505291700363159,
293
+ "rewards/margins": 39.89087677001953,
294
+ "rewards/rejected": -43.39616775512695,
295
+ "step": 380
296
+ },
297
+ {
298
+ "epoch": 1.1365333333333334,
299
+ "grad_norm": 4.965682029724121,
300
+ "learning_rate": 1.6740128161869303e-06,
301
+ "logits/chosen": -1.5383026599884033,
302
+ "logits/rejected": -1.5448668003082275,
303
+ "logps/chosen": -375.23004150390625,
304
+ "logps/rejected": -1089.509033203125,
305
+ "loss": 1.2728,
306
+ "rewards/accuracies": 0.83984375,
307
+ "rewards/chosen": -3.8725147247314453,
308
+ "rewards/margins": 40.29158401489258,
309
+ "rewards/rejected": -44.164100646972656,
310
+ "step": 400
311
+ },
312
+ {
313
+ "epoch": 1.1934222222222222,
314
+ "grad_norm": 4.170207500457764,
315
+ "learning_rate": 1.635183382169105e-06,
316
+ "logits/chosen": -1.6174129247665405,
317
+ "logits/rejected": -1.598515272140503,
318
+ "logps/chosen": -385.2093200683594,
319
+ "logps/rejected": -1157.7808837890625,
320
+ "loss": 1.2895,
321
+ "rewards/accuracies": 0.830859363079071,
322
+ "rewards/chosen": -4.239663600921631,
323
+ "rewards/margins": 44.047298431396484,
324
+ "rewards/rejected": -48.28696823120117,
325
+ "step": 420
326
+ },
327
+ {
328
+ "epoch": 1.2503111111111112,
329
+ "grad_norm": 4.982669353485107,
330
+ "learning_rate": 1.5917293152446181e-06,
331
+ "logits/chosen": -1.6095243692398071,
332
+ "logits/rejected": -1.6014487743377686,
333
+ "logps/chosen": -391.41705322265625,
334
+ "logps/rejected": -1123.428466796875,
335
+ "loss": 1.3683,
336
+ "rewards/accuracies": 0.835156261920929,
337
+ "rewards/chosen": -4.419755458831787,
338
+ "rewards/margins": 43.6191520690918,
339
+ "rewards/rejected": -48.03890609741211,
340
+ "step": 440
341
+ },
342
+ {
343
+ "epoch": 1.3072,
344
+ "grad_norm": 5.365580081939697,
345
+ "learning_rate": 1.5439239609660238e-06,
346
+ "logits/chosen": -1.55153489112854,
347
+ "logits/rejected": -1.5819648504257202,
348
+ "logps/chosen": -379.72222900390625,
349
+ "logps/rejected": -1220.7442626953125,
350
+ "loss": 1.3303,
351
+ "rewards/accuracies": 0.8285156488418579,
352
+ "rewards/chosen": -3.9600634574890137,
353
+ "rewards/margins": 50.48019790649414,
354
+ "rewards/rejected": -54.44025421142578,
355
+ "step": 460
356
+ },
357
+ {
358
+ "epoch": 1.364088888888889,
359
+ "grad_norm": 5.603168964385986,
360
+ "learning_rate": 1.492068036433128e-06,
361
+ "logits/chosen": -1.5621448755264282,
362
+ "logits/rejected": -1.5893001556396484,
363
+ "logps/chosen": -379.4105224609375,
364
+ "logps/rejected": -1226.2530517578125,
365
+ "loss": 1.3152,
366
+ "rewards/accuracies": 0.837890625,
367
+ "rewards/chosen": -3.8145880699157715,
368
+ "rewards/margins": 50.653114318847656,
369
+ "rewards/rejected": -54.46770095825195,
370
+ "step": 480
371
+ },
372
+ {
373
+ "epoch": 1.420977777777778,
374
+ "grad_norm": 7.285942554473877,
375
+ "learning_rate": 1.4364877386476803e-06,
376
+ "logits/chosen": -1.5568413734436035,
377
+ "logits/rejected": -1.5949300527572632,
378
+ "logps/chosen": -391.8574523925781,
379
+ "logps/rejected": -1221.8057861328125,
380
+ "loss": 1.3131,
381
+ "rewards/accuracies": 0.837109386920929,
382
+ "rewards/chosen": -4.1453447341918945,
383
+ "rewards/margins": 51.3240966796875,
384
+ "rewards/rejected": -55.46944046020508,
385
+ "step": 500
386
+ },
387
+ {
388
+ "epoch": 1.4778666666666667,
389
+ "grad_norm": 5.188837051391602,
390
+ "learning_rate": 1.3775326925880672e-06,
391
+ "logits/chosen": -1.5099071264266968,
392
+ "logits/rejected": -1.538757562637329,
393
+ "logps/chosen": -382.1160888671875,
394
+ "logps/rejected": -1294.1851806640625,
395
+ "loss": 1.1844,
396
+ "rewards/accuracies": 0.8414062261581421,
397
+ "rewards/chosen": -3.6662063598632812,
398
+ "rewards/margins": 53.77040481567383,
399
+ "rewards/rejected": -57.436607360839844,
400
+ "step": 520
401
+ },
402
+ {
403
+ "epoch": 1.5347555555555554,
404
+ "grad_norm": 5.107513904571533,
405
+ "learning_rate": 1.3155737519115306e-06,
406
+ "logits/chosen": -1.565260887145996,
407
+ "logits/rejected": -1.5936307907104492,
408
+ "logps/chosen": -380.9848937988281,
409
+ "logps/rejected": -1163.626708984375,
410
+ "loss": 1.2198,
411
+ "rewards/accuracies": 0.8433593511581421,
412
+ "rewards/chosen": -3.710998058319092,
413
+ "rewards/margins": 47.719356536865234,
414
+ "rewards/rejected": -51.43035125732422,
415
+ "step": 540
416
+ },
417
+ {
418
+ "epoch": 1.5916444444444444,
419
+ "grad_norm": 4.466892719268799,
420
+ "learning_rate": 1.2510006661184866e-06,
421
+ "logits/chosen": -1.5557365417480469,
422
+ "logits/rejected": -1.582177996635437,
423
+ "logps/chosen": -389.8815612792969,
424
+ "logps/rejected": -1274.912841796875,
425
+ "loss": 1.1301,
426
+ "rewards/accuracies": 0.84765625,
427
+ "rewards/chosen": -4.558670997619629,
428
+ "rewards/margins": 53.85039520263672,
429
+ "rewards/rejected": -58.4090690612793,
430
+ "step": 560
431
+ },
432
+ {
433
+ "epoch": 1.6485333333333334,
434
+ "grad_norm": 4.823034763336182,
435
+ "learning_rate": 1.1842196288535226e-06,
436
+ "logits/chosen": -1.5631791353225708,
437
+ "logits/rejected": -1.5713732242584229,
438
+ "logps/chosen": -388.4598693847656,
439
+ "logps/rejected": -1245.7056884765625,
440
+ "loss": 1.2336,
441
+ "rewards/accuracies": 0.84765625,
442
+ "rewards/chosen": -4.465853691101074,
443
+ "rewards/margins": 52.74620819091797,
444
+ "rewards/rejected": -57.212059020996094,
445
+ "step": 580
446
+ },
447
+ {
448
+ "epoch": 1.7054222222222222,
449
+ "grad_norm": 4.383596420288086,
450
+ "learning_rate": 1.115650722765358e-06,
451
+ "logits/chosen": -1.4939193725585938,
452
+ "logits/rejected": -1.5414621829986572,
453
+ "logps/chosen": -392.1934509277344,
454
+ "logps/rejected": -1259.5296630859375,
455
+ "loss": 1.1556,
456
+ "rewards/accuracies": 0.853515625,
457
+ "rewards/chosen": -4.005014419555664,
458
+ "rewards/margins": 54.73443603515625,
459
+ "rewards/rejected": -58.73945236206055,
460
+ "step": 600
461
+ },
462
+ {
463
+ "epoch": 1.7623111111111112,
464
+ "grad_norm": 4.128599643707275,
465
+ "learning_rate": 1.0457252769987484e-06,
466
+ "logits/chosen": -1.4883978366851807,
467
+ "logits/rejected": -1.5312236547470093,
468
+ "logps/chosen": -384.2289733886719,
469
+ "logps/rejected": -1305.6707763671875,
470
+ "loss": 1.1712,
471
+ "rewards/accuracies": 0.8433593511581421,
472
+ "rewards/chosen": -3.6986148357391357,
473
+ "rewards/margins": 56.77925491333008,
474
+ "rewards/rejected": -60.477867126464844,
475
+ "step": 620
476
+ },
477
+ {
478
+ "epoch": 1.8192,
479
+ "grad_norm": 6.113862037658691,
480
+ "learning_rate": 9.74883153940886e-07,
481
+ "logits/chosen": -1.49406099319458,
482
+ "logits/rejected": -1.5339412689208984,
483
+ "logps/chosen": -383.2894287109375,
484
+ "logps/rejected": -1249.376953125,
485
+ "loss": 1.1426,
486
+ "rewards/accuracies": 0.86328125,
487
+ "rewards/chosen": -4.020669937133789,
488
+ "rewards/margins": 53.08935546875,
489
+ "rewards/rejected": -57.110023498535156,
490
+ "step": 640
491
+ },
492
+ {
493
+ "epoch": 1.876088888888889,
494
+ "grad_norm": 5.948381423950195,
495
+ "learning_rate": 9.03569982289885e-07,
496
+ "logits/chosen": -1.5656105279922485,
497
+ "logits/rejected": -1.5601282119750977,
498
+ "logps/chosen": -395.3358154296875,
499
+ "logps/rejected": -1181.269775390625,
500
+ "loss": 1.1806,
501
+ "rewards/accuracies": 0.8492187261581421,
502
+ "rewards/chosen": -4.2404961585998535,
503
+ "rewards/margins": 49.447227478027344,
504
+ "rewards/rejected": -53.6877326965332,
505
+ "step": 660
506
+ },
507
+ {
508
+ "epoch": 1.932977777777778,
509
+ "grad_norm": 5.629128932952881,
510
+ "learning_rate": 8.322343538505857e-07,
511
+ "logits/chosen": -1.5090030431747437,
512
+ "logits/rejected": -1.533573865890503,
513
+ "logps/chosen": -383.603759765625,
514
+ "logps/rejected": -1244.2327880859375,
515
+ "loss": 1.0988,
516
+ "rewards/accuracies": 0.866406261920929,
517
+ "rewards/chosen": -4.081192970275879,
518
+ "rewards/margins": 53.2569580078125,
519
+ "rewards/rejected": -57.3381462097168,
520
+ "step": 680
521
+ },
522
+ {
523
+ "epoch": 1.9898666666666667,
524
+ "grad_norm": 7.586100101470947,
525
+ "learning_rate": 7.613250016910891e-07,
526
+ "logits/chosen": -1.5487099885940552,
527
+ "logits/rejected": -1.584081768989563,
528
+ "logps/chosen": -376.0309753417969,
529
+ "logps/rejected": -1187.498779296875,
530
+ "loss": 1.2131,
531
+ "rewards/accuracies": 0.854296863079071,
532
+ "rewards/chosen": -3.9285030364990234,
533
+ "rewards/margins": 52.20911407470703,
534
+ "rewards/rejected": -56.13761520385742,
535
+ "step": 700
536
+ }
537
+ ],
538
+ "logging_steps": 20,
539
+ "max_steps": 1056,
540
+ "num_input_tokens_seen": 0,
541
+ "num_train_epochs": 3,
542
+ "save_steps": 100,
543
+ "stateful_callbacks": {
544
+ "TrainerControl": {
545
+ "args": {
546
+ "should_epoch_stop": false,
547
+ "should_evaluate": false,
548
+ "should_log": false,
549
+ "should_save": true,
550
+ "should_training_stop": false
551
+ },
552
+ "attributes": {}
553
+ }
554
+ },
555
+ "total_flos": 0.0,
556
+ "train_batch_size": 2,
557
+ "trial_name": null,
558
+ "trial_params": null
559
+ }
checkpoint-700/vocab.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-800/README.md ADDED
@@ -0,0 +1,210 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: unsloth/qwen2.5-14b-instruct-unsloth-bnb-4bit
3
+ library_name: peft
4
+ pipeline_tag: text-generation
5
+ tags:
6
+ - base_model:adapter:unsloth/qwen2.5-14b-instruct-unsloth-bnb-4bit
7
+ - dpo
8
+ - lora
9
+ - transformers
10
+ - trl
11
+ - unsloth
12
+ ---
13
+
14
+ # Model Card for Model ID
15
+
16
+ <!-- Provide a quick summary of what the model is/does. -->
17
+
18
+
19
+
20
+ ## Model Details
21
+
22
+ ### Model Description
23
+
24
+ <!-- Provide a longer summary of what this model is. -->
25
+
26
+
27
+
28
+ - **Developed by:** [More Information Needed]
29
+ - **Funded by [optional]:** [More Information Needed]
30
+ - **Shared by [optional]:** [More Information Needed]
31
+ - **Model type:** [More Information Needed]
32
+ - **Language(s) (NLP):** [More Information Needed]
33
+ - **License:** [More Information Needed]
34
+ - **Finetuned from model [optional]:** [More Information Needed]
35
+
36
+ ### Model Sources [optional]
37
+
38
+ <!-- Provide the basic links for the model. -->
39
+
40
+ - **Repository:** [More Information Needed]
41
+ - **Paper [optional]:** [More Information Needed]
42
+ - **Demo [optional]:** [More Information Needed]
43
+
44
+ ## Uses
45
+
46
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
47
+
48
+ ### Direct Use
49
+
50
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
51
+
52
+ [More Information Needed]
53
+
54
+ ### Downstream Use [optional]
55
+
56
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
57
+
58
+ [More Information Needed]
59
+
60
+ ### Out-of-Scope Use
61
+
62
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
63
+
64
+ [More Information Needed]
65
+
66
+ ## Bias, Risks, and Limitations
67
+
68
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
69
+
70
+ [More Information Needed]
71
+
72
+ ### Recommendations
73
+
74
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
75
+
76
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
77
+
78
+ ## How to Get Started with the Model
79
+
80
+ Use the code below to get started with the model.
81
+
82
+ [More Information Needed]
83
+
84
+ ## Training Details
85
+
86
+ ### Training Data
87
+
88
+ <!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
89
+
90
+ [More Information Needed]
91
+
92
+ ### Training Procedure
93
+
94
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
95
+
96
+ #### Preprocessing [optional]
97
+
98
+ [More Information Needed]
99
+
100
+
101
+ #### Training Hyperparameters
102
+
103
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
104
+
105
+ #### Speeds, Sizes, Times [optional]
106
+
107
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
108
+
109
+ [More Information Needed]
110
+
111
+ ## Evaluation
112
+
113
+ <!-- This section describes the evaluation protocols and provides the results. -->
114
+
115
+ ### Testing Data, Factors & Metrics
116
+
117
+ #### Testing Data
118
+
119
+ <!-- This should link to a Dataset Card if possible. -->
120
+
121
+ [More Information Needed]
122
+
123
+ #### Factors
124
+
125
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
126
+
127
+ [More Information Needed]
128
+
129
+ #### Metrics
130
+
131
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
132
+
133
+ [More Information Needed]
134
+
135
+ ### Results
136
+
137
+ [More Information Needed]
138
+
139
+ #### Summary
140
+
141
+
142
+
143
+ ## Model Examination [optional]
144
+
145
+ <!-- Relevant interpretability work for the model goes here -->
146
+
147
+ [More Information Needed]
148
+
149
+ ## Environmental Impact
150
+
151
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
152
+
153
+ Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
154
+
155
+ - **Hardware Type:** [More Information Needed]
156
+ - **Hours used:** [More Information Needed]
157
+ - **Cloud Provider:** [More Information Needed]
158
+ - **Compute Region:** [More Information Needed]
159
+ - **Carbon Emitted:** [More Information Needed]
160
+
161
+ ## Technical Specifications [optional]
162
+
163
+ ### Model Architecture and Objective
164
+
165
+ [More Information Needed]
166
+
167
+ ### Compute Infrastructure
168
+
169
+ [More Information Needed]
170
+
171
+ #### Hardware
172
+
173
+ [More Information Needed]
174
+
175
+ #### Software
176
+
177
+ [More Information Needed]
178
+
179
+ ## Citation [optional]
180
+
181
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
182
+
183
+ **BibTeX:**
184
+
185
+ [More Information Needed]
186
+
187
+ **APA:**
188
+
189
+ [More Information Needed]
190
+
191
+ ## Glossary [optional]
192
+
193
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
194
+
195
+ [More Information Needed]
196
+
197
+ ## More Information [optional]
198
+
199
+ [More Information Needed]
200
+
201
+ ## Model Card Authors [optional]
202
+
203
+ [More Information Needed]
204
+
205
+ ## Model Card Contact
206
+
207
+ [More Information Needed]
208
+ ### Framework versions
209
+
210
+ - PEFT 0.18.0
checkpoint-800/adapter_config.json ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alora_invocation_tokens": null,
3
+ "alpha_pattern": {},
4
+ "arrow_config": null,
5
+ "auto_mapping": {
6
+ "base_model_class": "Qwen2ForCausalLM",
7
+ "parent_library": "transformers.models.qwen2.modeling_qwen2",
8
+ "unsloth_fixed": true
9
+ },
10
+ "base_model_name_or_path": "unsloth/qwen2.5-14b-instruct-unsloth-bnb-4bit",
11
+ "bias": "none",
12
+ "corda_config": null,
13
+ "ensure_weight_tying": false,
14
+ "eva_config": null,
15
+ "exclude_modules": null,
16
+ "fan_in_fan_out": false,
17
+ "inference_mode": true,
18
+ "init_lora_weights": true,
19
+ "layer_replication": null,
20
+ "layers_pattern": null,
21
+ "layers_to_transform": null,
22
+ "loftq_config": {},
23
+ "lora_alpha": 64,
24
+ "lora_bias": false,
25
+ "lora_dropout": 0.05,
26
+ "megatron_config": null,
27
+ "megatron_core": "megatron.core",
28
+ "modules_to_save": null,
29
+ "peft_type": "LORA",
30
+ "peft_version": "0.18.0",
31
+ "qalora_group_size": 16,
32
+ "r": 32,
33
+ "rank_pattern": {},
34
+ "revision": null,
35
+ "target_modules": [
36
+ "q_proj",
37
+ "o_proj",
38
+ "v_proj",
39
+ "up_proj",
40
+ "down_proj",
41
+ "gate_proj",
42
+ "k_proj"
43
+ ],
44
+ "target_parameters": null,
45
+ "task_type": "CAUSAL_LM",
46
+ "trainable_token_indices": null,
47
+ "use_dora": false,
48
+ "use_qalora": false,
49
+ "use_rslora": false
50
+ }
checkpoint-800/added_tokens.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "</tool_call>": 151658,
3
+ "<tool_call>": 151657,
4
+ "<|box_end|>": 151649,
5
+ "<|box_start|>": 151648,
6
+ "<|endoftext|>": 151643,
7
+ "<|file_sep|>": 151664,
8
+ "<|fim_middle|>": 151660,
9
+ "<|fim_pad|>": 151662,
10
+ "<|fim_prefix|>": 151659,
11
+ "<|fim_suffix|>": 151661,
12
+ "<|im_end|>": 151645,
13
+ "<|im_start|>": 151644,
14
+ "<|image_pad|>": 151655,
15
+ "<|object_ref_end|>": 151647,
16
+ "<|object_ref_start|>": 151646,
17
+ "<|quad_end|>": 151651,
18
+ "<|quad_start|>": 151650,
19
+ "<|repo_name|>": 151663,
20
+ "<|video_pad|>": 151656,
21
+ "<|vision_end|>": 151653,
22
+ "<|vision_pad|>": 151654,
23
+ "<|vision_start|>": 151652
24
+ }
checkpoint-800/chat_template.jinja ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {%- if tools %}
2
+ {{- '<|im_start|>system\n' }}
3
+ {%- if messages[0]['role'] == 'system' %}
4
+ {{- messages[0]['content'] }}
5
+ {%- else %}
6
+ {{- 'You are Qwen, created by Alibaba Cloud. You are a helpful assistant.' }}
7
+ {%- endif %}
8
+ {{- "\n\n# 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>" }}
9
+ {%- for tool in tools %}
10
+ {{- "\n" }}
11
+ {{- tool | tojson }}
12
+ {%- endfor %}
13
+ {{- "\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" }}
14
+ {%- else %}
15
+ {%- if messages[0]['role'] == 'system' %}
16
+ {{- '<|im_start|>system\n' + messages[0]['content'] + '<|im_end|>\n' }}
17
+ {%- else %}
18
+ {{- '<|im_start|>system\nYou are Qwen, created by Alibaba Cloud. You are a helpful assistant.<|im_end|>\n' }}
19
+ {%- endif %}
20
+ {%- endif %}
21
+ {%- for message in messages %}
22
+ {%- if (message.role == "user") or (message.role == "system" and not loop.first) or (message.role == "assistant" and not message.tool_calls) %}
23
+ {{- '<|im_start|>' + message.role + '\n' + message.content + '<|im_end|>' + '\n' }}
24
+ {%- elif message.role == "assistant" %}
25
+ {{- '<|im_start|>' + message.role }}
26
+ {%- if message.content %}
27
+ {{- '\n' + message.content }}
28
+ {%- endif %}
29
+ {%- for tool_call in message.tool_calls %}
30
+ {%- if tool_call.function is defined %}
31
+ {%- set tool_call = tool_call.function %}
32
+ {%- endif %}
33
+ {{- '\n<tool_call>\n{"name": "' }}
34
+ {{- tool_call.name }}
35
+ {{- '", "arguments": ' }}
36
+ {{- tool_call.arguments | tojson }}
37
+ {{- '}\n</tool_call>' }}
38
+ {%- endfor %}
39
+ {{- '<|im_end|>\n' }}
40
+ {%- elif message.role == "tool" %}
41
+ {%- if (loop.index0 == 0) or (messages[loop.index0 - 1].role != "tool") %}
42
+ {{- '<|im_start|>user' }}
43
+ {%- endif %}
44
+ {{- '\n<tool_response>\n' }}
45
+ {{- message.content }}
46
+ {{- '\n</tool_response>' }}
47
+ {%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
48
+ {{- '<|im_end|>\n' }}
49
+ {%- endif %}
50
+ {%- endif %}
51
+ {%- endfor %}
52
+ {%- if add_generation_prompt %}
53
+ {{- '<|im_start|>assistant\n' }}
54
+ {%- endif %}
checkpoint-800/merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-800/special_tokens_map.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<|im_start|>",
4
+ "<|im_end|>",
5
+ "<|object_ref_start|>",
6
+ "<|object_ref_end|>",
7
+ "<|box_start|>",
8
+ "<|box_end|>",
9
+ "<|quad_start|>",
10
+ "<|quad_end|>",
11
+ "<|vision_start|>",
12
+ "<|vision_end|>",
13
+ "<|vision_pad|>",
14
+ "<|image_pad|>",
15
+ "<|video_pad|>"
16
+ ],
17
+ "eos_token": {
18
+ "content": "<|im_end|>",
19
+ "lstrip": false,
20
+ "normalized": false,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ },
24
+ "pad_token": "<|im_end|>"
25
+ }
checkpoint-800/tokenizer_config.json ADDED
@@ -0,0 +1,208 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": false,
3
+ "add_prefix_space": false,
4
+ "added_tokens_decoder": {
5
+ "151643": {
6
+ "content": "<|endoftext|>",
7
+ "lstrip": false,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ },
13
+ "151644": {
14
+ "content": "<|im_start|>",
15
+ "lstrip": false,
16
+ "normalized": false,
17
+ "rstrip": false,
18
+ "single_word": false,
19
+ "special": true
20
+ },
21
+ "151645": {
22
+ "content": "<|im_end|>",
23
+ "lstrip": false,
24
+ "normalized": false,
25
+ "rstrip": false,
26
+ "single_word": false,
27
+ "special": true
28
+ },
29
+ "151646": {
30
+ "content": "<|object_ref_start|>",
31
+ "lstrip": false,
32
+ "normalized": false,
33
+ "rstrip": false,
34
+ "single_word": false,
35
+ "special": true
36
+ },
37
+ "151647": {
38
+ "content": "<|object_ref_end|>",
39
+ "lstrip": false,
40
+ "normalized": false,
41
+ "rstrip": false,
42
+ "single_word": false,
43
+ "special": true
44
+ },
45
+ "151648": {
46
+ "content": "<|box_start|>",
47
+ "lstrip": false,
48
+ "normalized": false,
49
+ "rstrip": false,
50
+ "single_word": false,
51
+ "special": true
52
+ },
53
+ "151649": {
54
+ "content": "<|box_end|>",
55
+ "lstrip": false,
56
+ "normalized": false,
57
+ "rstrip": false,
58
+ "single_word": false,
59
+ "special": true
60
+ },
61
+ "151650": {
62
+ "content": "<|quad_start|>",
63
+ "lstrip": false,
64
+ "normalized": false,
65
+ "rstrip": false,
66
+ "single_word": false,
67
+ "special": true
68
+ },
69
+ "151651": {
70
+ "content": "<|quad_end|>",
71
+ "lstrip": false,
72
+ "normalized": false,
73
+ "rstrip": false,
74
+ "single_word": false,
75
+ "special": true
76
+ },
77
+ "151652": {
78
+ "content": "<|vision_start|>",
79
+ "lstrip": false,
80
+ "normalized": false,
81
+ "rstrip": false,
82
+ "single_word": false,
83
+ "special": true
84
+ },
85
+ "151653": {
86
+ "content": "<|vision_end|>",
87
+ "lstrip": false,
88
+ "normalized": false,
89
+ "rstrip": false,
90
+ "single_word": false,
91
+ "special": true
92
+ },
93
+ "151654": {
94
+ "content": "<|vision_pad|>",
95
+ "lstrip": false,
96
+ "normalized": false,
97
+ "rstrip": false,
98
+ "single_word": false,
99
+ "special": true
100
+ },
101
+ "151655": {
102
+ "content": "<|image_pad|>",
103
+ "lstrip": false,
104
+ "normalized": false,
105
+ "rstrip": false,
106
+ "single_word": false,
107
+ "special": true
108
+ },
109
+ "151656": {
110
+ "content": "<|video_pad|>",
111
+ "lstrip": false,
112
+ "normalized": false,
113
+ "rstrip": false,
114
+ "single_word": false,
115
+ "special": true
116
+ },
117
+ "151657": {
118
+ "content": "<tool_call>",
119
+ "lstrip": false,
120
+ "normalized": false,
121
+ "rstrip": false,
122
+ "single_word": false,
123
+ "special": false
124
+ },
125
+ "151658": {
126
+ "content": "</tool_call>",
127
+ "lstrip": false,
128
+ "normalized": false,
129
+ "rstrip": false,
130
+ "single_word": false,
131
+ "special": false
132
+ },
133
+ "151659": {
134
+ "content": "<|fim_prefix|>",
135
+ "lstrip": false,
136
+ "normalized": false,
137
+ "rstrip": false,
138
+ "single_word": false,
139
+ "special": false
140
+ },
141
+ "151660": {
142
+ "content": "<|fim_middle|>",
143
+ "lstrip": false,
144
+ "normalized": false,
145
+ "rstrip": false,
146
+ "single_word": false,
147
+ "special": false
148
+ },
149
+ "151661": {
150
+ "content": "<|fim_suffix|>",
151
+ "lstrip": false,
152
+ "normalized": false,
153
+ "rstrip": false,
154
+ "single_word": false,
155
+ "special": false
156
+ },
157
+ "151662": {
158
+ "content": "<|fim_pad|>",
159
+ "lstrip": false,
160
+ "normalized": false,
161
+ "rstrip": false,
162
+ "single_word": false,
163
+ "special": false
164
+ },
165
+ "151663": {
166
+ "content": "<|repo_name|>",
167
+ "lstrip": false,
168
+ "normalized": false,
169
+ "rstrip": false,
170
+ "single_word": false,
171
+ "special": false
172
+ },
173
+ "151664": {
174
+ "content": "<|file_sep|>",
175
+ "lstrip": false,
176
+ "normalized": false,
177
+ "rstrip": false,
178
+ "single_word": false,
179
+ "special": false
180
+ }
181
+ },
182
+ "additional_special_tokens": [
183
+ "<|im_start|>",
184
+ "<|im_end|>",
185
+ "<|object_ref_start|>",
186
+ "<|object_ref_end|>",
187
+ "<|box_start|>",
188
+ "<|box_end|>",
189
+ "<|quad_start|>",
190
+ "<|quad_end|>",
191
+ "<|vision_start|>",
192
+ "<|vision_end|>",
193
+ "<|vision_pad|>",
194
+ "<|image_pad|>",
195
+ "<|video_pad|>"
196
+ ],
197
+ "bos_token": null,
198
+ "clean_up_tokenization_spaces": false,
199
+ "eos_token": "<|im_end|>",
200
+ "errors": "replace",
201
+ "extra_special_tokens": {},
202
+ "model_max_length": 2048,
203
+ "pad_token": "<|im_end|>",
204
+ "padding_side": "right",
205
+ "split_special_tokens": false,
206
+ "tokenizer_class": "Qwen2Tokenizer",
207
+ "unk_token": null
208
+ }
checkpoint-800/trainer_state.json ADDED
@@ -0,0 +1,634 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 2.273066666666667,
6
+ "eval_steps": 500,
7
+ "global_step": 800,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "epoch": 0.05688888888888889,
14
+ "grad_norm": 25.723350524902344,
15
+ "learning_rate": 1.2954545454545456e-07,
16
+ "logits/chosen": -0.7062767744064331,
17
+ "logits/rejected": -0.6522080898284912,
18
+ "logps/chosen": -340.785888671875,
19
+ "logps/rejected": -653.7647705078125,
20
+ "loss": 4.7628,
21
+ "rewards/accuracies": 0.4468750059604645,
22
+ "rewards/chosen": 0.001610723091289401,
23
+ "rewards/margins": 0.006242862902581692,
24
+ "rewards/rejected": -0.004632140044122934,
25
+ "step": 20
26
+ },
27
+ {
28
+ "epoch": 0.11377777777777778,
29
+ "grad_norm": 15.587135314941406,
30
+ "learning_rate": 2.6590909090909093e-07,
31
+ "logits/chosen": -0.678135871887207,
32
+ "logits/rejected": -0.6651075482368469,
33
+ "logps/chosen": -347.43890380859375,
34
+ "logps/rejected": -708.3135986328125,
35
+ "loss": 4.8391,
36
+ "rewards/accuracies": 0.522265613079071,
37
+ "rewards/chosen": 0.0011627988424152136,
38
+ "rewards/margins": 0.010068175382912159,
39
+ "rewards/rejected": -0.008905376307666302,
40
+ "step": 40
41
+ },
42
+ {
43
+ "epoch": 0.17066666666666666,
44
+ "grad_norm": 19.355424880981445,
45
+ "learning_rate": 4.0227272727272725e-07,
46
+ "logits/chosen": -0.6907597184181213,
47
+ "logits/rejected": -0.6496841907501221,
48
+ "logps/chosen": -341.603759765625,
49
+ "logps/rejected": -661.4761962890625,
50
+ "loss": 4.863,
51
+ "rewards/accuracies": 0.528515636920929,
52
+ "rewards/chosen": -0.0007408790988847613,
53
+ "rewards/margins": 0.02941317856311798,
54
+ "rewards/rejected": -0.030154060572385788,
55
+ "step": 60
56
+ },
57
+ {
58
+ "epoch": 0.22755555555555557,
59
+ "grad_norm": 22.927623748779297,
60
+ "learning_rate": 5.386363636363637e-07,
61
+ "logits/chosen": -0.6875197887420654,
62
+ "logits/rejected": -0.6486619710922241,
63
+ "logps/chosen": -345.1783142089844,
64
+ "logps/rejected": -661.5092163085938,
65
+ "loss": 4.7676,
66
+ "rewards/accuracies": 0.61328125,
67
+ "rewards/chosen": 0.011638931930065155,
68
+ "rewards/margins": 0.1211162656545639,
69
+ "rewards/rejected": -0.10947732627391815,
70
+ "step": 80
71
+ },
72
+ {
73
+ "epoch": 0.28444444444444444,
74
+ "grad_norm": 20.672826766967773,
75
+ "learning_rate": 6.75e-07,
76
+ "logits/chosen": -0.6816097497940063,
77
+ "logits/rejected": -0.6414457559585571,
78
+ "logps/chosen": -344.27825927734375,
79
+ "logps/rejected": -658.2562255859375,
80
+ "loss": 4.56,
81
+ "rewards/accuracies": 0.647656261920929,
82
+ "rewards/chosen": 0.04126482084393501,
83
+ "rewards/margins": 0.30062881112098694,
84
+ "rewards/rejected": -0.2593640089035034,
85
+ "step": 100
86
+ },
87
+ {
88
+ "epoch": 0.3413333333333333,
89
+ "grad_norm": 13.753314971923828,
90
+ "learning_rate": 8.113636363636363e-07,
91
+ "logits/chosen": -0.6626165509223938,
92
+ "logits/rejected": -0.642012357711792,
93
+ "logps/chosen": -342.14031982421875,
94
+ "logps/rejected": -667.3262939453125,
95
+ "loss": 4.3726,
96
+ "rewards/accuracies": 0.6734374761581421,
97
+ "rewards/chosen": 0.10678935050964355,
98
+ "rewards/margins": 0.6032775640487671,
99
+ "rewards/rejected": -0.4964882731437683,
100
+ "step": 120
101
+ },
102
+ {
103
+ "epoch": 0.3982222222222222,
104
+ "grad_norm": 7.477163791656494,
105
+ "learning_rate": 9.477272727272726e-07,
106
+ "logits/chosen": -0.6697568297386169,
107
+ "logits/rejected": -0.6643576622009277,
108
+ "logps/chosen": -343.89959716796875,
109
+ "logps/rejected": -715.9915161132812,
110
+ "loss": 4.0971,
111
+ "rewards/accuracies": 0.7171875238418579,
112
+ "rewards/chosen": 0.21032771468162537,
113
+ "rewards/margins": 1.4638903141021729,
114
+ "rewards/rejected": -1.253562569618225,
115
+ "step": 140
116
+ },
117
+ {
118
+ "epoch": 0.45511111111111113,
119
+ "grad_norm": 8.21181869506836,
120
+ "learning_rate": 1.0840909090909092e-06,
121
+ "logits/chosen": -0.6967095136642456,
122
+ "logits/rejected": -0.681812047958374,
123
+ "logps/chosen": -340.03509521484375,
124
+ "logps/rejected": -682.7234497070312,
125
+ "loss": 4.1412,
126
+ "rewards/accuracies": 0.742968738079071,
127
+ "rewards/chosen": 0.3784622550010681,
128
+ "rewards/margins": 2.152285099029541,
129
+ "rewards/rejected": -1.7738231420516968,
130
+ "step": 160
131
+ },
132
+ {
133
+ "epoch": 0.512,
134
+ "grad_norm": 6.915646076202393,
135
+ "learning_rate": 1.2204545454545454e-06,
136
+ "logits/chosen": -0.6905465722084045,
137
+ "logits/rejected": -0.6835938692092896,
138
+ "logps/chosen": -337.03912353515625,
139
+ "logps/rejected": -689.4818725585938,
140
+ "loss": 3.7365,
141
+ "rewards/accuracies": 0.7515624761581421,
142
+ "rewards/chosen": 0.5243303775787354,
143
+ "rewards/margins": 3.7261250019073486,
144
+ "rewards/rejected": -3.2017948627471924,
145
+ "step": 180
146
+ },
147
+ {
148
+ "epoch": 0.5688888888888889,
149
+ "grad_norm": 6.492739200592041,
150
+ "learning_rate": 1.3568181818181818e-06,
151
+ "logits/chosen": -0.750757098197937,
152
+ "logits/rejected": -0.7309343814849854,
153
+ "logps/chosen": -339.7341003417969,
154
+ "logps/rejected": -700.2279663085938,
155
+ "loss": 3.7081,
156
+ "rewards/accuracies": 0.791796863079071,
157
+ "rewards/chosen": 0.37986624240875244,
158
+ "rewards/margins": 5.3291778564453125,
159
+ "rewards/rejected": -4.94931173324585,
160
+ "step": 200
161
+ },
162
+ {
163
+ "epoch": 0.6257777777777778,
164
+ "grad_norm": 5.47404670715332,
165
+ "learning_rate": 1.4931818181818182e-06,
166
+ "logits/chosen": -0.7830198407173157,
167
+ "logits/rejected": -0.7797198295593262,
168
+ "logps/chosen": -347.9498596191406,
169
+ "logps/rejected": -765.7747192382812,
170
+ "loss": 3.1446,
171
+ "rewards/accuracies": 0.7847656011581421,
172
+ "rewards/chosen": 0.12148561328649521,
173
+ "rewards/margins": 7.9653730392456055,
174
+ "rewards/rejected": -7.843888282775879,
175
+ "step": 220
176
+ },
177
+ {
178
+ "epoch": 0.6826666666666666,
179
+ "grad_norm": 7.549896240234375,
180
+ "learning_rate": 1.6295454545454544e-06,
181
+ "logits/chosen": -0.9069732427597046,
182
+ "logits/rejected": -0.9081719517707825,
183
+ "logps/chosen": -359.0387268066406,
184
+ "logps/rejected": -788.9415283203125,
185
+ "loss": 2.8459,
186
+ "rewards/accuracies": 0.801953136920929,
187
+ "rewards/chosen": -0.5870370268821716,
188
+ "rewards/margins": 11.03849983215332,
189
+ "rewards/rejected": -11.625536918640137,
190
+ "step": 240
191
+ },
192
+ {
193
+ "epoch": 0.7395555555555555,
194
+ "grad_norm": 6.950064182281494,
195
+ "learning_rate": 1.7659090909090909e-06,
196
+ "logits/chosen": -1.0507304668426514,
197
+ "logits/rejected": -1.0437712669372559,
198
+ "logps/chosen": -363.00946044921875,
199
+ "logps/rejected": -855.9450073242188,
200
+ "loss": 2.3475,
201
+ "rewards/accuracies": 0.7890625,
202
+ "rewards/chosen": -1.7975599765777588,
203
+ "rewards/margins": 15.68769645690918,
204
+ "rewards/rejected": -17.48525619506836,
205
+ "step": 260
206
+ },
207
+ {
208
+ "epoch": 0.7964444444444444,
209
+ "grad_norm": 7.705135822296143,
210
+ "learning_rate": 1.7984073648922751e-06,
211
+ "logits/chosen": -1.271202802658081,
212
+ "logits/rejected": -1.2308619022369385,
213
+ "logps/chosen": -372.968017578125,
214
+ "logps/rejected": -874.5939331054688,
215
+ "loss": 2.0129,
216
+ "rewards/accuracies": 0.7964843511581421,
217
+ "rewards/chosen": -2.9631118774414062,
218
+ "rewards/margins": 19.912986755371094,
219
+ "rewards/rejected": -22.876102447509766,
220
+ "step": 280
221
+ },
222
+ {
223
+ "epoch": 0.8533333333333334,
224
+ "grad_norm": 12.216048240661621,
225
+ "learning_rate": 1.7913403507563104e-06,
226
+ "logits/chosen": -1.400701880455017,
227
+ "logits/rejected": -1.363081455230713,
228
+ "logps/chosen": -379.55963134765625,
229
+ "logps/rejected": -1006.6408081054688,
230
+ "loss": 1.8445,
231
+ "rewards/accuracies": 0.805468738079071,
232
+ "rewards/chosen": -3.517793655395508,
233
+ "rewards/margins": 27.90765380859375,
234
+ "rewards/rejected": -31.42544937133789,
235
+ "step": 300
236
+ },
237
+ {
238
+ "epoch": 0.9102222222222223,
239
+ "grad_norm": 5.293786525726318,
240
+ "learning_rate": 1.7786664064079399e-06,
241
+ "logits/chosen": -1.4596669673919678,
242
+ "logits/rejected": -1.4353153705596924,
243
+ "logps/chosen": -385.25439453125,
244
+ "logps/rejected": -1005.0475463867188,
245
+ "loss": 1.5993,
246
+ "rewards/accuracies": 0.823437511920929,
247
+ "rewards/chosen": -3.530385971069336,
248
+ "rewards/margins": 30.658462524414062,
249
+ "rewards/rejected": -34.18885040283203,
250
+ "step": 320
251
+ },
252
+ {
253
+ "epoch": 0.9671111111111111,
254
+ "grad_norm": 5.214448928833008,
255
+ "learning_rate": 1.7604652566362601e-06,
256
+ "logits/chosen": -1.4935115575790405,
257
+ "logits/rejected": -1.4993070363998413,
258
+ "logps/chosen": -374.81219482421875,
259
+ "logps/rejected": -1065.3048095703125,
260
+ "loss": 1.4563,
261
+ "rewards/accuracies": 0.8140624761581421,
262
+ "rewards/chosen": -3.6835930347442627,
263
+ "rewards/margins": 35.69647979736328,
264
+ "rewards/rejected": -39.38006591796875,
265
+ "step": 340
266
+ },
267
+ {
268
+ "epoch": 1.0227555555555556,
269
+ "grad_norm": 5.167357921600342,
270
+ "learning_rate": 1.7368513948291994e-06,
271
+ "logits/chosen": -1.5450448989868164,
272
+ "logits/rejected": -1.5312340259552002,
273
+ "logps/chosen": -390.2657165527344,
274
+ "logps/rejected": -1115.527587890625,
275
+ "loss": 1.4704,
276
+ "rewards/accuracies": 0.8154951930046082,
277
+ "rewards/chosen": -3.921747922897339,
278
+ "rewards/margins": 38.49018096923828,
279
+ "rewards/rejected": -42.411930084228516,
280
+ "step": 360
281
+ },
282
+ {
283
+ "epoch": 1.0796444444444444,
284
+ "grad_norm": 4.9285407066345215,
285
+ "learning_rate": 1.707973362758804e-06,
286
+ "logits/chosen": -1.5365326404571533,
287
+ "logits/rejected": -1.5479919910430908,
288
+ "logps/chosen": -379.05078125,
289
+ "logps/rejected": -1110.8424072265625,
290
+ "loss": 1.524,
291
+ "rewards/accuracies": 0.815625011920929,
292
+ "rewards/chosen": -3.505291700363159,
293
+ "rewards/margins": 39.89087677001953,
294
+ "rewards/rejected": -43.39616775512695,
295
+ "step": 380
296
+ },
297
+ {
298
+ "epoch": 1.1365333333333334,
299
+ "grad_norm": 4.965682029724121,
300
+ "learning_rate": 1.6740128161869303e-06,
301
+ "logits/chosen": -1.5383026599884033,
302
+ "logits/rejected": -1.5448668003082275,
303
+ "logps/chosen": -375.23004150390625,
304
+ "logps/rejected": -1089.509033203125,
305
+ "loss": 1.2728,
306
+ "rewards/accuracies": 0.83984375,
307
+ "rewards/chosen": -3.8725147247314453,
308
+ "rewards/margins": 40.29158401489258,
309
+ "rewards/rejected": -44.164100646972656,
310
+ "step": 400
311
+ },
312
+ {
313
+ "epoch": 1.1934222222222222,
314
+ "grad_norm": 4.170207500457764,
315
+ "learning_rate": 1.635183382169105e-06,
316
+ "logits/chosen": -1.6174129247665405,
317
+ "logits/rejected": -1.598515272140503,
318
+ "logps/chosen": -385.2093200683594,
319
+ "logps/rejected": -1157.7808837890625,
320
+ "loss": 1.2895,
321
+ "rewards/accuracies": 0.830859363079071,
322
+ "rewards/chosen": -4.239663600921631,
323
+ "rewards/margins": 44.047298431396484,
324
+ "rewards/rejected": -48.28696823120117,
325
+ "step": 420
326
+ },
327
+ {
328
+ "epoch": 1.2503111111111112,
329
+ "grad_norm": 4.982669353485107,
330
+ "learning_rate": 1.5917293152446181e-06,
331
+ "logits/chosen": -1.6095243692398071,
332
+ "logits/rejected": -1.6014487743377686,
333
+ "logps/chosen": -391.41705322265625,
334
+ "logps/rejected": -1123.428466796875,
335
+ "loss": 1.3683,
336
+ "rewards/accuracies": 0.835156261920929,
337
+ "rewards/chosen": -4.419755458831787,
338
+ "rewards/margins": 43.6191520690918,
339
+ "rewards/rejected": -48.03890609741211,
340
+ "step": 440
341
+ },
342
+ {
343
+ "epoch": 1.3072,
344
+ "grad_norm": 5.365580081939697,
345
+ "learning_rate": 1.5439239609660238e-06,
346
+ "logits/chosen": -1.55153489112854,
347
+ "logits/rejected": -1.5819648504257202,
348
+ "logps/chosen": -379.72222900390625,
349
+ "logps/rejected": -1220.7442626953125,
350
+ "loss": 1.3303,
351
+ "rewards/accuracies": 0.8285156488418579,
352
+ "rewards/chosen": -3.9600634574890137,
353
+ "rewards/margins": 50.48019790649414,
354
+ "rewards/rejected": -54.44025421142578,
355
+ "step": 460
356
+ },
357
+ {
358
+ "epoch": 1.364088888888889,
359
+ "grad_norm": 5.603168964385986,
360
+ "learning_rate": 1.492068036433128e-06,
361
+ "logits/chosen": -1.5621448755264282,
362
+ "logits/rejected": -1.5893001556396484,
363
+ "logps/chosen": -379.4105224609375,
364
+ "logps/rejected": -1226.2530517578125,
365
+ "loss": 1.3152,
366
+ "rewards/accuracies": 0.837890625,
367
+ "rewards/chosen": -3.8145880699157715,
368
+ "rewards/margins": 50.653114318847656,
369
+ "rewards/rejected": -54.46770095825195,
370
+ "step": 480
371
+ },
372
+ {
373
+ "epoch": 1.420977777777778,
374
+ "grad_norm": 7.285942554473877,
375
+ "learning_rate": 1.4364877386476803e-06,
376
+ "logits/chosen": -1.5568413734436035,
377
+ "logits/rejected": -1.5949300527572632,
378
+ "logps/chosen": -391.8574523925781,
379
+ "logps/rejected": -1221.8057861328125,
380
+ "loss": 1.3131,
381
+ "rewards/accuracies": 0.837109386920929,
382
+ "rewards/chosen": -4.1453447341918945,
383
+ "rewards/margins": 51.3240966796875,
384
+ "rewards/rejected": -55.46944046020508,
385
+ "step": 500
386
+ },
387
+ {
388
+ "epoch": 1.4778666666666667,
389
+ "grad_norm": 5.188837051391602,
390
+ "learning_rate": 1.3775326925880672e-06,
391
+ "logits/chosen": -1.5099071264266968,
392
+ "logits/rejected": -1.538757562637329,
393
+ "logps/chosen": -382.1160888671875,
394
+ "logps/rejected": -1294.1851806640625,
395
+ "loss": 1.1844,
396
+ "rewards/accuracies": 0.8414062261581421,
397
+ "rewards/chosen": -3.6662063598632812,
398
+ "rewards/margins": 53.77040481567383,
399
+ "rewards/rejected": -57.436607360839844,
400
+ "step": 520
401
+ },
402
+ {
403
+ "epoch": 1.5347555555555554,
404
+ "grad_norm": 5.107513904571533,
405
+ "learning_rate": 1.3155737519115306e-06,
406
+ "logits/chosen": -1.565260887145996,
407
+ "logits/rejected": -1.5936307907104492,
408
+ "logps/chosen": -380.9848937988281,
409
+ "logps/rejected": -1163.626708984375,
410
+ "loss": 1.2198,
411
+ "rewards/accuracies": 0.8433593511581421,
412
+ "rewards/chosen": -3.710998058319092,
413
+ "rewards/margins": 47.719356536865234,
414
+ "rewards/rejected": -51.43035125732422,
415
+ "step": 540
416
+ },
417
+ {
418
+ "epoch": 1.5916444444444444,
419
+ "grad_norm": 4.466892719268799,
420
+ "learning_rate": 1.2510006661184866e-06,
421
+ "logits/chosen": -1.5557365417480469,
422
+ "logits/rejected": -1.582177996635437,
423
+ "logps/chosen": -389.8815612792969,
424
+ "logps/rejected": -1274.912841796875,
425
+ "loss": 1.1301,
426
+ "rewards/accuracies": 0.84765625,
427
+ "rewards/chosen": -4.558670997619629,
428
+ "rewards/margins": 53.85039520263672,
429
+ "rewards/rejected": -58.4090690612793,
430
+ "step": 560
431
+ },
432
+ {
433
+ "epoch": 1.6485333333333334,
434
+ "grad_norm": 4.823034763336182,
435
+ "learning_rate": 1.1842196288535226e-06,
436
+ "logits/chosen": -1.5631791353225708,
437
+ "logits/rejected": -1.5713732242584229,
438
+ "logps/chosen": -388.4598693847656,
439
+ "logps/rejected": -1245.7056884765625,
440
+ "loss": 1.2336,
441
+ "rewards/accuracies": 0.84765625,
442
+ "rewards/chosen": -4.465853691101074,
443
+ "rewards/margins": 52.74620819091797,
444
+ "rewards/rejected": -57.212059020996094,
445
+ "step": 580
446
+ },
447
+ {
448
+ "epoch": 1.7054222222222222,
449
+ "grad_norm": 4.383596420288086,
450
+ "learning_rate": 1.115650722765358e-06,
451
+ "logits/chosen": -1.4939193725585938,
452
+ "logits/rejected": -1.5414621829986572,
453
+ "logps/chosen": -392.1934509277344,
454
+ "logps/rejected": -1259.5296630859375,
455
+ "loss": 1.1556,
456
+ "rewards/accuracies": 0.853515625,
457
+ "rewards/chosen": -4.005014419555664,
458
+ "rewards/margins": 54.73443603515625,
459
+ "rewards/rejected": -58.73945236206055,
460
+ "step": 600
461
+ },
462
+ {
463
+ "epoch": 1.7623111111111112,
464
+ "grad_norm": 4.128599643707275,
465
+ "learning_rate": 1.0457252769987484e-06,
466
+ "logits/chosen": -1.4883978366851807,
467
+ "logits/rejected": -1.5312236547470093,
468
+ "logps/chosen": -384.2289733886719,
469
+ "logps/rejected": -1305.6707763671875,
470
+ "loss": 1.1712,
471
+ "rewards/accuracies": 0.8433593511581421,
472
+ "rewards/chosen": -3.6986148357391357,
473
+ "rewards/margins": 56.77925491333008,
474
+ "rewards/rejected": -60.477867126464844,
475
+ "step": 620
476
+ },
477
+ {
478
+ "epoch": 1.8192,
479
+ "grad_norm": 6.113862037658691,
480
+ "learning_rate": 9.74883153940886e-07,
481
+ "logits/chosen": -1.49406099319458,
482
+ "logits/rejected": -1.5339412689208984,
483
+ "logps/chosen": -383.2894287109375,
484
+ "logps/rejected": -1249.376953125,
485
+ "loss": 1.1426,
486
+ "rewards/accuracies": 0.86328125,
487
+ "rewards/chosen": -4.020669937133789,
488
+ "rewards/margins": 53.08935546875,
489
+ "rewards/rejected": -57.110023498535156,
490
+ "step": 640
491
+ },
492
+ {
493
+ "epoch": 1.876088888888889,
494
+ "grad_norm": 5.948381423950195,
495
+ "learning_rate": 9.03569982289885e-07,
496
+ "logits/chosen": -1.5656105279922485,
497
+ "logits/rejected": -1.5601282119750977,
498
+ "logps/chosen": -395.3358154296875,
499
+ "logps/rejected": -1181.269775390625,
500
+ "loss": 1.1806,
501
+ "rewards/accuracies": 0.8492187261581421,
502
+ "rewards/chosen": -4.2404961585998535,
503
+ "rewards/margins": 49.447227478027344,
504
+ "rewards/rejected": -53.6877326965332,
505
+ "step": 660
506
+ },
507
+ {
508
+ "epoch": 1.932977777777778,
509
+ "grad_norm": 5.629128932952881,
510
+ "learning_rate": 8.322343538505857e-07,
511
+ "logits/chosen": -1.5090030431747437,
512
+ "logits/rejected": -1.533573865890503,
513
+ "logps/chosen": -383.603759765625,
514
+ "logps/rejected": -1244.2327880859375,
515
+ "loss": 1.0988,
516
+ "rewards/accuracies": 0.866406261920929,
517
+ "rewards/chosen": -4.081192970275879,
518
+ "rewards/margins": 53.2569580078125,
519
+ "rewards/rejected": -57.3381462097168,
520
+ "step": 680
521
+ },
522
+ {
523
+ "epoch": 1.9898666666666667,
524
+ "grad_norm": 7.586100101470947,
525
+ "learning_rate": 7.613250016910891e-07,
526
+ "logits/chosen": -1.5487099885940552,
527
+ "logits/rejected": -1.584081768989563,
528
+ "logps/chosen": -376.0309753417969,
529
+ "logps/rejected": -1187.498779296875,
530
+ "loss": 1.2131,
531
+ "rewards/accuracies": 0.854296863079071,
532
+ "rewards/chosen": -3.9285030364990234,
533
+ "rewards/margins": 52.20911407470703,
534
+ "rewards/rejected": -56.13761520385742,
535
+ "step": 700
536
+ },
537
+ {
538
+ "epoch": 2.0455111111111113,
539
+ "grad_norm": 6.459462642669678,
540
+ "learning_rate": 6.912879774106832e-07,
541
+ "logits/chosen": -1.5404038429260254,
542
+ "logits/rejected": -1.5544073581695557,
543
+ "logps/chosen": -391.65802001953125,
544
+ "logps/rejected": -1347.5230712890625,
545
+ "loss": 1.0787,
546
+ "rewards/accuracies": 0.8526358008384705,
547
+ "rewards/chosen": -4.6590704917907715,
548
+ "rewards/margins": 61.01871871948242,
549
+ "rewards/rejected": -65.67778778076172,
550
+ "step": 720
551
+ },
552
+ {
553
+ "epoch": 2.1024,
554
+ "grad_norm": 5.285444736480713,
555
+ "learning_rate": 6.22563845275411e-07,
556
+ "logits/chosen": -1.5507022142410278,
557
+ "logits/rejected": -1.5908031463623047,
558
+ "logps/chosen": -396.8876647949219,
559
+ "logps/rejected": -1277.197021484375,
560
+ "loss": 1.1096,
561
+ "rewards/accuracies": 0.8589843511581421,
562
+ "rewards/chosen": -4.302851676940918,
563
+ "rewards/margins": 56.465980529785156,
564
+ "rewards/rejected": -60.768829345703125,
565
+ "step": 740
566
+ },
567
+ {
568
+ "epoch": 2.159288888888889,
569
+ "grad_norm": 6.371775150299072,
570
+ "learning_rate": 5.555849108714193e-07,
571
+ "logits/chosen": -1.502539873123169,
572
+ "logits/rejected": -1.5360302925109863,
573
+ "logps/chosen": -388.4836730957031,
574
+ "logps/rejected": -1289.794677734375,
575
+ "loss": 1.0641,
576
+ "rewards/accuracies": 0.868359386920929,
577
+ "rewards/chosen": -4.061135292053223,
578
+ "rewards/margins": 56.32740020751953,
579
+ "rewards/rejected": -60.38853073120117,
580
+ "step": 760
581
+ },
582
+ {
583
+ "epoch": 2.216177777777778,
584
+ "grad_norm": 6.24968147277832,
585
+ "learning_rate": 4.907725017091098e-07,
586
+ "logits/chosen": -1.5619838237762451,
587
+ "logits/rejected": -1.5966746807098389,
588
+ "logps/chosen": -377.2914123535156,
589
+ "logps/rejected": -1242.04150390625,
590
+ "loss": 1.0621,
591
+ "rewards/accuracies": 0.871874988079071,
592
+ "rewards/chosen": -4.108449459075928,
593
+ "rewards/margins": 53.869850158691406,
594
+ "rewards/rejected": -57.978294372558594,
595
+ "step": 780
596
+ },
597
+ {
598
+ "epoch": 2.273066666666667,
599
+ "grad_norm": 5.537705898284912,
600
+ "learning_rate": 4.2853431688430274e-07,
601
+ "logits/chosen": -1.5212916135787964,
602
+ "logits/rejected": -1.544816255569458,
603
+ "logps/chosen": -393.18597412109375,
604
+ "logps/rejected": -1313.809814453125,
605
+ "loss": 1.0735,
606
+ "rewards/accuracies": 0.858203113079071,
607
+ "rewards/chosen": -4.266919136047363,
608
+ "rewards/margins": 58.8587646484375,
609
+ "rewards/rejected": -63.12567901611328,
610
+ "step": 800
611
+ }
612
+ ],
613
+ "logging_steps": 20,
614
+ "max_steps": 1056,
615
+ "num_input_tokens_seen": 0,
616
+ "num_train_epochs": 3,
617
+ "save_steps": 100,
618
+ "stateful_callbacks": {
619
+ "TrainerControl": {
620
+ "args": {
621
+ "should_epoch_stop": false,
622
+ "should_evaluate": false,
623
+ "should_log": false,
624
+ "should_save": true,
625
+ "should_training_stop": false
626
+ },
627
+ "attributes": {}
628
+ }
629
+ },
630
+ "total_flos": 0.0,
631
+ "train_batch_size": 2,
632
+ "trial_name": null,
633
+ "trial_params": null
634
+ }
checkpoint-800/vocab.json ADDED
The diff for this file is too large to render. See raw diff
 
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
special_tokens_map.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<|im_start|>",
4
+ "<|im_end|>",
5
+ "<|object_ref_start|>",
6
+ "<|object_ref_end|>",
7
+ "<|box_start|>",
8
+ "<|box_end|>",
9
+ "<|quad_start|>",
10
+ "<|quad_end|>",
11
+ "<|vision_start|>",
12
+ "<|vision_end|>",
13
+ "<|vision_pad|>",
14
+ "<|image_pad|>",
15
+ "<|video_pad|>"
16
+ ],
17
+ "eos_token": {
18
+ "content": "<|im_end|>",
19
+ "lstrip": false,
20
+ "normalized": false,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ },
24
+ "pad_token": "<|im_end|>"
25
+ }
tokenizer_config.json ADDED
@@ -0,0 +1,208 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": false,
3
+ "add_prefix_space": false,
4
+ "added_tokens_decoder": {
5
+ "151643": {
6
+ "content": "<|endoftext|>",
7
+ "lstrip": false,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ },
13
+ "151644": {
14
+ "content": "<|im_start|>",
15
+ "lstrip": false,
16
+ "normalized": false,
17
+ "rstrip": false,
18
+ "single_word": false,
19
+ "special": true
20
+ },
21
+ "151645": {
22
+ "content": "<|im_end|>",
23
+ "lstrip": false,
24
+ "normalized": false,
25
+ "rstrip": false,
26
+ "single_word": false,
27
+ "special": true
28
+ },
29
+ "151646": {
30
+ "content": "<|object_ref_start|>",
31
+ "lstrip": false,
32
+ "normalized": false,
33
+ "rstrip": false,
34
+ "single_word": false,
35
+ "special": true
36
+ },
37
+ "151647": {
38
+ "content": "<|object_ref_end|>",
39
+ "lstrip": false,
40
+ "normalized": false,
41
+ "rstrip": false,
42
+ "single_word": false,
43
+ "special": true
44
+ },
45
+ "151648": {
46
+ "content": "<|box_start|>",
47
+ "lstrip": false,
48
+ "normalized": false,
49
+ "rstrip": false,
50
+ "single_word": false,
51
+ "special": true
52
+ },
53
+ "151649": {
54
+ "content": "<|box_end|>",
55
+ "lstrip": false,
56
+ "normalized": false,
57
+ "rstrip": false,
58
+ "single_word": false,
59
+ "special": true
60
+ },
61
+ "151650": {
62
+ "content": "<|quad_start|>",
63
+ "lstrip": false,
64
+ "normalized": false,
65
+ "rstrip": false,
66
+ "single_word": false,
67
+ "special": true
68
+ },
69
+ "151651": {
70
+ "content": "<|quad_end|>",
71
+ "lstrip": false,
72
+ "normalized": false,
73
+ "rstrip": false,
74
+ "single_word": false,
75
+ "special": true
76
+ },
77
+ "151652": {
78
+ "content": "<|vision_start|>",
79
+ "lstrip": false,
80
+ "normalized": false,
81
+ "rstrip": false,
82
+ "single_word": false,
83
+ "special": true
84
+ },
85
+ "151653": {
86
+ "content": "<|vision_end|>",
87
+ "lstrip": false,
88
+ "normalized": false,
89
+ "rstrip": false,
90
+ "single_word": false,
91
+ "special": true
92
+ },
93
+ "151654": {
94
+ "content": "<|vision_pad|>",
95
+ "lstrip": false,
96
+ "normalized": false,
97
+ "rstrip": false,
98
+ "single_word": false,
99
+ "special": true
100
+ },
101
+ "151655": {
102
+ "content": "<|image_pad|>",
103
+ "lstrip": false,
104
+ "normalized": false,
105
+ "rstrip": false,
106
+ "single_word": false,
107
+ "special": true
108
+ },
109
+ "151656": {
110
+ "content": "<|video_pad|>",
111
+ "lstrip": false,
112
+ "normalized": false,
113
+ "rstrip": false,
114
+ "single_word": false,
115
+ "special": true
116
+ },
117
+ "151657": {
118
+ "content": "<tool_call>",
119
+ "lstrip": false,
120
+ "normalized": false,
121
+ "rstrip": false,
122
+ "single_word": false,
123
+ "special": false
124
+ },
125
+ "151658": {
126
+ "content": "</tool_call>",
127
+ "lstrip": false,
128
+ "normalized": false,
129
+ "rstrip": false,
130
+ "single_word": false,
131
+ "special": false
132
+ },
133
+ "151659": {
134
+ "content": "<|fim_prefix|>",
135
+ "lstrip": false,
136
+ "normalized": false,
137
+ "rstrip": false,
138
+ "single_word": false,
139
+ "special": false
140
+ },
141
+ "151660": {
142
+ "content": "<|fim_middle|>",
143
+ "lstrip": false,
144
+ "normalized": false,
145
+ "rstrip": false,
146
+ "single_word": false,
147
+ "special": false
148
+ },
149
+ "151661": {
150
+ "content": "<|fim_suffix|>",
151
+ "lstrip": false,
152
+ "normalized": false,
153
+ "rstrip": false,
154
+ "single_word": false,
155
+ "special": false
156
+ },
157
+ "151662": {
158
+ "content": "<|fim_pad|>",
159
+ "lstrip": false,
160
+ "normalized": false,
161
+ "rstrip": false,
162
+ "single_word": false,
163
+ "special": false
164
+ },
165
+ "151663": {
166
+ "content": "<|repo_name|>",
167
+ "lstrip": false,
168
+ "normalized": false,
169
+ "rstrip": false,
170
+ "single_word": false,
171
+ "special": false
172
+ },
173
+ "151664": {
174
+ "content": "<|file_sep|>",
175
+ "lstrip": false,
176
+ "normalized": false,
177
+ "rstrip": false,
178
+ "single_word": false,
179
+ "special": false
180
+ }
181
+ },
182
+ "additional_special_tokens": [
183
+ "<|im_start|>",
184
+ "<|im_end|>",
185
+ "<|object_ref_start|>",
186
+ "<|object_ref_end|>",
187
+ "<|box_start|>",
188
+ "<|box_end|>",
189
+ "<|quad_start|>",
190
+ "<|quad_end|>",
191
+ "<|vision_start|>",
192
+ "<|vision_end|>",
193
+ "<|vision_pad|>",
194
+ "<|image_pad|>",
195
+ "<|video_pad|>"
196
+ ],
197
+ "bos_token": null,
198
+ "clean_up_tokenization_spaces": false,
199
+ "eos_token": "<|im_end|>",
200
+ "errors": "replace",
201
+ "extra_special_tokens": {},
202
+ "model_max_length": 2048,
203
+ "pad_token": "<|im_end|>",
204
+ "padding_side": "right",
205
+ "split_special_tokens": false,
206
+ "tokenizer_class": "Qwen2Tokenizer",
207
+ "unk_token": null
208
+ }
vocab.json ADDED
The diff for this file is too large to render. See raw diff