Muhammed164 commited on
Commit
9280328
·
verified ·
1 Parent(s): 9375994

Upload folder using huggingface_hub

Browse files
Files changed (37) hide show
  1. dpo-training/README.md +70 -0
  2. dpo-training/checkpoint-500/README.md +210 -0
  3. dpo-training/checkpoint-500/adapter_config.json +44 -0
  4. dpo-training/checkpoint-500/adapter_model.safetensors +3 -0
  5. dpo-training/checkpoint-500/chat_template.jinja +87 -0
  6. dpo-training/checkpoint-500/optimizer.pt +3 -0
  7. dpo-training/checkpoint-500/reference/adapter_config.json +44 -0
  8. dpo-training/checkpoint-500/reference/adapter_model.safetensors +3 -0
  9. dpo-training/checkpoint-500/rng_state.pth +3 -0
  10. dpo-training/checkpoint-500/scheduler.pt +3 -0
  11. dpo-training/checkpoint-500/special_tokens_map.json +30 -0
  12. dpo-training/checkpoint-500/tokenizer.json +0 -0
  13. dpo-training/checkpoint-500/tokenizer.model +3 -0
  14. dpo-training/checkpoint-500/tokenizer_config.json +0 -0
  15. dpo-training/checkpoint-500/trainer_state.json +784 -0
  16. dpo-training/checkpoint-500/training_args.bin +3 -0
  17. dpo-training/checkpoint-609/README.md +210 -0
  18. dpo-training/checkpoint-609/adapter_config.json +44 -0
  19. dpo-training/checkpoint-609/adapter_model.safetensors +3 -0
  20. dpo-training/checkpoint-609/chat_template.jinja +87 -0
  21. dpo-training/checkpoint-609/optimizer.pt +3 -0
  22. dpo-training/checkpoint-609/reference/adapter_config.json +44 -0
  23. dpo-training/checkpoint-609/reference/adapter_model.safetensors +3 -0
  24. dpo-training/checkpoint-609/rng_state.pth +3 -0
  25. dpo-training/checkpoint-609/scheduler.pt +3 -0
  26. dpo-training/checkpoint-609/special_tokens_map.json +30 -0
  27. dpo-training/checkpoint-609/tokenizer.json +0 -0
  28. dpo-training/checkpoint-609/tokenizer.model +3 -0
  29. dpo-training/checkpoint-609/tokenizer_config.json +0 -0
  30. dpo-training/checkpoint-609/trainer_state.json +934 -0
  31. dpo-training/checkpoint-609/training_args.bin +3 -0
  32. dpo-training/runs/Aug21_07-36-02_9313b65d545c/events.out.tfevents.1755761772.9313b65d545c.38351.0 +3 -0
  33. dpo-training/runs/Aug21_07-48-22_9313b65d545c/events.out.tfevents.1755762511.9313b65d545c.40851.0 +3 -0
  34. dpo-training/runs/Aug21_07-54-14_9313b65d545c/events.out.tfevents.1755762860.9313b65d545c.40851.1 +3 -0
  35. dpo-training/runs/Aug21_07-58-51_9313b65d545c/events.out.tfevents.1755763176.9313b65d545c.44283.0 +3 -0
  36. dpo-training/runs/Aug21_08-04-17_9313b65d545c/events.out.tfevents.1755763467.9313b65d545c.45997.0 +3 -0
  37. dpo-training/runs/Aug21_08-11-41_9313b65d545c/events.out.tfevents.1755763912.9313b65d545c.47766.0 +3 -0
dpo-training/README.md ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: unsloth/mistral-7b-instruct-v0.3-bnb-4bit
3
+ library_name: transformers
4
+ model_name: output_v3
5
+ tags:
6
+ - generated_from_trainer
7
+ - trl
8
+ - unsloth
9
+ - dpo
10
+ licence: license
11
+ ---
12
+
13
+ # Model Card for output_v3
14
+
15
+ This model is a fine-tuned version of [unsloth/mistral-7b-instruct-v0.3-bnb-4bit](https://huggingface.co/unsloth/mistral-7b-instruct-v0.3-bnb-4bit).
16
+ It has been trained using [TRL](https://github.com/huggingface/trl).
17
+
18
+ ## Quick start
19
+
20
+ ```python
21
+ from transformers import pipeline
22
+
23
+ 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?"
24
+ generator = pipeline("text-generation", model="None", device="cuda")
25
+ output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
26
+ print(output["generated_text"])
27
+ ```
28
+
29
+ ## Training procedure
30
+
31
+ [<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/mohammed164ayman-vrtualize/huggingface/runs/q95rw9dh)
32
+
33
+
34
+ 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).
35
+
36
+ ### Framework versions
37
+
38
+ - TRL: 0.21.0
39
+ - Transformers: 4.55.2
40
+ - Pytorch: 2.8.0+cu126
41
+ - Datasets: 3.6.0
42
+ - Tokenizers: 0.21.4
43
+
44
+ ## Citations
45
+
46
+ Cite DPO as:
47
+
48
+ ```bibtex
49
+ @inproceedings{rafailov2023direct,
50
+ title = {{Direct Preference Optimization: Your Language Model is Secretly a Reward Model}},
51
+ author = {Rafael Rafailov and Archit Sharma and Eric Mitchell and Christopher D. Manning and Stefano Ermon and Chelsea Finn},
52
+ year = 2023,
53
+ 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},
54
+ url = {http://papers.nips.cc/paper_files/paper/2023/hash/a85b405ed65c6477a4fe8302b5e06ce7-Abstract-Conference.html},
55
+ editor = {Alice Oh and Tristan Naumann and Amir Globerson and Kate Saenko and Moritz Hardt and Sergey Levine},
56
+ }
57
+ ```
58
+
59
+ Cite TRL as:
60
+
61
+ ```bibtex
62
+ @misc{vonwerra2022trl,
63
+ title = {{TRL: Transformer Reinforcement Learning}},
64
+ 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},
65
+ year = 2020,
66
+ journal = {GitHub repository},
67
+ publisher = {GitHub},
68
+ howpublished = {\url{https://github.com/huggingface/trl}}
69
+ }
70
+ ```
dpo-training/checkpoint-500/README.md ADDED
@@ -0,0 +1,210 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: unsloth/mistral-7b-instruct-v0.3-bnb-4bit
3
+ library_name: peft
4
+ pipeline_tag: text-generation
5
+ tags:
6
+ - base_model:adapter:unsloth/mistral-7b-instruct-v0.3-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.17.0
dpo-training/checkpoint-500/adapter_config.json ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "unsloth/mistral-7b-instruct-v0.3-bnb-4bit",
5
+ "bias": "none",
6
+ "corda_config": null,
7
+ "eva_config": null,
8
+ "exclude_modules": null,
9
+ "fan_in_fan_out": false,
10
+ "inference_mode": true,
11
+ "init_lora_weights": true,
12
+ "layer_replication": null,
13
+ "layers_pattern": null,
14
+ "layers_to_transform": null,
15
+ "loftq_config": {},
16
+ "lora_alpha": 64,
17
+ "lora_bias": false,
18
+ "lora_dropout": 0.1,
19
+ "megatron_config": null,
20
+ "megatron_core": "megatron.core",
21
+ "modules_to_save": [
22
+ "lm_head"
23
+ ],
24
+ "peft_type": "LORA",
25
+ "qalora_group_size": 16,
26
+ "r": 32,
27
+ "rank_pattern": {},
28
+ "revision": null,
29
+ "target_modules": [
30
+ "down_proj",
31
+ "q_proj",
32
+ "up_proj",
33
+ "k_proj",
34
+ "o_proj",
35
+ "gate_proj",
36
+ "v_proj"
37
+ ],
38
+ "target_parameters": null,
39
+ "task_type": "CAUSAL_LM",
40
+ "trainable_token_indices": null,
41
+ "use_dora": false,
42
+ "use_qalora": false,
43
+ "use_rslora": false
44
+ }
dpo-training/checkpoint-500/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b3c16eb388e1b21a7c1899e7a86fb4c98abe5560d4d8703ba3dd1294164cb1a7
3
+ size 872476000
dpo-training/checkpoint-500/chat_template.jinja ADDED
@@ -0,0 +1,87 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {%- if messages[0]["role"] == "system" %}
2
+ {%- set system_message = messages[0]["content"] %}
3
+ {%- set loop_messages = messages[1:] %}
4
+ {%- else %}
5
+ {%- set loop_messages = messages %}
6
+ {%- endif %}
7
+ {%- if not tools is defined %}
8
+ {%- set tools = none %}
9
+ {%- endif %}
10
+ {%- set user_messages = loop_messages | selectattr("role", "equalto", "user") | list %}
11
+
12
+ {#- This block checks for alternating user/assistant messages, skipping tool calling messages #}
13
+ {%- set ns = namespace() %}
14
+ {%- set ns.index = 0 %}
15
+ {%- for message in loop_messages %}
16
+ {%- if not (message.role == "tool" or message.role == "tool_results" or (message.tool_calls is defined and message.tool_calls is not none)) %}
17
+ {%- if (message["role"] == "user") != (ns.index % 2 == 0) %}
18
+ {{- raise_exception("After the optional system message, conversation roles must alternate user/assistant/user/assistant/...") }}
19
+ {%- endif %}
20
+ {%- set ns.index = ns.index + 1 %}
21
+ {%- endif %}
22
+ {%- endfor %}
23
+
24
+ {{- bos_token }}
25
+ {%- for message in loop_messages %}
26
+ {%- if message["role"] == "user" %}
27
+ {%- if tools is not none and (message == user_messages[-1]) %}
28
+ {{- "[AVAILABLE_TOOLS] [" }}
29
+ {%- for tool in tools %}
30
+ {%- set tool = tool.function %}
31
+ {{- '{"type": "function", "function": {' }}
32
+ {%- for key, val in tool.items() if key != "return" %}
33
+ {%- if val is string %}
34
+ {{- '"' + key + '": "' + val + '"' }}
35
+ {%- else %}
36
+ {{- '"' + key + '": ' + val|tojson }}
37
+ {%- endif %}
38
+ {%- if not loop.last %}
39
+ {{- ", " }}
40
+ {%- endif %}
41
+ {%- endfor %}
42
+ {{- "}}" }}
43
+ {%- if not loop.last %}
44
+ {{- ", " }}
45
+ {%- else %}
46
+ {{- "]" }}
47
+ {%- endif %}
48
+ {%- endfor %}
49
+ {{- "[/AVAILABLE_TOOLS]" }}
50
+ {%- endif %}
51
+ {%- if loop.last and system_message is defined %}
52
+ {{- "[INST] " + system_message + "\n\n" + message["content"] + "[/INST]" }}
53
+ {%- else %}
54
+ {{- "[INST] " + message["content"] + "[/INST]" }}
55
+ {%- endif %}
56
+ {%- elif message.tool_calls is defined and message.tool_calls is not none %}
57
+ {{- "[TOOL_CALLS] [" }}
58
+ {%- for tool_call in message.tool_calls %}
59
+ {%- set out = tool_call.function|tojson %}
60
+ {{- out[:-1] }}
61
+ {%- if not tool_call.id is defined or tool_call.id|length != 9 %}
62
+ {{- raise_exception("Tool call IDs should be alphanumeric strings with length 9!") }}
63
+ {%- endif %}
64
+ {{- ', "id": "' + tool_call.id + '"}' }}
65
+ {%- if not loop.last %}
66
+ {{- ", " }}
67
+ {%- else %}
68
+ {{- "]" + eos_token }}
69
+ {%- endif %}
70
+ {%- endfor %}
71
+ {%- elif message["role"] == "assistant" %}
72
+ {{- " " + message["content"]|trim + eos_token}}
73
+ {%- elif message["role"] == "tool_results" or message["role"] == "tool" %}
74
+ {%- if message.content is defined and message.content.content is defined %}
75
+ {%- set content = message.content.content %}
76
+ {%- else %}
77
+ {%- set content = message.content %}
78
+ {%- endif %}
79
+ {{- '[TOOL_RESULTS] {"content": ' + content|string + ", " }}
80
+ {%- if not message.tool_call_id is defined or message.tool_call_id|length != 9 %}
81
+ {{- raise_exception("Tool call IDs should be alphanumeric strings with length 9!") }}
82
+ {%- endif %}
83
+ {{- '"call_id": "' + message.tool_call_id + '"}[/TOOL_RESULTS]' }}
84
+ {%- else %}
85
+ {{- raise_exception("Only user and assistant roles are supported, with the exception of an initial optional system message!") }}
86
+ {%- endif %}
87
+ {%- endfor %}
dpo-training/checkpoint-500/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1d4e43f92431bcd8804833b5b62b1a9ed080ee1e43ef76598568dd5add03c848
3
+ size 1745216102
dpo-training/checkpoint-500/reference/adapter_config.json ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "unsloth/mistral-7b-instruct-v0.3-bnb-4bit",
5
+ "bias": "none",
6
+ "corda_config": null,
7
+ "eva_config": null,
8
+ "exclude_modules": null,
9
+ "fan_in_fan_out": false,
10
+ "inference_mode": true,
11
+ "init_lora_weights": true,
12
+ "layer_replication": null,
13
+ "layers_pattern": null,
14
+ "layers_to_transform": null,
15
+ "loftq_config": {},
16
+ "lora_alpha": 64,
17
+ "lora_bias": false,
18
+ "lora_dropout": 0.1,
19
+ "megatron_config": null,
20
+ "megatron_core": "megatron.core",
21
+ "modules_to_save": [
22
+ "lm_head"
23
+ ],
24
+ "peft_type": "LORA",
25
+ "qalora_group_size": 16,
26
+ "r": 32,
27
+ "rank_pattern": {},
28
+ "revision": null,
29
+ "target_modules": [
30
+ "down_proj",
31
+ "q_proj",
32
+ "up_proj",
33
+ "k_proj",
34
+ "o_proj",
35
+ "gate_proj",
36
+ "v_proj"
37
+ ],
38
+ "target_parameters": null,
39
+ "task_type": "CAUSAL_LM",
40
+ "trainable_token_indices": null,
41
+ "use_dora": false,
42
+ "use_qalora": false,
43
+ "use_rslora": false
44
+ }
dpo-training/checkpoint-500/reference/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:efaaf996bb35adda1d46fb82561a955d2480a46caa0bf95bd5582ce2fd24214c
3
+ size 604040264
dpo-training/checkpoint-500/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f4a9f217e852f439efa6bd32fde98d6867f11aa6ea13ddc021ba10af6a0b0934
3
+ size 14645
dpo-training/checkpoint-500/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f06b74f2bed676cd448ce55fafa3eb80c6e8bf4ec9faa8e1bba55139dc9154dd
3
+ size 1465
dpo-training/checkpoint-500/special_tokens_map.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "</s>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "[control_768]",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "unk_token": {
24
+ "content": "<unk>",
25
+ "lstrip": false,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ }
30
+ }
dpo-training/checkpoint-500/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
dpo-training/checkpoint-500/tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:37f00374dea48658ee8f5d0f21895b9bc55cb0103939607c8185bfd1c6ca1f89
3
+ size 587404
dpo-training/checkpoint-500/tokenizer_config.json ADDED
The diff for this file is too large to render. See raw diff
 
dpo-training/checkpoint-500/trainer_state.json ADDED
@@ -0,0 +1,784 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 2.4630541871921183,
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.04926108374384237,
14
+ "grad_norm": 203.1785888671875,
15
+ "learning_rate": 9.852216748768472e-07,
16
+ "logits/chosen": -2.98828125,
17
+ "logits/rejected": -2.985156297683716,
18
+ "logps/chosen": -690.875,
19
+ "logps/rejected": -472.0,
20
+ "loss": 0.6387,
21
+ "rewards/accuracies": 0.75,
22
+ "rewards/chosen": 0.11501464992761612,
23
+ "rewards/margins": 0.1190643310546875,
24
+ "rewards/rejected": -0.004062652587890625,
25
+ "step": 10
26
+ },
27
+ {
28
+ "epoch": 0.09852216748768473,
29
+ "grad_norm": 183.48594665527344,
30
+ "learning_rate": 9.688013136288999e-07,
31
+ "logits/chosen": -2.9632811546325684,
32
+ "logits/rejected": -2.9994139671325684,
33
+ "logps/chosen": -623.5499877929688,
34
+ "logps/rejected": -358.7749938964844,
35
+ "loss": 0.5256,
36
+ "rewards/accuracies": 0.949999988079071,
37
+ "rewards/chosen": 0.569934070110321,
38
+ "rewards/margins": 0.41779786348342896,
39
+ "rewards/rejected": 0.15219727158546448,
40
+ "step": 20
41
+ },
42
+ {
43
+ "epoch": 0.1477832512315271,
44
+ "grad_norm": 177.51573181152344,
45
+ "learning_rate": 9.523809523809522e-07,
46
+ "logits/chosen": -2.962109327316284,
47
+ "logits/rejected": -2.997851610183716,
48
+ "logps/chosen": -673.3250122070312,
49
+ "logps/rejected": -418.51251220703125,
50
+ "loss": 0.3765,
51
+ "rewards/accuracies": 1.0,
52
+ "rewards/chosen": 1.367431640625,
53
+ "rewards/margins": 0.95556640625,
54
+ "rewards/rejected": 0.411865234375,
55
+ "step": 30
56
+ },
57
+ {
58
+ "epoch": 0.19704433497536947,
59
+ "grad_norm": 116.17716217041016,
60
+ "learning_rate": 9.359605911330048e-07,
61
+ "logits/chosen": -2.9925780296325684,
62
+ "logits/rejected": -2.9916014671325684,
63
+ "logps/chosen": -607.4500122070312,
64
+ "logps/rejected": -430.25,
65
+ "loss": 0.2823,
66
+ "rewards/accuracies": 1.0,
67
+ "rewards/chosen": 1.7712891101837158,
68
+ "rewards/margins": 1.2548828125,
69
+ "rewards/rejected": 0.5162353515625,
70
+ "step": 40
71
+ },
72
+ {
73
+ "epoch": 0.24630541871921183,
74
+ "grad_norm": 77.2922134399414,
75
+ "learning_rate": 9.195402298850574e-07,
76
+ "logits/chosen": -2.985546827316284,
77
+ "logits/rejected": -3.000781297683716,
78
+ "logps/chosen": -630.8499755859375,
79
+ "logps/rejected": -426.5249938964844,
80
+ "loss": 0.2678,
81
+ "rewards/accuracies": 0.949999988079071,
82
+ "rewards/chosen": 2.05859375,
83
+ "rewards/margins": 1.4564940929412842,
84
+ "rewards/rejected": 0.6025635004043579,
85
+ "step": 50
86
+ },
87
+ {
88
+ "epoch": 0.2955665024630542,
89
+ "grad_norm": 58.28313064575195,
90
+ "learning_rate": 9.0311986863711e-07,
91
+ "logits/chosen": -2.9937500953674316,
92
+ "logits/rejected": -3.0072264671325684,
93
+ "logps/chosen": -628.125,
94
+ "logps/rejected": -483.5249938964844,
95
+ "loss": 0.2115,
96
+ "rewards/accuracies": 1.0,
97
+ "rewards/chosen": 2.308789014816284,
98
+ "rewards/margins": 1.748046875,
99
+ "rewards/rejected": 0.56072998046875,
100
+ "step": 60
101
+ },
102
+ {
103
+ "epoch": 0.3448275862068966,
104
+ "grad_norm": 103.42900085449219,
105
+ "learning_rate": 8.866995073891625e-07,
106
+ "logits/chosen": -2.976367235183716,
107
+ "logits/rejected": -2.9605469703674316,
108
+ "logps/chosen": -559.3499755859375,
109
+ "logps/rejected": -378.125,
110
+ "loss": 0.1628,
111
+ "rewards/accuracies": 1.0,
112
+ "rewards/chosen": 2.4417967796325684,
113
+ "rewards/margins": 2.049023389816284,
114
+ "rewards/rejected": 0.39243775606155396,
115
+ "step": 70
116
+ },
117
+ {
118
+ "epoch": 0.39408866995073893,
119
+ "grad_norm": 101.71812438964844,
120
+ "learning_rate": 8.702791461412151e-07,
121
+ "logits/chosen": -2.9664063453674316,
122
+ "logits/rejected": -3.003710985183716,
123
+ "logps/chosen": -625.6500244140625,
124
+ "logps/rejected": -388.6499938964844,
125
+ "loss": 0.143,
126
+ "rewards/accuracies": 0.949999988079071,
127
+ "rewards/chosen": 3.1548829078674316,
128
+ "rewards/margins": 2.657421827316284,
129
+ "rewards/rejected": 0.49718016386032104,
130
+ "step": 80
131
+ },
132
+ {
133
+ "epoch": 0.4433497536945813,
134
+ "grad_norm": 28.862045288085938,
135
+ "learning_rate": 8.538587848932676e-07,
136
+ "logits/chosen": -2.985156297683716,
137
+ "logits/rejected": -2.994140625,
138
+ "logps/chosen": -611.2999877929688,
139
+ "logps/rejected": -465.0,
140
+ "loss": 0.1131,
141
+ "rewards/accuracies": 1.0,
142
+ "rewards/chosen": 3.06591796875,
143
+ "rewards/margins": 2.7118163108825684,
144
+ "rewards/rejected": 0.3544158935546875,
145
+ "step": 90
146
+ },
147
+ {
148
+ "epoch": 0.49261083743842365,
149
+ "grad_norm": 20.341941833496094,
150
+ "learning_rate": 8.374384236453202e-07,
151
+ "logits/chosen": -2.994335889816284,
152
+ "logits/rejected": -2.9779295921325684,
153
+ "logps/chosen": -465.8374938964844,
154
+ "logps/rejected": -401.6875,
155
+ "loss": 0.1633,
156
+ "rewards/accuracies": 0.949999988079071,
157
+ "rewards/chosen": 2.720996141433716,
158
+ "rewards/margins": 2.49609375,
159
+ "rewards/rejected": 0.22498169541358948,
160
+ "step": 100
161
+ },
162
+ {
163
+ "epoch": 0.541871921182266,
164
+ "grad_norm": 4.284467697143555,
165
+ "learning_rate": 8.210180623973727e-07,
166
+ "logits/chosen": -2.952343702316284,
167
+ "logits/rejected": -2.974414110183716,
168
+ "logps/chosen": -587.5999755859375,
169
+ "logps/rejected": -450.95001220703125,
170
+ "loss": 0.0498,
171
+ "rewards/accuracies": 1.0,
172
+ "rewards/chosen": 3.9847655296325684,
173
+ "rewards/margins": 3.97265625,
174
+ "rewards/rejected": 0.01254882849752903,
175
+ "step": 110
176
+ },
177
+ {
178
+ "epoch": 0.5911330049261084,
179
+ "grad_norm": 12.270442962646484,
180
+ "learning_rate": 8.045977011494253e-07,
181
+ "logits/chosen": -2.975390672683716,
182
+ "logits/rejected": -2.988085985183716,
183
+ "logps/chosen": -662.7750244140625,
184
+ "logps/rejected": -446.6499938964844,
185
+ "loss": 0.0609,
186
+ "rewards/accuracies": 1.0,
187
+ "rewards/chosen": 3.9697265625,
188
+ "rewards/margins": 4.036913871765137,
189
+ "rewards/rejected": -0.06724242866039276,
190
+ "step": 120
191
+ },
192
+ {
193
+ "epoch": 0.6403940886699507,
194
+ "grad_norm": 67.37637329101562,
195
+ "learning_rate": 7.881773399014779e-07,
196
+ "logits/chosen": -2.967578172683716,
197
+ "logits/rejected": -2.986132860183716,
198
+ "logps/chosen": -573.1500244140625,
199
+ "logps/rejected": -439.29998779296875,
200
+ "loss": 0.1303,
201
+ "rewards/accuracies": 1.0,
202
+ "rewards/chosen": 2.8240723609924316,
203
+ "rewards/margins": 3.335742235183716,
204
+ "rewards/rejected": -0.511059582233429,
205
+ "step": 130
206
+ },
207
+ {
208
+ "epoch": 0.6896551724137931,
209
+ "grad_norm": 8.81290054321289,
210
+ "learning_rate": 7.717569786535302e-07,
211
+ "logits/chosen": -3.0111327171325684,
212
+ "logits/rejected": -2.962695360183716,
213
+ "logps/chosen": -530.0,
214
+ "logps/rejected": -394.0249938964844,
215
+ "loss": 0.0831,
216
+ "rewards/accuracies": 1.0,
217
+ "rewards/chosen": 3.523144483566284,
218
+ "rewards/margins": 4.159960746765137,
219
+ "rewards/rejected": -0.6378753781318665,
220
+ "step": 140
221
+ },
222
+ {
223
+ "epoch": 0.7389162561576355,
224
+ "grad_norm": 0.581110417842865,
225
+ "learning_rate": 7.553366174055828e-07,
226
+ "logits/chosen": -2.9365234375,
227
+ "logits/rejected": -2.972851514816284,
228
+ "logps/chosen": -658.2999877929688,
229
+ "logps/rejected": -472.45001220703125,
230
+ "loss": 0.0689,
231
+ "rewards/accuracies": 1.0,
232
+ "rewards/chosen": 3.7357420921325684,
233
+ "rewards/margins": 4.794140815734863,
234
+ "rewards/rejected": -1.0580871105194092,
235
+ "step": 150
236
+ },
237
+ {
238
+ "epoch": 0.7881773399014779,
239
+ "grad_norm": 4.293052673339844,
240
+ "learning_rate": 7.389162561576354e-07,
241
+ "logits/chosen": -2.955273389816284,
242
+ "logits/rejected": -2.958203077316284,
243
+ "logps/chosen": -604.75,
244
+ "logps/rejected": -414.45001220703125,
245
+ "loss": 0.1006,
246
+ "rewards/accuracies": 0.949999988079071,
247
+ "rewards/chosen": 3.843554735183716,
248
+ "rewards/margins": 4.778710842132568,
249
+ "rewards/rejected": -0.9347168207168579,
250
+ "step": 160
251
+ },
252
+ {
253
+ "epoch": 0.8374384236453202,
254
+ "grad_norm": 24.498516082763672,
255
+ "learning_rate": 7.22495894909688e-07,
256
+ "logits/chosen": -2.912890672683716,
257
+ "logits/rejected": -2.9447264671325684,
258
+ "logps/chosen": -444.0,
259
+ "logps/rejected": -369.875,
260
+ "loss": 0.0323,
261
+ "rewards/accuracies": 1.0,
262
+ "rewards/chosen": 2.6924805641174316,
263
+ "rewards/margins": 4.558398246765137,
264
+ "rewards/rejected": -1.8652222156524658,
265
+ "step": 170
266
+ },
267
+ {
268
+ "epoch": 0.8866995073891626,
269
+ "grad_norm": 0.2468932420015335,
270
+ "learning_rate": 7.060755336617405e-07,
271
+ "logits/chosen": -2.987499952316284,
272
+ "logits/rejected": -2.9697265625,
273
+ "logps/chosen": -534.7874755859375,
274
+ "logps/rejected": -407.95001220703125,
275
+ "loss": 0.0441,
276
+ "rewards/accuracies": 1.0,
277
+ "rewards/chosen": 3.237597703933716,
278
+ "rewards/margins": 5.033593654632568,
279
+ "rewards/rejected": -1.7952880859375,
280
+ "step": 180
281
+ },
282
+ {
283
+ "epoch": 0.9359605911330049,
284
+ "grad_norm": 1.9548287391662598,
285
+ "learning_rate": 6.896551724137931e-07,
286
+ "logits/chosen": -2.916796922683716,
287
+ "logits/rejected": -2.970898389816284,
288
+ "logps/chosen": -485.07501220703125,
289
+ "logps/rejected": -406.3999938964844,
290
+ "loss": 0.0642,
291
+ "rewards/accuracies": 0.949999988079071,
292
+ "rewards/chosen": 3.289843797683716,
293
+ "rewards/margins": 5.383984565734863,
294
+ "rewards/rejected": -2.09442138671875,
295
+ "step": 190
296
+ },
297
+ {
298
+ "epoch": 0.9852216748768473,
299
+ "grad_norm": 59.31279373168945,
300
+ "learning_rate": 6.732348111658456e-07,
301
+ "logits/chosen": -2.9380860328674316,
302
+ "logits/rejected": -2.986328125,
303
+ "logps/chosen": -613.0499877929688,
304
+ "logps/rejected": -481.875,
305
+ "loss": 0.0267,
306
+ "rewards/accuracies": 1.0,
307
+ "rewards/chosen": 3.551562547683716,
308
+ "rewards/margins": 5.289258003234863,
309
+ "rewards/rejected": -1.737390160560608,
310
+ "step": 200
311
+ },
312
+ {
313
+ "epoch": 1.0344827586206897,
314
+ "grad_norm": 32.091800689697266,
315
+ "learning_rate": 6.568144499178982e-07,
316
+ "logits/chosen": -2.9224610328674316,
317
+ "logits/rejected": -2.927539110183716,
318
+ "logps/chosen": -489.625,
319
+ "logps/rejected": -415.125,
320
+ "loss": 0.0108,
321
+ "rewards/accuracies": 1.0,
322
+ "rewards/chosen": 3.927929639816284,
323
+ "rewards/margins": 6.529296875,
324
+ "rewards/rejected": -2.6015625,
325
+ "step": 210
326
+ },
327
+ {
328
+ "epoch": 1.083743842364532,
329
+ "grad_norm": 0.8448113203048706,
330
+ "learning_rate": 6.403940886699507e-07,
331
+ "logits/chosen": -2.9287109375,
332
+ "logits/rejected": -2.9339842796325684,
333
+ "logps/chosen": -632.0250244140625,
334
+ "logps/rejected": -485.5,
335
+ "loss": 0.0078,
336
+ "rewards/accuracies": 1.0,
337
+ "rewards/chosen": 5.085351467132568,
338
+ "rewards/margins": 7.605078220367432,
339
+ "rewards/rejected": -2.5193848609924316,
340
+ "step": 220
341
+ },
342
+ {
343
+ "epoch": 1.1330049261083743,
344
+ "grad_norm": 0.14300227165222168,
345
+ "learning_rate": 6.239737274220033e-07,
346
+ "logits/chosen": -2.9417967796325684,
347
+ "logits/rejected": -2.9359374046325684,
348
+ "logps/chosen": -614.9749755859375,
349
+ "logps/rejected": -458.8500061035156,
350
+ "loss": 0.0014,
351
+ "rewards/accuracies": 1.0,
352
+ "rewards/chosen": 4.646582126617432,
353
+ "rewards/margins": 7.631640434265137,
354
+ "rewards/rejected": -2.9849610328674316,
355
+ "step": 230
356
+ },
357
+ {
358
+ "epoch": 1.1822660098522166,
359
+ "grad_norm": 0.5171189904212952,
360
+ "learning_rate": 6.075533661740558e-07,
361
+ "logits/chosen": -2.9417967796325684,
362
+ "logits/rejected": -2.9496092796325684,
363
+ "logps/chosen": -513.7999877929688,
364
+ "logps/rejected": -413.51251220703125,
365
+ "loss": 0.003,
366
+ "rewards/accuracies": 1.0,
367
+ "rewards/chosen": 4.515625,
368
+ "rewards/margins": 7.489843845367432,
369
+ "rewards/rejected": -2.9735350608825684,
370
+ "step": 240
371
+ },
372
+ {
373
+ "epoch": 1.2315270935960592,
374
+ "grad_norm": 3.326808214187622,
375
+ "learning_rate": 5.911330049261084e-07,
376
+ "logits/chosen": -2.9404296875,
377
+ "logits/rejected": -2.9400391578674316,
378
+ "logps/chosen": -574.5750122070312,
379
+ "logps/rejected": -494.2749938964844,
380
+ "loss": 0.0062,
381
+ "rewards/accuracies": 1.0,
382
+ "rewards/chosen": 4.180273532867432,
383
+ "rewards/margins": 7.197656154632568,
384
+ "rewards/rejected": -3.016406297683716,
385
+ "step": 250
386
+ },
387
+ {
388
+ "epoch": 1.2807881773399015,
389
+ "grad_norm": 30.087703704833984,
390
+ "learning_rate": 5.747126436781608e-07,
391
+ "logits/chosen": -2.9283204078674316,
392
+ "logits/rejected": -2.9000000953674316,
393
+ "logps/chosen": -520.1749877929688,
394
+ "logps/rejected": -373.1000061035156,
395
+ "loss": 0.0887,
396
+ "rewards/accuracies": 0.949999988079071,
397
+ "rewards/chosen": 4.016308784484863,
398
+ "rewards/margins": 7.095117092132568,
399
+ "rewards/rejected": -3.0791993141174316,
400
+ "step": 260
401
+ },
402
+ {
403
+ "epoch": 1.3300492610837438,
404
+ "grad_norm": 0.6066940426826477,
405
+ "learning_rate": 5.582922824302134e-07,
406
+ "logits/chosen": -2.915820360183716,
407
+ "logits/rejected": -2.9224610328674316,
408
+ "logps/chosen": -600.5250244140625,
409
+ "logps/rejected": -442.45001220703125,
410
+ "loss": 0.0085,
411
+ "rewards/accuracies": 1.0,
412
+ "rewards/chosen": 4.91845703125,
413
+ "rewards/margins": 7.68359375,
414
+ "rewards/rejected": -2.7652344703674316,
415
+ "step": 270
416
+ },
417
+ {
418
+ "epoch": 1.3793103448275863,
419
+ "grad_norm": 0.05844691023230553,
420
+ "learning_rate": 5.41871921182266e-07,
421
+ "logits/chosen": -2.8941407203674316,
422
+ "logits/rejected": -2.9164061546325684,
423
+ "logps/chosen": -664.7000122070312,
424
+ "logps/rejected": -476.04998779296875,
425
+ "loss": 0.0087,
426
+ "rewards/accuracies": 1.0,
427
+ "rewards/chosen": 4.80078125,
428
+ "rewards/margins": 6.916796684265137,
429
+ "rewards/rejected": -2.115429639816284,
430
+ "step": 280
431
+ },
432
+ {
433
+ "epoch": 1.4285714285714286,
434
+ "grad_norm": 29.84724235534668,
435
+ "learning_rate": 5.254515599343186e-07,
436
+ "logits/chosen": -2.8882813453674316,
437
+ "logits/rejected": -2.8968749046325684,
438
+ "logps/chosen": -525.5999755859375,
439
+ "logps/rejected": -392.95001220703125,
440
+ "loss": 0.024,
441
+ "rewards/accuracies": 1.0,
442
+ "rewards/chosen": 4.382080078125,
443
+ "rewards/margins": 7.035742282867432,
444
+ "rewards/rejected": -2.6546630859375,
445
+ "step": 290
446
+ },
447
+ {
448
+ "epoch": 1.477832512315271,
449
+ "grad_norm": 1.2890305519104004,
450
+ "learning_rate": 5.090311986863711e-07,
451
+ "logits/chosen": -2.9185547828674316,
452
+ "logits/rejected": -2.9320311546325684,
453
+ "logps/chosen": -584.3250122070312,
454
+ "logps/rejected": -475.3999938964844,
455
+ "loss": 0.0025,
456
+ "rewards/accuracies": 1.0,
457
+ "rewards/chosen": 4.585351467132568,
458
+ "rewards/margins": 7.463281154632568,
459
+ "rewards/rejected": -2.878124952316284,
460
+ "step": 300
461
+ },
462
+ {
463
+ "epoch": 1.5270935960591134,
464
+ "grad_norm": 0.15950246155261993,
465
+ "learning_rate": 4.926108374384236e-07,
466
+ "logits/chosen": -2.887500047683716,
467
+ "logits/rejected": -2.9169921875,
468
+ "logps/chosen": -533.3250122070312,
469
+ "logps/rejected": -446.0249938964844,
470
+ "loss": 0.0034,
471
+ "rewards/accuracies": 1.0,
472
+ "rewards/chosen": 4.676367282867432,
473
+ "rewards/margins": 7.962109565734863,
474
+ "rewards/rejected": -3.284960985183716,
475
+ "step": 310
476
+ },
477
+ {
478
+ "epoch": 1.5763546798029555,
479
+ "grad_norm": 10.223557472229004,
480
+ "learning_rate": 4.761904761904761e-07,
481
+ "logits/chosen": -2.9205079078674316,
482
+ "logits/rejected": -2.9291014671325684,
483
+ "logps/chosen": -584.9375,
484
+ "logps/rejected": -426.32501220703125,
485
+ "loss": 0.004,
486
+ "rewards/accuracies": 1.0,
487
+ "rewards/chosen": 5.026074409484863,
488
+ "rewards/margins": 7.832421779632568,
489
+ "rewards/rejected": -2.806640625,
490
+ "step": 320
491
+ },
492
+ {
493
+ "epoch": 1.625615763546798,
494
+ "grad_norm": 0.08788923174142838,
495
+ "learning_rate": 4.597701149425287e-07,
496
+ "logits/chosen": -2.908007860183716,
497
+ "logits/rejected": -2.918164014816284,
498
+ "logps/chosen": -652.9874877929688,
499
+ "logps/rejected": -506.75,
500
+ "loss": 0.0199,
501
+ "rewards/accuracies": 1.0,
502
+ "rewards/chosen": 5.5665283203125,
503
+ "rewards/margins": 8.3828125,
504
+ "rewards/rejected": -2.816699266433716,
505
+ "step": 330
506
+ },
507
+ {
508
+ "epoch": 1.6748768472906403,
509
+ "grad_norm": 0.5178083181381226,
510
+ "learning_rate": 4.4334975369458127e-07,
511
+ "logits/chosen": -2.916015625,
512
+ "logits/rejected": -2.9380860328674316,
513
+ "logps/chosen": -552.1500244140625,
514
+ "logps/rejected": -440.32501220703125,
515
+ "loss": 0.0023,
516
+ "rewards/accuracies": 1.0,
517
+ "rewards/chosen": 4.864062309265137,
518
+ "rewards/margins": 8.216015815734863,
519
+ "rewards/rejected": -3.3515625,
520
+ "step": 340
521
+ },
522
+ {
523
+ "epoch": 1.7241379310344827,
524
+ "grad_norm": 0.028590844944119453,
525
+ "learning_rate": 4.269293924466338e-07,
526
+ "logits/chosen": -2.9164061546325684,
527
+ "logits/rejected": -2.9242186546325684,
528
+ "logps/chosen": -634.1749877929688,
529
+ "logps/rejected": -474.2250061035156,
530
+ "loss": 0.0025,
531
+ "rewards/accuracies": 1.0,
532
+ "rewards/chosen": 5.277929782867432,
533
+ "rewards/margins": 8.540624618530273,
534
+ "rewards/rejected": -3.262988328933716,
535
+ "step": 350
536
+ },
537
+ {
538
+ "epoch": 1.7733990147783252,
539
+ "grad_norm": 43.381683349609375,
540
+ "learning_rate": 4.1050903119868637e-07,
541
+ "logits/chosen": -2.9091796875,
542
+ "logits/rejected": -2.888671875,
543
+ "logps/chosen": -520.0999755859375,
544
+ "logps/rejected": -430.54998779296875,
545
+ "loss": 0.0155,
546
+ "rewards/accuracies": 1.0,
547
+ "rewards/chosen": 4.227148532867432,
548
+ "rewards/margins": 7.447656154632568,
549
+ "rewards/rejected": -3.2217774391174316,
550
+ "step": 360
551
+ },
552
+ {
553
+ "epoch": 1.8226600985221675,
554
+ "grad_norm": 15.941888809204102,
555
+ "learning_rate": 3.9408866995073894e-07,
556
+ "logits/chosen": -2.902148485183716,
557
+ "logits/rejected": -2.928515672683716,
558
+ "logps/chosen": -604.2249755859375,
559
+ "logps/rejected": -547.5,
560
+ "loss": 0.0025,
561
+ "rewards/accuracies": 1.0,
562
+ "rewards/chosen": 4.381640434265137,
563
+ "rewards/margins": 8.069140434265137,
564
+ "rewards/rejected": -3.687939405441284,
565
+ "step": 370
566
+ },
567
+ {
568
+ "epoch": 1.8719211822660098,
569
+ "grad_norm": 4.674588680267334,
570
+ "learning_rate": 3.776683087027914e-07,
571
+ "logits/chosen": -2.9037108421325684,
572
+ "logits/rejected": -2.879687547683716,
573
+ "logps/chosen": -474.6000061035156,
574
+ "logps/rejected": -391.76251220703125,
575
+ "loss": 0.0022,
576
+ "rewards/accuracies": 1.0,
577
+ "rewards/chosen": 4.585546970367432,
578
+ "rewards/margins": 8.424219131469727,
579
+ "rewards/rejected": -3.837695360183716,
580
+ "step": 380
581
+ },
582
+ {
583
+ "epoch": 1.9211822660098523,
584
+ "grad_norm": 0.05743112042546272,
585
+ "learning_rate": 3.61247947454844e-07,
586
+ "logits/chosen": -2.8984375,
587
+ "logits/rejected": -2.889843702316284,
588
+ "logps/chosen": -501.17498779296875,
589
+ "logps/rejected": -456.5375061035156,
590
+ "loss": 0.0013,
591
+ "rewards/accuracies": 1.0,
592
+ "rewards/chosen": 3.5552735328674316,
593
+ "rewards/margins": 8.082422256469727,
594
+ "rewards/rejected": -4.527148246765137,
595
+ "step": 390
596
+ },
597
+ {
598
+ "epoch": 1.9704433497536946,
599
+ "grad_norm": 1.0344998836517334,
600
+ "learning_rate": 3.4482758620689656e-07,
601
+ "logits/chosen": -2.870312452316284,
602
+ "logits/rejected": -2.902539014816284,
603
+ "logps/chosen": -677.1500244140625,
604
+ "logps/rejected": -541.2750244140625,
605
+ "loss": 0.0014,
606
+ "rewards/accuracies": 1.0,
607
+ "rewards/chosen": 5.013574123382568,
608
+ "rewards/margins": 8.578516006469727,
609
+ "rewards/rejected": -3.563671827316284,
610
+ "step": 400
611
+ },
612
+ {
613
+ "epoch": 2.019704433497537,
614
+ "grad_norm": 0.010985920205712318,
615
+ "learning_rate": 3.284072249589491e-07,
616
+ "logits/chosen": -2.8814454078674316,
617
+ "logits/rejected": -2.8861327171325684,
618
+ "logps/chosen": -626.9000244140625,
619
+ "logps/rejected": -477.8500061035156,
620
+ "loss": 0.0018,
621
+ "rewards/accuracies": 1.0,
622
+ "rewards/chosen": 4.729150295257568,
623
+ "rewards/margins": 8.932812690734863,
624
+ "rewards/rejected": -4.202734470367432,
625
+ "step": 410
626
+ },
627
+ {
628
+ "epoch": 2.0689655172413794,
629
+ "grad_norm": 0.1741197407245636,
630
+ "learning_rate": 3.1198686371100166e-07,
631
+ "logits/chosen": -2.901562452316284,
632
+ "logits/rejected": -2.862499952316284,
633
+ "logps/chosen": -532.375,
634
+ "logps/rejected": -427.9375,
635
+ "loss": 0.001,
636
+ "rewards/accuracies": 1.0,
637
+ "rewards/chosen": 4.255273342132568,
638
+ "rewards/margins": 8.537500381469727,
639
+ "rewards/rejected": -4.283593654632568,
640
+ "step": 420
641
+ },
642
+ {
643
+ "epoch": 2.1182266009852215,
644
+ "grad_norm": 0.1754264533519745,
645
+ "learning_rate": 2.955665024630542e-07,
646
+ "logits/chosen": -2.9078125953674316,
647
+ "logits/rejected": -2.862499952316284,
648
+ "logps/chosen": -651.0250244140625,
649
+ "logps/rejected": -490.2749938964844,
650
+ "loss": 0.0003,
651
+ "rewards/accuracies": 1.0,
652
+ "rewards/chosen": 5.1142578125,
653
+ "rewards/margins": 8.8984375,
654
+ "rewards/rejected": -3.78515625,
655
+ "step": 430
656
+ },
657
+ {
658
+ "epoch": 2.167487684729064,
659
+ "grad_norm": 0.08032465726137161,
660
+ "learning_rate": 2.791461412151067e-07,
661
+ "logits/chosen": -2.803906202316284,
662
+ "logits/rejected": -2.845703125,
663
+ "logps/chosen": -545.1749877929688,
664
+ "logps/rejected": -481.25,
665
+ "loss": 0.0005,
666
+ "rewards/accuracies": 1.0,
667
+ "rewards/chosen": 4.478662014007568,
668
+ "rewards/margins": 9.135937690734863,
669
+ "rewards/rejected": -4.656054496765137,
670
+ "step": 440
671
+ },
672
+ {
673
+ "epoch": 2.2167487684729066,
674
+ "grad_norm": 2.0722830295562744,
675
+ "learning_rate": 2.627257799671593e-07,
676
+ "logits/chosen": -2.904296875,
677
+ "logits/rejected": -2.914257764816284,
678
+ "logps/chosen": -572.5999755859375,
679
+ "logps/rejected": -413.7250061035156,
680
+ "loss": 0.004,
681
+ "rewards/accuracies": 1.0,
682
+ "rewards/chosen": 4.226953029632568,
683
+ "rewards/margins": 8.386327743530273,
684
+ "rewards/rejected": -4.160058498382568,
685
+ "step": 450
686
+ },
687
+ {
688
+ "epoch": 2.2660098522167487,
689
+ "grad_norm": 4.566242694854736,
690
+ "learning_rate": 2.463054187192118e-07,
691
+ "logits/chosen": -2.8623046875,
692
+ "logits/rejected": -2.8636717796325684,
693
+ "logps/chosen": -614.2249755859375,
694
+ "logps/rejected": -475.67498779296875,
695
+ "loss": 0.001,
696
+ "rewards/accuracies": 1.0,
697
+ "rewards/chosen": 5.31640625,
698
+ "rewards/margins": 9.180859565734863,
699
+ "rewards/rejected": -3.8641600608825684,
700
+ "step": 460
701
+ },
702
+ {
703
+ "epoch": 2.315270935960591,
704
+ "grad_norm": 0.5854314565658569,
705
+ "learning_rate": 2.2988505747126435e-07,
706
+ "logits/chosen": -2.878124952316284,
707
+ "logits/rejected": -2.874804735183716,
708
+ "logps/chosen": -593.5999755859375,
709
+ "logps/rejected": -473.2250061035156,
710
+ "loss": 0.0012,
711
+ "rewards/accuracies": 1.0,
712
+ "rewards/chosen": 5.661718845367432,
713
+ "rewards/margins": 9.364453315734863,
714
+ "rewards/rejected": -3.7030272483825684,
715
+ "step": 470
716
+ },
717
+ {
718
+ "epoch": 2.3645320197044333,
719
+ "grad_norm": 0.001913163810968399,
720
+ "learning_rate": 2.134646962233169e-07,
721
+ "logits/chosen": -2.888867139816284,
722
+ "logits/rejected": -2.907421827316284,
723
+ "logps/chosen": -611.1500244140625,
724
+ "logps/rejected": -485.3500061035156,
725
+ "loss": 0.0017,
726
+ "rewards/accuracies": 1.0,
727
+ "rewards/chosen": 5.228613376617432,
728
+ "rewards/margins": 8.978515625,
729
+ "rewards/rejected": -3.7503905296325684,
730
+ "step": 480
731
+ },
732
+ {
733
+ "epoch": 2.413793103448276,
734
+ "grad_norm": 0.8092690110206604,
735
+ "learning_rate": 1.9704433497536947e-07,
736
+ "logits/chosen": -2.863085985183716,
737
+ "logits/rejected": -2.887890577316284,
738
+ "logps/chosen": -421.54998779296875,
739
+ "logps/rejected": -368.42498779296875,
740
+ "loss": 0.0076,
741
+ "rewards/accuracies": 1.0,
742
+ "rewards/chosen": 3.868457078933716,
743
+ "rewards/margins": 8.104687690734863,
744
+ "rewards/rejected": -4.236718654632568,
745
+ "step": 490
746
+ },
747
+ {
748
+ "epoch": 2.4630541871921183,
749
+ "grad_norm": 31.578500747680664,
750
+ "learning_rate": 1.80623973727422e-07,
751
+ "logits/chosen": -2.8681640625,
752
+ "logits/rejected": -2.8470702171325684,
753
+ "logps/chosen": -434.07501220703125,
754
+ "logps/rejected": -409.2749938964844,
755
+ "loss": 0.0114,
756
+ "rewards/accuracies": 1.0,
757
+ "rewards/chosen": 2.9619140625,
758
+ "rewards/margins": 7.552343845367432,
759
+ "rewards/rejected": -4.591406345367432,
760
+ "step": 500
761
+ }
762
+ ],
763
+ "logging_steps": 10,
764
+ "max_steps": 609,
765
+ "num_input_tokens_seen": 0,
766
+ "num_train_epochs": 3,
767
+ "save_steps": 500,
768
+ "stateful_callbacks": {
769
+ "TrainerControl": {
770
+ "args": {
771
+ "should_epoch_stop": false,
772
+ "should_evaluate": false,
773
+ "should_log": false,
774
+ "should_save": true,
775
+ "should_training_stop": false
776
+ },
777
+ "attributes": {}
778
+ }
779
+ },
780
+ "total_flos": 0.0,
781
+ "train_batch_size": 2,
782
+ "trial_name": null,
783
+ "trial_params": null
784
+ }
dpo-training/checkpoint-500/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f3d8ccd263f4895ca2bf34af708a7343c52ae03679473ca28aa1232d5d17a7bd
3
+ size 6737
dpo-training/checkpoint-609/README.md ADDED
@@ -0,0 +1,210 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: unsloth/mistral-7b-instruct-v0.3-bnb-4bit
3
+ library_name: peft
4
+ pipeline_tag: text-generation
5
+ tags:
6
+ - base_model:adapter:unsloth/mistral-7b-instruct-v0.3-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.17.0
dpo-training/checkpoint-609/adapter_config.json ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "unsloth/mistral-7b-instruct-v0.3-bnb-4bit",
5
+ "bias": "none",
6
+ "corda_config": null,
7
+ "eva_config": null,
8
+ "exclude_modules": null,
9
+ "fan_in_fan_out": false,
10
+ "inference_mode": true,
11
+ "init_lora_weights": true,
12
+ "layer_replication": null,
13
+ "layers_pattern": null,
14
+ "layers_to_transform": null,
15
+ "loftq_config": {},
16
+ "lora_alpha": 64,
17
+ "lora_bias": false,
18
+ "lora_dropout": 0.1,
19
+ "megatron_config": null,
20
+ "megatron_core": "megatron.core",
21
+ "modules_to_save": [
22
+ "lm_head"
23
+ ],
24
+ "peft_type": "LORA",
25
+ "qalora_group_size": 16,
26
+ "r": 32,
27
+ "rank_pattern": {},
28
+ "revision": null,
29
+ "target_modules": [
30
+ "down_proj",
31
+ "q_proj",
32
+ "up_proj",
33
+ "k_proj",
34
+ "o_proj",
35
+ "gate_proj",
36
+ "v_proj"
37
+ ],
38
+ "target_parameters": null,
39
+ "task_type": "CAUSAL_LM",
40
+ "trainable_token_indices": null,
41
+ "use_dora": false,
42
+ "use_qalora": false,
43
+ "use_rslora": false
44
+ }
dpo-training/checkpoint-609/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:00059792c1bec532af18992354af15edcc79a0ffa1fd69c18eacad091ec82682
3
+ size 872476000
dpo-training/checkpoint-609/chat_template.jinja ADDED
@@ -0,0 +1,87 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {%- if messages[0]["role"] == "system" %}
2
+ {%- set system_message = messages[0]["content"] %}
3
+ {%- set loop_messages = messages[1:] %}
4
+ {%- else %}
5
+ {%- set loop_messages = messages %}
6
+ {%- endif %}
7
+ {%- if not tools is defined %}
8
+ {%- set tools = none %}
9
+ {%- endif %}
10
+ {%- set user_messages = loop_messages | selectattr("role", "equalto", "user") | list %}
11
+
12
+ {#- This block checks for alternating user/assistant messages, skipping tool calling messages #}
13
+ {%- set ns = namespace() %}
14
+ {%- set ns.index = 0 %}
15
+ {%- for message in loop_messages %}
16
+ {%- if not (message.role == "tool" or message.role == "tool_results" or (message.tool_calls is defined and message.tool_calls is not none)) %}
17
+ {%- if (message["role"] == "user") != (ns.index % 2 == 0) %}
18
+ {{- raise_exception("After the optional system message, conversation roles must alternate user/assistant/user/assistant/...") }}
19
+ {%- endif %}
20
+ {%- set ns.index = ns.index + 1 %}
21
+ {%- endif %}
22
+ {%- endfor %}
23
+
24
+ {{- bos_token }}
25
+ {%- for message in loop_messages %}
26
+ {%- if message["role"] == "user" %}
27
+ {%- if tools is not none and (message == user_messages[-1]) %}
28
+ {{- "[AVAILABLE_TOOLS] [" }}
29
+ {%- for tool in tools %}
30
+ {%- set tool = tool.function %}
31
+ {{- '{"type": "function", "function": {' }}
32
+ {%- for key, val in tool.items() if key != "return" %}
33
+ {%- if val is string %}
34
+ {{- '"' + key + '": "' + val + '"' }}
35
+ {%- else %}
36
+ {{- '"' + key + '": ' + val|tojson }}
37
+ {%- endif %}
38
+ {%- if not loop.last %}
39
+ {{- ", " }}
40
+ {%- endif %}
41
+ {%- endfor %}
42
+ {{- "}}" }}
43
+ {%- if not loop.last %}
44
+ {{- ", " }}
45
+ {%- else %}
46
+ {{- "]" }}
47
+ {%- endif %}
48
+ {%- endfor %}
49
+ {{- "[/AVAILABLE_TOOLS]" }}
50
+ {%- endif %}
51
+ {%- if loop.last and system_message is defined %}
52
+ {{- "[INST] " + system_message + "\n\n" + message["content"] + "[/INST]" }}
53
+ {%- else %}
54
+ {{- "[INST] " + message["content"] + "[/INST]" }}
55
+ {%- endif %}
56
+ {%- elif message.tool_calls is defined and message.tool_calls is not none %}
57
+ {{- "[TOOL_CALLS] [" }}
58
+ {%- for tool_call in message.tool_calls %}
59
+ {%- set out = tool_call.function|tojson %}
60
+ {{- out[:-1] }}
61
+ {%- if not tool_call.id is defined or tool_call.id|length != 9 %}
62
+ {{- raise_exception("Tool call IDs should be alphanumeric strings with length 9!") }}
63
+ {%- endif %}
64
+ {{- ', "id": "' + tool_call.id + '"}' }}
65
+ {%- if not loop.last %}
66
+ {{- ", " }}
67
+ {%- else %}
68
+ {{- "]" + eos_token }}
69
+ {%- endif %}
70
+ {%- endfor %}
71
+ {%- elif message["role"] == "assistant" %}
72
+ {{- " " + message["content"]|trim + eos_token}}
73
+ {%- elif message["role"] == "tool_results" or message["role"] == "tool" %}
74
+ {%- if message.content is defined and message.content.content is defined %}
75
+ {%- set content = message.content.content %}
76
+ {%- else %}
77
+ {%- set content = message.content %}
78
+ {%- endif %}
79
+ {{- '[TOOL_RESULTS] {"content": ' + content|string + ", " }}
80
+ {%- if not message.tool_call_id is defined or message.tool_call_id|length != 9 %}
81
+ {{- raise_exception("Tool call IDs should be alphanumeric strings with length 9!") }}
82
+ {%- endif %}
83
+ {{- '"call_id": "' + message.tool_call_id + '"}[/TOOL_RESULTS]' }}
84
+ {%- else %}
85
+ {{- raise_exception("Only user and assistant roles are supported, with the exception of an initial optional system message!") }}
86
+ {%- endif %}
87
+ {%- endfor %}
dpo-training/checkpoint-609/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:db34051a522e32f6d69b144e055a861c4a498e088238fe031e60511cd2aa1925
3
+ size 1745216102
dpo-training/checkpoint-609/reference/adapter_config.json ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "unsloth/mistral-7b-instruct-v0.3-bnb-4bit",
5
+ "bias": "none",
6
+ "corda_config": null,
7
+ "eva_config": null,
8
+ "exclude_modules": null,
9
+ "fan_in_fan_out": false,
10
+ "inference_mode": true,
11
+ "init_lora_weights": true,
12
+ "layer_replication": null,
13
+ "layers_pattern": null,
14
+ "layers_to_transform": null,
15
+ "loftq_config": {},
16
+ "lora_alpha": 64,
17
+ "lora_bias": false,
18
+ "lora_dropout": 0.1,
19
+ "megatron_config": null,
20
+ "megatron_core": "megatron.core",
21
+ "modules_to_save": [
22
+ "lm_head"
23
+ ],
24
+ "peft_type": "LORA",
25
+ "qalora_group_size": 16,
26
+ "r": 32,
27
+ "rank_pattern": {},
28
+ "revision": null,
29
+ "target_modules": [
30
+ "down_proj",
31
+ "q_proj",
32
+ "up_proj",
33
+ "k_proj",
34
+ "o_proj",
35
+ "gate_proj",
36
+ "v_proj"
37
+ ],
38
+ "target_parameters": null,
39
+ "task_type": "CAUSAL_LM",
40
+ "trainable_token_indices": null,
41
+ "use_dora": false,
42
+ "use_qalora": false,
43
+ "use_rslora": false
44
+ }
dpo-training/checkpoint-609/reference/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:efaaf996bb35adda1d46fb82561a955d2480a46caa0bf95bd5582ce2fd24214c
3
+ size 604040264
dpo-training/checkpoint-609/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f4a9f217e852f439efa6bd32fde98d6867f11aa6ea13ddc021ba10af6a0b0934
3
+ size 14645
dpo-training/checkpoint-609/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d85180873e554797c40a91f5d03b53633deb4d0b3576699d3ec1a2519aa9ff6a
3
+ size 1465
dpo-training/checkpoint-609/special_tokens_map.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "</s>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "[control_768]",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "unk_token": {
24
+ "content": "<unk>",
25
+ "lstrip": false,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ }
30
+ }
dpo-training/checkpoint-609/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
dpo-training/checkpoint-609/tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:37f00374dea48658ee8f5d0f21895b9bc55cb0103939607c8185bfd1c6ca1f89
3
+ size 587404
dpo-training/checkpoint-609/tokenizer_config.json ADDED
The diff for this file is too large to render. See raw diff
 
dpo-training/checkpoint-609/trainer_state.json ADDED
@@ -0,0 +1,934 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 3.0,
6
+ "eval_steps": 500,
7
+ "global_step": 609,
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.04926108374384237,
14
+ "grad_norm": 203.1785888671875,
15
+ "learning_rate": 9.852216748768472e-07,
16
+ "logits/chosen": -2.98828125,
17
+ "logits/rejected": -2.985156297683716,
18
+ "logps/chosen": -690.875,
19
+ "logps/rejected": -472.0,
20
+ "loss": 0.6387,
21
+ "rewards/accuracies": 0.75,
22
+ "rewards/chosen": 0.11501464992761612,
23
+ "rewards/margins": 0.1190643310546875,
24
+ "rewards/rejected": -0.004062652587890625,
25
+ "step": 10
26
+ },
27
+ {
28
+ "epoch": 0.09852216748768473,
29
+ "grad_norm": 183.48594665527344,
30
+ "learning_rate": 9.688013136288999e-07,
31
+ "logits/chosen": -2.9632811546325684,
32
+ "logits/rejected": -2.9994139671325684,
33
+ "logps/chosen": -623.5499877929688,
34
+ "logps/rejected": -358.7749938964844,
35
+ "loss": 0.5256,
36
+ "rewards/accuracies": 0.949999988079071,
37
+ "rewards/chosen": 0.569934070110321,
38
+ "rewards/margins": 0.41779786348342896,
39
+ "rewards/rejected": 0.15219727158546448,
40
+ "step": 20
41
+ },
42
+ {
43
+ "epoch": 0.1477832512315271,
44
+ "grad_norm": 177.51573181152344,
45
+ "learning_rate": 9.523809523809522e-07,
46
+ "logits/chosen": -2.962109327316284,
47
+ "logits/rejected": -2.997851610183716,
48
+ "logps/chosen": -673.3250122070312,
49
+ "logps/rejected": -418.51251220703125,
50
+ "loss": 0.3765,
51
+ "rewards/accuracies": 1.0,
52
+ "rewards/chosen": 1.367431640625,
53
+ "rewards/margins": 0.95556640625,
54
+ "rewards/rejected": 0.411865234375,
55
+ "step": 30
56
+ },
57
+ {
58
+ "epoch": 0.19704433497536947,
59
+ "grad_norm": 116.17716217041016,
60
+ "learning_rate": 9.359605911330048e-07,
61
+ "logits/chosen": -2.9925780296325684,
62
+ "logits/rejected": -2.9916014671325684,
63
+ "logps/chosen": -607.4500122070312,
64
+ "logps/rejected": -430.25,
65
+ "loss": 0.2823,
66
+ "rewards/accuracies": 1.0,
67
+ "rewards/chosen": 1.7712891101837158,
68
+ "rewards/margins": 1.2548828125,
69
+ "rewards/rejected": 0.5162353515625,
70
+ "step": 40
71
+ },
72
+ {
73
+ "epoch": 0.24630541871921183,
74
+ "grad_norm": 77.2922134399414,
75
+ "learning_rate": 9.195402298850574e-07,
76
+ "logits/chosen": -2.985546827316284,
77
+ "logits/rejected": -3.000781297683716,
78
+ "logps/chosen": -630.8499755859375,
79
+ "logps/rejected": -426.5249938964844,
80
+ "loss": 0.2678,
81
+ "rewards/accuracies": 0.949999988079071,
82
+ "rewards/chosen": 2.05859375,
83
+ "rewards/margins": 1.4564940929412842,
84
+ "rewards/rejected": 0.6025635004043579,
85
+ "step": 50
86
+ },
87
+ {
88
+ "epoch": 0.2955665024630542,
89
+ "grad_norm": 58.28313064575195,
90
+ "learning_rate": 9.0311986863711e-07,
91
+ "logits/chosen": -2.9937500953674316,
92
+ "logits/rejected": -3.0072264671325684,
93
+ "logps/chosen": -628.125,
94
+ "logps/rejected": -483.5249938964844,
95
+ "loss": 0.2115,
96
+ "rewards/accuracies": 1.0,
97
+ "rewards/chosen": 2.308789014816284,
98
+ "rewards/margins": 1.748046875,
99
+ "rewards/rejected": 0.56072998046875,
100
+ "step": 60
101
+ },
102
+ {
103
+ "epoch": 0.3448275862068966,
104
+ "grad_norm": 103.42900085449219,
105
+ "learning_rate": 8.866995073891625e-07,
106
+ "logits/chosen": -2.976367235183716,
107
+ "logits/rejected": -2.9605469703674316,
108
+ "logps/chosen": -559.3499755859375,
109
+ "logps/rejected": -378.125,
110
+ "loss": 0.1628,
111
+ "rewards/accuracies": 1.0,
112
+ "rewards/chosen": 2.4417967796325684,
113
+ "rewards/margins": 2.049023389816284,
114
+ "rewards/rejected": 0.39243775606155396,
115
+ "step": 70
116
+ },
117
+ {
118
+ "epoch": 0.39408866995073893,
119
+ "grad_norm": 101.71812438964844,
120
+ "learning_rate": 8.702791461412151e-07,
121
+ "logits/chosen": -2.9664063453674316,
122
+ "logits/rejected": -3.003710985183716,
123
+ "logps/chosen": -625.6500244140625,
124
+ "logps/rejected": -388.6499938964844,
125
+ "loss": 0.143,
126
+ "rewards/accuracies": 0.949999988079071,
127
+ "rewards/chosen": 3.1548829078674316,
128
+ "rewards/margins": 2.657421827316284,
129
+ "rewards/rejected": 0.49718016386032104,
130
+ "step": 80
131
+ },
132
+ {
133
+ "epoch": 0.4433497536945813,
134
+ "grad_norm": 28.862045288085938,
135
+ "learning_rate": 8.538587848932676e-07,
136
+ "logits/chosen": -2.985156297683716,
137
+ "logits/rejected": -2.994140625,
138
+ "logps/chosen": -611.2999877929688,
139
+ "logps/rejected": -465.0,
140
+ "loss": 0.1131,
141
+ "rewards/accuracies": 1.0,
142
+ "rewards/chosen": 3.06591796875,
143
+ "rewards/margins": 2.7118163108825684,
144
+ "rewards/rejected": 0.3544158935546875,
145
+ "step": 90
146
+ },
147
+ {
148
+ "epoch": 0.49261083743842365,
149
+ "grad_norm": 20.341941833496094,
150
+ "learning_rate": 8.374384236453202e-07,
151
+ "logits/chosen": -2.994335889816284,
152
+ "logits/rejected": -2.9779295921325684,
153
+ "logps/chosen": -465.8374938964844,
154
+ "logps/rejected": -401.6875,
155
+ "loss": 0.1633,
156
+ "rewards/accuracies": 0.949999988079071,
157
+ "rewards/chosen": 2.720996141433716,
158
+ "rewards/margins": 2.49609375,
159
+ "rewards/rejected": 0.22498169541358948,
160
+ "step": 100
161
+ },
162
+ {
163
+ "epoch": 0.541871921182266,
164
+ "grad_norm": 4.284467697143555,
165
+ "learning_rate": 8.210180623973727e-07,
166
+ "logits/chosen": -2.952343702316284,
167
+ "logits/rejected": -2.974414110183716,
168
+ "logps/chosen": -587.5999755859375,
169
+ "logps/rejected": -450.95001220703125,
170
+ "loss": 0.0498,
171
+ "rewards/accuracies": 1.0,
172
+ "rewards/chosen": 3.9847655296325684,
173
+ "rewards/margins": 3.97265625,
174
+ "rewards/rejected": 0.01254882849752903,
175
+ "step": 110
176
+ },
177
+ {
178
+ "epoch": 0.5911330049261084,
179
+ "grad_norm": 12.270442962646484,
180
+ "learning_rate": 8.045977011494253e-07,
181
+ "logits/chosen": -2.975390672683716,
182
+ "logits/rejected": -2.988085985183716,
183
+ "logps/chosen": -662.7750244140625,
184
+ "logps/rejected": -446.6499938964844,
185
+ "loss": 0.0609,
186
+ "rewards/accuracies": 1.0,
187
+ "rewards/chosen": 3.9697265625,
188
+ "rewards/margins": 4.036913871765137,
189
+ "rewards/rejected": -0.06724242866039276,
190
+ "step": 120
191
+ },
192
+ {
193
+ "epoch": 0.6403940886699507,
194
+ "grad_norm": 67.37637329101562,
195
+ "learning_rate": 7.881773399014779e-07,
196
+ "logits/chosen": -2.967578172683716,
197
+ "logits/rejected": -2.986132860183716,
198
+ "logps/chosen": -573.1500244140625,
199
+ "logps/rejected": -439.29998779296875,
200
+ "loss": 0.1303,
201
+ "rewards/accuracies": 1.0,
202
+ "rewards/chosen": 2.8240723609924316,
203
+ "rewards/margins": 3.335742235183716,
204
+ "rewards/rejected": -0.511059582233429,
205
+ "step": 130
206
+ },
207
+ {
208
+ "epoch": 0.6896551724137931,
209
+ "grad_norm": 8.81290054321289,
210
+ "learning_rate": 7.717569786535302e-07,
211
+ "logits/chosen": -3.0111327171325684,
212
+ "logits/rejected": -2.962695360183716,
213
+ "logps/chosen": -530.0,
214
+ "logps/rejected": -394.0249938964844,
215
+ "loss": 0.0831,
216
+ "rewards/accuracies": 1.0,
217
+ "rewards/chosen": 3.523144483566284,
218
+ "rewards/margins": 4.159960746765137,
219
+ "rewards/rejected": -0.6378753781318665,
220
+ "step": 140
221
+ },
222
+ {
223
+ "epoch": 0.7389162561576355,
224
+ "grad_norm": 0.581110417842865,
225
+ "learning_rate": 7.553366174055828e-07,
226
+ "logits/chosen": -2.9365234375,
227
+ "logits/rejected": -2.972851514816284,
228
+ "logps/chosen": -658.2999877929688,
229
+ "logps/rejected": -472.45001220703125,
230
+ "loss": 0.0689,
231
+ "rewards/accuracies": 1.0,
232
+ "rewards/chosen": 3.7357420921325684,
233
+ "rewards/margins": 4.794140815734863,
234
+ "rewards/rejected": -1.0580871105194092,
235
+ "step": 150
236
+ },
237
+ {
238
+ "epoch": 0.7881773399014779,
239
+ "grad_norm": 4.293052673339844,
240
+ "learning_rate": 7.389162561576354e-07,
241
+ "logits/chosen": -2.955273389816284,
242
+ "logits/rejected": -2.958203077316284,
243
+ "logps/chosen": -604.75,
244
+ "logps/rejected": -414.45001220703125,
245
+ "loss": 0.1006,
246
+ "rewards/accuracies": 0.949999988079071,
247
+ "rewards/chosen": 3.843554735183716,
248
+ "rewards/margins": 4.778710842132568,
249
+ "rewards/rejected": -0.9347168207168579,
250
+ "step": 160
251
+ },
252
+ {
253
+ "epoch": 0.8374384236453202,
254
+ "grad_norm": 24.498516082763672,
255
+ "learning_rate": 7.22495894909688e-07,
256
+ "logits/chosen": -2.912890672683716,
257
+ "logits/rejected": -2.9447264671325684,
258
+ "logps/chosen": -444.0,
259
+ "logps/rejected": -369.875,
260
+ "loss": 0.0323,
261
+ "rewards/accuracies": 1.0,
262
+ "rewards/chosen": 2.6924805641174316,
263
+ "rewards/margins": 4.558398246765137,
264
+ "rewards/rejected": -1.8652222156524658,
265
+ "step": 170
266
+ },
267
+ {
268
+ "epoch": 0.8866995073891626,
269
+ "grad_norm": 0.2468932420015335,
270
+ "learning_rate": 7.060755336617405e-07,
271
+ "logits/chosen": -2.987499952316284,
272
+ "logits/rejected": -2.9697265625,
273
+ "logps/chosen": -534.7874755859375,
274
+ "logps/rejected": -407.95001220703125,
275
+ "loss": 0.0441,
276
+ "rewards/accuracies": 1.0,
277
+ "rewards/chosen": 3.237597703933716,
278
+ "rewards/margins": 5.033593654632568,
279
+ "rewards/rejected": -1.7952880859375,
280
+ "step": 180
281
+ },
282
+ {
283
+ "epoch": 0.9359605911330049,
284
+ "grad_norm": 1.9548287391662598,
285
+ "learning_rate": 6.896551724137931e-07,
286
+ "logits/chosen": -2.916796922683716,
287
+ "logits/rejected": -2.970898389816284,
288
+ "logps/chosen": -485.07501220703125,
289
+ "logps/rejected": -406.3999938964844,
290
+ "loss": 0.0642,
291
+ "rewards/accuracies": 0.949999988079071,
292
+ "rewards/chosen": 3.289843797683716,
293
+ "rewards/margins": 5.383984565734863,
294
+ "rewards/rejected": -2.09442138671875,
295
+ "step": 190
296
+ },
297
+ {
298
+ "epoch": 0.9852216748768473,
299
+ "grad_norm": 59.31279373168945,
300
+ "learning_rate": 6.732348111658456e-07,
301
+ "logits/chosen": -2.9380860328674316,
302
+ "logits/rejected": -2.986328125,
303
+ "logps/chosen": -613.0499877929688,
304
+ "logps/rejected": -481.875,
305
+ "loss": 0.0267,
306
+ "rewards/accuracies": 1.0,
307
+ "rewards/chosen": 3.551562547683716,
308
+ "rewards/margins": 5.289258003234863,
309
+ "rewards/rejected": -1.737390160560608,
310
+ "step": 200
311
+ },
312
+ {
313
+ "epoch": 1.0344827586206897,
314
+ "grad_norm": 32.091800689697266,
315
+ "learning_rate": 6.568144499178982e-07,
316
+ "logits/chosen": -2.9224610328674316,
317
+ "logits/rejected": -2.927539110183716,
318
+ "logps/chosen": -489.625,
319
+ "logps/rejected": -415.125,
320
+ "loss": 0.0108,
321
+ "rewards/accuracies": 1.0,
322
+ "rewards/chosen": 3.927929639816284,
323
+ "rewards/margins": 6.529296875,
324
+ "rewards/rejected": -2.6015625,
325
+ "step": 210
326
+ },
327
+ {
328
+ "epoch": 1.083743842364532,
329
+ "grad_norm": 0.8448113203048706,
330
+ "learning_rate": 6.403940886699507e-07,
331
+ "logits/chosen": -2.9287109375,
332
+ "logits/rejected": -2.9339842796325684,
333
+ "logps/chosen": -632.0250244140625,
334
+ "logps/rejected": -485.5,
335
+ "loss": 0.0078,
336
+ "rewards/accuracies": 1.0,
337
+ "rewards/chosen": 5.085351467132568,
338
+ "rewards/margins": 7.605078220367432,
339
+ "rewards/rejected": -2.5193848609924316,
340
+ "step": 220
341
+ },
342
+ {
343
+ "epoch": 1.1330049261083743,
344
+ "grad_norm": 0.14300227165222168,
345
+ "learning_rate": 6.239737274220033e-07,
346
+ "logits/chosen": -2.9417967796325684,
347
+ "logits/rejected": -2.9359374046325684,
348
+ "logps/chosen": -614.9749755859375,
349
+ "logps/rejected": -458.8500061035156,
350
+ "loss": 0.0014,
351
+ "rewards/accuracies": 1.0,
352
+ "rewards/chosen": 4.646582126617432,
353
+ "rewards/margins": 7.631640434265137,
354
+ "rewards/rejected": -2.9849610328674316,
355
+ "step": 230
356
+ },
357
+ {
358
+ "epoch": 1.1822660098522166,
359
+ "grad_norm": 0.5171189904212952,
360
+ "learning_rate": 6.075533661740558e-07,
361
+ "logits/chosen": -2.9417967796325684,
362
+ "logits/rejected": -2.9496092796325684,
363
+ "logps/chosen": -513.7999877929688,
364
+ "logps/rejected": -413.51251220703125,
365
+ "loss": 0.003,
366
+ "rewards/accuracies": 1.0,
367
+ "rewards/chosen": 4.515625,
368
+ "rewards/margins": 7.489843845367432,
369
+ "rewards/rejected": -2.9735350608825684,
370
+ "step": 240
371
+ },
372
+ {
373
+ "epoch": 1.2315270935960592,
374
+ "grad_norm": 3.326808214187622,
375
+ "learning_rate": 5.911330049261084e-07,
376
+ "logits/chosen": -2.9404296875,
377
+ "logits/rejected": -2.9400391578674316,
378
+ "logps/chosen": -574.5750122070312,
379
+ "logps/rejected": -494.2749938964844,
380
+ "loss": 0.0062,
381
+ "rewards/accuracies": 1.0,
382
+ "rewards/chosen": 4.180273532867432,
383
+ "rewards/margins": 7.197656154632568,
384
+ "rewards/rejected": -3.016406297683716,
385
+ "step": 250
386
+ },
387
+ {
388
+ "epoch": 1.2807881773399015,
389
+ "grad_norm": 30.087703704833984,
390
+ "learning_rate": 5.747126436781608e-07,
391
+ "logits/chosen": -2.9283204078674316,
392
+ "logits/rejected": -2.9000000953674316,
393
+ "logps/chosen": -520.1749877929688,
394
+ "logps/rejected": -373.1000061035156,
395
+ "loss": 0.0887,
396
+ "rewards/accuracies": 0.949999988079071,
397
+ "rewards/chosen": 4.016308784484863,
398
+ "rewards/margins": 7.095117092132568,
399
+ "rewards/rejected": -3.0791993141174316,
400
+ "step": 260
401
+ },
402
+ {
403
+ "epoch": 1.3300492610837438,
404
+ "grad_norm": 0.6066940426826477,
405
+ "learning_rate": 5.582922824302134e-07,
406
+ "logits/chosen": -2.915820360183716,
407
+ "logits/rejected": -2.9224610328674316,
408
+ "logps/chosen": -600.5250244140625,
409
+ "logps/rejected": -442.45001220703125,
410
+ "loss": 0.0085,
411
+ "rewards/accuracies": 1.0,
412
+ "rewards/chosen": 4.91845703125,
413
+ "rewards/margins": 7.68359375,
414
+ "rewards/rejected": -2.7652344703674316,
415
+ "step": 270
416
+ },
417
+ {
418
+ "epoch": 1.3793103448275863,
419
+ "grad_norm": 0.05844691023230553,
420
+ "learning_rate": 5.41871921182266e-07,
421
+ "logits/chosen": -2.8941407203674316,
422
+ "logits/rejected": -2.9164061546325684,
423
+ "logps/chosen": -664.7000122070312,
424
+ "logps/rejected": -476.04998779296875,
425
+ "loss": 0.0087,
426
+ "rewards/accuracies": 1.0,
427
+ "rewards/chosen": 4.80078125,
428
+ "rewards/margins": 6.916796684265137,
429
+ "rewards/rejected": -2.115429639816284,
430
+ "step": 280
431
+ },
432
+ {
433
+ "epoch": 1.4285714285714286,
434
+ "grad_norm": 29.84724235534668,
435
+ "learning_rate": 5.254515599343186e-07,
436
+ "logits/chosen": -2.8882813453674316,
437
+ "logits/rejected": -2.8968749046325684,
438
+ "logps/chosen": -525.5999755859375,
439
+ "logps/rejected": -392.95001220703125,
440
+ "loss": 0.024,
441
+ "rewards/accuracies": 1.0,
442
+ "rewards/chosen": 4.382080078125,
443
+ "rewards/margins": 7.035742282867432,
444
+ "rewards/rejected": -2.6546630859375,
445
+ "step": 290
446
+ },
447
+ {
448
+ "epoch": 1.477832512315271,
449
+ "grad_norm": 1.2890305519104004,
450
+ "learning_rate": 5.090311986863711e-07,
451
+ "logits/chosen": -2.9185547828674316,
452
+ "logits/rejected": -2.9320311546325684,
453
+ "logps/chosen": -584.3250122070312,
454
+ "logps/rejected": -475.3999938964844,
455
+ "loss": 0.0025,
456
+ "rewards/accuracies": 1.0,
457
+ "rewards/chosen": 4.585351467132568,
458
+ "rewards/margins": 7.463281154632568,
459
+ "rewards/rejected": -2.878124952316284,
460
+ "step": 300
461
+ },
462
+ {
463
+ "epoch": 1.5270935960591134,
464
+ "grad_norm": 0.15950246155261993,
465
+ "learning_rate": 4.926108374384236e-07,
466
+ "logits/chosen": -2.887500047683716,
467
+ "logits/rejected": -2.9169921875,
468
+ "logps/chosen": -533.3250122070312,
469
+ "logps/rejected": -446.0249938964844,
470
+ "loss": 0.0034,
471
+ "rewards/accuracies": 1.0,
472
+ "rewards/chosen": 4.676367282867432,
473
+ "rewards/margins": 7.962109565734863,
474
+ "rewards/rejected": -3.284960985183716,
475
+ "step": 310
476
+ },
477
+ {
478
+ "epoch": 1.5763546798029555,
479
+ "grad_norm": 10.223557472229004,
480
+ "learning_rate": 4.761904761904761e-07,
481
+ "logits/chosen": -2.9205079078674316,
482
+ "logits/rejected": -2.9291014671325684,
483
+ "logps/chosen": -584.9375,
484
+ "logps/rejected": -426.32501220703125,
485
+ "loss": 0.004,
486
+ "rewards/accuracies": 1.0,
487
+ "rewards/chosen": 5.026074409484863,
488
+ "rewards/margins": 7.832421779632568,
489
+ "rewards/rejected": -2.806640625,
490
+ "step": 320
491
+ },
492
+ {
493
+ "epoch": 1.625615763546798,
494
+ "grad_norm": 0.08788923174142838,
495
+ "learning_rate": 4.597701149425287e-07,
496
+ "logits/chosen": -2.908007860183716,
497
+ "logits/rejected": -2.918164014816284,
498
+ "logps/chosen": -652.9874877929688,
499
+ "logps/rejected": -506.75,
500
+ "loss": 0.0199,
501
+ "rewards/accuracies": 1.0,
502
+ "rewards/chosen": 5.5665283203125,
503
+ "rewards/margins": 8.3828125,
504
+ "rewards/rejected": -2.816699266433716,
505
+ "step": 330
506
+ },
507
+ {
508
+ "epoch": 1.6748768472906403,
509
+ "grad_norm": 0.5178083181381226,
510
+ "learning_rate": 4.4334975369458127e-07,
511
+ "logits/chosen": -2.916015625,
512
+ "logits/rejected": -2.9380860328674316,
513
+ "logps/chosen": -552.1500244140625,
514
+ "logps/rejected": -440.32501220703125,
515
+ "loss": 0.0023,
516
+ "rewards/accuracies": 1.0,
517
+ "rewards/chosen": 4.864062309265137,
518
+ "rewards/margins": 8.216015815734863,
519
+ "rewards/rejected": -3.3515625,
520
+ "step": 340
521
+ },
522
+ {
523
+ "epoch": 1.7241379310344827,
524
+ "grad_norm": 0.028590844944119453,
525
+ "learning_rate": 4.269293924466338e-07,
526
+ "logits/chosen": -2.9164061546325684,
527
+ "logits/rejected": -2.9242186546325684,
528
+ "logps/chosen": -634.1749877929688,
529
+ "logps/rejected": -474.2250061035156,
530
+ "loss": 0.0025,
531
+ "rewards/accuracies": 1.0,
532
+ "rewards/chosen": 5.277929782867432,
533
+ "rewards/margins": 8.540624618530273,
534
+ "rewards/rejected": -3.262988328933716,
535
+ "step": 350
536
+ },
537
+ {
538
+ "epoch": 1.7733990147783252,
539
+ "grad_norm": 43.381683349609375,
540
+ "learning_rate": 4.1050903119868637e-07,
541
+ "logits/chosen": -2.9091796875,
542
+ "logits/rejected": -2.888671875,
543
+ "logps/chosen": -520.0999755859375,
544
+ "logps/rejected": -430.54998779296875,
545
+ "loss": 0.0155,
546
+ "rewards/accuracies": 1.0,
547
+ "rewards/chosen": 4.227148532867432,
548
+ "rewards/margins": 7.447656154632568,
549
+ "rewards/rejected": -3.2217774391174316,
550
+ "step": 360
551
+ },
552
+ {
553
+ "epoch": 1.8226600985221675,
554
+ "grad_norm": 15.941888809204102,
555
+ "learning_rate": 3.9408866995073894e-07,
556
+ "logits/chosen": -2.902148485183716,
557
+ "logits/rejected": -2.928515672683716,
558
+ "logps/chosen": -604.2249755859375,
559
+ "logps/rejected": -547.5,
560
+ "loss": 0.0025,
561
+ "rewards/accuracies": 1.0,
562
+ "rewards/chosen": 4.381640434265137,
563
+ "rewards/margins": 8.069140434265137,
564
+ "rewards/rejected": -3.687939405441284,
565
+ "step": 370
566
+ },
567
+ {
568
+ "epoch": 1.8719211822660098,
569
+ "grad_norm": 4.674588680267334,
570
+ "learning_rate": 3.776683087027914e-07,
571
+ "logits/chosen": -2.9037108421325684,
572
+ "logits/rejected": -2.879687547683716,
573
+ "logps/chosen": -474.6000061035156,
574
+ "logps/rejected": -391.76251220703125,
575
+ "loss": 0.0022,
576
+ "rewards/accuracies": 1.0,
577
+ "rewards/chosen": 4.585546970367432,
578
+ "rewards/margins": 8.424219131469727,
579
+ "rewards/rejected": -3.837695360183716,
580
+ "step": 380
581
+ },
582
+ {
583
+ "epoch": 1.9211822660098523,
584
+ "grad_norm": 0.05743112042546272,
585
+ "learning_rate": 3.61247947454844e-07,
586
+ "logits/chosen": -2.8984375,
587
+ "logits/rejected": -2.889843702316284,
588
+ "logps/chosen": -501.17498779296875,
589
+ "logps/rejected": -456.5375061035156,
590
+ "loss": 0.0013,
591
+ "rewards/accuracies": 1.0,
592
+ "rewards/chosen": 3.5552735328674316,
593
+ "rewards/margins": 8.082422256469727,
594
+ "rewards/rejected": -4.527148246765137,
595
+ "step": 390
596
+ },
597
+ {
598
+ "epoch": 1.9704433497536946,
599
+ "grad_norm": 1.0344998836517334,
600
+ "learning_rate": 3.4482758620689656e-07,
601
+ "logits/chosen": -2.870312452316284,
602
+ "logits/rejected": -2.902539014816284,
603
+ "logps/chosen": -677.1500244140625,
604
+ "logps/rejected": -541.2750244140625,
605
+ "loss": 0.0014,
606
+ "rewards/accuracies": 1.0,
607
+ "rewards/chosen": 5.013574123382568,
608
+ "rewards/margins": 8.578516006469727,
609
+ "rewards/rejected": -3.563671827316284,
610
+ "step": 400
611
+ },
612
+ {
613
+ "epoch": 2.019704433497537,
614
+ "grad_norm": 0.010985920205712318,
615
+ "learning_rate": 3.284072249589491e-07,
616
+ "logits/chosen": -2.8814454078674316,
617
+ "logits/rejected": -2.8861327171325684,
618
+ "logps/chosen": -626.9000244140625,
619
+ "logps/rejected": -477.8500061035156,
620
+ "loss": 0.0018,
621
+ "rewards/accuracies": 1.0,
622
+ "rewards/chosen": 4.729150295257568,
623
+ "rewards/margins": 8.932812690734863,
624
+ "rewards/rejected": -4.202734470367432,
625
+ "step": 410
626
+ },
627
+ {
628
+ "epoch": 2.0689655172413794,
629
+ "grad_norm": 0.1741197407245636,
630
+ "learning_rate": 3.1198686371100166e-07,
631
+ "logits/chosen": -2.901562452316284,
632
+ "logits/rejected": -2.862499952316284,
633
+ "logps/chosen": -532.375,
634
+ "logps/rejected": -427.9375,
635
+ "loss": 0.001,
636
+ "rewards/accuracies": 1.0,
637
+ "rewards/chosen": 4.255273342132568,
638
+ "rewards/margins": 8.537500381469727,
639
+ "rewards/rejected": -4.283593654632568,
640
+ "step": 420
641
+ },
642
+ {
643
+ "epoch": 2.1182266009852215,
644
+ "grad_norm": 0.1754264533519745,
645
+ "learning_rate": 2.955665024630542e-07,
646
+ "logits/chosen": -2.9078125953674316,
647
+ "logits/rejected": -2.862499952316284,
648
+ "logps/chosen": -651.0250244140625,
649
+ "logps/rejected": -490.2749938964844,
650
+ "loss": 0.0003,
651
+ "rewards/accuracies": 1.0,
652
+ "rewards/chosen": 5.1142578125,
653
+ "rewards/margins": 8.8984375,
654
+ "rewards/rejected": -3.78515625,
655
+ "step": 430
656
+ },
657
+ {
658
+ "epoch": 2.167487684729064,
659
+ "grad_norm": 0.08032465726137161,
660
+ "learning_rate": 2.791461412151067e-07,
661
+ "logits/chosen": -2.803906202316284,
662
+ "logits/rejected": -2.845703125,
663
+ "logps/chosen": -545.1749877929688,
664
+ "logps/rejected": -481.25,
665
+ "loss": 0.0005,
666
+ "rewards/accuracies": 1.0,
667
+ "rewards/chosen": 4.478662014007568,
668
+ "rewards/margins": 9.135937690734863,
669
+ "rewards/rejected": -4.656054496765137,
670
+ "step": 440
671
+ },
672
+ {
673
+ "epoch": 2.2167487684729066,
674
+ "grad_norm": 2.0722830295562744,
675
+ "learning_rate": 2.627257799671593e-07,
676
+ "logits/chosen": -2.904296875,
677
+ "logits/rejected": -2.914257764816284,
678
+ "logps/chosen": -572.5999755859375,
679
+ "logps/rejected": -413.7250061035156,
680
+ "loss": 0.004,
681
+ "rewards/accuracies": 1.0,
682
+ "rewards/chosen": 4.226953029632568,
683
+ "rewards/margins": 8.386327743530273,
684
+ "rewards/rejected": -4.160058498382568,
685
+ "step": 450
686
+ },
687
+ {
688
+ "epoch": 2.2660098522167487,
689
+ "grad_norm": 4.566242694854736,
690
+ "learning_rate": 2.463054187192118e-07,
691
+ "logits/chosen": -2.8623046875,
692
+ "logits/rejected": -2.8636717796325684,
693
+ "logps/chosen": -614.2249755859375,
694
+ "logps/rejected": -475.67498779296875,
695
+ "loss": 0.001,
696
+ "rewards/accuracies": 1.0,
697
+ "rewards/chosen": 5.31640625,
698
+ "rewards/margins": 9.180859565734863,
699
+ "rewards/rejected": -3.8641600608825684,
700
+ "step": 460
701
+ },
702
+ {
703
+ "epoch": 2.315270935960591,
704
+ "grad_norm": 0.5854314565658569,
705
+ "learning_rate": 2.2988505747126435e-07,
706
+ "logits/chosen": -2.878124952316284,
707
+ "logits/rejected": -2.874804735183716,
708
+ "logps/chosen": -593.5999755859375,
709
+ "logps/rejected": -473.2250061035156,
710
+ "loss": 0.0012,
711
+ "rewards/accuracies": 1.0,
712
+ "rewards/chosen": 5.661718845367432,
713
+ "rewards/margins": 9.364453315734863,
714
+ "rewards/rejected": -3.7030272483825684,
715
+ "step": 470
716
+ },
717
+ {
718
+ "epoch": 2.3645320197044333,
719
+ "grad_norm": 0.001913163810968399,
720
+ "learning_rate": 2.134646962233169e-07,
721
+ "logits/chosen": -2.888867139816284,
722
+ "logits/rejected": -2.907421827316284,
723
+ "logps/chosen": -611.1500244140625,
724
+ "logps/rejected": -485.3500061035156,
725
+ "loss": 0.0017,
726
+ "rewards/accuracies": 1.0,
727
+ "rewards/chosen": 5.228613376617432,
728
+ "rewards/margins": 8.978515625,
729
+ "rewards/rejected": -3.7503905296325684,
730
+ "step": 480
731
+ },
732
+ {
733
+ "epoch": 2.413793103448276,
734
+ "grad_norm": 0.8092690110206604,
735
+ "learning_rate": 1.9704433497536947e-07,
736
+ "logits/chosen": -2.863085985183716,
737
+ "logits/rejected": -2.887890577316284,
738
+ "logps/chosen": -421.54998779296875,
739
+ "logps/rejected": -368.42498779296875,
740
+ "loss": 0.0076,
741
+ "rewards/accuracies": 1.0,
742
+ "rewards/chosen": 3.868457078933716,
743
+ "rewards/margins": 8.104687690734863,
744
+ "rewards/rejected": -4.236718654632568,
745
+ "step": 490
746
+ },
747
+ {
748
+ "epoch": 2.4630541871921183,
749
+ "grad_norm": 31.578500747680664,
750
+ "learning_rate": 1.80623973727422e-07,
751
+ "logits/chosen": -2.8681640625,
752
+ "logits/rejected": -2.8470702171325684,
753
+ "logps/chosen": -434.07501220703125,
754
+ "logps/rejected": -409.2749938964844,
755
+ "loss": 0.0114,
756
+ "rewards/accuracies": 1.0,
757
+ "rewards/chosen": 2.9619140625,
758
+ "rewards/margins": 7.552343845367432,
759
+ "rewards/rejected": -4.591406345367432,
760
+ "step": 500
761
+ },
762
+ {
763
+ "epoch": 2.512315270935961,
764
+ "grad_norm": 0.12709029018878937,
765
+ "learning_rate": 1.6420361247947454e-07,
766
+ "logits/chosen": -2.8716797828674316,
767
+ "logits/rejected": -2.8921875953674316,
768
+ "logps/chosen": -566.5374755859375,
769
+ "logps/rejected": -468.07501220703125,
770
+ "loss": 0.0009,
771
+ "rewards/accuracies": 1.0,
772
+ "rewards/chosen": 5.087988376617432,
773
+ "rewards/margins": 8.895312309265137,
774
+ "rewards/rejected": -3.8065428733825684,
775
+ "step": 510
776
+ },
777
+ {
778
+ "epoch": 2.561576354679803,
779
+ "grad_norm": 0.08383513987064362,
780
+ "learning_rate": 1.477832512315271e-07,
781
+ "logits/chosen": -2.8541016578674316,
782
+ "logits/rejected": -2.841992139816284,
783
+ "logps/chosen": -579.4000244140625,
784
+ "logps/rejected": -496.8500061035156,
785
+ "loss": 0.0002,
786
+ "rewards/accuracies": 1.0,
787
+ "rewards/chosen": 4.802636623382568,
788
+ "rewards/margins": 9.590624809265137,
789
+ "rewards/rejected": -4.790429592132568,
790
+ "step": 520
791
+ },
792
+ {
793
+ "epoch": 2.6108374384236455,
794
+ "grad_norm": 0.10007257014513016,
795
+ "learning_rate": 1.3136288998357964e-07,
796
+ "logits/chosen": -2.883984327316284,
797
+ "logits/rejected": -2.877148389816284,
798
+ "logps/chosen": -652.9500122070312,
799
+ "logps/rejected": -519.3250122070312,
800
+ "loss": 0.0202,
801
+ "rewards/accuracies": 1.0,
802
+ "rewards/chosen": 5.237500190734863,
803
+ "rewards/margins": 8.44140625,
804
+ "rewards/rejected": -3.2041993141174316,
805
+ "step": 530
806
+ },
807
+ {
808
+ "epoch": 2.6600985221674875,
809
+ "grad_norm": 0.21863970160484314,
810
+ "learning_rate": 1.1494252873563217e-07,
811
+ "logits/chosen": -2.8646483421325684,
812
+ "logits/rejected": -2.8714842796325684,
813
+ "logps/chosen": -560.5625,
814
+ "logps/rejected": -465.92498779296875,
815
+ "loss": 0.0009,
816
+ "rewards/accuracies": 1.0,
817
+ "rewards/chosen": 4.9794921875,
818
+ "rewards/margins": 9.121874809265137,
819
+ "rewards/rejected": -4.142480373382568,
820
+ "step": 540
821
+ },
822
+ {
823
+ "epoch": 2.70935960591133,
824
+ "grad_norm": 0.020649878308176994,
825
+ "learning_rate": 9.852216748768474e-08,
826
+ "logits/chosen": -2.8617186546325684,
827
+ "logits/rejected": -2.8804688453674316,
828
+ "logps/chosen": -668.9000244140625,
829
+ "logps/rejected": -507.04998779296875,
830
+ "loss": 0.0002,
831
+ "rewards/accuracies": 1.0,
832
+ "rewards/chosen": 5.8662109375,
833
+ "rewards/margins": 10.056249618530273,
834
+ "rewards/rejected": -4.189453125,
835
+ "step": 550
836
+ },
837
+ {
838
+ "epoch": 2.7586206896551726,
839
+ "grad_norm": 0.1907971054315567,
840
+ "learning_rate": 8.210180623973727e-08,
841
+ "logits/chosen": -2.873242139816284,
842
+ "logits/rejected": -2.8773436546325684,
843
+ "logps/chosen": -551.2999877929688,
844
+ "logps/rejected": -438.54998779296875,
845
+ "loss": 0.001,
846
+ "rewards/accuracies": 1.0,
847
+ "rewards/chosen": 4.8486328125,
848
+ "rewards/margins": 8.854296684265137,
849
+ "rewards/rejected": -4.006054878234863,
850
+ "step": 560
851
+ },
852
+ {
853
+ "epoch": 2.8078817733990147,
854
+ "grad_norm": 0.001020336989313364,
855
+ "learning_rate": 6.568144499178982e-08,
856
+ "logits/chosen": -2.8656249046325684,
857
+ "logits/rejected": -2.8804688453674316,
858
+ "logps/chosen": -559.75,
859
+ "logps/rejected": -494.3500061035156,
860
+ "loss": 0.0009,
861
+ "rewards/accuracies": 1.0,
862
+ "rewards/chosen": 4.337597846984863,
863
+ "rewards/margins": 9.077343940734863,
864
+ "rewards/rejected": -4.740038871765137,
865
+ "step": 570
866
+ },
867
+ {
868
+ "epoch": 2.857142857142857,
869
+ "grad_norm": 0.16810493171215057,
870
+ "learning_rate": 4.926108374384237e-08,
871
+ "logits/chosen": -2.8501954078674316,
872
+ "logits/rejected": -2.8726563453674316,
873
+ "logps/chosen": -542.2750244140625,
874
+ "logps/rejected": -444.92498779296875,
875
+ "loss": 0.0011,
876
+ "rewards/accuracies": 1.0,
877
+ "rewards/chosen": 4.039453029632568,
878
+ "rewards/margins": 8.626172065734863,
879
+ "rewards/rejected": -4.58740234375,
880
+ "step": 580
881
+ },
882
+ {
883
+ "epoch": 2.9064039408866993,
884
+ "grad_norm": 0.06971245259046555,
885
+ "learning_rate": 3.284072249589491e-08,
886
+ "logits/chosen": -2.8759765625,
887
+ "logits/rejected": -2.8857421875,
888
+ "logps/chosen": -585.5,
889
+ "logps/rejected": -495.32501220703125,
890
+ "loss": 0.0012,
891
+ "rewards/accuracies": 1.0,
892
+ "rewards/chosen": 4.425024509429932,
893
+ "rewards/margins": 8.797656059265137,
894
+ "rewards/rejected": -4.372851371765137,
895
+ "step": 590
896
+ },
897
+ {
898
+ "epoch": 2.955665024630542,
899
+ "grad_norm": 0.04007822275161743,
900
+ "learning_rate": 1.6420361247947455e-08,
901
+ "logits/chosen": -2.8910155296325684,
902
+ "logits/rejected": -2.863085985183716,
903
+ "logps/chosen": -561.7999877929688,
904
+ "logps/rejected": -413.48748779296875,
905
+ "loss": 0.001,
906
+ "rewards/accuracies": 1.0,
907
+ "rewards/chosen": 4.448876857757568,
908
+ "rewards/margins": 8.94921875,
909
+ "rewards/rejected": -4.5009765625,
910
+ "step": 600
911
+ }
912
+ ],
913
+ "logging_steps": 10,
914
+ "max_steps": 609,
915
+ "num_input_tokens_seen": 0,
916
+ "num_train_epochs": 3,
917
+ "save_steps": 500,
918
+ "stateful_callbacks": {
919
+ "TrainerControl": {
920
+ "args": {
921
+ "should_epoch_stop": false,
922
+ "should_evaluate": false,
923
+ "should_log": false,
924
+ "should_save": true,
925
+ "should_training_stop": true
926
+ },
927
+ "attributes": {}
928
+ }
929
+ },
930
+ "total_flos": 0.0,
931
+ "train_batch_size": 2,
932
+ "trial_name": null,
933
+ "trial_params": null
934
+ }
dpo-training/checkpoint-609/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f3d8ccd263f4895ca2bf34af708a7343c52ae03679473ca28aa1232d5d17a7bd
3
+ size 6737
dpo-training/runs/Aug21_07-36-02_9313b65d545c/events.out.tfevents.1755761772.9313b65d545c.38351.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0c72ca443d1202db15bae73e939c0fb3be58792a85ccf45a14a49975a06d61f7
3
+ size 6391
dpo-training/runs/Aug21_07-48-22_9313b65d545c/events.out.tfevents.1755762511.9313b65d545c.40851.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:34e0cdbd77f4c2a9dba5c10a259bd8b6fedb5ce7979870a3fa547f585281e348
3
+ size 6399
dpo-training/runs/Aug21_07-54-14_9313b65d545c/events.out.tfevents.1755762860.9313b65d545c.40851.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:247eff6258d60284c5fda931eae8213e3dc51d8bd81ad63a55e448c8fe4d1873
3
+ size 4184
dpo-training/runs/Aug21_07-58-51_9313b65d545c/events.out.tfevents.1755763176.9313b65d545c.44283.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f95db520ac50327e8bedbf6730201887a295d0bc1f87930fec081791deb193ce
3
+ size 6391
dpo-training/runs/Aug21_08-04-17_9313b65d545c/events.out.tfevents.1755763467.9313b65d545c.45997.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:afe9c037f54fe11057a745f629846428ca11fb90b243bb63078608e6f4d23d2f
3
+ size 7067
dpo-training/runs/Aug21_08-11-41_9313b65d545c/events.out.tfevents.1755763912.9313b65d545c.47766.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dcb9eba0014fb00c8b6f8b28408802c6436f84af976c60029f48ad7bdff221e8
3
+ size 47881