noe95 commited on
Commit
f311884
·
verified ·
1 Parent(s): 9279b29

Upload folder using huggingface_hub

Browse files
sft/README.md ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ license: other
4
+ base_model: Qwen/CodeQwen1.5-7B-Chat
5
+ tags:
6
+ - llama-factory
7
+ - lora
8
+ - generated_from_trainer
9
+ model-index:
10
+ - name: sft
11
+ results: []
12
+ ---
13
+
14
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
15
+ should probably proofread and complete it, then remove this comment. -->
16
+
17
+ # sft
18
+
19
+ This model is a fine-tuned version of [Qwen/CodeQwen1.5-7B-Chat](https://huggingface.co/Qwen/CodeQwen1.5-7B-Chat) on the coding_train dataset.
20
+
21
+ ## Model description
22
+
23
+ More information needed
24
+
25
+ ## Intended uses & limitations
26
+
27
+ More information needed
28
+
29
+ ## Training and evaluation data
30
+
31
+ More information needed
32
+
33
+ ## Training procedure
34
+
35
+ ### Training hyperparameters
36
+
37
+ The following hyperparameters were used during training:
38
+ - learning_rate: 0.0001
39
+ - train_batch_size: 2
40
+ - eval_batch_size: 1
41
+ - seed: 42
42
+ - gradient_accumulation_steps: 2
43
+ - total_train_batch_size: 4
44
+ - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
45
+ - lr_scheduler_type: cosine
46
+ - lr_scheduler_warmup_ratio: 0.1
47
+ - num_epochs: 1.0
48
+
49
+ ### Training results
50
+
51
+
52
+
53
+ ### Framework versions
54
+
55
+ - PEFT 0.15.1
56
+ - Transformers 4.51.3
57
+ - Pytorch 2.6.0+cu124
58
+ - Datasets 3.5.0
59
+ - Tokenizers 0.21.1
sft/adapter_config.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "Qwen/CodeQwen1.5-7B-Chat",
5
+ "bias": "none",
6
+ "corda_config": null,
7
+ "eva_config": null,
8
+ "exclude_modules": null,
9
+ "fan_in_fan_out": false,
10
+ "inference_mode": true,
11
+ "init_lora_weights": true,
12
+ "layer_replication": null,
13
+ "layers_pattern": null,
14
+ "layers_to_transform": null,
15
+ "loftq_config": {},
16
+ "lora_alpha": 128,
17
+ "lora_bias": false,
18
+ "lora_dropout": 0.0,
19
+ "megatron_config": null,
20
+ "megatron_core": "megatron.core",
21
+ "modules_to_save": null,
22
+ "peft_type": "LORA",
23
+ "r": 64,
24
+ "rank_pattern": {},
25
+ "revision": null,
26
+ "target_modules": [
27
+ "v_proj",
28
+ "gate_proj",
29
+ "o_proj",
30
+ "k_proj",
31
+ "down_proj",
32
+ "up_proj",
33
+ "q_proj"
34
+ ],
35
+ "task_type": "CAUSAL_LM",
36
+ "trainable_token_indices": null,
37
+ "use_dora": false,
38
+ "use_rslora": false
39
+ }
sft/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ee6d8ccc8fa15e4a68eae9cfc07be7a9fd665e2950f1ab1ce87454918a01311d
3
+ size 640740392
sft/all_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 0.9933774834437086,
3
+ "total_flos": 1.0660613606866944e+16,
4
+ "train_loss": 0.39357583204905194,
5
+ "train_runtime": 105.2274,
6
+ "train_samples_per_second": 2.87,
7
+ "train_steps_per_second": 0.713
8
+ }
sft/checkpoint-19/README.md ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: Qwen/CodeQwen1.5-7B-Chat
3
+ library_name: peft
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.15.1
sft/checkpoint-19/adapter_config.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "Qwen/CodeQwen1.5-7B-Chat",
5
+ "bias": "none",
6
+ "corda_config": null,
7
+ "eva_config": null,
8
+ "exclude_modules": null,
9
+ "fan_in_fan_out": false,
10
+ "inference_mode": true,
11
+ "init_lora_weights": true,
12
+ "layer_replication": null,
13
+ "layers_pattern": null,
14
+ "layers_to_transform": null,
15
+ "loftq_config": {},
16
+ "lora_alpha": 128,
17
+ "lora_bias": false,
18
+ "lora_dropout": 0.0,
19
+ "megatron_config": null,
20
+ "megatron_core": "megatron.core",
21
+ "modules_to_save": null,
22
+ "peft_type": "LORA",
23
+ "r": 64,
24
+ "rank_pattern": {},
25
+ "revision": null,
26
+ "target_modules": [
27
+ "v_proj",
28
+ "k_proj",
29
+ "down_proj",
30
+ "q_proj",
31
+ "up_proj",
32
+ "o_proj",
33
+ "gate_proj"
34
+ ],
35
+ "task_type": "CAUSAL_LM",
36
+ "trainable_token_indices": null,
37
+ "use_dora": false,
38
+ "use_rslora": false
39
+ }
sft/checkpoint-19/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4e949436b5189fd3a27c6ad4c7034e756ba3bdb0b1ba3e0da951d38043a45c2a
3
+ size 640740392
sft/checkpoint-19/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5583a43c2cb14a2365e36dffeeb3cc16c2dceddece4c4f90b1d64780f4c23c13
3
+ size 1281737938
sft/checkpoint-19/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:386fcc8cc1089aade9450d86fb239ea3483f455fd2d78d8378645feecfec9d69
3
+ size 14244
sft/checkpoint-19/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:83e3bd115fb7914e3157d1cddd28d2440908da5dddf3ed8b9232586a56c11e23
3
+ size 1064
sft/checkpoint-19/special_tokens_map.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<|im_start|>",
4
+ "<|im_end|>",
5
+ "<fim_prefix>",
6
+ "<fim_middle>",
7
+ "<fim_suffix>",
8
+ "<fim_pad>"
9
+ ],
10
+ "bos_token": {
11
+ "content": "<|endoftext|>",
12
+ "lstrip": false,
13
+ "normalized": false,
14
+ "rstrip": false,
15
+ "single_word": false
16
+ },
17
+ "eos_token": {
18
+ "content": "<|im_end|>",
19
+ "lstrip": false,
20
+ "normalized": false,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ },
24
+ "pad_token": {
25
+ "content": "<fim_pad>",
26
+ "lstrip": false,
27
+ "normalized": false,
28
+ "rstrip": false,
29
+ "single_word": false
30
+ },
31
+ "unk_token": {
32
+ "content": "<unk>",
33
+ "lstrip": false,
34
+ "normalized": false,
35
+ "rstrip": false,
36
+ "single_word": false
37
+ }
38
+ }
sft/checkpoint-19/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
sft/checkpoint-19/tokenizer_config.json ADDED
The diff for this file is too large to render. See raw diff
 
sft/checkpoint-19/trainer_state.json ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 1.0,
6
+ "eval_steps": 100,
7
+ "global_step": 19,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "epoch": 0.5263157894736842,
14
+ "grad_norm": 0.9129361510276794,
15
+ "learning_rate": 6.368314950360415e-05,
16
+ "loss": 0.6959,
17
+ "step": 10
18
+ }
19
+ ],
20
+ "logging_steps": 10,
21
+ "max_steps": 19,
22
+ "num_input_tokens_seen": 0,
23
+ "num_train_epochs": 1,
24
+ "save_steps": 500,
25
+ "stateful_callbacks": {
26
+ "TrainerControl": {
27
+ "args": {
28
+ "should_epoch_stop": false,
29
+ "should_evaluate": false,
30
+ "should_log": false,
31
+ "should_save": true,
32
+ "should_training_stop": true
33
+ },
34
+ "attributes": {}
35
+ }
36
+ },
37
+ "total_flos": 1.3314290917441536e+16,
38
+ "train_batch_size": 4,
39
+ "trial_name": null,
40
+ "trial_params": null
41
+ }
sft/checkpoint-19/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a2ab81d876582ba955e0e24f982c7c8827663908c50b1d038622e1fa3427e581
3
+ size 5688
sft/checkpoint-75/README.md ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: Qwen/CodeQwen1.5-7B-Chat
3
+ library_name: peft
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.15.1
sft/checkpoint-75/adapter_config.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "Qwen/CodeQwen1.5-7B-Chat",
5
+ "bias": "none",
6
+ "corda_config": null,
7
+ "eva_config": null,
8
+ "exclude_modules": null,
9
+ "fan_in_fan_out": false,
10
+ "inference_mode": true,
11
+ "init_lora_weights": true,
12
+ "layer_replication": null,
13
+ "layers_pattern": null,
14
+ "layers_to_transform": null,
15
+ "loftq_config": {},
16
+ "lora_alpha": 128,
17
+ "lora_bias": false,
18
+ "lora_dropout": 0.0,
19
+ "megatron_config": null,
20
+ "megatron_core": "megatron.core",
21
+ "modules_to_save": null,
22
+ "peft_type": "LORA",
23
+ "r": 64,
24
+ "rank_pattern": {},
25
+ "revision": null,
26
+ "target_modules": [
27
+ "v_proj",
28
+ "gate_proj",
29
+ "o_proj",
30
+ "k_proj",
31
+ "down_proj",
32
+ "up_proj",
33
+ "q_proj"
34
+ ],
35
+ "task_type": "CAUSAL_LM",
36
+ "trainable_token_indices": null,
37
+ "use_dora": false,
38
+ "use_rslora": false
39
+ }
sft/checkpoint-75/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ee6d8ccc8fa15e4a68eae9cfc07be7a9fd665e2950f1ab1ce87454918a01311d
3
+ size 640740392
sft/checkpoint-75/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ff1f7b4565f0c8bfbdc4212770fc9b0c5611d740a28987efc99c235dc824fea9
3
+ size 1281737938
sft/checkpoint-75/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:386fcc8cc1089aade9450d86fb239ea3483f455fd2d78d8378645feecfec9d69
3
+ size 14244
sft/checkpoint-75/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:212837ccb433e5430b061dc107b19dc09e932e6cfb62a751187d0903b7b0d94e
3
+ size 1064
sft/checkpoint-75/special_tokens_map.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<|im_start|>",
4
+ "<|im_end|>",
5
+ "<fim_prefix>",
6
+ "<fim_middle>",
7
+ "<fim_suffix>",
8
+ "<fim_pad>"
9
+ ],
10
+ "bos_token": {
11
+ "content": "<|endoftext|>",
12
+ "lstrip": false,
13
+ "normalized": false,
14
+ "rstrip": false,
15
+ "single_word": false
16
+ },
17
+ "eos_token": {
18
+ "content": "<|im_end|>",
19
+ "lstrip": false,
20
+ "normalized": false,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ },
24
+ "pad_token": {
25
+ "content": "<fim_pad>",
26
+ "lstrip": false,
27
+ "normalized": false,
28
+ "rstrip": false,
29
+ "single_word": false
30
+ },
31
+ "unk_token": {
32
+ "content": "<unk>",
33
+ "lstrip": false,
34
+ "normalized": false,
35
+ "rstrip": false,
36
+ "single_word": false
37
+ }
38
+ }
sft/checkpoint-75/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
sft/checkpoint-75/tokenizer_config.json ADDED
The diff for this file is too large to render. See raw diff
 
sft/checkpoint-75/trainer_state.json ADDED
@@ -0,0 +1,139 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 0.9933774834437086,
6
+ "eval_steps": 50,
7
+ "global_step": 75,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "epoch": 0.06622516556291391,
14
+ "grad_norm": 2.831176519393921,
15
+ "learning_rate": 5e-05,
16
+ "loss": 1.256,
17
+ "step": 5
18
+ },
19
+ {
20
+ "epoch": 0.13245033112582782,
21
+ "grad_norm": 3.2754790782928467,
22
+ "learning_rate": 9.994504457428558e-05,
23
+ "loss": 0.5174,
24
+ "step": 10
25
+ },
26
+ {
27
+ "epoch": 0.1986754966887417,
28
+ "grad_norm": 4.314864158630371,
29
+ "learning_rate": 9.8034259378842e-05,
30
+ "loss": 0.5304,
31
+ "step": 15
32
+ },
33
+ {
34
+ "epoch": 0.26490066225165565,
35
+ "grad_norm": 0.8949492573738098,
36
+ "learning_rate": 9.349531862043952e-05,
37
+ "loss": 0.4987,
38
+ "step": 20
39
+ },
40
+ {
41
+ "epoch": 0.33112582781456956,
42
+ "grad_norm": 1.7747893333435059,
43
+ "learning_rate": 8.657656676318346e-05,
44
+ "loss": 0.3812,
45
+ "step": 25
46
+ },
47
+ {
48
+ "epoch": 0.3973509933774834,
49
+ "grad_norm": 0.8053502440452576,
50
+ "learning_rate": 7.765655770625997e-05,
51
+ "loss": 0.3345,
52
+ "step": 30
53
+ },
54
+ {
55
+ "epoch": 0.46357615894039733,
56
+ "grad_norm": 1.1480026245117188,
57
+ "learning_rate": 6.722334251421665e-05,
58
+ "loss": 0.3257,
59
+ "step": 35
60
+ },
61
+ {
62
+ "epoch": 0.5298013245033113,
63
+ "grad_norm": 1.200183391571045,
64
+ "learning_rate": 5.584776609860414e-05,
65
+ "loss": 0.28,
66
+ "step": 40
67
+ },
68
+ {
69
+ "epoch": 0.5960264900662252,
70
+ "grad_norm": 1.2405061721801758,
71
+ "learning_rate": 4.415223390139588e-05,
72
+ "loss": 0.2278,
73
+ "step": 45
74
+ },
75
+ {
76
+ "epoch": 0.6622516556291391,
77
+ "grad_norm": 1.8566575050354004,
78
+ "learning_rate": 3.277665748578336e-05,
79
+ "loss": 0.2934,
80
+ "step": 50
81
+ },
82
+ {
83
+ "epoch": 0.7284768211920529,
84
+ "grad_norm": 1.3541169166564941,
85
+ "learning_rate": 2.234344229374003e-05,
86
+ "loss": 0.2716,
87
+ "step": 55
88
+ },
89
+ {
90
+ "epoch": 0.7947019867549668,
91
+ "grad_norm": 2.3510825634002686,
92
+ "learning_rate": 1.3423433236816563e-05,
93
+ "loss": 0.2924,
94
+ "step": 60
95
+ },
96
+ {
97
+ "epoch": 0.8609271523178808,
98
+ "grad_norm": 1.2402220964431763,
99
+ "learning_rate": 6.50468137956049e-06,
100
+ "loss": 0.2178,
101
+ "step": 65
102
+ },
103
+ {
104
+ "epoch": 0.9271523178807947,
105
+ "grad_norm": 0.5436655282974243,
106
+ "learning_rate": 1.9657406211579966e-06,
107
+ "loss": 0.2539,
108
+ "step": 70
109
+ },
110
+ {
111
+ "epoch": 0.9933774834437086,
112
+ "grad_norm": 1.2217155694961548,
113
+ "learning_rate": 5.4955425714431353e-08,
114
+ "loss": 0.2228,
115
+ "step": 75
116
+ }
117
+ ],
118
+ "logging_steps": 5,
119
+ "max_steps": 75,
120
+ "num_input_tokens_seen": 0,
121
+ "num_train_epochs": 1,
122
+ "save_steps": 500,
123
+ "stateful_callbacks": {
124
+ "TrainerControl": {
125
+ "args": {
126
+ "should_epoch_stop": false,
127
+ "should_evaluate": false,
128
+ "should_log": false,
129
+ "should_save": true,
130
+ "should_training_stop": true
131
+ },
132
+ "attributes": {}
133
+ }
134
+ },
135
+ "total_flos": 1.0660613606866944e+16,
136
+ "train_batch_size": 2,
137
+ "trial_name": null,
138
+ "trial_params": null
139
+ }
sft/checkpoint-75/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:07545fdccab9d22d92a4f45ed6c4fbd7b3a1c60cec794ebaffadcd66d6bfd3bf
3
+ size 5688
sft/special_tokens_map.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<|im_start|>",
4
+ "<|im_end|>",
5
+ "<fim_prefix>",
6
+ "<fim_middle>",
7
+ "<fim_suffix>",
8
+ "<fim_pad>"
9
+ ],
10
+ "bos_token": {
11
+ "content": "<|endoftext|>",
12
+ "lstrip": false,
13
+ "normalized": false,
14
+ "rstrip": false,
15
+ "single_word": false
16
+ },
17
+ "eos_token": {
18
+ "content": "<|im_end|>",
19
+ "lstrip": false,
20
+ "normalized": false,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ },
24
+ "pad_token": {
25
+ "content": "<fim_pad>",
26
+ "lstrip": false,
27
+ "normalized": false,
28
+ "rstrip": false,
29
+ "single_word": false
30
+ },
31
+ "unk_token": {
32
+ "content": "<unk>",
33
+ "lstrip": false,
34
+ "normalized": false,
35
+ "rstrip": false,
36
+ "single_word": false
37
+ }
38
+ }
sft/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
sft/tokenizer_config.json ADDED
The diff for this file is too large to render. See raw diff
 
sft/train_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 0.9933774834437086,
3
+ "total_flos": 1.0660613606866944e+16,
4
+ "train_loss": 0.39357583204905194,
5
+ "train_runtime": 105.2274,
6
+ "train_samples_per_second": 2.87,
7
+ "train_steps_per_second": 0.713
8
+ }
sft/trainer_log.jsonl ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {"current_steps": 5, "total_steps": 75, "loss": 1.256, "lr": 5e-05, "epoch": 0.06622516556291391, "percentage": 6.67, "elapsed_time": "0:00:06", "remaining_time": "0:01:37"}
2
+ {"current_steps": 10, "total_steps": 75, "loss": 0.5174, "lr": 9.994504457428558e-05, "epoch": 0.13245033112582782, "percentage": 13.33, "elapsed_time": "0:00:12", "remaining_time": "0:01:19"}
3
+ {"current_steps": 15, "total_steps": 75, "loss": 0.5304, "lr": 9.8034259378842e-05, "epoch": 0.1986754966887417, "percentage": 20.0, "elapsed_time": "0:00:20", "remaining_time": "0:01:20"}
4
+ {"current_steps": 20, "total_steps": 75, "loss": 0.4987, "lr": 9.349531862043952e-05, "epoch": 0.26490066225165565, "percentage": 26.67, "elapsed_time": "0:00:26", "remaining_time": "0:01:11"}
5
+ {"current_steps": 25, "total_steps": 75, "loss": 0.3812, "lr": 8.657656676318346e-05, "epoch": 0.33112582781456956, "percentage": 33.33, "elapsed_time": "0:00:32", "remaining_time": "0:01:04"}
6
+ {"current_steps": 30, "total_steps": 75, "loss": 0.3345, "lr": 7.765655770625997e-05, "epoch": 0.3973509933774834, "percentage": 40.0, "elapsed_time": "0:00:37", "remaining_time": "0:00:56"}
7
+ {"current_steps": 35, "total_steps": 75, "loss": 0.3257, "lr": 6.722334251421665e-05, "epoch": 0.46357615894039733, "percentage": 46.67, "elapsed_time": "0:00:43", "remaining_time": "0:00:50"}
8
+ {"current_steps": 40, "total_steps": 75, "loss": 0.28, "lr": 5.584776609860414e-05, "epoch": 0.5298013245033113, "percentage": 53.33, "elapsed_time": "0:00:50", "remaining_time": "0:00:44"}
9
+ {"current_steps": 45, "total_steps": 75, "loss": 0.2278, "lr": 4.415223390139588e-05, "epoch": 0.5960264900662252, "percentage": 60.0, "elapsed_time": "0:00:56", "remaining_time": "0:00:37"}
10
+ {"current_steps": 50, "total_steps": 75, "loss": 0.2934, "lr": 3.277665748578336e-05, "epoch": 0.6622516556291391, "percentage": 66.67, "elapsed_time": "0:01:02", "remaining_time": "0:00:31"}
11
+ {"current_steps": 55, "total_steps": 75, "loss": 0.2716, "lr": 2.234344229374003e-05, "epoch": 0.7284768211920529, "percentage": 73.33, "elapsed_time": "0:01:09", "remaining_time": "0:00:25"}
12
+ {"current_steps": 60, "total_steps": 75, "loss": 0.2924, "lr": 1.3423433236816563e-05, "epoch": 0.7947019867549668, "percentage": 80.0, "elapsed_time": "0:01:18", "remaining_time": "0:00:19"}
13
+ {"current_steps": 65, "total_steps": 75, "loss": 0.2178, "lr": 6.50468137956049e-06, "epoch": 0.8609271523178808, "percentage": 86.67, "elapsed_time": "0:01:24", "remaining_time": "0:00:13"}
14
+ {"current_steps": 70, "total_steps": 75, "loss": 0.2539, "lr": 1.9657406211579966e-06, "epoch": 0.9271523178807947, "percentage": 93.33, "elapsed_time": "0:01:33", "remaining_time": "0:00:06"}
15
+ {"current_steps": 75, "total_steps": 75, "loss": 0.2228, "lr": 5.4955425714431353e-08, "epoch": 0.9933774834437086, "percentage": 100.0, "elapsed_time": "0:01:40", "remaining_time": "0:00:00"}
16
+ {"current_steps": 75, "total_steps": 75, "epoch": 0.9933774834437086, "percentage": 100.0, "elapsed_time": "0:01:43", "remaining_time": "0:00:00"}
sft/trainer_state.json ADDED
@@ -0,0 +1,148 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 0.9933774834437086,
6
+ "eval_steps": 50,
7
+ "global_step": 75,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "epoch": 0.06622516556291391,
14
+ "grad_norm": 2.831176519393921,
15
+ "learning_rate": 5e-05,
16
+ "loss": 1.256,
17
+ "step": 5
18
+ },
19
+ {
20
+ "epoch": 0.13245033112582782,
21
+ "grad_norm": 3.2754790782928467,
22
+ "learning_rate": 9.994504457428558e-05,
23
+ "loss": 0.5174,
24
+ "step": 10
25
+ },
26
+ {
27
+ "epoch": 0.1986754966887417,
28
+ "grad_norm": 4.314864158630371,
29
+ "learning_rate": 9.8034259378842e-05,
30
+ "loss": 0.5304,
31
+ "step": 15
32
+ },
33
+ {
34
+ "epoch": 0.26490066225165565,
35
+ "grad_norm": 0.8949492573738098,
36
+ "learning_rate": 9.349531862043952e-05,
37
+ "loss": 0.4987,
38
+ "step": 20
39
+ },
40
+ {
41
+ "epoch": 0.33112582781456956,
42
+ "grad_norm": 1.7747893333435059,
43
+ "learning_rate": 8.657656676318346e-05,
44
+ "loss": 0.3812,
45
+ "step": 25
46
+ },
47
+ {
48
+ "epoch": 0.3973509933774834,
49
+ "grad_norm": 0.8053502440452576,
50
+ "learning_rate": 7.765655770625997e-05,
51
+ "loss": 0.3345,
52
+ "step": 30
53
+ },
54
+ {
55
+ "epoch": 0.46357615894039733,
56
+ "grad_norm": 1.1480026245117188,
57
+ "learning_rate": 6.722334251421665e-05,
58
+ "loss": 0.3257,
59
+ "step": 35
60
+ },
61
+ {
62
+ "epoch": 0.5298013245033113,
63
+ "grad_norm": 1.200183391571045,
64
+ "learning_rate": 5.584776609860414e-05,
65
+ "loss": 0.28,
66
+ "step": 40
67
+ },
68
+ {
69
+ "epoch": 0.5960264900662252,
70
+ "grad_norm": 1.2405061721801758,
71
+ "learning_rate": 4.415223390139588e-05,
72
+ "loss": 0.2278,
73
+ "step": 45
74
+ },
75
+ {
76
+ "epoch": 0.6622516556291391,
77
+ "grad_norm": 1.8566575050354004,
78
+ "learning_rate": 3.277665748578336e-05,
79
+ "loss": 0.2934,
80
+ "step": 50
81
+ },
82
+ {
83
+ "epoch": 0.7284768211920529,
84
+ "grad_norm": 1.3541169166564941,
85
+ "learning_rate": 2.234344229374003e-05,
86
+ "loss": 0.2716,
87
+ "step": 55
88
+ },
89
+ {
90
+ "epoch": 0.7947019867549668,
91
+ "grad_norm": 2.3510825634002686,
92
+ "learning_rate": 1.3423433236816563e-05,
93
+ "loss": 0.2924,
94
+ "step": 60
95
+ },
96
+ {
97
+ "epoch": 0.8609271523178808,
98
+ "grad_norm": 1.2402220964431763,
99
+ "learning_rate": 6.50468137956049e-06,
100
+ "loss": 0.2178,
101
+ "step": 65
102
+ },
103
+ {
104
+ "epoch": 0.9271523178807947,
105
+ "grad_norm": 0.5436655282974243,
106
+ "learning_rate": 1.9657406211579966e-06,
107
+ "loss": 0.2539,
108
+ "step": 70
109
+ },
110
+ {
111
+ "epoch": 0.9933774834437086,
112
+ "grad_norm": 1.2217155694961548,
113
+ "learning_rate": 5.4955425714431353e-08,
114
+ "loss": 0.2228,
115
+ "step": 75
116
+ },
117
+ {
118
+ "epoch": 0.9933774834437086,
119
+ "step": 75,
120
+ "total_flos": 1.0660613606866944e+16,
121
+ "train_loss": 0.39357583204905194,
122
+ "train_runtime": 105.2274,
123
+ "train_samples_per_second": 2.87,
124
+ "train_steps_per_second": 0.713
125
+ }
126
+ ],
127
+ "logging_steps": 5,
128
+ "max_steps": 75,
129
+ "num_input_tokens_seen": 0,
130
+ "num_train_epochs": 1,
131
+ "save_steps": 500,
132
+ "stateful_callbacks": {
133
+ "TrainerControl": {
134
+ "args": {
135
+ "should_epoch_stop": false,
136
+ "should_evaluate": false,
137
+ "should_log": false,
138
+ "should_save": true,
139
+ "should_training_stop": true
140
+ },
141
+ "attributes": {}
142
+ }
143
+ },
144
+ "total_flos": 1.0660613606866944e+16,
145
+ "train_batch_size": 2,
146
+ "trial_name": null,
147
+ "trial_params": null
148
+ }
sft/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:07545fdccab9d22d92a4f45ed6c4fbd7b3a1c60cec794ebaffadcd66d6bfd3bf
3
+ size 5688
sft/training_loss.png ADDED