vdaita commited on
Commit
53bc3aa
1 Parent(s): 4a71840

Upload folder using huggingface_hub

Browse files
README.md CHANGED
@@ -5,7 +5,7 @@ tags:
5
  - generated_from_trainer
6
  base_model: deepseek-ai/deepseek-coder-6.7b-instruct
7
  model-index:
8
- - name: outputs/axolotl-qlora-out-code-ir-dscoder
9
  results: []
10
  ---
11
 
@@ -28,65 +28,67 @@ strict: false
28
  datasets:
29
  - path: vdaita/editpackft_inst_code
30
  type: oasst
31
- dataset_prepared_path:
32
  val_set_size: 0.05
33
- output_dir: ./outputs/axolotl-qlora-out-code-ir-dscoder
34
 
35
- adapter: lora
36
- lora_model_dir:
37
-
38
- sequence_len: 2048
39
  sample_packing: true
40
- eval_sample_packing: false
41
  pad_to_sequence_len: true
42
 
 
 
 
 
43
  lora_r: 32
44
  lora_alpha: 16
45
  lora_dropout: 0.05
46
- lora_target_modules:
47
- - q_proj
48
- - v_proj
49
- - k_proj
50
- - o_proj
51
- - gate_proj
52
- - down_proj
53
- - up_proj
54
  lora_target_linear: true
55
- lora_fan_in_fan_out:
56
 
57
  wandb_project: huggingface
58
- wandb_log_model: axolotl-qlora-code-dscoder
59
 
60
  gradient_accumulation_steps: 4
61
  micro_batch_size: 2
62
- num_epochs: 2
63
- optimizer: paged_adamw_32bit
64
  lr_scheduler: cosine
65
  learning_rate: 0.0002
66
 
67
  train_on_inputs: false
68
  group_by_length: false
69
  bf16: auto
70
- fp16:
71
  tf32: false
72
 
73
  gradient_checkpointing: true
 
 
 
74
  logging_steps: 1
 
75
  flash_attention: true
 
76
 
77
- warmup_steps: 20
78
- evals_per_epoch: 2
79
- saves_per_epoch: 2
 
 
 
 
 
80
 
81
  ```
82
 
83
  </details><br>
84
 
85
- # outputs/axolotl-qlora-out-code-ir-dscoder
86
 
87
  This model is a fine-tuned version of [deepseek-ai/deepseek-coder-6.7b-instruct](https://huggingface.co/deepseek-ai/deepseek-coder-6.7b-instruct) on the None dataset.
88
  It achieves the following results on the evaluation set:
89
- - Loss: 0.1829
90
 
91
  ## Model description
92
 
@@ -116,18 +118,17 @@ The following hyperparameters were used during training:
116
  - total_eval_batch_size: 4
117
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
118
  - lr_scheduler_type: cosine
119
- - lr_scheduler_warmup_steps: 20
120
- - num_epochs: 2
121
 
122
  ### Training results
123
 
124
  | Training Loss | Epoch | Step | Validation Loss |
125
  |:-------------:|:-----:|:----:|:---------------:|
126
- | 0.6574 | 0.01 | 1 | 0.7462 |
127
- | 0.1778 | 0.5 | 39 | 0.2123 |
128
- | 0.2121 | 1.0 | 78 | 0.1900 |
129
- | 0.2512 | 1.47 | 117 | 0.1842 |
130
- | 0.2024 | 1.97 | 156 | 0.1829 |
131
 
132
 
133
  ### Framework versions
 
5
  - generated_from_trainer
6
  base_model: deepseek-ai/deepseek-coder-6.7b-instruct
7
  model-index:
8
+ - name: outputs/dscoder-code-ir-2
9
  results: []
10
  ---
11
 
 
28
  datasets:
29
  - path: vdaita/editpackft_inst_code
30
  type: oasst
31
+ dataset_prepared_path:
32
  val_set_size: 0.05
33
+ output_dir: ./outputs/dscoder-code-ir-2
34
 
35
+ sequence_len: 4096
 
 
 
36
  sample_packing: true
 
37
  pad_to_sequence_len: true
38
 
39
+ eval_sample_packing: false
40
+
41
+ adapter: lora
42
+ lora_model_dir:
43
  lora_r: 32
44
  lora_alpha: 16
45
  lora_dropout: 0.05
 
 
 
 
 
 
 
 
46
  lora_target_linear: true
47
+ lora_fan_in_fan_out:
48
 
49
  wandb_project: huggingface
50
+ wandb_log_model: axolotl-dscoder-code-2
51
 
52
  gradient_accumulation_steps: 4
53
  micro_batch_size: 2
54
+ num_epochs: 1
55
+ optimizer: adamw_bnb_8bit
56
  lr_scheduler: cosine
57
  learning_rate: 0.0002
58
 
59
  train_on_inputs: false
60
  group_by_length: false
61
  bf16: auto
62
+ fp16:
63
  tf32: false
64
 
65
  gradient_checkpointing: true
66
+ early_stopping_patience:
67
+ resume_from_checkpoint:
68
+ local_rank:
69
  logging_steps: 1
70
+ xformers_attention:
71
  flash_attention: true
72
+ s2_attention:
73
 
74
+ warmup_steps: 10
75
+ evals_per_epoch: 4
76
+ saves_per_epoch: 1
77
+ debug:
78
+ deepspeed:
79
+ weight_decay: 0.0
80
+ fsdp:
81
+ fsdp_config:
82
 
83
  ```
84
 
85
  </details><br>
86
 
87
+ # outputs/dscoder-code-ir-2
88
 
89
  This model is a fine-tuned version of [deepseek-ai/deepseek-coder-6.7b-instruct](https://huggingface.co/deepseek-ai/deepseek-coder-6.7b-instruct) on the None dataset.
90
  It achieves the following results on the evaluation set:
91
+ - Loss: 0.2242
92
 
93
  ## Model description
94
 
 
118
  - total_eval_batch_size: 4
119
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
120
  - lr_scheduler_type: cosine
121
+ - lr_scheduler_warmup_steps: 10
122
+ - num_epochs: 1
123
 
124
  ### Training results
125
 
126
  | Training Loss | Epoch | Step | Validation Loss |
127
  |:-------------:|:-----:|:----:|:---------------:|
128
+ | 0.6668 | 0.03 | 1 | 0.7461 |
129
+ | 0.5084 | 0.26 | 10 | 0.4586 |
130
+ | 0.241 | 0.53 | 20 | 0.2486 |
131
+ | 0.2553 | 0.79 | 30 | 0.2242 |
 
132
 
133
 
134
  ### Framework versions
adapter_config.json CHANGED
@@ -20,13 +20,13 @@
20
  "rank_pattern": {},
21
  "revision": null,
22
  "target_modules": [
23
- "o_proj",
24
- "q_proj",
25
  "v_proj",
26
- "gate_proj",
27
  "up_proj",
 
 
28
  "down_proj",
29
- "k_proj"
30
  ],
31
  "task_type": "CAUSAL_LM",
32
  "use_dora": false,
 
20
  "rank_pattern": {},
21
  "revision": null,
22
  "target_modules": [
23
+ "k_proj",
 
24
  "v_proj",
 
25
  "up_proj",
26
+ "gate_proj",
27
+ "o_proj",
28
  "down_proj",
29
+ "q_proj"
30
  ],
31
  "task_type": "CAUSAL_LM",
32
  "use_dora": false,
adapter_model.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a37f4f9a125964017e08e3838e57040c7e85959632143719ab63c786aa204f4c
3
  size 319977674
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:15b45762ee6c593a22c5eb0196cd42325259a42e5d2a3040326db83e66f6db12
3
  size 319977674
checkpoint-37/README.md ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ base_model: deepseek-ai/deepseek-coder-6.7b-instruct
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.10.0
checkpoint-37/adapter_config.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "deepseek-ai/deepseek-coder-6.7b-instruct",
5
+ "bias": "none",
6
+ "fan_in_fan_out": null,
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.05,
15
+ "megatron_config": null,
16
+ "megatron_core": "megatron.core",
17
+ "modules_to_save": null,
18
+ "peft_type": "LORA",
19
+ "r": 32,
20
+ "rank_pattern": {},
21
+ "revision": null,
22
+ "target_modules": [
23
+ "k_proj",
24
+ "v_proj",
25
+ "up_proj",
26
+ "gate_proj",
27
+ "o_proj",
28
+ "down_proj",
29
+ "q_proj"
30
+ ],
31
+ "task_type": "CAUSAL_LM",
32
+ "use_dora": false,
33
+ "use_rslora": false
34
+ }
checkpoint-37/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8f72606e912ded082fa2839d43296d925b3dca6e1d09fc94ccbbcfd9b820fecc
3
+ size 319876032
checkpoint-37/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a7fa1d08770a62dcff29186d1e21a71bee5722d0fb077418795cac3116804bed
3
+ size 160736084
checkpoint-37/rng_state_0.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e81cc6038106a245a2b5e97419f07cfb56f27f2c22054885210fd0be217359c4
3
+ size 14512
checkpoint-37/rng_state_1.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a7eaffd43b0993b556639f774a13e25fb315e7a246424335343e7ffa4b44cc37
3
+ size 14512
checkpoint-37/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:403a4035e63034a6e33503614432aa83d524d5b8ffac47cac18a35f9606be4b7
3
+ size 1064
checkpoint-37/special_tokens_map.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<|begin▁of▁sentence|>",
4
+ "lstrip": false,
5
+ "normalized": true,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "<|EOT|>",
11
+ "lstrip": false,
12
+ "normalized": true,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "<|end▁of▁sentence|>",
18
+ "lstrip": false,
19
+ "normalized": true,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ }
23
+ }
checkpoint-37/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-37/tokenizer_config.json ADDED
@@ -0,0 +1,194 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": true,
3
+ "add_eos_token": false,
4
+ "added_tokens_decoder": {
5
+ "32000": {
6
+ "content": "õ",
7
+ "lstrip": false,
8
+ "normalized": true,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": false
12
+ },
13
+ "32001": {
14
+ "content": "÷",
15
+ "lstrip": false,
16
+ "normalized": true,
17
+ "rstrip": false,
18
+ "single_word": false,
19
+ "special": false
20
+ },
21
+ "32002": {
22
+ "content": "Á",
23
+ "lstrip": false,
24
+ "normalized": true,
25
+ "rstrip": false,
26
+ "single_word": false,
27
+ "special": false
28
+ },
29
+ "32003": {
30
+ "content": "ý",
31
+ "lstrip": false,
32
+ "normalized": true,
33
+ "rstrip": false,
34
+ "single_word": false,
35
+ "special": false
36
+ },
37
+ "32004": {
38
+ "content": "À",
39
+ "lstrip": false,
40
+ "normalized": true,
41
+ "rstrip": false,
42
+ "single_word": false,
43
+ "special": false
44
+ },
45
+ "32005": {
46
+ "content": "ÿ",
47
+ "lstrip": false,
48
+ "normalized": true,
49
+ "rstrip": false,
50
+ "single_word": false,
51
+ "special": false
52
+ },
53
+ "32006": {
54
+ "content": "ø",
55
+ "lstrip": false,
56
+ "normalized": true,
57
+ "rstrip": false,
58
+ "single_word": false,
59
+ "special": false
60
+ },
61
+ "32007": {
62
+ "content": "ú",
63
+ "lstrip": false,
64
+ "normalized": true,
65
+ "rstrip": false,
66
+ "single_word": false,
67
+ "special": false
68
+ },
69
+ "32008": {
70
+ "content": "þ",
71
+ "lstrip": false,
72
+ "normalized": true,
73
+ "rstrip": false,
74
+ "single_word": false,
75
+ "special": false
76
+ },
77
+ "32009": {
78
+ "content": "ü",
79
+ "lstrip": false,
80
+ "normalized": true,
81
+ "rstrip": false,
82
+ "single_word": false,
83
+ "special": false
84
+ },
85
+ "32010": {
86
+ "content": "ù",
87
+ "lstrip": false,
88
+ "normalized": true,
89
+ "rstrip": false,
90
+ "single_word": false,
91
+ "special": false
92
+ },
93
+ "32011": {
94
+ "content": "ö",
95
+ "lstrip": false,
96
+ "normalized": true,
97
+ "rstrip": false,
98
+ "single_word": false,
99
+ "special": false
100
+ },
101
+ "32012": {
102
+ "content": "û",
103
+ "lstrip": false,
104
+ "normalized": true,
105
+ "rstrip": false,
106
+ "single_word": false,
107
+ "special": false
108
+ },
109
+ "32013": {
110
+ "content": "<|begin▁of▁sentence|>",
111
+ "lstrip": false,
112
+ "normalized": true,
113
+ "rstrip": false,
114
+ "single_word": false,
115
+ "special": true
116
+ },
117
+ "32014": {
118
+ "content": "<|end▁of▁sentence|>",
119
+ "lstrip": false,
120
+ "normalized": true,
121
+ "rstrip": false,
122
+ "single_word": false,
123
+ "special": true
124
+ },
125
+ "32015": {
126
+ "content": "<|fim▁hole|>",
127
+ "lstrip": false,
128
+ "normalized": true,
129
+ "rstrip": false,
130
+ "single_word": false,
131
+ "special": false
132
+ },
133
+ "32016": {
134
+ "content": "<|fim▁begin|>",
135
+ "lstrip": false,
136
+ "normalized": true,
137
+ "rstrip": false,
138
+ "single_word": false,
139
+ "special": false
140
+ },
141
+ "32017": {
142
+ "content": "<|fim▁end|>",
143
+ "lstrip": false,
144
+ "normalized": true,
145
+ "rstrip": false,
146
+ "single_word": false,
147
+ "special": false
148
+ },
149
+ "32018": {
150
+ "content": "<pad>",
151
+ "lstrip": false,
152
+ "normalized": true,
153
+ "rstrip": false,
154
+ "single_word": false,
155
+ "special": false
156
+ },
157
+ "32019": {
158
+ "content": "<|User|>",
159
+ "lstrip": false,
160
+ "normalized": true,
161
+ "rstrip": false,
162
+ "single_word": false,
163
+ "special": false
164
+ },
165
+ "32020": {
166
+ "content": "<|Assistant|>",
167
+ "lstrip": false,
168
+ "normalized": true,
169
+ "rstrip": false,
170
+ "single_word": false,
171
+ "special": false
172
+ },
173
+ "32021": {
174
+ "content": "<|EOT|>",
175
+ "lstrip": false,
176
+ "normalized": true,
177
+ "rstrip": false,
178
+ "single_word": false,
179
+ "special": true
180
+ }
181
+ },
182
+ "bos_token": "<|begin▁of▁sentence|>",
183
+ "chat_template": "{% if not add_generation_prompt is defined %}\n{% set add_generation_prompt = false %}\n{% endif %}\n{%- set ns = namespace(found=false) -%}\n{%- for message in messages -%}\n {%- if message['role'] == 'system' -%}\n {%- set ns.found = true -%}\n {%- endif -%}\n{%- endfor -%}\n{{bos_token}}{%- if not ns.found -%}\n{{'You are an AI programming assistant, utilizing the Deepseek Coder model, developed by Deepseek Company, and you only answer questions related to computer science. For politically sensitive questions, security and privacy issues, and other non-computer science questions, you will refuse to answer\\n'}}\n{%- endif %}\n{%- for message in messages %}\n {%- if message['role'] == 'system' %}\n{{ message['content'] }}\n {%- else %}\n {%- if message['role'] == 'user' %}\n{{'### Instruction:\\n' + message['content'] + '\\n'}}\n {%- else %}\n{{'### Response:\\n' + message['content'] + '\\n<|EOT|>\\n'}}\n {%- endif %}\n {%- endif %}\n{%- endfor %}\n{% if add_generation_prompt %}\n{{'### Response:'}}\n{% endif %}",
184
+ "clean_up_tokenization_spaces": false,
185
+ "eos_token": "<|EOT|>",
186
+ "legacy": true,
187
+ "model_max_length": 16384,
188
+ "pad_token": "<|end▁of▁sentence|>",
189
+ "sp_model_kwargs": {},
190
+ "tokenizer_class": "LlamaTokenizer",
191
+ "unk_token": null,
192
+ "use_default_system_prompt": false,
193
+ "use_fast": true
194
+ }
checkpoint-37/trainer_state.json ADDED
@@ -0,0 +1,312 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 0.9801324503311258,
5
+ "eval_steps": 10,
6
+ "global_step": 37,
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.03,
13
+ "grad_norm": 0.06000334769487381,
14
+ "learning_rate": 2e-05,
15
+ "loss": 0.6668,
16
+ "step": 1
17
+ },
18
+ {
19
+ "epoch": 0.03,
20
+ "eval_loss": 0.7461267113685608,
21
+ "eval_runtime": 323.0571,
22
+ "eval_samples_per_second": 0.696,
23
+ "eval_steps_per_second": 0.176,
24
+ "step": 1
25
+ },
26
+ {
27
+ "epoch": 0.05,
28
+ "grad_norm": 0.06872428953647614,
29
+ "learning_rate": 4e-05,
30
+ "loss": 0.7291,
31
+ "step": 2
32
+ },
33
+ {
34
+ "epoch": 0.08,
35
+ "grad_norm": 0.06414613127708435,
36
+ "learning_rate": 6e-05,
37
+ "loss": 0.6424,
38
+ "step": 3
39
+ },
40
+ {
41
+ "epoch": 0.11,
42
+ "grad_norm": 0.07566527277231216,
43
+ "learning_rate": 8e-05,
44
+ "loss": 0.7077,
45
+ "step": 4
46
+ },
47
+ {
48
+ "epoch": 0.13,
49
+ "grad_norm": 0.0865904837846756,
50
+ "learning_rate": 0.0001,
51
+ "loss": 0.6572,
52
+ "step": 5
53
+ },
54
+ {
55
+ "epoch": 0.16,
56
+ "grad_norm": 0.1051245629787445,
57
+ "learning_rate": 0.00012,
58
+ "loss": 0.7091,
59
+ "step": 6
60
+ },
61
+ {
62
+ "epoch": 0.19,
63
+ "grad_norm": 0.1256977915763855,
64
+ "learning_rate": 0.00014,
65
+ "loss": 0.6362,
66
+ "step": 7
67
+ },
68
+ {
69
+ "epoch": 0.21,
70
+ "grad_norm": 0.15082339942455292,
71
+ "learning_rate": 0.00016,
72
+ "loss": 0.6448,
73
+ "step": 8
74
+ },
75
+ {
76
+ "epoch": 0.24,
77
+ "grad_norm": 0.12878084182739258,
78
+ "learning_rate": 0.00018,
79
+ "loss": 0.5384,
80
+ "step": 9
81
+ },
82
+ {
83
+ "epoch": 0.26,
84
+ "grad_norm": 0.10468369722366333,
85
+ "learning_rate": 0.0002,
86
+ "loss": 0.5084,
87
+ "step": 10
88
+ },
89
+ {
90
+ "epoch": 0.26,
91
+ "eval_loss": 0.45858803391456604,
92
+ "eval_runtime": 327.4151,
93
+ "eval_samples_per_second": 0.687,
94
+ "eval_steps_per_second": 0.174,
95
+ "step": 10
96
+ },
97
+ {
98
+ "epoch": 0.29,
99
+ "grad_norm": 0.10410615801811218,
100
+ "learning_rate": 0.00019932383577419432,
101
+ "loss": 0.4551,
102
+ "step": 11
103
+ },
104
+ {
105
+ "epoch": 0.32,
106
+ "grad_norm": 0.08829599618911743,
107
+ "learning_rate": 0.00019730448705798239,
108
+ "loss": 0.3825,
109
+ "step": 12
110
+ },
111
+ {
112
+ "epoch": 0.34,
113
+ "grad_norm": 0.10538941621780396,
114
+ "learning_rate": 0.00019396926207859084,
115
+ "loss": 0.4109,
116
+ "step": 13
117
+ },
118
+ {
119
+ "epoch": 0.37,
120
+ "grad_norm": 0.10487955063581467,
121
+ "learning_rate": 0.00018936326403234125,
122
+ "loss": 0.3916,
123
+ "step": 14
124
+ },
125
+ {
126
+ "epoch": 0.4,
127
+ "grad_norm": 0.08832171559333801,
128
+ "learning_rate": 0.00018354878114129367,
129
+ "loss": 0.2869,
130
+ "step": 15
131
+ },
132
+ {
133
+ "epoch": 0.42,
134
+ "grad_norm": 0.07985535264015198,
135
+ "learning_rate": 0.0001766044443118978,
136
+ "loss": 0.3073,
137
+ "step": 16
138
+ },
139
+ {
140
+ "epoch": 0.45,
141
+ "grad_norm": 0.05276218056678772,
142
+ "learning_rate": 0.0001686241637868734,
143
+ "loss": 0.2549,
144
+ "step": 17
145
+ },
146
+ {
147
+ "epoch": 0.48,
148
+ "grad_norm": 0.07263408601284027,
149
+ "learning_rate": 0.00015971585917027862,
150
+ "loss": 0.2838,
151
+ "step": 18
152
+ },
153
+ {
154
+ "epoch": 0.5,
155
+ "grad_norm": 0.06012401357293129,
156
+ "learning_rate": 0.00015000000000000001,
157
+ "loss": 0.2672,
158
+ "step": 19
159
+ },
160
+ {
161
+ "epoch": 0.53,
162
+ "grad_norm": 0.05461546778678894,
163
+ "learning_rate": 0.0001396079766039157,
164
+ "loss": 0.241,
165
+ "step": 20
166
+ },
167
+ {
168
+ "epoch": 0.53,
169
+ "eval_loss": 0.24859268963336945,
170
+ "eval_runtime": 327.3187,
171
+ "eval_samples_per_second": 0.687,
172
+ "eval_steps_per_second": 0.174,
173
+ "step": 20
174
+ },
175
+ {
176
+ "epoch": 0.56,
177
+ "grad_norm": 0.057535674422979355,
178
+ "learning_rate": 0.00012868032327110904,
179
+ "loss": 0.2472,
180
+ "step": 21
181
+ },
182
+ {
183
+ "epoch": 0.58,
184
+ "grad_norm": 0.046681083738803864,
185
+ "learning_rate": 0.00011736481776669306,
186
+ "loss": 0.2441,
187
+ "step": 22
188
+ },
189
+ {
190
+ "epoch": 0.61,
191
+ "grad_norm": 0.03651268407702446,
192
+ "learning_rate": 0.00010581448289104758,
193
+ "loss": 0.2368,
194
+ "step": 23
195
+ },
196
+ {
197
+ "epoch": 0.64,
198
+ "grad_norm": 0.03193233534693718,
199
+ "learning_rate": 9.418551710895243e-05,
200
+ "loss": 0.2838,
201
+ "step": 24
202
+ },
203
+ {
204
+ "epoch": 0.66,
205
+ "grad_norm": 0.04706702381372452,
206
+ "learning_rate": 8.263518223330697e-05,
207
+ "loss": 0.2752,
208
+ "step": 25
209
+ },
210
+ {
211
+ "epoch": 0.69,
212
+ "grad_norm": 0.03650536388158798,
213
+ "learning_rate": 7.131967672889101e-05,
214
+ "loss": 0.2326,
215
+ "step": 26
216
+ },
217
+ {
218
+ "epoch": 0.72,
219
+ "grad_norm": 0.030436988919973373,
220
+ "learning_rate": 6.039202339608432e-05,
221
+ "loss": 0.2333,
222
+ "step": 27
223
+ },
224
+ {
225
+ "epoch": 0.74,
226
+ "grad_norm": 0.03042667545378208,
227
+ "learning_rate": 5.000000000000002e-05,
228
+ "loss": 0.2543,
229
+ "step": 28
230
+ },
231
+ {
232
+ "epoch": 0.77,
233
+ "grad_norm": 0.028066903352737427,
234
+ "learning_rate": 4.028414082972141e-05,
235
+ "loss": 0.2221,
236
+ "step": 29
237
+ },
238
+ {
239
+ "epoch": 0.79,
240
+ "grad_norm": 0.029378369450569153,
241
+ "learning_rate": 3.137583621312665e-05,
242
+ "loss": 0.2553,
243
+ "step": 30
244
+ },
245
+ {
246
+ "epoch": 0.79,
247
+ "eval_loss": 0.22415944933891296,
248
+ "eval_runtime": 329.7004,
249
+ "eval_samples_per_second": 0.682,
250
+ "eval_steps_per_second": 0.173,
251
+ "step": 30
252
+ },
253
+ {
254
+ "epoch": 0.82,
255
+ "grad_norm": 0.03442079573869705,
256
+ "learning_rate": 2.339555568810221e-05,
257
+ "loss": 0.2678,
258
+ "step": 31
259
+ },
260
+ {
261
+ "epoch": 0.85,
262
+ "grad_norm": 0.026801805943250656,
263
+ "learning_rate": 1.6451218858706374e-05,
264
+ "loss": 0.2198,
265
+ "step": 32
266
+ },
267
+ {
268
+ "epoch": 0.87,
269
+ "grad_norm": 0.02642691694200039,
270
+ "learning_rate": 1.0636735967658784e-05,
271
+ "loss": 0.2596,
272
+ "step": 33
273
+ },
274
+ {
275
+ "epoch": 0.9,
276
+ "grad_norm": 0.026598341763019562,
277
+ "learning_rate": 6.030737921409169e-06,
278
+ "loss": 0.2378,
279
+ "step": 34
280
+ },
281
+ {
282
+ "epoch": 0.93,
283
+ "grad_norm": 0.02618224173784256,
284
+ "learning_rate": 2.6955129420176196e-06,
285
+ "loss": 0.2497,
286
+ "step": 35
287
+ },
288
+ {
289
+ "epoch": 0.95,
290
+ "grad_norm": 0.027151504531502724,
291
+ "learning_rate": 6.761642258056978e-07,
292
+ "loss": 0.2273,
293
+ "step": 36
294
+ },
295
+ {
296
+ "epoch": 0.98,
297
+ "grad_norm": 0.026682227849960327,
298
+ "learning_rate": 0.0,
299
+ "loss": 0.2324,
300
+ "step": 37
301
+ }
302
+ ],
303
+ "logging_steps": 1,
304
+ "max_steps": 37,
305
+ "num_input_tokens_seen": 0,
306
+ "num_train_epochs": 1,
307
+ "save_steps": 500,
308
+ "total_flos": 9.73086940767191e+16,
309
+ "train_batch_size": 2,
310
+ "trial_name": null,
311
+ "trial_params": null
312
+ }
checkpoint-37/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0dde49bd7dedd3f56600fae0ea4d2b71542b1847e7b8f6b0d17e2e494e8686d8
3
+ size 5816