ludekcizinsky commited on
Commit
cae622e
·
verified ·
1 Parent(s): 2859e00

Upload folder using huggingface_hub

Browse files
README.md ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ base_model: unsloth/Phi-3-mini-4k-instruct-bnb-4bit
4
+ ---
5
+
6
+ # Model Card for Model ID
7
+
8
+ <!-- Provide a quick summary of what the model is/does. -->
9
+
10
+
11
+
12
+ ## Model Details
13
+
14
+ ### Model Description
15
+
16
+ <!-- Provide a longer summary of what this model is. -->
17
+
18
+
19
+
20
+ - **Developed by:** [More Information Needed]
21
+ - **Funded by [optional]:** [More Information Needed]
22
+ - **Shared by [optional]:** [More Information Needed]
23
+ - **Model type:** [More Information Needed]
24
+ - **Language(s) (NLP):** [More Information Needed]
25
+ - **License:** [More Information Needed]
26
+ - **Finetuned from model [optional]:** [More Information Needed]
27
+
28
+ ### Model Sources [optional]
29
+
30
+ <!-- Provide the basic links for the model. -->
31
+
32
+ - **Repository:** [More Information Needed]
33
+ - **Paper [optional]:** [More Information Needed]
34
+ - **Demo [optional]:** [More Information Needed]
35
+
36
+ ## Uses
37
+
38
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
39
+
40
+ ### Direct Use
41
+
42
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
43
+
44
+ [More Information Needed]
45
+
46
+ ### Downstream Use [optional]
47
+
48
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
49
+
50
+ [More Information Needed]
51
+
52
+ ### Out-of-Scope Use
53
+
54
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
55
+
56
+ [More Information Needed]
57
+
58
+ ## Bias, Risks, and Limitations
59
+
60
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
61
+
62
+ [More Information Needed]
63
+
64
+ ### Recommendations
65
+
66
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
67
+
68
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
69
+
70
+ ## How to Get Started with the Model
71
+
72
+ Use the code below to get started with the model.
73
+
74
+ [More Information Needed]
75
+
76
+ ## Training Details
77
+
78
+ ### Training Data
79
+
80
+ <!-- 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. -->
81
+
82
+ [More Information Needed]
83
+
84
+ ### Training Procedure
85
+
86
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
87
+
88
+ #### Preprocessing [optional]
89
+
90
+ [More Information Needed]
91
+
92
+
93
+ #### Training Hyperparameters
94
+
95
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
96
+
97
+ #### Speeds, Sizes, Times [optional]
98
+
99
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
100
+
101
+ [More Information Needed]
102
+
103
+ ## Evaluation
104
+
105
+ <!-- This section describes the evaluation protocols and provides the results. -->
106
+
107
+ ### Testing Data, Factors & Metrics
108
+
109
+ #### Testing Data
110
+
111
+ <!-- This should link to a Dataset Card if possible. -->
112
+
113
+ [More Information Needed]
114
+
115
+ #### Factors
116
+
117
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
118
+
119
+ [More Information Needed]
120
+
121
+ #### Metrics
122
+
123
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
124
+
125
+ [More Information Needed]
126
+
127
+ ### Results
128
+
129
+ [More Information Needed]
130
+
131
+ #### Summary
132
+
133
+
134
+
135
+ ## Model Examination [optional]
136
+
137
+ <!-- Relevant interpretability work for the model goes here -->
138
+
139
+ [More Information Needed]
140
+
141
+ ## Environmental Impact
142
+
143
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
144
+
145
+ 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).
146
+
147
+ - **Hardware Type:** [More Information Needed]
148
+ - **Hours used:** [More Information Needed]
149
+ - **Cloud Provider:** [More Information Needed]
150
+ - **Compute Region:** [More Information Needed]
151
+ - **Carbon Emitted:** [More Information Needed]
152
+
153
+ ## Technical Specifications [optional]
154
+
155
+ ### Model Architecture and Objective
156
+
157
+ [More Information Needed]
158
+
159
+ ### Compute Infrastructure
160
+
161
+ [More Information Needed]
162
+
163
+ #### Hardware
164
+
165
+ [More Information Needed]
166
+
167
+ #### Software
168
+
169
+ [More Information Needed]
170
+
171
+ ## Citation [optional]
172
+
173
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
174
+
175
+ **BibTeX:**
176
+
177
+ [More Information Needed]
178
+
179
+ **APA:**
180
+
181
+ [More Information Needed]
182
+
183
+ ## Glossary [optional]
184
+
185
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
186
+
187
+ [More Information Needed]
188
+
189
+ ## More Information [optional]
190
+
191
+ [More Information Needed]
192
+
193
+ ## Model Card Authors [optional]
194
+
195
+ [More Information Needed]
196
+
197
+ ## Model Card Contact
198
+
199
+ [More Information Needed]
200
+ ### Framework versions
201
+
202
+ - PEFT 0.11.1
adapter_config.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "unsloth/Phi-3-mini-4k-instruct-bnb-4bit",
5
+ "bias": "none",
6
+ "fan_in_fan_out": false,
7
+ "inference_mode": true,
8
+ "init_lora_weights": true,
9
+ "layer_replication": null,
10
+ "layers_pattern": null,
11
+ "layers_to_transform": null,
12
+ "loftq_config": {},
13
+ "lora_alpha": 16,
14
+ "lora_dropout": 0,
15
+ "megatron_config": null,
16
+ "megatron_core": "megatron.core",
17
+ "modules_to_save": null,
18
+ "peft_type": "LORA",
19
+ "r": 16,
20
+ "rank_pattern": {},
21
+ "revision": "unsloth",
22
+ "target_modules": [
23
+ "down_proj",
24
+ "gate_proj",
25
+ "v_proj",
26
+ "up_proj",
27
+ "q_proj",
28
+ "o_proj",
29
+ "k_proj"
30
+ ],
31
+ "task_type": "CAUSAL_LM",
32
+ "use_dora": false,
33
+ "use_rslora": true
34
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6ae8e70539ca19969e6b703a256de57f9aa19d50431dd50a24f7b4d760328928
3
+ size 59828352
added_tokens.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "<|assistant|>": 32001,
3
+ "<|endoftext|>": 32000,
4
+ "<|end|>": 32007,
5
+ "<|placeholder1|>": 32002,
6
+ "<|placeholder2|>": 32003,
7
+ "<|placeholder3|>": 32004,
8
+ "<|placeholder4|>": 32005,
9
+ "<|placeholder5|>": 32008,
10
+ "<|placeholder6|>": 32009,
11
+ "<|system|>": 32006,
12
+ "<|user|>": 32010
13
+ }
all_results.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 1.0,
3
+ "train_loss": 22.75462433786103,
4
+ "train_runtime": 3251.7686,
5
+ "train_samples_per_second": 0.973,
6
+ "train_steps_per_second": 0.061
7
+ }
checkpoint-100/README.md ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ base_model: unsloth/Phi-3-mini-4k-instruct-bnb-4bit
4
+ ---
5
+
6
+ # Model Card for Model ID
7
+
8
+ <!-- Provide a quick summary of what the model is/does. -->
9
+
10
+
11
+
12
+ ## Model Details
13
+
14
+ ### Model Description
15
+
16
+ <!-- Provide a longer summary of what this model is. -->
17
+
18
+
19
+
20
+ - **Developed by:** [More Information Needed]
21
+ - **Funded by [optional]:** [More Information Needed]
22
+ - **Shared by [optional]:** [More Information Needed]
23
+ - **Model type:** [More Information Needed]
24
+ - **Language(s) (NLP):** [More Information Needed]
25
+ - **License:** [More Information Needed]
26
+ - **Finetuned from model [optional]:** [More Information Needed]
27
+
28
+ ### Model Sources [optional]
29
+
30
+ <!-- Provide the basic links for the model. -->
31
+
32
+ - **Repository:** [More Information Needed]
33
+ - **Paper [optional]:** [More Information Needed]
34
+ - **Demo [optional]:** [More Information Needed]
35
+
36
+ ## Uses
37
+
38
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
39
+
40
+ ### Direct Use
41
+
42
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
43
+
44
+ [More Information Needed]
45
+
46
+ ### Downstream Use [optional]
47
+
48
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
49
+
50
+ [More Information Needed]
51
+
52
+ ### Out-of-Scope Use
53
+
54
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
55
+
56
+ [More Information Needed]
57
+
58
+ ## Bias, Risks, and Limitations
59
+
60
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
61
+
62
+ [More Information Needed]
63
+
64
+ ### Recommendations
65
+
66
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
67
+
68
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
69
+
70
+ ## How to Get Started with the Model
71
+
72
+ Use the code below to get started with the model.
73
+
74
+ [More Information Needed]
75
+
76
+ ## Training Details
77
+
78
+ ### Training Data
79
+
80
+ <!-- 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. -->
81
+
82
+ [More Information Needed]
83
+
84
+ ### Training Procedure
85
+
86
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
87
+
88
+ #### Preprocessing [optional]
89
+
90
+ [More Information Needed]
91
+
92
+
93
+ #### Training Hyperparameters
94
+
95
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
96
+
97
+ #### Speeds, Sizes, Times [optional]
98
+
99
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
100
+
101
+ [More Information Needed]
102
+
103
+ ## Evaluation
104
+
105
+ <!-- This section describes the evaluation protocols and provides the results. -->
106
+
107
+ ### Testing Data, Factors & Metrics
108
+
109
+ #### Testing Data
110
+
111
+ <!-- This should link to a Dataset Card if possible. -->
112
+
113
+ [More Information Needed]
114
+
115
+ #### Factors
116
+
117
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
118
+
119
+ [More Information Needed]
120
+
121
+ #### Metrics
122
+
123
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
124
+
125
+ [More Information Needed]
126
+
127
+ ### Results
128
+
129
+ [More Information Needed]
130
+
131
+ #### Summary
132
+
133
+
134
+
135
+ ## Model Examination [optional]
136
+
137
+ <!-- Relevant interpretability work for the model goes here -->
138
+
139
+ [More Information Needed]
140
+
141
+ ## Environmental Impact
142
+
143
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
144
+
145
+ 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).
146
+
147
+ - **Hardware Type:** [More Information Needed]
148
+ - **Hours used:** [More Information Needed]
149
+ - **Cloud Provider:** [More Information Needed]
150
+ - **Compute Region:** [More Information Needed]
151
+ - **Carbon Emitted:** [More Information Needed]
152
+
153
+ ## Technical Specifications [optional]
154
+
155
+ ### Model Architecture and Objective
156
+
157
+ [More Information Needed]
158
+
159
+ ### Compute Infrastructure
160
+
161
+ [More Information Needed]
162
+
163
+ #### Hardware
164
+
165
+ [More Information Needed]
166
+
167
+ #### Software
168
+
169
+ [More Information Needed]
170
+
171
+ ## Citation [optional]
172
+
173
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
174
+
175
+ **BibTeX:**
176
+
177
+ [More Information Needed]
178
+
179
+ **APA:**
180
+
181
+ [More Information Needed]
182
+
183
+ ## Glossary [optional]
184
+
185
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
186
+
187
+ [More Information Needed]
188
+
189
+ ## More Information [optional]
190
+
191
+ [More Information Needed]
192
+
193
+ ## Model Card Authors [optional]
194
+
195
+ [More Information Needed]
196
+
197
+ ## Model Card Contact
198
+
199
+ [More Information Needed]
200
+ ### Framework versions
201
+
202
+ - PEFT 0.11.1
checkpoint-100/adapter_config.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "unsloth/Phi-3-mini-4k-instruct-bnb-4bit",
5
+ "bias": "none",
6
+ "fan_in_fan_out": false,
7
+ "inference_mode": true,
8
+ "init_lora_weights": true,
9
+ "layer_replication": null,
10
+ "layers_pattern": null,
11
+ "layers_to_transform": null,
12
+ "loftq_config": {},
13
+ "lora_alpha": 16,
14
+ "lora_dropout": 0,
15
+ "megatron_config": null,
16
+ "megatron_core": "megatron.core",
17
+ "modules_to_save": null,
18
+ "peft_type": "LORA",
19
+ "r": 16,
20
+ "rank_pattern": {},
21
+ "revision": "unsloth",
22
+ "target_modules": [
23
+ "down_proj",
24
+ "gate_proj",
25
+ "v_proj",
26
+ "up_proj",
27
+ "q_proj",
28
+ "o_proj",
29
+ "k_proj"
30
+ ],
31
+ "task_type": "CAUSAL_LM",
32
+ "use_dora": false,
33
+ "use_rslora": true
34
+ }
checkpoint-100/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:82c409652808b26eb4343bea22d86f114a58332927d9222cde357f8806e64444
3
+ size 119597408
checkpoint-100/added_tokens.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "<|assistant|>": 32001,
3
+ "<|endoftext|>": 32000,
4
+ "<|end|>": 32007,
5
+ "<|placeholder1|>": 32002,
6
+ "<|placeholder2|>": 32003,
7
+ "<|placeholder3|>": 32004,
8
+ "<|placeholder4|>": 32005,
9
+ "<|placeholder5|>": 32008,
10
+ "<|placeholder6|>": 32009,
11
+ "<|system|>": 32006,
12
+ "<|user|>": 32010
13
+ }
checkpoint-100/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b02d5e27cbd520277a79424e46a4081cce85fd03ee3c535be93f46213e84bd60
3
+ size 60386772
checkpoint-100/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8f9f1f3defe7d022b6fe26129c6021d1cffdc5913e9ce09542ec72062cd96625
3
+ size 14244
checkpoint-100/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:029f2dfaf5f87475c90beb81b61ad4bc63bfbb0ff92b43752d5d8db19a11b27c
3
+ size 1064
checkpoint-100/special_tokens_map.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "<|endoftext|>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": "<|endoftext|>",
17
+ "unk_token": {
18
+ "content": "<unk>",
19
+ "lstrip": false,
20
+ "normalized": false,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ }
24
+ }
checkpoint-100/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-100/tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347
3
+ size 499723
checkpoint-100/tokenizer_config.json ADDED
@@ -0,0 +1,130 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": true,
3
+ "add_eos_token": false,
4
+ "added_tokens_decoder": {
5
+ "0": {
6
+ "content": "<unk>",
7
+ "lstrip": false,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ },
13
+ "1": {
14
+ "content": "<s>",
15
+ "lstrip": false,
16
+ "normalized": false,
17
+ "rstrip": false,
18
+ "single_word": false,
19
+ "special": true
20
+ },
21
+ "2": {
22
+ "content": "</s>",
23
+ "lstrip": false,
24
+ "normalized": false,
25
+ "rstrip": true,
26
+ "single_word": false,
27
+ "special": false
28
+ },
29
+ "32000": {
30
+ "content": "<|endoftext|>",
31
+ "lstrip": false,
32
+ "normalized": false,
33
+ "rstrip": false,
34
+ "single_word": false,
35
+ "special": true
36
+ },
37
+ "32001": {
38
+ "content": "<|assistant|>",
39
+ "lstrip": false,
40
+ "normalized": false,
41
+ "rstrip": true,
42
+ "single_word": false,
43
+ "special": true
44
+ },
45
+ "32002": {
46
+ "content": "<|placeholder1|>",
47
+ "lstrip": false,
48
+ "normalized": false,
49
+ "rstrip": true,
50
+ "single_word": false,
51
+ "special": true
52
+ },
53
+ "32003": {
54
+ "content": "<|placeholder2|>",
55
+ "lstrip": false,
56
+ "normalized": false,
57
+ "rstrip": true,
58
+ "single_word": false,
59
+ "special": true
60
+ },
61
+ "32004": {
62
+ "content": "<|placeholder3|>",
63
+ "lstrip": false,
64
+ "normalized": false,
65
+ "rstrip": true,
66
+ "single_word": false,
67
+ "special": true
68
+ },
69
+ "32005": {
70
+ "content": "<|placeholder4|>",
71
+ "lstrip": false,
72
+ "normalized": false,
73
+ "rstrip": true,
74
+ "single_word": false,
75
+ "special": true
76
+ },
77
+ "32006": {
78
+ "content": "<|system|>",
79
+ "lstrip": false,
80
+ "normalized": false,
81
+ "rstrip": true,
82
+ "single_word": false,
83
+ "special": true
84
+ },
85
+ "32007": {
86
+ "content": "<|end|>",
87
+ "lstrip": false,
88
+ "normalized": false,
89
+ "rstrip": true,
90
+ "single_word": false,
91
+ "special": true
92
+ },
93
+ "32008": {
94
+ "content": "<|placeholder5|>",
95
+ "lstrip": false,
96
+ "normalized": false,
97
+ "rstrip": true,
98
+ "single_word": false,
99
+ "special": true
100
+ },
101
+ "32009": {
102
+ "content": "<|placeholder6|>",
103
+ "lstrip": false,
104
+ "normalized": false,
105
+ "rstrip": true,
106
+ "single_word": false,
107
+ "special": true
108
+ },
109
+ "32010": {
110
+ "content": "<|user|>",
111
+ "lstrip": false,
112
+ "normalized": false,
113
+ "rstrip": true,
114
+ "single_word": false,
115
+ "special": true
116
+ }
117
+ },
118
+ "bos_token": "<s>",
119
+ "chat_template": "{{ bos_token }}{% for message in messages %}{% if (message['role'] == 'user') %}{{'<|user|>' + '\n' + message['content'] + '<|end|>' + '\n' + '<|assistant|>' + '\n'}}{% elif (message['role'] == 'assistant') %}{{message['content'] + '<|end|>' + '\n'}}{% endif %}{% endfor %}",
120
+ "clean_up_tokenization_spaces": false,
121
+ "eos_token": "<|endoftext|>",
122
+ "legacy": false,
123
+ "model_max_length": 4096,
124
+ "pad_token": "<|endoftext|>",
125
+ "padding_side": "right",
126
+ "sp_model_kwargs": {},
127
+ "tokenizer_class": "LlamaTokenizer",
128
+ "unk_token": "<unk>",
129
+ "use_default_system_prompt": false
130
+ }
checkpoint-100/trainer_state.json ADDED
@@ -0,0 +1,349 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 21.83156394958496,
3
+ "best_model_checkpoint": "./output/checkpoints/2024-05-27_09-04-31/checkpoint-100",
4
+ "epoch": 0.5050505050505051,
5
+ "eval_steps": 100,
6
+ "global_step": 100,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 0.025252525252525252,
13
+ "grad_norm": 26.353445053100586,
14
+ "learning_rate": 4.000000000000001e-06,
15
+ "logits/chosen": 0.14427797496318817,
16
+ "logits/rejected": -0.5873457193374634,
17
+ "logps/chosen": -0.901843249797821,
18
+ "logps/rejected": -1.3607301712036133,
19
+ "loss": 24.9998,
20
+ "rewards/accuracies": 0.21250000596046448,
21
+ "rewards/chosen": -1.578416777192615e-05,
22
+ "rewards/margins": 2.430938138786587e-06,
23
+ "rewards/rejected": -1.8215103409602307e-05,
24
+ "step": 5
25
+ },
26
+ {
27
+ "epoch": 0.050505050505050504,
28
+ "grad_norm": NaN,
29
+ "learning_rate": 8.000000000000001e-06,
30
+ "logits/chosen": -0.10329052060842514,
31
+ "logits/rejected": -0.4683811664581299,
32
+ "logps/chosen": -0.9063997268676758,
33
+ "logps/rejected": -1.461859107017517,
34
+ "loss": 24.9337,
35
+ "rewards/accuracies": 0.6625000238418579,
36
+ "rewards/chosen": -0.00036737616755999625,
37
+ "rewards/margins": 0.0006723683327436447,
38
+ "rewards/rejected": -0.0010397445876151323,
39
+ "step": 10
40
+ },
41
+ {
42
+ "epoch": 0.07575757575757576,
43
+ "grad_norm": 13.749723434448242,
44
+ "learning_rate": 1.3000000000000001e-05,
45
+ "logits/chosen": -0.2425023317337036,
46
+ "logits/rejected": -0.6693668365478516,
47
+ "logps/chosen": -0.8707982897758484,
48
+ "logps/rejected": -1.1566194295883179,
49
+ "loss": 24.9041,
50
+ "rewards/accuracies": 0.7124999761581421,
51
+ "rewards/chosen": -0.0014928742311894894,
52
+ "rewards/margins": 0.0009821585845202208,
53
+ "rewards/rejected": -0.00247503281570971,
54
+ "step": 15
55
+ },
56
+ {
57
+ "epoch": 0.10101010101010101,
58
+ "grad_norm": 25.53832244873047,
59
+ "learning_rate": 1.8e-05,
60
+ "logits/chosen": -0.46215763688087463,
61
+ "logits/rejected": -0.9008939862251282,
62
+ "logps/chosen": -0.959465503692627,
63
+ "logps/rejected": -1.5446056127548218,
64
+ "loss": 24.2631,
65
+ "rewards/accuracies": 0.637499988079071,
66
+ "rewards/chosen": -0.0067633287981152534,
67
+ "rewards/margins": 0.007808461785316467,
68
+ "rewards/rejected": -0.014571788720786572,
69
+ "step": 20
70
+ },
71
+ {
72
+ "epoch": 0.12626262626262627,
73
+ "grad_norm": 45.06657791137695,
74
+ "learning_rate": 1.9985985720017786e-05,
75
+ "logits/chosen": -0.04087737202644348,
76
+ "logits/rejected": -0.5188297033309937,
77
+ "logps/chosen": -0.9965022802352905,
78
+ "logps/rejected": -1.3733254671096802,
79
+ "loss": 24.1692,
80
+ "rewards/accuracies": 0.699999988079071,
81
+ "rewards/chosen": -0.014551234431564808,
82
+ "rewards/margins": 0.009625318460166454,
83
+ "rewards/rejected": -0.024176552891731262,
84
+ "step": 25
85
+ },
86
+ {
87
+ "epoch": 0.15151515151515152,
88
+ "grad_norm": 28.255924224853516,
89
+ "learning_rate": 1.9900485105144544e-05,
90
+ "logits/chosen": -0.14505064487457275,
91
+ "logits/rejected": -0.5278365015983582,
92
+ "logps/chosen": -1.0397828817367554,
93
+ "logps/rejected": -1.44753897190094,
94
+ "loss": 24.1349,
95
+ "rewards/accuracies": 0.699999988079071,
96
+ "rewards/chosen": -0.018694132566452026,
97
+ "rewards/margins": 0.01500606257468462,
98
+ "rewards/rejected": -0.03370019793510437,
99
+ "step": 30
100
+ },
101
+ {
102
+ "epoch": 0.17676767676767677,
103
+ "grad_norm": NaN,
104
+ "learning_rate": 1.9776556239997146e-05,
105
+ "logits/chosen": -0.4809038043022156,
106
+ "logits/rejected": -0.9093053936958313,
107
+ "logps/chosen": -1.3904650211334229,
108
+ "logps/rejected": -2.406257390975952,
109
+ "loss": 23.5774,
110
+ "rewards/accuracies": 0.75,
111
+ "rewards/chosen": -0.04243111237883568,
112
+ "rewards/margins": 0.052741266787052155,
113
+ "rewards/rejected": -0.09517236799001694,
114
+ "step": 35
115
+ },
116
+ {
117
+ "epoch": 0.20202020202020202,
118
+ "grad_norm": 46.83095932006836,
119
+ "learning_rate": 1.955324742088516e-05,
120
+ "logits/chosen": -0.6266540288925171,
121
+ "logits/rejected": -1.0290076732635498,
122
+ "logps/chosen": -1.2514160871505737,
123
+ "logps/rejected": -2.1771531105041504,
124
+ "loss": 22.3291,
125
+ "rewards/accuracies": 0.625,
126
+ "rewards/chosen": -0.03719799965620041,
127
+ "rewards/margins": 0.04375718533992767,
128
+ "rewards/rejected": -0.08095519244670868,
129
+ "step": 40
130
+ },
131
+ {
132
+ "epoch": 0.22727272727272727,
133
+ "grad_norm": 76.44580841064453,
134
+ "learning_rate": 1.9255590665712214e-05,
135
+ "logits/chosen": -0.6130943894386292,
136
+ "logits/rejected": -1.143413782119751,
137
+ "logps/chosen": -1.5433876514434814,
138
+ "logps/rejected": -2.6532750129699707,
139
+ "loss": 21.656,
140
+ "rewards/accuracies": 0.675000011920929,
141
+ "rewards/chosen": -0.05903216451406479,
142
+ "rewards/margins": 0.05665038153529167,
143
+ "rewards/rejected": -0.11568254232406616,
144
+ "step": 45
145
+ },
146
+ {
147
+ "epoch": 0.25252525252525254,
148
+ "grad_norm": 78.35297393798828,
149
+ "learning_rate": 1.8965472436868288e-05,
150
+ "logits/chosen": -0.757357656955719,
151
+ "logits/rejected": -1.0666834115982056,
152
+ "logps/chosen": -1.3742765188217163,
153
+ "logps/rejected": -3.0053694248199463,
154
+ "loss": 22.6627,
155
+ "rewards/accuracies": 0.762499988079071,
156
+ "rewards/chosen": -0.05383248254656792,
157
+ "rewards/margins": 0.09586457908153534,
158
+ "rewards/rejected": -0.14969706535339355,
159
+ "step": 50
160
+ },
161
+ {
162
+ "epoch": 0.2777777777777778,
163
+ "grad_norm": 82.29180145263672,
164
+ "learning_rate": 1.8540204424421264e-05,
165
+ "logits/chosen": -0.8564749956130981,
166
+ "logits/rejected": -1.3737789392471313,
167
+ "logps/chosen": -1.733337163925171,
168
+ "logps/rejected": -3.3698067665100098,
169
+ "loss": 19.3611,
170
+ "rewards/accuracies": 0.8374999761581421,
171
+ "rewards/chosen": -0.08400858938694,
172
+ "rewards/margins": 0.10341653972864151,
173
+ "rewards/rejected": -0.18742512166500092,
174
+ "step": 55
175
+ },
176
+ {
177
+ "epoch": 0.30303030303030304,
178
+ "grad_norm": 128.23907470703125,
179
+ "learning_rate": 1.804847246055326e-05,
180
+ "logits/chosen": -0.9640189409255981,
181
+ "logits/rejected": -1.1732914447784424,
182
+ "logps/chosen": -2.538499593734741,
183
+ "logps/rejected": -3.0090465545654297,
184
+ "loss": 29.7881,
185
+ "rewards/accuracies": 0.5249999761581421,
186
+ "rewards/chosen": -0.14390432834625244,
187
+ "rewards/margins": 0.02762184664607048,
188
+ "rewards/rejected": -0.17152616381645203,
189
+ "step": 60
190
+ },
191
+ {
192
+ "epoch": 0.3282828282828283,
193
+ "grad_norm": 49.566158294677734,
194
+ "learning_rate": 1.7494103438361252e-05,
195
+ "logits/chosen": -0.7158849239349365,
196
+ "logits/rejected": -1.0623328685760498,
197
+ "logps/chosen": -1.4396604299545288,
198
+ "logps/rejected": -2.000624179840088,
199
+ "loss": 21.9915,
200
+ "rewards/accuracies": 0.7124999761581421,
201
+ "rewards/chosen": -0.06708293408155441,
202
+ "rewards/margins": 0.03939032554626465,
203
+ "rewards/rejected": -0.10647325217723846,
204
+ "step": 65
205
+ },
206
+ {
207
+ "epoch": 0.35353535353535354,
208
+ "grad_norm": 76.89603424072266,
209
+ "learning_rate": 1.6881411722458688e-05,
210
+ "logits/chosen": -0.8769875764846802,
211
+ "logits/rejected": -1.1103827953338623,
212
+ "logps/chosen": -2.1615917682647705,
213
+ "logps/rejected": -3.0439255237579346,
214
+ "loss": 21.986,
215
+ "rewards/accuracies": 0.6499999761581421,
216
+ "rewards/chosen": -0.12244679778814316,
217
+ "rewards/margins": 0.06274138391017914,
218
+ "rewards/rejected": -0.1851881742477417,
219
+ "step": 70
220
+ },
221
+ {
222
+ "epoch": 0.3787878787878788,
223
+ "grad_norm": 134.9673309326172,
224
+ "learning_rate": 1.6215165572528598e-05,
225
+ "logits/chosen": -1.343915581703186,
226
+ "logits/rejected": -1.401227355003357,
227
+ "logps/chosen": -2.2325069904327393,
228
+ "logps/rejected": -3.132831573486328,
229
+ "loss": 21.2106,
230
+ "rewards/accuracies": 0.6875,
231
+ "rewards/chosen": -0.13722343742847443,
232
+ "rewards/margins": 0.06202084943652153,
233
+ "rewards/rejected": -0.19924426078796387,
234
+ "step": 75
235
+ },
236
+ {
237
+ "epoch": 0.40404040404040403,
238
+ "grad_norm": 137.21859741210938,
239
+ "learning_rate": 1.5500550034448415e-05,
240
+ "logits/chosen": -1.3024094104766846,
241
+ "logits/rejected": -1.5494719743728638,
242
+ "logps/chosen": -2.4210548400878906,
243
+ "logps/rejected": -3.3495230674743652,
244
+ "loss": 23.1095,
245
+ "rewards/accuracies": 0.625,
246
+ "rewards/chosen": -0.15112502872943878,
247
+ "rewards/margins": 0.07425413280725479,
248
+ "rewards/rejected": -0.22537918388843536,
249
+ "step": 80
250
+ },
251
+ {
252
+ "epoch": 0.4292929292929293,
253
+ "grad_norm": 351.0603942871094,
254
+ "learning_rate": 1.5050862598575474e-05,
255
+ "logits/chosen": -1.311993956565857,
256
+ "logits/rejected": -1.6289136409759521,
257
+ "logps/chosen": -2.586198091506958,
258
+ "logps/rejected": -5.161986827850342,
259
+ "loss": 25.0728,
260
+ "rewards/accuracies": 0.75,
261
+ "rewards/chosen": -0.16497337818145752,
262
+ "rewards/margins": 0.17613837122917175,
263
+ "rewards/rejected": -0.3411117494106293,
264
+ "step": 85
265
+ },
266
+ {
267
+ "epoch": 0.45454545454545453,
268
+ "grad_norm": 376.21038818359375,
269
+ "learning_rate": 1.4270564388663761e-05,
270
+ "logits/chosen": -1.4695305824279785,
271
+ "logits/rejected": -1.5699679851531982,
272
+ "logps/chosen": -3.0274829864501953,
273
+ "logps/rejected": -3.7816379070281982,
274
+ "loss": 24.3757,
275
+ "rewards/accuracies": 0.625,
276
+ "rewards/chosen": -0.20180432498455048,
277
+ "rewards/margins": 0.06594176590442657,
278
+ "rewards/rejected": -0.26774606108665466,
279
+ "step": 90
280
+ },
281
+ {
282
+ "epoch": 0.4797979797979798,
283
+ "grad_norm": 83.94548034667969,
284
+ "learning_rate": 1.3457030606163564e-05,
285
+ "logits/chosen": -1.542257308959961,
286
+ "logits/rejected": -1.640545129776001,
287
+ "logps/chosen": -3.1931662559509277,
288
+ "logps/rejected": -4.362542152404785,
289
+ "loss": 21.7905,
290
+ "rewards/accuracies": 0.625,
291
+ "rewards/chosen": -0.21774420142173767,
292
+ "rewards/margins": 0.09037742763757706,
293
+ "rewards/rejected": -0.30812162160873413,
294
+ "step": 95
295
+ },
296
+ {
297
+ "epoch": 0.5050505050505051,
298
+ "grad_norm": 174.58786010742188,
299
+ "learning_rate": 1.2616592559684408e-05,
300
+ "logits/chosen": -1.5426051616668701,
301
+ "logits/rejected": -1.7211687564849854,
302
+ "logps/chosen": -2.798499345779419,
303
+ "logps/rejected": -3.3964920043945312,
304
+ "loss": 25.8166,
305
+ "rewards/accuracies": 0.612500011920929,
306
+ "rewards/chosen": -0.17160701751708984,
307
+ "rewards/margins": 0.05040215328335762,
308
+ "rewards/rejected": -0.22200918197631836,
309
+ "step": 100
310
+ },
311
+ {
312
+ "epoch": 0.5050505050505051,
313
+ "eval_logits/chosen": -1.919495940208435,
314
+ "eval_logits/rejected": -2.218794584274292,
315
+ "eval_logps/chosen": -2.5173401832580566,
316
+ "eval_logps/rejected": -3.3597702980041504,
317
+ "eval_loss": 21.83156394958496,
318
+ "eval_rewards/accuracies": 0.6421874761581421,
319
+ "eval_rewards/chosen": -0.15560917556285858,
320
+ "eval_rewards/margins": 0.05931411311030388,
321
+ "eval_rewards/rejected": -0.21492330729961395,
322
+ "eval_runtime": 256.4168,
323
+ "eval_samples_per_second": 2.496,
324
+ "eval_steps_per_second": 0.156,
325
+ "step": 100
326
+ }
327
+ ],
328
+ "logging_steps": 5,
329
+ "max_steps": 198,
330
+ "num_input_tokens_seen": 0,
331
+ "num_train_epochs": 1,
332
+ "save_steps": 10,
333
+ "stateful_callbacks": {
334
+ "TrainerControl": {
335
+ "args": {
336
+ "should_epoch_stop": false,
337
+ "should_evaluate": false,
338
+ "should_log": false,
339
+ "should_save": true,
340
+ "should_training_stop": false
341
+ },
342
+ "attributes": {}
343
+ }
344
+ },
345
+ "total_flos": 0.0,
346
+ "train_batch_size": 16,
347
+ "trial_name": null,
348
+ "trial_params": null
349
+ }
checkpoint-100/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:055c9515d338db485e7737fef445c207305d3427c83b487e3dd7dfa9bfa1a1bf
3
+ size 5688
special_tokens_map.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "<|endoftext|>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": "<|endoftext|>",
17
+ "unk_token": {
18
+ "content": "<unk>",
19
+ "lstrip": false,
20
+ "normalized": false,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ }
24
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347
3
+ size 499723
tokenizer_config.json ADDED
@@ -0,0 +1,130 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": true,
3
+ "add_eos_token": false,
4
+ "added_tokens_decoder": {
5
+ "0": {
6
+ "content": "<unk>",
7
+ "lstrip": false,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ },
13
+ "1": {
14
+ "content": "<s>",
15
+ "lstrip": false,
16
+ "normalized": false,
17
+ "rstrip": false,
18
+ "single_word": false,
19
+ "special": true
20
+ },
21
+ "2": {
22
+ "content": "</s>",
23
+ "lstrip": false,
24
+ "normalized": false,
25
+ "rstrip": true,
26
+ "single_word": false,
27
+ "special": false
28
+ },
29
+ "32000": {
30
+ "content": "<|endoftext|>",
31
+ "lstrip": false,
32
+ "normalized": false,
33
+ "rstrip": false,
34
+ "single_word": false,
35
+ "special": true
36
+ },
37
+ "32001": {
38
+ "content": "<|assistant|>",
39
+ "lstrip": false,
40
+ "normalized": false,
41
+ "rstrip": true,
42
+ "single_word": false,
43
+ "special": true
44
+ },
45
+ "32002": {
46
+ "content": "<|placeholder1|>",
47
+ "lstrip": false,
48
+ "normalized": false,
49
+ "rstrip": true,
50
+ "single_word": false,
51
+ "special": true
52
+ },
53
+ "32003": {
54
+ "content": "<|placeholder2|>",
55
+ "lstrip": false,
56
+ "normalized": false,
57
+ "rstrip": true,
58
+ "single_word": false,
59
+ "special": true
60
+ },
61
+ "32004": {
62
+ "content": "<|placeholder3|>",
63
+ "lstrip": false,
64
+ "normalized": false,
65
+ "rstrip": true,
66
+ "single_word": false,
67
+ "special": true
68
+ },
69
+ "32005": {
70
+ "content": "<|placeholder4|>",
71
+ "lstrip": false,
72
+ "normalized": false,
73
+ "rstrip": true,
74
+ "single_word": false,
75
+ "special": true
76
+ },
77
+ "32006": {
78
+ "content": "<|system|>",
79
+ "lstrip": false,
80
+ "normalized": false,
81
+ "rstrip": true,
82
+ "single_word": false,
83
+ "special": true
84
+ },
85
+ "32007": {
86
+ "content": "<|end|>",
87
+ "lstrip": false,
88
+ "normalized": false,
89
+ "rstrip": true,
90
+ "single_word": false,
91
+ "special": true
92
+ },
93
+ "32008": {
94
+ "content": "<|placeholder5|>",
95
+ "lstrip": false,
96
+ "normalized": false,
97
+ "rstrip": true,
98
+ "single_word": false,
99
+ "special": true
100
+ },
101
+ "32009": {
102
+ "content": "<|placeholder6|>",
103
+ "lstrip": false,
104
+ "normalized": false,
105
+ "rstrip": true,
106
+ "single_word": false,
107
+ "special": true
108
+ },
109
+ "32010": {
110
+ "content": "<|user|>",
111
+ "lstrip": false,
112
+ "normalized": false,
113
+ "rstrip": true,
114
+ "single_word": false,
115
+ "special": true
116
+ }
117
+ },
118
+ "bos_token": "<s>",
119
+ "chat_template": "{{ bos_token }}{% for message in messages %}{% if (message['role'] == 'user') %}{{'<|user|>' + '\n' + message['content'] + '<|end|>' + '\n' + '<|assistant|>' + '\n'}}{% elif (message['role'] == 'assistant') %}{{message['content'] + '<|end|>' + '\n'}}{% endif %}{% endfor %}",
120
+ "clean_up_tokenization_spaces": false,
121
+ "eos_token": "<|endoftext|>",
122
+ "legacy": false,
123
+ "model_max_length": 4096,
124
+ "pad_token": "<|endoftext|>",
125
+ "padding_side": "right",
126
+ "sp_model_kwargs": {},
127
+ "tokenizer_class": "LlamaTokenizer",
128
+ "unk_token": "<unk>",
129
+ "use_default_system_prompt": false
130
+ }
train_results.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 1.0,
3
+ "train_loss": 22.75462433786103,
4
+ "train_runtime": 3251.7686,
5
+ "train_samples_per_second": 0.973,
6
+ "train_steps_per_second": 0.061
7
+ }
trainer_state.json ADDED
@@ -0,0 +1,643 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 21.83156394958496,
3
+ "best_model_checkpoint": "./output/checkpoints/2024-05-27_09-04-31/checkpoint-100",
4
+ "epoch": 1.0,
5
+ "eval_steps": 100,
6
+ "global_step": 198,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 0.025252525252525252,
13
+ "grad_norm": 26.353445053100586,
14
+ "learning_rate": 4.000000000000001e-06,
15
+ "logits/chosen": 0.14427797496318817,
16
+ "logits/rejected": -0.5873457193374634,
17
+ "logps/chosen": -0.901843249797821,
18
+ "logps/rejected": -1.3607301712036133,
19
+ "loss": 24.9998,
20
+ "rewards/accuracies": 0.21250000596046448,
21
+ "rewards/chosen": -1.578416777192615e-05,
22
+ "rewards/margins": 2.430938138786587e-06,
23
+ "rewards/rejected": -1.8215103409602307e-05,
24
+ "step": 5
25
+ },
26
+ {
27
+ "epoch": 0.050505050505050504,
28
+ "grad_norm": NaN,
29
+ "learning_rate": 8.000000000000001e-06,
30
+ "logits/chosen": -0.10329052060842514,
31
+ "logits/rejected": -0.4683811664581299,
32
+ "logps/chosen": -0.9063997268676758,
33
+ "logps/rejected": -1.461859107017517,
34
+ "loss": 24.9337,
35
+ "rewards/accuracies": 0.6625000238418579,
36
+ "rewards/chosen": -0.00036737616755999625,
37
+ "rewards/margins": 0.0006723683327436447,
38
+ "rewards/rejected": -0.0010397445876151323,
39
+ "step": 10
40
+ },
41
+ {
42
+ "epoch": 0.07575757575757576,
43
+ "grad_norm": 13.749723434448242,
44
+ "learning_rate": 1.3000000000000001e-05,
45
+ "logits/chosen": -0.2425023317337036,
46
+ "logits/rejected": -0.6693668365478516,
47
+ "logps/chosen": -0.8707982897758484,
48
+ "logps/rejected": -1.1566194295883179,
49
+ "loss": 24.9041,
50
+ "rewards/accuracies": 0.7124999761581421,
51
+ "rewards/chosen": -0.0014928742311894894,
52
+ "rewards/margins": 0.0009821585845202208,
53
+ "rewards/rejected": -0.00247503281570971,
54
+ "step": 15
55
+ },
56
+ {
57
+ "epoch": 0.10101010101010101,
58
+ "grad_norm": 25.53832244873047,
59
+ "learning_rate": 1.8e-05,
60
+ "logits/chosen": -0.46215763688087463,
61
+ "logits/rejected": -0.9008939862251282,
62
+ "logps/chosen": -0.959465503692627,
63
+ "logps/rejected": -1.5446056127548218,
64
+ "loss": 24.2631,
65
+ "rewards/accuracies": 0.637499988079071,
66
+ "rewards/chosen": -0.0067633287981152534,
67
+ "rewards/margins": 0.007808461785316467,
68
+ "rewards/rejected": -0.014571788720786572,
69
+ "step": 20
70
+ },
71
+ {
72
+ "epoch": 0.12626262626262627,
73
+ "grad_norm": 45.06657791137695,
74
+ "learning_rate": 1.9985985720017786e-05,
75
+ "logits/chosen": -0.04087737202644348,
76
+ "logits/rejected": -0.5188297033309937,
77
+ "logps/chosen": -0.9965022802352905,
78
+ "logps/rejected": -1.3733254671096802,
79
+ "loss": 24.1692,
80
+ "rewards/accuracies": 0.699999988079071,
81
+ "rewards/chosen": -0.014551234431564808,
82
+ "rewards/margins": 0.009625318460166454,
83
+ "rewards/rejected": -0.024176552891731262,
84
+ "step": 25
85
+ },
86
+ {
87
+ "epoch": 0.15151515151515152,
88
+ "grad_norm": 28.255924224853516,
89
+ "learning_rate": 1.9900485105144544e-05,
90
+ "logits/chosen": -0.14505064487457275,
91
+ "logits/rejected": -0.5278365015983582,
92
+ "logps/chosen": -1.0397828817367554,
93
+ "logps/rejected": -1.44753897190094,
94
+ "loss": 24.1349,
95
+ "rewards/accuracies": 0.699999988079071,
96
+ "rewards/chosen": -0.018694132566452026,
97
+ "rewards/margins": 0.01500606257468462,
98
+ "rewards/rejected": -0.03370019793510437,
99
+ "step": 30
100
+ },
101
+ {
102
+ "epoch": 0.17676767676767677,
103
+ "grad_norm": NaN,
104
+ "learning_rate": 1.9776556239997146e-05,
105
+ "logits/chosen": -0.4809038043022156,
106
+ "logits/rejected": -0.9093053936958313,
107
+ "logps/chosen": -1.3904650211334229,
108
+ "logps/rejected": -2.406257390975952,
109
+ "loss": 23.5774,
110
+ "rewards/accuracies": 0.75,
111
+ "rewards/chosen": -0.04243111237883568,
112
+ "rewards/margins": 0.052741266787052155,
113
+ "rewards/rejected": -0.09517236799001694,
114
+ "step": 35
115
+ },
116
+ {
117
+ "epoch": 0.20202020202020202,
118
+ "grad_norm": 46.83095932006836,
119
+ "learning_rate": 1.955324742088516e-05,
120
+ "logits/chosen": -0.6266540288925171,
121
+ "logits/rejected": -1.0290076732635498,
122
+ "logps/chosen": -1.2514160871505737,
123
+ "logps/rejected": -2.1771531105041504,
124
+ "loss": 22.3291,
125
+ "rewards/accuracies": 0.625,
126
+ "rewards/chosen": -0.03719799965620041,
127
+ "rewards/margins": 0.04375718533992767,
128
+ "rewards/rejected": -0.08095519244670868,
129
+ "step": 40
130
+ },
131
+ {
132
+ "epoch": 0.22727272727272727,
133
+ "grad_norm": 76.44580841064453,
134
+ "learning_rate": 1.9255590665712214e-05,
135
+ "logits/chosen": -0.6130943894386292,
136
+ "logits/rejected": -1.143413782119751,
137
+ "logps/chosen": -1.5433876514434814,
138
+ "logps/rejected": -2.6532750129699707,
139
+ "loss": 21.656,
140
+ "rewards/accuracies": 0.675000011920929,
141
+ "rewards/chosen": -0.05903216451406479,
142
+ "rewards/margins": 0.05665038153529167,
143
+ "rewards/rejected": -0.11568254232406616,
144
+ "step": 45
145
+ },
146
+ {
147
+ "epoch": 0.25252525252525254,
148
+ "grad_norm": 78.35297393798828,
149
+ "learning_rate": 1.8965472436868288e-05,
150
+ "logits/chosen": -0.757357656955719,
151
+ "logits/rejected": -1.0666834115982056,
152
+ "logps/chosen": -1.3742765188217163,
153
+ "logps/rejected": -3.0053694248199463,
154
+ "loss": 22.6627,
155
+ "rewards/accuracies": 0.762499988079071,
156
+ "rewards/chosen": -0.05383248254656792,
157
+ "rewards/margins": 0.09586457908153534,
158
+ "rewards/rejected": -0.14969706535339355,
159
+ "step": 50
160
+ },
161
+ {
162
+ "epoch": 0.2777777777777778,
163
+ "grad_norm": 82.29180145263672,
164
+ "learning_rate": 1.8540204424421264e-05,
165
+ "logits/chosen": -0.8564749956130981,
166
+ "logits/rejected": -1.3737789392471313,
167
+ "logps/chosen": -1.733337163925171,
168
+ "logps/rejected": -3.3698067665100098,
169
+ "loss": 19.3611,
170
+ "rewards/accuracies": 0.8374999761581421,
171
+ "rewards/chosen": -0.08400858938694,
172
+ "rewards/margins": 0.10341653972864151,
173
+ "rewards/rejected": -0.18742512166500092,
174
+ "step": 55
175
+ },
176
+ {
177
+ "epoch": 0.30303030303030304,
178
+ "grad_norm": 128.23907470703125,
179
+ "learning_rate": 1.804847246055326e-05,
180
+ "logits/chosen": -0.9640189409255981,
181
+ "logits/rejected": -1.1732914447784424,
182
+ "logps/chosen": -2.538499593734741,
183
+ "logps/rejected": -3.0090465545654297,
184
+ "loss": 29.7881,
185
+ "rewards/accuracies": 0.5249999761581421,
186
+ "rewards/chosen": -0.14390432834625244,
187
+ "rewards/margins": 0.02762184664607048,
188
+ "rewards/rejected": -0.17152616381645203,
189
+ "step": 60
190
+ },
191
+ {
192
+ "epoch": 0.3282828282828283,
193
+ "grad_norm": 49.566158294677734,
194
+ "learning_rate": 1.7494103438361252e-05,
195
+ "logits/chosen": -0.7158849239349365,
196
+ "logits/rejected": -1.0623328685760498,
197
+ "logps/chosen": -1.4396604299545288,
198
+ "logps/rejected": -2.000624179840088,
199
+ "loss": 21.9915,
200
+ "rewards/accuracies": 0.7124999761581421,
201
+ "rewards/chosen": -0.06708293408155441,
202
+ "rewards/margins": 0.03939032554626465,
203
+ "rewards/rejected": -0.10647325217723846,
204
+ "step": 65
205
+ },
206
+ {
207
+ "epoch": 0.35353535353535354,
208
+ "grad_norm": 76.89603424072266,
209
+ "learning_rate": 1.6881411722458688e-05,
210
+ "logits/chosen": -0.8769875764846802,
211
+ "logits/rejected": -1.1103827953338623,
212
+ "logps/chosen": -2.1615917682647705,
213
+ "logps/rejected": -3.0439255237579346,
214
+ "loss": 21.986,
215
+ "rewards/accuracies": 0.6499999761581421,
216
+ "rewards/chosen": -0.12244679778814316,
217
+ "rewards/margins": 0.06274138391017914,
218
+ "rewards/rejected": -0.1851881742477417,
219
+ "step": 70
220
+ },
221
+ {
222
+ "epoch": 0.3787878787878788,
223
+ "grad_norm": 134.9673309326172,
224
+ "learning_rate": 1.6215165572528598e-05,
225
+ "logits/chosen": -1.343915581703186,
226
+ "logits/rejected": -1.401227355003357,
227
+ "logps/chosen": -2.2325069904327393,
228
+ "logps/rejected": -3.132831573486328,
229
+ "loss": 21.2106,
230
+ "rewards/accuracies": 0.6875,
231
+ "rewards/chosen": -0.13722343742847443,
232
+ "rewards/margins": 0.06202084943652153,
233
+ "rewards/rejected": -0.19924426078796387,
234
+ "step": 75
235
+ },
236
+ {
237
+ "epoch": 0.40404040404040403,
238
+ "grad_norm": 137.21859741210938,
239
+ "learning_rate": 1.5500550034448415e-05,
240
+ "logits/chosen": -1.3024094104766846,
241
+ "logits/rejected": -1.5494719743728638,
242
+ "logps/chosen": -2.4210548400878906,
243
+ "logps/rejected": -3.3495230674743652,
244
+ "loss": 23.1095,
245
+ "rewards/accuracies": 0.625,
246
+ "rewards/chosen": -0.15112502872943878,
247
+ "rewards/margins": 0.07425413280725479,
248
+ "rewards/rejected": -0.22537918388843536,
249
+ "step": 80
250
+ },
251
+ {
252
+ "epoch": 0.4292929292929293,
253
+ "grad_norm": 351.0603942871094,
254
+ "learning_rate": 1.5050862598575474e-05,
255
+ "logits/chosen": -1.311993956565857,
256
+ "logits/rejected": -1.6289136409759521,
257
+ "logps/chosen": -2.586198091506958,
258
+ "logps/rejected": -5.161986827850342,
259
+ "loss": 25.0728,
260
+ "rewards/accuracies": 0.75,
261
+ "rewards/chosen": -0.16497337818145752,
262
+ "rewards/margins": 0.17613837122917175,
263
+ "rewards/rejected": -0.3411117494106293,
264
+ "step": 85
265
+ },
266
+ {
267
+ "epoch": 0.45454545454545453,
268
+ "grad_norm": 376.21038818359375,
269
+ "learning_rate": 1.4270564388663761e-05,
270
+ "logits/chosen": -1.4695305824279785,
271
+ "logits/rejected": -1.5699679851531982,
272
+ "logps/chosen": -3.0274829864501953,
273
+ "logps/rejected": -3.7816379070281982,
274
+ "loss": 24.3757,
275
+ "rewards/accuracies": 0.625,
276
+ "rewards/chosen": -0.20180432498455048,
277
+ "rewards/margins": 0.06594176590442657,
278
+ "rewards/rejected": -0.26774606108665466,
279
+ "step": 90
280
+ },
281
+ {
282
+ "epoch": 0.4797979797979798,
283
+ "grad_norm": 83.94548034667969,
284
+ "learning_rate": 1.3457030606163564e-05,
285
+ "logits/chosen": -1.542257308959961,
286
+ "logits/rejected": -1.640545129776001,
287
+ "logps/chosen": -3.1931662559509277,
288
+ "logps/rejected": -4.362542152404785,
289
+ "loss": 21.7905,
290
+ "rewards/accuracies": 0.625,
291
+ "rewards/chosen": -0.21774420142173767,
292
+ "rewards/margins": 0.09037742763757706,
293
+ "rewards/rejected": -0.30812162160873413,
294
+ "step": 95
295
+ },
296
+ {
297
+ "epoch": 0.5050505050505051,
298
+ "grad_norm": 174.58786010742188,
299
+ "learning_rate": 1.2616592559684408e-05,
300
+ "logits/chosen": -1.5426051616668701,
301
+ "logits/rejected": -1.7211687564849854,
302
+ "logps/chosen": -2.798499345779419,
303
+ "logps/rejected": -3.3964920043945312,
304
+ "loss": 25.8166,
305
+ "rewards/accuracies": 0.612500011920929,
306
+ "rewards/chosen": -0.17160701751708984,
307
+ "rewards/margins": 0.05040215328335762,
308
+ "rewards/rejected": -0.22200918197631836,
309
+ "step": 100
310
+ },
311
+ {
312
+ "epoch": 0.5050505050505051,
313
+ "eval_logits/chosen": -1.919495940208435,
314
+ "eval_logits/rejected": -2.218794584274292,
315
+ "eval_logps/chosen": -2.5173401832580566,
316
+ "eval_logps/rejected": -3.3597702980041504,
317
+ "eval_loss": 21.83156394958496,
318
+ "eval_rewards/accuracies": 0.6421874761581421,
319
+ "eval_rewards/chosen": -0.15560917556285858,
320
+ "eval_rewards/margins": 0.05931411311030388,
321
+ "eval_rewards/rejected": -0.21492330729961395,
322
+ "eval_runtime": 256.4168,
323
+ "eval_samples_per_second": 2.496,
324
+ "eval_steps_per_second": 0.156,
325
+ "step": 100
326
+ },
327
+ {
328
+ "epoch": 0.5303030303030303,
329
+ "grad_norm": 94.69363403320312,
330
+ "learning_rate": 1.1755790939673208e-05,
331
+ "logits/chosen": -1.6892818212509155,
332
+ "logits/rejected": -1.860984206199646,
333
+ "logps/chosen": -2.6088526248931885,
334
+ "logps/rejected": -3.893810272216797,
335
+ "loss": 24.6292,
336
+ "rewards/accuracies": 0.6499999761581421,
337
+ "rewards/chosen": -0.1631762683391571,
338
+ "rewards/margins": 0.0721951425075531,
339
+ "rewards/rejected": -0.235371395945549,
340
+ "step": 105
341
+ },
342
+ {
343
+ "epoch": 0.5555555555555556,
344
+ "grad_norm": 299.636962890625,
345
+ "learning_rate": 1.088132491563602e-05,
346
+ "logits/chosen": -1.6523587703704834,
347
+ "logits/rejected": -1.648794412612915,
348
+ "logps/chosen": -2.3819022178649902,
349
+ "logps/rejected": -3.91084623336792,
350
+ "loss": 24.6609,
351
+ "rewards/accuracies": 0.7250000238418579,
352
+ "rewards/chosen": -0.14854103326797485,
353
+ "rewards/margins": 0.08199040591716766,
354
+ "rewards/rejected": -0.23053142428398132,
355
+ "step": 110
356
+ },
357
+ {
358
+ "epoch": 0.5808080808080808,
359
+ "grad_norm": 179.6541748046875,
360
+ "learning_rate": 1e-05,
361
+ "logits/chosen": -1.7479238510131836,
362
+ "logits/rejected": -1.8762273788452148,
363
+ "logps/chosen": -2.4850611686706543,
364
+ "logps/rejected": -3.9139976501464844,
365
+ "loss": 21.9825,
366
+ "rewards/accuracies": 0.6499999761581421,
367
+ "rewards/chosen": -0.1599404662847519,
368
+ "rewards/margins": 0.0621558353304863,
369
+ "rewards/rejected": -0.2220962941646576,
370
+ "step": 115
371
+ },
372
+ {
373
+ "epoch": 0.6060606060606061,
374
+ "grad_norm": 416.4597473144531,
375
+ "learning_rate": 9.118675084363986e-06,
376
+ "logits/chosen": -1.6893389225006104,
377
+ "logits/rejected": -1.9248136281967163,
378
+ "logps/chosen": -2.431549549102783,
379
+ "logps/rejected": -3.4075489044189453,
380
+ "loss": 23.7008,
381
+ "rewards/accuracies": 0.574999988079071,
382
+ "rewards/chosen": -0.1548345983028412,
383
+ "rewards/margins": 0.03470990061759949,
384
+ "rewards/rejected": -0.18954448401927948,
385
+ "step": 120
386
+ },
387
+ {
388
+ "epoch": 0.6313131313131313,
389
+ "grad_norm": 106.20417022705078,
390
+ "learning_rate": 8.244209060326794e-06,
391
+ "logits/chosen": -1.6689144372940063,
392
+ "logits/rejected": -1.932077407836914,
393
+ "logps/chosen": -2.1763813495635986,
394
+ "logps/rejected": -4.08168888092041,
395
+ "loss": 20.9314,
396
+ "rewards/accuracies": 0.6499999761581421,
397
+ "rewards/chosen": -0.13834789395332336,
398
+ "rewards/margins": 0.07367957383394241,
399
+ "rewards/rejected": -0.21202746033668518,
400
+ "step": 125
401
+ },
402
+ {
403
+ "epoch": 0.6565656565656566,
404
+ "grad_norm": 628.0269775390625,
405
+ "learning_rate": 7.383407440315595e-06,
406
+ "logits/chosen": -1.7707713842391968,
407
+ "logits/rejected": -1.8211300373077393,
408
+ "logps/chosen": -2.591797351837158,
409
+ "logps/rejected": -4.223265647888184,
410
+ "loss": 19.9625,
411
+ "rewards/accuracies": 0.7250000238418579,
412
+ "rewards/chosen": -0.1714746505022049,
413
+ "rewards/margins": 0.10012316703796387,
414
+ "rewards/rejected": -0.27159780263900757,
415
+ "step": 130
416
+ },
417
+ {
418
+ "epoch": 0.6818181818181818,
419
+ "grad_norm": 166.4376220703125,
420
+ "learning_rate": 6.542969393836436e-06,
421
+ "logits/chosen": -1.6975538730621338,
422
+ "logits/rejected": -1.7919883728027344,
423
+ "logps/chosen": -2.655794858932495,
424
+ "logps/rejected": -3.9739787578582764,
425
+ "loss": 19.885,
426
+ "rewards/accuracies": 0.7250000238418579,
427
+ "rewards/chosen": -0.17945000529289246,
428
+ "rewards/margins": 0.08590926975011826,
429
+ "rewards/rejected": -0.2653592824935913,
430
+ "step": 135
431
+ },
432
+ {
433
+ "epoch": 0.7070707070707071,
434
+ "grad_norm": 924.48388671875,
435
+ "learning_rate": 5.729435611336239e-06,
436
+ "logits/chosen": -1.6683040857315063,
437
+ "logits/rejected": -1.8297067880630493,
438
+ "logps/chosen": -3.389685869216919,
439
+ "logps/rejected": -4.693975925445557,
440
+ "loss": 21.4041,
441
+ "rewards/accuracies": 0.737500011920929,
442
+ "rewards/chosen": -0.22584636509418488,
443
+ "rewards/margins": 0.08828467130661011,
444
+ "rewards/rejected": -0.3141310513019562,
445
+ "step": 140
446
+ },
447
+ {
448
+ "epoch": 0.7323232323232324,
449
+ "grad_norm": 208.90626525878906,
450
+ "learning_rate": 4.949137401424527e-06,
451
+ "logits/chosen": -1.690625786781311,
452
+ "logits/rejected": -1.8179527521133423,
453
+ "logps/chosen": -3.1737165451049805,
454
+ "logps/rejected": -4.919283866882324,
455
+ "loss": 19.995,
456
+ "rewards/accuracies": 0.6875,
457
+ "rewards/chosen": -0.22326549887657166,
458
+ "rewards/margins": 0.10102611780166626,
459
+ "rewards/rejected": -0.3242916166782379,
460
+ "step": 145
461
+ },
462
+ {
463
+ "epoch": 0.7575757575757576,
464
+ "grad_norm": 243.00192260742188,
465
+ "learning_rate": 4.208147417604665e-06,
466
+ "logits/chosen": -1.6386387348175049,
467
+ "logits/rejected": -1.7950681447982788,
468
+ "logps/chosen": -3.373720645904541,
469
+ "logps/rejected": -4.483418941497803,
470
+ "loss": 20.3863,
471
+ "rewards/accuracies": 0.6625000238418579,
472
+ "rewards/chosen": -0.24290914833545685,
473
+ "rewards/margins": 0.07580031454563141,
474
+ "rewards/rejected": -0.31870946288108826,
475
+ "step": 150
476
+ },
477
+ {
478
+ "epoch": 0.7828282828282829,
479
+ "grad_norm": 205.0689697265625,
480
+ "learning_rate": 3.51223239798274e-06,
481
+ "logits/chosen": -1.7644588947296143,
482
+ "logits/rejected": -1.792384147644043,
483
+ "logps/chosen": -2.8454086780548096,
484
+ "logps/rejected": -4.108365058898926,
485
+ "loss": 22.1816,
486
+ "rewards/accuracies": 0.637499988079071,
487
+ "rewards/chosen": -0.19682423770427704,
488
+ "rewards/margins": 0.07537179440259933,
489
+ "rewards/rejected": -0.2721960246562958,
490
+ "step": 155
491
+ },
492
+ {
493
+ "epoch": 0.8080808080808081,
494
+ "grad_norm": 202.64425659179688,
495
+ "learning_rate": 2.8668082857562006e-06,
496
+ "logits/chosen": -1.7155227661132812,
497
+ "logits/rejected": -1.7265026569366455,
498
+ "logps/chosen": -3.2442708015441895,
499
+ "logps/rejected": -5.168461799621582,
500
+ "loss": 20.5007,
501
+ "rewards/accuracies": 0.762499988079071,
502
+ "rewards/chosen": -0.22376994788646698,
503
+ "rewards/margins": 0.11927111446857452,
504
+ "rewards/rejected": -0.3430410623550415,
505
+ "step": 160
506
+ },
507
+ {
508
+ "epoch": 0.8333333333333334,
509
+ "grad_norm": 146.06727600097656,
510
+ "learning_rate": 2.2768980797561125e-06,
511
+ "logits/chosen": -1.5448095798492432,
512
+ "logits/rejected": -1.6818040609359741,
513
+ "logps/chosen": -3.1757941246032715,
514
+ "logps/rejected": -4.661167144775391,
515
+ "loss": 23.3162,
516
+ "rewards/accuracies": 0.675000011920929,
517
+ "rewards/chosen": -0.22800321877002716,
518
+ "rewards/margins": 0.10849568992853165,
519
+ "rewards/rejected": -0.336498886346817,
520
+ "step": 165
521
+ },
522
+ {
523
+ "epoch": 0.8585858585858586,
524
+ "grad_norm": 266.4602966308594,
525
+ "learning_rate": 1.7470927430702277e-06,
526
+ "logits/chosen": -1.77353036403656,
527
+ "logits/rejected": -1.8091161251068115,
528
+ "logps/chosen": -3.679595470428467,
529
+ "logps/rejected": -5.641579627990723,
530
+ "loss": 21.0313,
531
+ "rewards/accuracies": 0.6499999761581421,
532
+ "rewards/chosen": -0.2708187699317932,
533
+ "rewards/margins": 0.11891458183526993,
534
+ "rewards/rejected": -0.38973334431648254,
535
+ "step": 170
536
+ },
537
+ {
538
+ "epoch": 0.8838383838383839,
539
+ "grad_norm": 191.99391174316406,
540
+ "learning_rate": 1.281515473974614e-06,
541
+ "logits/chosen": -1.7262178659439087,
542
+ "logits/rejected": -1.7621949911117554,
543
+ "logps/chosen": -3.6915946006774902,
544
+ "logps/rejected": -4.522196292877197,
545
+ "loss": 23.1575,
546
+ "rewards/accuracies": 0.625,
547
+ "rewards/chosen": -0.2737148106098175,
548
+ "rewards/margins": 0.06611393392086029,
549
+ "rewards/rejected": -0.339828759431839,
550
+ "step": 175
551
+ },
552
+ {
553
+ "epoch": 0.9090909090909091,
554
+ "grad_norm": 445.5780334472656,
555
+ "learning_rate": 8.837896172345827e-07,
556
+ "logits/chosen": -1.7799314260482788,
557
+ "logits/rejected": -1.758079171180725,
558
+ "logps/chosen": -3.744454860687256,
559
+ "logps/rejected": -5.533487319946289,
560
+ "loss": 22.4579,
561
+ "rewards/accuracies": 0.6000000238418579,
562
+ "rewards/chosen": -0.26133713126182556,
563
+ "rewards/margins": 0.10725338757038116,
564
+ "rewards/rejected": -0.36859050393104553,
565
+ "step": 180
566
+ },
567
+ {
568
+ "epoch": 0.9343434343434344,
569
+ "grad_norm": 351.77313232421875,
570
+ "learning_rate": 5.570104655044428e-07,
571
+ "logits/chosen": -1.8014914989471436,
572
+ "logits/rejected": -1.8869857788085938,
573
+ "logps/chosen": -3.1039249897003174,
574
+ "logps/rejected": -4.702515602111816,
575
+ "loss": 23.8499,
576
+ "rewards/accuracies": 0.7124999761581421,
577
+ "rewards/chosen": -0.22470612823963165,
578
+ "rewards/margins": 0.12236537039279938,
579
+ "rewards/rejected": -0.34707149863243103,
580
+ "step": 185
581
+ },
582
+ {
583
+ "epoch": 0.9595959595959596,
584
+ "grad_norm": 203.9517059326172,
585
+ "learning_rate": 3.0372117028111825e-07,
586
+ "logits/chosen": -1.650368332862854,
587
+ "logits/rejected": -1.7378900051116943,
588
+ "logps/chosen": -3.5179672241210938,
589
+ "logps/rejected": -4.001964092254639,
590
+ "loss": 25.7021,
591
+ "rewards/accuracies": 0.625,
592
+ "rewards/chosen": -0.26367172598838806,
593
+ "rewards/margins": 0.021851424127817154,
594
+ "rewards/rejected": -0.2855231761932373,
595
+ "step": 190
596
+ },
597
+ {
598
+ "epoch": 0.9848484848484849,
599
+ "grad_norm": 358.923095703125,
600
+ "learning_rate": 1.2589294988404887e-07,
601
+ "logits/chosen": -1.6349338293075562,
602
+ "logits/rejected": -1.7700506448745728,
603
+ "logps/chosen": -3.084740161895752,
604
+ "logps/rejected": -4.999522686004639,
605
+ "loss": 18.5645,
606
+ "rewards/accuracies": 0.762499988079071,
607
+ "rewards/chosen": -0.22231082618236542,
608
+ "rewards/margins": 0.12103237211704254,
609
+ "rewards/rejected": -0.34334319829940796,
610
+ "step": 195
611
+ },
612
+ {
613
+ "epoch": 1.0,
614
+ "step": 198,
615
+ "total_flos": 0.0,
616
+ "train_loss": 22.75462433786103,
617
+ "train_runtime": 3251.7686,
618
+ "train_samples_per_second": 0.973,
619
+ "train_steps_per_second": 0.061
620
+ }
621
+ ],
622
+ "logging_steps": 5,
623
+ "max_steps": 198,
624
+ "num_input_tokens_seen": 0,
625
+ "num_train_epochs": 1,
626
+ "save_steps": 10,
627
+ "stateful_callbacks": {
628
+ "TrainerControl": {
629
+ "args": {
630
+ "should_epoch_stop": false,
631
+ "should_evaluate": false,
632
+ "should_log": false,
633
+ "should_save": true,
634
+ "should_training_stop": false
635
+ },
636
+ "attributes": {}
637
+ }
638
+ },
639
+ "total_flos": 0.0,
640
+ "train_batch_size": 16,
641
+ "trial_name": null,
642
+ "trial_params": null
643
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:055c9515d338db485e7737fef445c207305d3427c83b487e3dd7dfa9bfa1a1bf
3
+ size 5688