Harish-as-harry commited on
Commit
7a8fec5
·
verified ·
1 Parent(s): 8212cf4

Upload LoRA adapter and tokenizer files

Browse files
Files changed (49) hide show
  1. .gitattributes +3 -0
  2. README.md +61 -0
  3. adapter_config.json +34 -0
  4. adapter_model.safetensors +3 -0
  5. added_tokens.json +24 -0
  6. all_results.json +8 -0
  7. checkpoint-100/README.md +202 -0
  8. checkpoint-100/adapter_config.json +34 -0
  9. checkpoint-100/adapter_model.safetensors +3 -0
  10. checkpoint-100/added_tokens.json +24 -0
  11. checkpoint-100/merges.txt +0 -0
  12. checkpoint-100/optimizer.pt +3 -0
  13. checkpoint-100/rng_state_0.pth +3 -0
  14. checkpoint-100/rng_state_1.pth +3 -0
  15. checkpoint-100/scheduler.pt +3 -0
  16. checkpoint-100/special_tokens_map.json +31 -0
  17. checkpoint-100/tokenizer.json +3 -0
  18. checkpoint-100/tokenizer_config.json +208 -0
  19. checkpoint-100/trainer_state.json +173 -0
  20. checkpoint-100/training_args.bin +3 -0
  21. checkpoint-100/vocab.json +0 -0
  22. checkpoint-200/README.md +202 -0
  23. checkpoint-200/adapter_config.json +34 -0
  24. checkpoint-200/adapter_model.safetensors +3 -0
  25. checkpoint-200/added_tokens.json +24 -0
  26. checkpoint-200/merges.txt +0 -0
  27. checkpoint-200/optimizer.pt +3 -0
  28. checkpoint-200/rng_state_0.pth +3 -0
  29. checkpoint-200/rng_state_1.pth +3 -0
  30. checkpoint-200/scheduler.pt +3 -0
  31. checkpoint-200/special_tokens_map.json +31 -0
  32. checkpoint-200/tokenizer.json +3 -0
  33. checkpoint-200/tokenizer_config.json +208 -0
  34. checkpoint-200/trainer_state.json +313 -0
  35. checkpoint-200/training_args.bin +3 -0
  36. checkpoint-200/vocab.json +0 -0
  37. llamaboard_config.yaml +66 -0
  38. merges.txt +0 -0
  39. running_log.txt +397 -0
  40. special_tokens_map.json +31 -0
  41. tokenizer.json +3 -0
  42. tokenizer_config.json +208 -0
  43. train_results.json +8 -0
  44. trainer_log.jsonl +41 -0
  45. trainer_state.json +322 -0
  46. training_args.bin +3 -0
  47. training_args.yaml +31 -0
  48. training_loss.png +0 -0
  49. vocab.json +0 -0
.gitattributes CHANGED
@@ -33,3 +33,6 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ checkpoint-100/tokenizer.json filter=lfs diff=lfs merge=lfs -text
37
+ checkpoint-200/tokenizer.json filter=lfs diff=lfs merge=lfs -text
38
+ tokenizer.json filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ license: other
4
+ base_model: Qwen/Qwen2.5-Coder-7B
5
+ tags:
6
+ - llama-factory
7
+ - lora
8
+ - generated_from_trainer
9
+ model-index:
10
+ - name: solidity_qwen_model
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
+ # solidity_qwen_model
18
+
19
+ This model is a fine-tuned version of [Qwen/Qwen2.5-Coder-7B](https://huggingface.co/Qwen/Qwen2.5-Coder-7B) on the solidity_contract 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: 5e-05
39
+ - train_batch_size: 8
40
+ - eval_batch_size: 8
41
+ - seed: 42
42
+ - distributed_type: multi-GPU
43
+ - num_devices: 2
44
+ - gradient_accumulation_steps: 12
45
+ - total_train_batch_size: 192
46
+ - total_eval_batch_size: 16
47
+ - optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
48
+ - lr_scheduler_type: cosine
49
+ - num_epochs: 1.0
50
+
51
+ ### Training results
52
+
53
+
54
+
55
+ ### Framework versions
56
+
57
+ - PEFT 0.12.0
58
+ - Transformers 4.46.1
59
+ - Pytorch 2.6.0+cu124
60
+ - Datasets 3.1.0
61
+ - Tokenizers 0.20.3
adapter_config.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "Qwen/Qwen2.5-Coder-7B",
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": 32,
14
+ "lora_dropout": 0.1,
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": null,
22
+ "target_modules": [
23
+ "q_proj",
24
+ "k_proj",
25
+ "up_proj",
26
+ "down_proj",
27
+ "gate_proj",
28
+ "o_proj",
29
+ "v_proj"
30
+ ],
31
+ "task_type": "CAUSAL_LM",
32
+ "use_dora": false,
33
+ "use_rslora": false
34
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:49840fc86515e540dc4067a705e4e947842a7182a45cd391701fbde2cea8c64f
3
+ size 161533192
added_tokens.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "</tool_call>": 151658,
3
+ "<tool_call>": 151657,
4
+ "<|box_end|>": 151649,
5
+ "<|box_start|>": 151648,
6
+ "<|endoftext|>": 151643,
7
+ "<|file_sep|>": 151664,
8
+ "<|fim_middle|>": 151660,
9
+ "<|fim_pad|>": 151662,
10
+ "<|fim_prefix|>": 151659,
11
+ "<|fim_suffix|>": 151661,
12
+ "<|im_end|>": 151645,
13
+ "<|im_start|>": 151644,
14
+ "<|image_pad|>": 151655,
15
+ "<|object_ref_end|>": 151647,
16
+ "<|object_ref_start|>": 151646,
17
+ "<|quad_end|>": 151651,
18
+ "<|quad_start|>": 151650,
19
+ "<|repo_name|>": 151663,
20
+ "<|video_pad|>": 151656,
21
+ "<|vision_end|>": 151653,
22
+ "<|vision_pad|>": 151654,
23
+ "<|vision_start|>": 151652
24
+ }
all_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 0.9975062344139651,
3
+ "total_flos": 3.3406622246696387e+18,
4
+ "train_loss": 0.3431886351108551,
5
+ "train_runtime": 6744.2555,
6
+ "train_samples_per_second": 5.708,
7
+ "train_steps_per_second": 0.03
8
+ }
checkpoint-100/README.md ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: Qwen/Qwen2.5-Coder-7B
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.12.0
checkpoint-100/adapter_config.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "Qwen/Qwen2.5-Coder-7B",
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": 32,
14
+ "lora_dropout": 0.1,
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": null,
22
+ "target_modules": [
23
+ "q_proj",
24
+ "k_proj",
25
+ "up_proj",
26
+ "down_proj",
27
+ "gate_proj",
28
+ "o_proj",
29
+ "v_proj"
30
+ ],
31
+ "task_type": "CAUSAL_LM",
32
+ "use_dora": false,
33
+ "use_rslora": false
34
+ }
checkpoint-100/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:754d21f8d0190978922bc6441fd0266095b30f172c011324b9ae13e36fd1d0d3
3
+ size 161533192
checkpoint-100/added_tokens.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "</tool_call>": 151658,
3
+ "<tool_call>": 151657,
4
+ "<|box_end|>": 151649,
5
+ "<|box_start|>": 151648,
6
+ "<|endoftext|>": 151643,
7
+ "<|file_sep|>": 151664,
8
+ "<|fim_middle|>": 151660,
9
+ "<|fim_pad|>": 151662,
10
+ "<|fim_prefix|>": 151659,
11
+ "<|fim_suffix|>": 151661,
12
+ "<|im_end|>": 151645,
13
+ "<|im_start|>": 151644,
14
+ "<|image_pad|>": 151655,
15
+ "<|object_ref_end|>": 151647,
16
+ "<|object_ref_start|>": 151646,
17
+ "<|quad_end|>": 151651,
18
+ "<|quad_start|>": 151650,
19
+ "<|repo_name|>": 151663,
20
+ "<|video_pad|>": 151656,
21
+ "<|vision_end|>": 151653,
22
+ "<|vision_pad|>": 151654,
23
+ "<|vision_start|>": 151652
24
+ }
checkpoint-100/merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-100/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ed3dbb4a0508b0ea66840ab8c1c672a8dda8e70b340e815f727c599c71bf475d
3
+ size 323290986
checkpoint-100/rng_state_0.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:907c12226ecdf43dba67851e83271fdef71067a7356fdfbc51102aa77f8dc621
3
+ size 14512
checkpoint-100/rng_state_1.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a0c823ffdb29651f325e8222b22491b308d123d1a0ffb96706f08fb6efe661de
3
+ size 14512
checkpoint-100/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7708307d1b959a393541df6c657dca87476d08205aaca5feb82f751cfc227436
3
+ size 1064
checkpoint-100/special_tokens_map.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<|im_start|>",
4
+ "<|im_end|>",
5
+ "<|object_ref_start|>",
6
+ "<|object_ref_end|>",
7
+ "<|box_start|>",
8
+ "<|box_end|>",
9
+ "<|quad_start|>",
10
+ "<|quad_end|>",
11
+ "<|vision_start|>",
12
+ "<|vision_end|>",
13
+ "<|vision_pad|>",
14
+ "<|image_pad|>",
15
+ "<|video_pad|>"
16
+ ],
17
+ "eos_token": {
18
+ "content": "<|endoftext|>",
19
+ "lstrip": false,
20
+ "normalized": false,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ },
24
+ "pad_token": {
25
+ "content": "<|endoftext|>",
26
+ "lstrip": false,
27
+ "normalized": false,
28
+ "rstrip": false,
29
+ "single_word": false
30
+ }
31
+ }
checkpoint-100/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9c5ae00e602b8860cbd784ba82a8aa14e8feecec692e7076590d014d7b7fdafa
3
+ size 11421896
checkpoint-100/tokenizer_config.json ADDED
@@ -0,0 +1,208 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": false,
3
+ "add_prefix_space": false,
4
+ "added_tokens_decoder": {
5
+ "151643": {
6
+ "content": "<|endoftext|>",
7
+ "lstrip": false,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ },
13
+ "151644": {
14
+ "content": "<|im_start|>",
15
+ "lstrip": false,
16
+ "normalized": false,
17
+ "rstrip": false,
18
+ "single_word": false,
19
+ "special": true
20
+ },
21
+ "151645": {
22
+ "content": "<|im_end|>",
23
+ "lstrip": false,
24
+ "normalized": false,
25
+ "rstrip": false,
26
+ "single_word": false,
27
+ "special": true
28
+ },
29
+ "151646": {
30
+ "content": "<|object_ref_start|>",
31
+ "lstrip": false,
32
+ "normalized": false,
33
+ "rstrip": false,
34
+ "single_word": false,
35
+ "special": true
36
+ },
37
+ "151647": {
38
+ "content": "<|object_ref_end|>",
39
+ "lstrip": false,
40
+ "normalized": false,
41
+ "rstrip": false,
42
+ "single_word": false,
43
+ "special": true
44
+ },
45
+ "151648": {
46
+ "content": "<|box_start|>",
47
+ "lstrip": false,
48
+ "normalized": false,
49
+ "rstrip": false,
50
+ "single_word": false,
51
+ "special": true
52
+ },
53
+ "151649": {
54
+ "content": "<|box_end|>",
55
+ "lstrip": false,
56
+ "normalized": false,
57
+ "rstrip": false,
58
+ "single_word": false,
59
+ "special": true
60
+ },
61
+ "151650": {
62
+ "content": "<|quad_start|>",
63
+ "lstrip": false,
64
+ "normalized": false,
65
+ "rstrip": false,
66
+ "single_word": false,
67
+ "special": true
68
+ },
69
+ "151651": {
70
+ "content": "<|quad_end|>",
71
+ "lstrip": false,
72
+ "normalized": false,
73
+ "rstrip": false,
74
+ "single_word": false,
75
+ "special": true
76
+ },
77
+ "151652": {
78
+ "content": "<|vision_start|>",
79
+ "lstrip": false,
80
+ "normalized": false,
81
+ "rstrip": false,
82
+ "single_word": false,
83
+ "special": true
84
+ },
85
+ "151653": {
86
+ "content": "<|vision_end|>",
87
+ "lstrip": false,
88
+ "normalized": false,
89
+ "rstrip": false,
90
+ "single_word": false,
91
+ "special": true
92
+ },
93
+ "151654": {
94
+ "content": "<|vision_pad|>",
95
+ "lstrip": false,
96
+ "normalized": false,
97
+ "rstrip": false,
98
+ "single_word": false,
99
+ "special": true
100
+ },
101
+ "151655": {
102
+ "content": "<|image_pad|>",
103
+ "lstrip": false,
104
+ "normalized": false,
105
+ "rstrip": false,
106
+ "single_word": false,
107
+ "special": true
108
+ },
109
+ "151656": {
110
+ "content": "<|video_pad|>",
111
+ "lstrip": false,
112
+ "normalized": false,
113
+ "rstrip": false,
114
+ "single_word": false,
115
+ "special": true
116
+ },
117
+ "151657": {
118
+ "content": "<tool_call>",
119
+ "lstrip": false,
120
+ "normalized": false,
121
+ "rstrip": false,
122
+ "single_word": false,
123
+ "special": false
124
+ },
125
+ "151658": {
126
+ "content": "</tool_call>",
127
+ "lstrip": false,
128
+ "normalized": false,
129
+ "rstrip": false,
130
+ "single_word": false,
131
+ "special": false
132
+ },
133
+ "151659": {
134
+ "content": "<|fim_prefix|>",
135
+ "lstrip": false,
136
+ "normalized": false,
137
+ "rstrip": false,
138
+ "single_word": false,
139
+ "special": false
140
+ },
141
+ "151660": {
142
+ "content": "<|fim_middle|>",
143
+ "lstrip": false,
144
+ "normalized": false,
145
+ "rstrip": false,
146
+ "single_word": false,
147
+ "special": false
148
+ },
149
+ "151661": {
150
+ "content": "<|fim_suffix|>",
151
+ "lstrip": false,
152
+ "normalized": false,
153
+ "rstrip": false,
154
+ "single_word": false,
155
+ "special": false
156
+ },
157
+ "151662": {
158
+ "content": "<|fim_pad|>",
159
+ "lstrip": false,
160
+ "normalized": false,
161
+ "rstrip": false,
162
+ "single_word": false,
163
+ "special": false
164
+ },
165
+ "151663": {
166
+ "content": "<|repo_name|>",
167
+ "lstrip": false,
168
+ "normalized": false,
169
+ "rstrip": false,
170
+ "single_word": false,
171
+ "special": false
172
+ },
173
+ "151664": {
174
+ "content": "<|file_sep|>",
175
+ "lstrip": false,
176
+ "normalized": false,
177
+ "rstrip": false,
178
+ "single_word": false,
179
+ "special": false
180
+ }
181
+ },
182
+ "additional_special_tokens": [
183
+ "<|im_start|>",
184
+ "<|im_end|>",
185
+ "<|object_ref_start|>",
186
+ "<|object_ref_end|>",
187
+ "<|box_start|>",
188
+ "<|box_end|>",
189
+ "<|quad_start|>",
190
+ "<|quad_end|>",
191
+ "<|vision_start|>",
192
+ "<|vision_end|>",
193
+ "<|vision_pad|>",
194
+ "<|image_pad|>",
195
+ "<|video_pad|>"
196
+ ],
197
+ "bos_token": null,
198
+ "chat_template": "{% if messages[0]['role'] == 'system' %}{% set loop_messages = messages[1:] %}{% set system_message = messages[0]['content'] %}{% else %}{% set loop_messages = messages %}{% endif %}{% if system_message is defined %}{{ system_message + '\n' }}{% endif %}{% for message in loop_messages %}{% set content = message['content'] %}{% if message['role'] == 'user' %}{{ 'Human: ' + content + '\nAssistant:' }}{% elif message['role'] == 'assistant' %}{{ content + '<|endoftext|>' + '\n' }}{% endif %}{% endfor %}",
199
+ "clean_up_tokenization_spaces": false,
200
+ "eos_token": "<|endoftext|>",
201
+ "errors": "replace",
202
+ "model_max_length": 32768,
203
+ "pad_token": "<|endoftext|>",
204
+ "padding_side": "right",
205
+ "split_special_tokens": false,
206
+ "tokenizer_class": "Qwen2Tokenizer",
207
+ "unk_token": null
208
+ }
checkpoint-100/trainer_state.json ADDED
@@ -0,0 +1,173 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 0.49875311720698257,
5
+ "eval_steps": 500,
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.02493765586034913,
13
+ "grad_norm": 0.04108215495944023,
14
+ "learning_rate": 4.99229333433282e-05,
15
+ "loss": 0.4044,
16
+ "step": 5
17
+ },
18
+ {
19
+ "epoch": 0.04987531172069826,
20
+ "grad_norm": 0.025228893384337425,
21
+ "learning_rate": 4.9692208514878444e-05,
22
+ "loss": 0.391,
23
+ "step": 10
24
+ },
25
+ {
26
+ "epoch": 0.07481296758104738,
27
+ "grad_norm": 0.025317281484603882,
28
+ "learning_rate": 4.9309248009941914e-05,
29
+ "loss": 0.3583,
30
+ "step": 15
31
+ },
32
+ {
33
+ "epoch": 0.09975062344139651,
34
+ "grad_norm": 0.023856163024902344,
35
+ "learning_rate": 4.877641290737884e-05,
36
+ "loss": 0.3771,
37
+ "step": 20
38
+ },
39
+ {
40
+ "epoch": 0.12468827930174564,
41
+ "grad_norm": 0.02556118369102478,
42
+ "learning_rate": 4.8096988312782174e-05,
43
+ "loss": 0.3408,
44
+ "step": 25
45
+ },
46
+ {
47
+ "epoch": 0.14962593516209477,
48
+ "grad_norm": 0.026844358071684837,
49
+ "learning_rate": 4.72751631047092e-05,
50
+ "loss": 0.3665,
51
+ "step": 30
52
+ },
53
+ {
54
+ "epoch": 0.1745635910224439,
55
+ "grad_norm": 0.02702774479985237,
56
+ "learning_rate": 4.6316004108852305e-05,
57
+ "loss": 0.3508,
58
+ "step": 35
59
+ },
60
+ {
61
+ "epoch": 0.19950124688279303,
62
+ "grad_norm": 0.02752436138689518,
63
+ "learning_rate": 4.522542485937369e-05,
64
+ "loss": 0.3558,
65
+ "step": 40
66
+ },
67
+ {
68
+ "epoch": 0.22443890274314215,
69
+ "grad_norm": 0.029124287888407707,
70
+ "learning_rate": 4.401014914000078e-05,
71
+ "loss": 0.3579,
72
+ "step": 45
73
+ },
74
+ {
75
+ "epoch": 0.24937655860349128,
76
+ "grad_norm": 0.03660265728831291,
77
+ "learning_rate": 4.267766952966369e-05,
78
+ "loss": 0.3333,
79
+ "step": 50
80
+ },
81
+ {
82
+ "epoch": 0.2743142144638404,
83
+ "grad_norm": 0.027973175048828125,
84
+ "learning_rate": 4.123620120825459e-05,
85
+ "loss": 0.3263,
86
+ "step": 55
87
+ },
88
+ {
89
+ "epoch": 0.29925187032418954,
90
+ "grad_norm": 0.03005453571677208,
91
+ "learning_rate": 3.969463130731183e-05,
92
+ "loss": 0.3476,
93
+ "step": 60
94
+ },
95
+ {
96
+ "epoch": 0.32418952618453867,
97
+ "grad_norm": 0.03571762889623642,
98
+ "learning_rate": 3.8062464117898724e-05,
99
+ "loss": 0.3294,
100
+ "step": 65
101
+ },
102
+ {
103
+ "epoch": 0.3491271820448878,
104
+ "grad_norm": 0.03382609412074089,
105
+ "learning_rate": 3.634976249348867e-05,
106
+ "loss": 0.356,
107
+ "step": 70
108
+ },
109
+ {
110
+ "epoch": 0.3740648379052369,
111
+ "grad_norm": 0.03247227147221565,
112
+ "learning_rate": 3.456708580912725e-05,
113
+ "loss": 0.3304,
114
+ "step": 75
115
+ },
116
+ {
117
+ "epoch": 0.39900249376558605,
118
+ "grad_norm": 0.03641534969210625,
119
+ "learning_rate": 3.272542485937369e-05,
120
+ "loss": 0.3436,
121
+ "step": 80
122
+ },
123
+ {
124
+ "epoch": 0.4239401496259352,
125
+ "grad_norm": 0.03509656339883804,
126
+ "learning_rate": 3.083613409639764e-05,
127
+ "loss": 0.3388,
128
+ "step": 85
129
+ },
130
+ {
131
+ "epoch": 0.4488778054862843,
132
+ "grad_norm": 0.03508240357041359,
133
+ "learning_rate": 2.8910861626005776e-05,
134
+ "loss": 0.3367,
135
+ "step": 90
136
+ },
137
+ {
138
+ "epoch": 0.47381546134663344,
139
+ "grad_norm": 0.04164772108197212,
140
+ "learning_rate": 2.6961477393196126e-05,
141
+ "loss": 0.3561,
142
+ "step": 95
143
+ },
144
+ {
145
+ "epoch": 0.49875311720698257,
146
+ "grad_norm": 0.03994197025895119,
147
+ "learning_rate": 2.5e-05,
148
+ "loss": 0.3182,
149
+ "step": 100
150
+ }
151
+ ],
152
+ "logging_steps": 5,
153
+ "max_steps": 200,
154
+ "num_input_tokens_seen": 0,
155
+ "num_train_epochs": 1,
156
+ "save_steps": 100,
157
+ "stateful_callbacks": {
158
+ "TrainerControl": {
159
+ "args": {
160
+ "should_epoch_stop": false,
161
+ "should_evaluate": false,
162
+ "should_log": false,
163
+ "should_save": true,
164
+ "should_training_stop": false
165
+ },
166
+ "attributes": {}
167
+ }
168
+ },
169
+ "total_flos": 1.6709646114210447e+18,
170
+ "train_batch_size": 8,
171
+ "trial_name": null,
172
+ "trial_params": null
173
+ }
checkpoint-100/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f85ee3253ce2430836b5bfdd00d31d93672e95e995579ef99ce619afab5ba0a5
3
+ size 5432
checkpoint-100/vocab.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-200/README.md ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: Qwen/Qwen2.5-Coder-7B
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.12.0
checkpoint-200/adapter_config.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "Qwen/Qwen2.5-Coder-7B",
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": 32,
14
+ "lora_dropout": 0.1,
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": null,
22
+ "target_modules": [
23
+ "q_proj",
24
+ "k_proj",
25
+ "up_proj",
26
+ "down_proj",
27
+ "gate_proj",
28
+ "o_proj",
29
+ "v_proj"
30
+ ],
31
+ "task_type": "CAUSAL_LM",
32
+ "use_dora": false,
33
+ "use_rslora": false
34
+ }
checkpoint-200/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:49840fc86515e540dc4067a705e4e947842a7182a45cd391701fbde2cea8c64f
3
+ size 161533192
checkpoint-200/added_tokens.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "</tool_call>": 151658,
3
+ "<tool_call>": 151657,
4
+ "<|box_end|>": 151649,
5
+ "<|box_start|>": 151648,
6
+ "<|endoftext|>": 151643,
7
+ "<|file_sep|>": 151664,
8
+ "<|fim_middle|>": 151660,
9
+ "<|fim_pad|>": 151662,
10
+ "<|fim_prefix|>": 151659,
11
+ "<|fim_suffix|>": 151661,
12
+ "<|im_end|>": 151645,
13
+ "<|im_start|>": 151644,
14
+ "<|image_pad|>": 151655,
15
+ "<|object_ref_end|>": 151647,
16
+ "<|object_ref_start|>": 151646,
17
+ "<|quad_end|>": 151651,
18
+ "<|quad_start|>": 151650,
19
+ "<|repo_name|>": 151663,
20
+ "<|video_pad|>": 151656,
21
+ "<|vision_end|>": 151653,
22
+ "<|vision_pad|>": 151654,
23
+ "<|vision_start|>": 151652
24
+ }
checkpoint-200/merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-200/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a265c9dd28ae5933c7e78b76975a0e2d10aa210e2cb3259fa8a0708b52b4324a
3
+ size 323290986
checkpoint-200/rng_state_0.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b44a482d877d1e427529771f4afc5b8148e12ae31b70daa89b564cb90f2e0365
3
+ size 14512
checkpoint-200/rng_state_1.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:55d2765fb13b4f4f1821493596447940bdb6e6eba3d84dba8e4cb81cd6c91592
3
+ size 14512
checkpoint-200/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a27b052646dcb561cbd68156c30bd466ce59bda64cf3c8eba9c3c1113af9827c
3
+ size 1064
checkpoint-200/special_tokens_map.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<|im_start|>",
4
+ "<|im_end|>",
5
+ "<|object_ref_start|>",
6
+ "<|object_ref_end|>",
7
+ "<|box_start|>",
8
+ "<|box_end|>",
9
+ "<|quad_start|>",
10
+ "<|quad_end|>",
11
+ "<|vision_start|>",
12
+ "<|vision_end|>",
13
+ "<|vision_pad|>",
14
+ "<|image_pad|>",
15
+ "<|video_pad|>"
16
+ ],
17
+ "eos_token": {
18
+ "content": "<|endoftext|>",
19
+ "lstrip": false,
20
+ "normalized": false,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ },
24
+ "pad_token": {
25
+ "content": "<|endoftext|>",
26
+ "lstrip": false,
27
+ "normalized": false,
28
+ "rstrip": false,
29
+ "single_word": false
30
+ }
31
+ }
checkpoint-200/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9c5ae00e602b8860cbd784ba82a8aa14e8feecec692e7076590d014d7b7fdafa
3
+ size 11421896
checkpoint-200/tokenizer_config.json ADDED
@@ -0,0 +1,208 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": false,
3
+ "add_prefix_space": false,
4
+ "added_tokens_decoder": {
5
+ "151643": {
6
+ "content": "<|endoftext|>",
7
+ "lstrip": false,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ },
13
+ "151644": {
14
+ "content": "<|im_start|>",
15
+ "lstrip": false,
16
+ "normalized": false,
17
+ "rstrip": false,
18
+ "single_word": false,
19
+ "special": true
20
+ },
21
+ "151645": {
22
+ "content": "<|im_end|>",
23
+ "lstrip": false,
24
+ "normalized": false,
25
+ "rstrip": false,
26
+ "single_word": false,
27
+ "special": true
28
+ },
29
+ "151646": {
30
+ "content": "<|object_ref_start|>",
31
+ "lstrip": false,
32
+ "normalized": false,
33
+ "rstrip": false,
34
+ "single_word": false,
35
+ "special": true
36
+ },
37
+ "151647": {
38
+ "content": "<|object_ref_end|>",
39
+ "lstrip": false,
40
+ "normalized": false,
41
+ "rstrip": false,
42
+ "single_word": false,
43
+ "special": true
44
+ },
45
+ "151648": {
46
+ "content": "<|box_start|>",
47
+ "lstrip": false,
48
+ "normalized": false,
49
+ "rstrip": false,
50
+ "single_word": false,
51
+ "special": true
52
+ },
53
+ "151649": {
54
+ "content": "<|box_end|>",
55
+ "lstrip": false,
56
+ "normalized": false,
57
+ "rstrip": false,
58
+ "single_word": false,
59
+ "special": true
60
+ },
61
+ "151650": {
62
+ "content": "<|quad_start|>",
63
+ "lstrip": false,
64
+ "normalized": false,
65
+ "rstrip": false,
66
+ "single_word": false,
67
+ "special": true
68
+ },
69
+ "151651": {
70
+ "content": "<|quad_end|>",
71
+ "lstrip": false,
72
+ "normalized": false,
73
+ "rstrip": false,
74
+ "single_word": false,
75
+ "special": true
76
+ },
77
+ "151652": {
78
+ "content": "<|vision_start|>",
79
+ "lstrip": false,
80
+ "normalized": false,
81
+ "rstrip": false,
82
+ "single_word": false,
83
+ "special": true
84
+ },
85
+ "151653": {
86
+ "content": "<|vision_end|>",
87
+ "lstrip": false,
88
+ "normalized": false,
89
+ "rstrip": false,
90
+ "single_word": false,
91
+ "special": true
92
+ },
93
+ "151654": {
94
+ "content": "<|vision_pad|>",
95
+ "lstrip": false,
96
+ "normalized": false,
97
+ "rstrip": false,
98
+ "single_word": false,
99
+ "special": true
100
+ },
101
+ "151655": {
102
+ "content": "<|image_pad|>",
103
+ "lstrip": false,
104
+ "normalized": false,
105
+ "rstrip": false,
106
+ "single_word": false,
107
+ "special": true
108
+ },
109
+ "151656": {
110
+ "content": "<|video_pad|>",
111
+ "lstrip": false,
112
+ "normalized": false,
113
+ "rstrip": false,
114
+ "single_word": false,
115
+ "special": true
116
+ },
117
+ "151657": {
118
+ "content": "<tool_call>",
119
+ "lstrip": false,
120
+ "normalized": false,
121
+ "rstrip": false,
122
+ "single_word": false,
123
+ "special": false
124
+ },
125
+ "151658": {
126
+ "content": "</tool_call>",
127
+ "lstrip": false,
128
+ "normalized": false,
129
+ "rstrip": false,
130
+ "single_word": false,
131
+ "special": false
132
+ },
133
+ "151659": {
134
+ "content": "<|fim_prefix|>",
135
+ "lstrip": false,
136
+ "normalized": false,
137
+ "rstrip": false,
138
+ "single_word": false,
139
+ "special": false
140
+ },
141
+ "151660": {
142
+ "content": "<|fim_middle|>",
143
+ "lstrip": false,
144
+ "normalized": false,
145
+ "rstrip": false,
146
+ "single_word": false,
147
+ "special": false
148
+ },
149
+ "151661": {
150
+ "content": "<|fim_suffix|>",
151
+ "lstrip": false,
152
+ "normalized": false,
153
+ "rstrip": false,
154
+ "single_word": false,
155
+ "special": false
156
+ },
157
+ "151662": {
158
+ "content": "<|fim_pad|>",
159
+ "lstrip": false,
160
+ "normalized": false,
161
+ "rstrip": false,
162
+ "single_word": false,
163
+ "special": false
164
+ },
165
+ "151663": {
166
+ "content": "<|repo_name|>",
167
+ "lstrip": false,
168
+ "normalized": false,
169
+ "rstrip": false,
170
+ "single_word": false,
171
+ "special": false
172
+ },
173
+ "151664": {
174
+ "content": "<|file_sep|>",
175
+ "lstrip": false,
176
+ "normalized": false,
177
+ "rstrip": false,
178
+ "single_word": false,
179
+ "special": false
180
+ }
181
+ },
182
+ "additional_special_tokens": [
183
+ "<|im_start|>",
184
+ "<|im_end|>",
185
+ "<|object_ref_start|>",
186
+ "<|object_ref_end|>",
187
+ "<|box_start|>",
188
+ "<|box_end|>",
189
+ "<|quad_start|>",
190
+ "<|quad_end|>",
191
+ "<|vision_start|>",
192
+ "<|vision_end|>",
193
+ "<|vision_pad|>",
194
+ "<|image_pad|>",
195
+ "<|video_pad|>"
196
+ ],
197
+ "bos_token": null,
198
+ "chat_template": "{% if messages[0]['role'] == 'system' %}{% set loop_messages = messages[1:] %}{% set system_message = messages[0]['content'] %}{% else %}{% set loop_messages = messages %}{% endif %}{% if system_message is defined %}{{ system_message + '\n' }}{% endif %}{% for message in loop_messages %}{% set content = message['content'] %}{% if message['role'] == 'user' %}{{ 'Human: ' + content + '\nAssistant:' }}{% elif message['role'] == 'assistant' %}{{ content + '<|endoftext|>' + '\n' }}{% endif %}{% endfor %}",
199
+ "clean_up_tokenization_spaces": false,
200
+ "eos_token": "<|endoftext|>",
201
+ "errors": "replace",
202
+ "model_max_length": 32768,
203
+ "pad_token": "<|endoftext|>",
204
+ "padding_side": "right",
205
+ "split_special_tokens": false,
206
+ "tokenizer_class": "Qwen2Tokenizer",
207
+ "unk_token": null
208
+ }
checkpoint-200/trainer_state.json ADDED
@@ -0,0 +1,313 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 0.9975062344139651,
5
+ "eval_steps": 500,
6
+ "global_step": 200,
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.02493765586034913,
13
+ "grad_norm": 0.04108215495944023,
14
+ "learning_rate": 4.99229333433282e-05,
15
+ "loss": 0.4044,
16
+ "step": 5
17
+ },
18
+ {
19
+ "epoch": 0.04987531172069826,
20
+ "grad_norm": 0.025228893384337425,
21
+ "learning_rate": 4.9692208514878444e-05,
22
+ "loss": 0.391,
23
+ "step": 10
24
+ },
25
+ {
26
+ "epoch": 0.07481296758104738,
27
+ "grad_norm": 0.025317281484603882,
28
+ "learning_rate": 4.9309248009941914e-05,
29
+ "loss": 0.3583,
30
+ "step": 15
31
+ },
32
+ {
33
+ "epoch": 0.09975062344139651,
34
+ "grad_norm": 0.023856163024902344,
35
+ "learning_rate": 4.877641290737884e-05,
36
+ "loss": 0.3771,
37
+ "step": 20
38
+ },
39
+ {
40
+ "epoch": 0.12468827930174564,
41
+ "grad_norm": 0.02556118369102478,
42
+ "learning_rate": 4.8096988312782174e-05,
43
+ "loss": 0.3408,
44
+ "step": 25
45
+ },
46
+ {
47
+ "epoch": 0.14962593516209477,
48
+ "grad_norm": 0.026844358071684837,
49
+ "learning_rate": 4.72751631047092e-05,
50
+ "loss": 0.3665,
51
+ "step": 30
52
+ },
53
+ {
54
+ "epoch": 0.1745635910224439,
55
+ "grad_norm": 0.02702774479985237,
56
+ "learning_rate": 4.6316004108852305e-05,
57
+ "loss": 0.3508,
58
+ "step": 35
59
+ },
60
+ {
61
+ "epoch": 0.19950124688279303,
62
+ "grad_norm": 0.02752436138689518,
63
+ "learning_rate": 4.522542485937369e-05,
64
+ "loss": 0.3558,
65
+ "step": 40
66
+ },
67
+ {
68
+ "epoch": 0.22443890274314215,
69
+ "grad_norm": 0.029124287888407707,
70
+ "learning_rate": 4.401014914000078e-05,
71
+ "loss": 0.3579,
72
+ "step": 45
73
+ },
74
+ {
75
+ "epoch": 0.24937655860349128,
76
+ "grad_norm": 0.03660265728831291,
77
+ "learning_rate": 4.267766952966369e-05,
78
+ "loss": 0.3333,
79
+ "step": 50
80
+ },
81
+ {
82
+ "epoch": 0.2743142144638404,
83
+ "grad_norm": 0.027973175048828125,
84
+ "learning_rate": 4.123620120825459e-05,
85
+ "loss": 0.3263,
86
+ "step": 55
87
+ },
88
+ {
89
+ "epoch": 0.29925187032418954,
90
+ "grad_norm": 0.03005453571677208,
91
+ "learning_rate": 3.969463130731183e-05,
92
+ "loss": 0.3476,
93
+ "step": 60
94
+ },
95
+ {
96
+ "epoch": 0.32418952618453867,
97
+ "grad_norm": 0.03571762889623642,
98
+ "learning_rate": 3.8062464117898724e-05,
99
+ "loss": 0.3294,
100
+ "step": 65
101
+ },
102
+ {
103
+ "epoch": 0.3491271820448878,
104
+ "grad_norm": 0.03382609412074089,
105
+ "learning_rate": 3.634976249348867e-05,
106
+ "loss": 0.356,
107
+ "step": 70
108
+ },
109
+ {
110
+ "epoch": 0.3740648379052369,
111
+ "grad_norm": 0.03247227147221565,
112
+ "learning_rate": 3.456708580912725e-05,
113
+ "loss": 0.3304,
114
+ "step": 75
115
+ },
116
+ {
117
+ "epoch": 0.39900249376558605,
118
+ "grad_norm": 0.03641534969210625,
119
+ "learning_rate": 3.272542485937369e-05,
120
+ "loss": 0.3436,
121
+ "step": 80
122
+ },
123
+ {
124
+ "epoch": 0.4239401496259352,
125
+ "grad_norm": 0.03509656339883804,
126
+ "learning_rate": 3.083613409639764e-05,
127
+ "loss": 0.3388,
128
+ "step": 85
129
+ },
130
+ {
131
+ "epoch": 0.4488778054862843,
132
+ "grad_norm": 0.03508240357041359,
133
+ "learning_rate": 2.8910861626005776e-05,
134
+ "loss": 0.3367,
135
+ "step": 90
136
+ },
137
+ {
138
+ "epoch": 0.47381546134663344,
139
+ "grad_norm": 0.04164772108197212,
140
+ "learning_rate": 2.6961477393196126e-05,
141
+ "loss": 0.3561,
142
+ "step": 95
143
+ },
144
+ {
145
+ "epoch": 0.49875311720698257,
146
+ "grad_norm": 0.03994197025895119,
147
+ "learning_rate": 2.5e-05,
148
+ "loss": 0.3182,
149
+ "step": 100
150
+ },
151
+ {
152
+ "epoch": 0.5236907730673317,
153
+ "grad_norm": 0.038153909146785736,
154
+ "learning_rate": 2.303852260680388e-05,
155
+ "loss": 0.3331,
156
+ "step": 105
157
+ },
158
+ {
159
+ "epoch": 0.5486284289276808,
160
+ "grad_norm": 0.03781621903181076,
161
+ "learning_rate": 2.1089138373994223e-05,
162
+ "loss": 0.3383,
163
+ "step": 110
164
+ },
165
+ {
166
+ "epoch": 0.57356608478803,
167
+ "grad_norm": 0.04167185723781586,
168
+ "learning_rate": 1.9163865903602374e-05,
169
+ "loss": 0.3366,
170
+ "step": 115
171
+ },
172
+ {
173
+ "epoch": 0.5985037406483791,
174
+ "grad_norm": 0.042504750192165375,
175
+ "learning_rate": 1.7274575140626318e-05,
176
+ "loss": 0.3324,
177
+ "step": 120
178
+ },
179
+ {
180
+ "epoch": 0.6234413965087282,
181
+ "grad_norm": 0.043039821088314056,
182
+ "learning_rate": 1.5432914190872757e-05,
183
+ "loss": 0.303,
184
+ "step": 125
185
+ },
186
+ {
187
+ "epoch": 0.6483790523690773,
188
+ "grad_norm": 0.04201623052358627,
189
+ "learning_rate": 1.3650237506511331e-05,
190
+ "loss": 0.35,
191
+ "step": 130
192
+ },
193
+ {
194
+ "epoch": 0.6733167082294265,
195
+ "grad_norm": 0.04364593327045441,
196
+ "learning_rate": 1.1937535882101281e-05,
197
+ "loss": 0.331,
198
+ "step": 135
199
+ },
200
+ {
201
+ "epoch": 0.6982543640897756,
202
+ "grad_norm": 0.04168755188584328,
203
+ "learning_rate": 1.0305368692688174e-05,
204
+ "loss": 0.344,
205
+ "step": 140
206
+ },
207
+ {
208
+ "epoch": 0.7231920199501247,
209
+ "grad_norm": 0.04454099014401436,
210
+ "learning_rate": 8.763798791745411e-06,
211
+ "loss": 0.3567,
212
+ "step": 145
213
+ },
214
+ {
215
+ "epoch": 0.7481296758104738,
216
+ "grad_norm": 0.07072897255420685,
217
+ "learning_rate": 7.3223304703363135e-06,
218
+ "loss": 0.3184,
219
+ "step": 150
220
+ },
221
+ {
222
+ "epoch": 0.773067331670823,
223
+ "grad_norm": 0.04532039538025856,
224
+ "learning_rate": 5.989850859999227e-06,
225
+ "loss": 0.3279,
226
+ "step": 155
227
+ },
228
+ {
229
+ "epoch": 0.7980049875311721,
230
+ "grad_norm": 0.04330899938941002,
231
+ "learning_rate": 4.7745751406263165e-06,
232
+ "loss": 0.3372,
233
+ "step": 160
234
+ },
235
+ {
236
+ "epoch": 0.8229426433915212,
237
+ "grad_norm": 0.04454395920038223,
238
+ "learning_rate": 3.6839958911476957e-06,
239
+ "loss": 0.3553,
240
+ "step": 165
241
+ },
242
+ {
243
+ "epoch": 0.8478802992518704,
244
+ "grad_norm": 0.05742543563246727,
245
+ "learning_rate": 2.7248368952908053e-06,
246
+ "loss": 0.3361,
247
+ "step": 170
248
+ },
249
+ {
250
+ "epoch": 0.8728179551122195,
251
+ "grad_norm": 0.04155350476503372,
252
+ "learning_rate": 1.9030116872178316e-06,
253
+ "loss": 0.3335,
254
+ "step": 175
255
+ },
256
+ {
257
+ "epoch": 0.8977556109725686,
258
+ "grad_norm": 0.04169079288840294,
259
+ "learning_rate": 1.2235870926211619e-06,
260
+ "loss": 0.3425,
261
+ "step": 180
262
+ },
263
+ {
264
+ "epoch": 0.9226932668329177,
265
+ "grad_norm": 0.04245175048708916,
266
+ "learning_rate": 6.907519900580861e-07,
267
+ "loss": 0.3247,
268
+ "step": 185
269
+ },
270
+ {
271
+ "epoch": 0.9476309226932669,
272
+ "grad_norm": 0.03987717628479004,
273
+ "learning_rate": 3.077914851215585e-07,
274
+ "loss": 0.3314,
275
+ "step": 190
276
+ },
277
+ {
278
+ "epoch": 0.972568578553616,
279
+ "grad_norm": 0.11724965274333954,
280
+ "learning_rate": 7.706665667180091e-08,
281
+ "loss": 0.3354,
282
+ "step": 195
283
+ },
284
+ {
285
+ "epoch": 0.9975062344139651,
286
+ "grad_norm": 0.04020114243030548,
287
+ "learning_rate": 0.0,
288
+ "loss": 0.3413,
289
+ "step": 200
290
+ }
291
+ ],
292
+ "logging_steps": 5,
293
+ "max_steps": 200,
294
+ "num_input_tokens_seen": 0,
295
+ "num_train_epochs": 1,
296
+ "save_steps": 100,
297
+ "stateful_callbacks": {
298
+ "TrainerControl": {
299
+ "args": {
300
+ "should_epoch_stop": false,
301
+ "should_evaluate": false,
302
+ "should_log": false,
303
+ "should_save": true,
304
+ "should_training_stop": true
305
+ },
306
+ "attributes": {}
307
+ }
308
+ },
309
+ "total_flos": 3.3406622246696387e+18,
310
+ "train_batch_size": 8,
311
+ "trial_name": null,
312
+ "trial_params": null
313
+ }
checkpoint-200/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f85ee3253ce2430836b5bfdd00d31d93672e95e995579ef99ce619afab5ba0a5
3
+ size 5432
checkpoint-200/vocab.json ADDED
The diff for this file is too large to render. See raw diff
 
llamaboard_config.yaml ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ top.booster: auto
2
+ top.checkpoint_path: []
3
+ top.finetuning_type: lora
4
+ top.model_name: Qwen2.5-Coder-7B
5
+ top.quantization_bit: none
6
+ top.quantization_method: bitsandbytes
7
+ top.rope_scaling: none
8
+ top.template: default
9
+ train.additional_target: ''
10
+ train.badam_mode: layer
11
+ train.badam_switch_interval: 50
12
+ train.badam_switch_mode: ascending
13
+ train.badam_update_ratio: 0.05
14
+ train.batch_size: 8
15
+ train.compute_type: bf16
16
+ train.create_new_adapter: false
17
+ train.cutoff_len: 2048
18
+ train.dataset:
19
+ - solidity_contract
20
+ train.dataset_dir: data
21
+ train.ds_offload: false
22
+ train.ds_stage: none
23
+ train.extra_args: '{"optim": "adamw_torch"}'
24
+ train.freeze_extra_modules: ''
25
+ train.freeze_trainable_layers: 2
26
+ train.freeze_trainable_modules: all
27
+ train.galore_rank: 16
28
+ train.galore_scale: 0.25
29
+ train.galore_target: all
30
+ train.galore_update_interval: 200
31
+ train.gradient_accumulation_steps: 12
32
+ train.learning_rate: 5e-5
33
+ train.logging_steps: 5
34
+ train.lora_alpha: 32
35
+ train.lora_dropout: 0.1
36
+ train.lora_rank: 16
37
+ train.lora_target: ''
38
+ train.loraplus_lr_ratio: 0
39
+ train.lr_scheduler_type: cosine
40
+ train.mask_history: false
41
+ train.max_grad_norm: '1.0'
42
+ train.max_samples: '100000'
43
+ train.neat_packing: false
44
+ train.neftune_alpha: 0
45
+ train.num_train_epochs: '1.0'
46
+ train.packing: false
47
+ train.ppo_score_norm: false
48
+ train.ppo_whiten_rewards: false
49
+ train.pref_beta: 0.1
50
+ train.pref_ftx: 0
51
+ train.pref_loss: sigmoid
52
+ train.report_to: false
53
+ train.resize_vocab: false
54
+ train.reward_model: null
55
+ train.save_steps: 100
56
+ train.shift_attn: false
57
+ train.train_on_prompt: false
58
+ train.training_stage: Supervised Fine-Tuning
59
+ train.use_badam: false
60
+ train.use_dora: false
61
+ train.use_galore: false
62
+ train.use_llama_pro: false
63
+ train.use_pissa: false
64
+ train.use_rslora: false
65
+ train.val_size: 0
66
+ train.warmup_steps: 0
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
running_log.txt ADDED
@@ -0,0 +1,397 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [WARNING|2025-03-26 10:33:41] logging.py:162 >> `ddp_find_unused_parameters` needs to be set as False for LoRA in DDP training.
2
+
3
+ [INFO|2025-03-26 10:33:41] parser.py:355 >> Process rank: 0, device: cuda:0, n_gpu: 1, distributed training: True, compute dtype: torch.bfloat16
4
+
5
+ [INFO|2025-03-26 10:33:42] parser.py:355 >> Process rank: 1, device: cuda:1, n_gpu: 1, distributed training: True, compute dtype: torch.bfloat16
6
+
7
+ [INFO|2025-03-26 10:33:42] configuration_utils.py:679 >> loading configuration file config.json from cache at /home/ubuntu/.cache/huggingface/hub/models--Qwen--Qwen2.5-Coder-7B/snapshots/0396a76181e127dfc13e5c5ec48a8cee09938b02/config.json
8
+
9
+ [INFO|2025-03-26 10:33:42] configuration_utils.py:746 >> Model config Qwen2Config {
10
+ "_name_or_path": "Qwen/Qwen2.5-Coder-7B",
11
+ "architectures": [
12
+ "Qwen2ForCausalLM"
13
+ ],
14
+ "attention_dropout": 0.0,
15
+ "bos_token_id": 151643,
16
+ "eos_token_id": 151643,
17
+ "hidden_act": "silu",
18
+ "hidden_size": 3584,
19
+ "initializer_range": 0.02,
20
+ "intermediate_size": 18944,
21
+ "max_position_embeddings": 32768,
22
+ "max_window_layers": 28,
23
+ "model_type": "qwen2",
24
+ "num_attention_heads": 28,
25
+ "num_hidden_layers": 28,
26
+ "num_key_value_heads": 4,
27
+ "rms_norm_eps": 1e-06,
28
+ "rope_scaling": null,
29
+ "rope_theta": 1000000.0,
30
+ "sliding_window": null,
31
+ "tie_word_embeddings": false,
32
+ "torch_dtype": "bfloat16",
33
+ "transformers_version": "4.46.1",
34
+ "use_cache": true,
35
+ "use_sliding_window": false,
36
+ "vocab_size": 152064
37
+ }
38
+
39
+
40
+ [INFO|2025-03-26 10:33:43] tokenization_utils_base.py:2211 >> loading file vocab.json from cache at /home/ubuntu/.cache/huggingface/hub/models--Qwen--Qwen2.5-Coder-7B/snapshots/0396a76181e127dfc13e5c5ec48a8cee09938b02/vocab.json
41
+
42
+ [INFO|2025-03-26 10:33:43] tokenization_utils_base.py:2211 >> loading file merges.txt from cache at /home/ubuntu/.cache/huggingface/hub/models--Qwen--Qwen2.5-Coder-7B/snapshots/0396a76181e127dfc13e5c5ec48a8cee09938b02/merges.txt
43
+
44
+ [INFO|2025-03-26 10:33:43] tokenization_utils_base.py:2211 >> loading file tokenizer.json from cache at /home/ubuntu/.cache/huggingface/hub/models--Qwen--Qwen2.5-Coder-7B/snapshots/0396a76181e127dfc13e5c5ec48a8cee09938b02/tokenizer.json
45
+
46
+ [INFO|2025-03-26 10:33:43] tokenization_utils_base.py:2211 >> loading file added_tokens.json from cache at None
47
+
48
+ [INFO|2025-03-26 10:33:43] tokenization_utils_base.py:2211 >> loading file special_tokens_map.json from cache at None
49
+
50
+ [INFO|2025-03-26 10:33:43] tokenization_utils_base.py:2211 >> loading file tokenizer_config.json from cache at /home/ubuntu/.cache/huggingface/hub/models--Qwen--Qwen2.5-Coder-7B/snapshots/0396a76181e127dfc13e5c5ec48a8cee09938b02/tokenizer_config.json
51
+
52
+ [INFO|2025-03-26 10:33:43] tokenization_utils_base.py:2475 >> Special tokens have been added in the vocabulary, make sure the associated word embeddings are fine-tuned or trained.
53
+
54
+ [INFO|2025-03-26 10:33:44] configuration_utils.py:679 >> loading configuration file config.json from cache at /home/ubuntu/.cache/huggingface/hub/models--Qwen--Qwen2.5-Coder-7B/snapshots/0396a76181e127dfc13e5c5ec48a8cee09938b02/config.json
55
+
56
+ [INFO|2025-03-26 10:33:44] configuration_utils.py:746 >> Model config Qwen2Config {
57
+ "_name_or_path": "Qwen/Qwen2.5-Coder-7B",
58
+ "architectures": [
59
+ "Qwen2ForCausalLM"
60
+ ],
61
+ "attention_dropout": 0.0,
62
+ "bos_token_id": 151643,
63
+ "eos_token_id": 151643,
64
+ "hidden_act": "silu",
65
+ "hidden_size": 3584,
66
+ "initializer_range": 0.02,
67
+ "intermediate_size": 18944,
68
+ "max_position_embeddings": 32768,
69
+ "max_window_layers": 28,
70
+ "model_type": "qwen2",
71
+ "num_attention_heads": 28,
72
+ "num_hidden_layers": 28,
73
+ "num_key_value_heads": 4,
74
+ "rms_norm_eps": 1e-06,
75
+ "rope_scaling": null,
76
+ "rope_theta": 1000000.0,
77
+ "sliding_window": null,
78
+ "tie_word_embeddings": false,
79
+ "torch_dtype": "bfloat16",
80
+ "transformers_version": "4.46.1",
81
+ "use_cache": true,
82
+ "use_sliding_window": false,
83
+ "vocab_size": 152064
84
+ }
85
+
86
+
87
+ [INFO|2025-03-26 10:33:44] tokenization_utils_base.py:2211 >> loading file vocab.json from cache at /home/ubuntu/.cache/huggingface/hub/models--Qwen--Qwen2.5-Coder-7B/snapshots/0396a76181e127dfc13e5c5ec48a8cee09938b02/vocab.json
88
+
89
+ [INFO|2025-03-26 10:33:44] tokenization_utils_base.py:2211 >> loading file merges.txt from cache at /home/ubuntu/.cache/huggingface/hub/models--Qwen--Qwen2.5-Coder-7B/snapshots/0396a76181e127dfc13e5c5ec48a8cee09938b02/merges.txt
90
+
91
+ [INFO|2025-03-26 10:33:44] tokenization_utils_base.py:2211 >> loading file tokenizer.json from cache at /home/ubuntu/.cache/huggingface/hub/models--Qwen--Qwen2.5-Coder-7B/snapshots/0396a76181e127dfc13e5c5ec48a8cee09938b02/tokenizer.json
92
+
93
+ [INFO|2025-03-26 10:33:44] tokenization_utils_base.py:2211 >> loading file added_tokens.json from cache at None
94
+
95
+ [INFO|2025-03-26 10:33:44] tokenization_utils_base.py:2211 >> loading file special_tokens_map.json from cache at None
96
+
97
+ [INFO|2025-03-26 10:33:44] tokenization_utils_base.py:2211 >> loading file tokenizer_config.json from cache at /home/ubuntu/.cache/huggingface/hub/models--Qwen--Qwen2.5-Coder-7B/snapshots/0396a76181e127dfc13e5c5ec48a8cee09938b02/tokenizer_config.json
98
+
99
+ [INFO|2025-03-26 10:33:45] tokenization_utils_base.py:2475 >> Special tokens have been added in the vocabulary, make sure the associated word embeddings are fine-tuned or trained.
100
+
101
+ [INFO|2025-03-26 10:33:45] logging.py:157 >> Loading dataset new-datasets/solidity_v3.json...
102
+
103
+ [INFO|2025-03-26 10:34:08] configuration_utils.py:679 >> loading configuration file config.json from cache at /home/ubuntu/.cache/huggingface/hub/models--Qwen--Qwen2.5-Coder-7B/snapshots/0396a76181e127dfc13e5c5ec48a8cee09938b02/config.json
104
+
105
+ [INFO|2025-03-26 10:34:08] configuration_utils.py:746 >> Model config Qwen2Config {
106
+ "_name_or_path": "Qwen/Qwen2.5-Coder-7B",
107
+ "architectures": [
108
+ "Qwen2ForCausalLM"
109
+ ],
110
+ "attention_dropout": 0.0,
111
+ "bos_token_id": 151643,
112
+ "eos_token_id": 151643,
113
+ "hidden_act": "silu",
114
+ "hidden_size": 3584,
115
+ "initializer_range": 0.02,
116
+ "intermediate_size": 18944,
117
+ "max_position_embeddings": 32768,
118
+ "max_window_layers": 28,
119
+ "model_type": "qwen2",
120
+ "num_attention_heads": 28,
121
+ "num_hidden_layers": 28,
122
+ "num_key_value_heads": 4,
123
+ "rms_norm_eps": 1e-06,
124
+ "rope_scaling": null,
125
+ "rope_theta": 1000000.0,
126
+ "sliding_window": null,
127
+ "tie_word_embeddings": false,
128
+ "torch_dtype": "bfloat16",
129
+ "transformers_version": "4.46.1",
130
+ "use_cache": true,
131
+ "use_sliding_window": false,
132
+ "vocab_size": 152064
133
+ }
134
+
135
+
136
+ [INFO|2025-03-26 10:34:08] modeling_utils.py:3937 >> loading weights file model.safetensors from cache at /home/ubuntu/.cache/huggingface/hub/models--Qwen--Qwen2.5-Coder-7B/snapshots/0396a76181e127dfc13e5c5ec48a8cee09938b02/model.safetensors.index.json
137
+
138
+ [INFO|2025-03-26 10:34:08] modeling_utils.py:1670 >> Instantiating Qwen2ForCausalLM model under default dtype torch.bfloat16.
139
+
140
+ [INFO|2025-03-26 10:34:08] configuration_utils.py:1096 >> Generate config GenerationConfig {
141
+ "bos_token_id": 151643,
142
+ "eos_token_id": 151643
143
+ }
144
+
145
+
146
+ [INFO|2025-03-26 10:34:14] modeling_utils.py:4800 >> All model checkpoint weights were used when initializing Qwen2ForCausalLM.
147
+
148
+
149
+ [INFO|2025-03-26 10:34:14] modeling_utils.py:4808 >> All the weights of Qwen2ForCausalLM were initialized from the model checkpoint at Qwen/Qwen2.5-Coder-7B.
150
+ If your task is similar to the task the model of the checkpoint was trained on, you can already use Qwen2ForCausalLM for predictions without further training.
151
+
152
+ [INFO|2025-03-26 10:34:14] configuration_utils.py:1051 >> loading configuration file generation_config.json from cache at /home/ubuntu/.cache/huggingface/hub/models--Qwen--Qwen2.5-Coder-7B/snapshots/0396a76181e127dfc13e5c5ec48a8cee09938b02/generation_config.json
153
+
154
+ [INFO|2025-03-26 10:34:14] configuration_utils.py:1096 >> Generate config GenerationConfig {
155
+ "bos_token_id": 151643,
156
+ "eos_token_id": 151643,
157
+ "max_new_tokens": 2048
158
+ }
159
+
160
+
161
+ [INFO|2025-03-26 10:34:14] logging.py:157 >> Gradient checkpointing enabled.
162
+
163
+ [INFO|2025-03-26 10:34:14] logging.py:157 >> Using torch SDPA for faster training and inference.
164
+
165
+ [INFO|2025-03-26 10:34:14] logging.py:157 >> Upcasting trainable params to float32.
166
+
167
+ [INFO|2025-03-26 10:34:14] logging.py:157 >> Fine-tuning method: LoRA
168
+
169
+ [INFO|2025-03-26 10:34:14] logging.py:157 >> Found linear modules: q_proj,k_proj,up_proj,down_proj,gate_proj,o_proj,v_proj
170
+
171
+ [INFO|2025-03-26 10:34:15] logging.py:157 >> trainable params: 40,370,176 || all params: 7,655,986,688 || trainable%: 0.5273
172
+
173
+ [INFO|2025-03-26 10:34:15] trainer.py:698 >> Using auto half precision backend
174
+
175
+ [INFO|2025-03-26 10:34:15] trainer.py:2313 >> ***** Running training *****
176
+
177
+ [INFO|2025-03-26 10:34:15] trainer.py:2314 >> Num examples = 38,495
178
+
179
+ [INFO|2025-03-26 10:34:15] trainer.py:2315 >> Num Epochs = 1
180
+
181
+ [INFO|2025-03-26 10:34:15] trainer.py:2316 >> Instantaneous batch size per device = 8
182
+
183
+ [INFO|2025-03-26 10:34:15] trainer.py:2319 >> Total train batch size (w. parallel, distributed & accumulation) = 192
184
+
185
+ [INFO|2025-03-26 10:34:15] trainer.py:2320 >> Gradient Accumulation steps = 12
186
+
187
+ [INFO|2025-03-26 10:34:15] trainer.py:2321 >> Total optimization steps = 200
188
+
189
+ [INFO|2025-03-26 10:34:15] trainer.py:2322 >> Number of trainable parameters = 40,370,176
190
+
191
+ [INFO|2025-03-26 10:37:04] logging.py:157 >> {'loss': 0.4044, 'learning_rate': 4.9923e-05, 'epoch': 0.02}
192
+
193
+ [INFO|2025-03-26 10:39:53] logging.py:157 >> {'loss': 0.3910, 'learning_rate': 4.9692e-05, 'epoch': 0.05}
194
+
195
+ [INFO|2025-03-26 10:42:42] logging.py:157 >> {'loss': 0.3583, 'learning_rate': 4.9309e-05, 'epoch': 0.07}
196
+
197
+ [INFO|2025-03-26 10:45:30] logging.py:157 >> {'loss': 0.3771, 'learning_rate': 4.8776e-05, 'epoch': 0.10}
198
+
199
+ [INFO|2025-03-26 10:48:19] logging.py:157 >> {'loss': 0.3408, 'learning_rate': 4.8097e-05, 'epoch': 0.12}
200
+
201
+ [INFO|2025-03-26 10:51:08] logging.py:157 >> {'loss': 0.3665, 'learning_rate': 4.7275e-05, 'epoch': 0.15}
202
+
203
+ [INFO|2025-03-26 10:53:56] logging.py:157 >> {'loss': 0.3508, 'learning_rate': 4.6316e-05, 'epoch': 0.17}
204
+
205
+ [INFO|2025-03-26 10:56:44] logging.py:157 >> {'loss': 0.3558, 'learning_rate': 4.5225e-05, 'epoch': 0.20}
206
+
207
+ [INFO|2025-03-26 10:59:33] logging.py:157 >> {'loss': 0.3579, 'learning_rate': 4.4010e-05, 'epoch': 0.22}
208
+
209
+ [INFO|2025-03-26 11:02:21] logging.py:157 >> {'loss': 0.3333, 'learning_rate': 4.2678e-05, 'epoch': 0.25}
210
+
211
+ [INFO|2025-03-26 11:05:10] logging.py:157 >> {'loss': 0.3263, 'learning_rate': 4.1236e-05, 'epoch': 0.27}
212
+
213
+ [INFO|2025-03-26 11:07:58] logging.py:157 >> {'loss': 0.3476, 'learning_rate': 3.9695e-05, 'epoch': 0.30}
214
+
215
+ [INFO|2025-03-26 11:10:47] logging.py:157 >> {'loss': 0.3294, 'learning_rate': 3.8062e-05, 'epoch': 0.32}
216
+
217
+ [INFO|2025-03-26 11:13:35] logging.py:157 >> {'loss': 0.3560, 'learning_rate': 3.6350e-05, 'epoch': 0.35}
218
+
219
+ [INFO|2025-03-26 11:16:24] logging.py:157 >> {'loss': 0.3304, 'learning_rate': 3.4567e-05, 'epoch': 0.37}
220
+
221
+ [INFO|2025-03-26 11:19:13] logging.py:157 >> {'loss': 0.3436, 'learning_rate': 3.2725e-05, 'epoch': 0.40}
222
+
223
+ [INFO|2025-03-26 11:22:01] logging.py:157 >> {'loss': 0.3388, 'learning_rate': 3.0836e-05, 'epoch': 0.42}
224
+
225
+ [INFO|2025-03-26 11:24:49] logging.py:157 >> {'loss': 0.3367, 'learning_rate': 2.8911e-05, 'epoch': 0.45}
226
+
227
+ [INFO|2025-03-26 11:27:38] logging.py:157 >> {'loss': 0.3561, 'learning_rate': 2.6961e-05, 'epoch': 0.47}
228
+
229
+ [INFO|2025-03-26 11:30:26] logging.py:157 >> {'loss': 0.3182, 'learning_rate': 2.5000e-05, 'epoch': 0.50}
230
+
231
+ [INFO|2025-03-26 11:30:26] trainer.py:3801 >> Saving model checkpoint to saves/Qwen2.5-Coder-7B/lora/solidity_qwen_model/checkpoint-100
232
+
233
+ [INFO|2025-03-26 11:30:27] configuration_utils.py:679 >> loading configuration file config.json from cache at /home/ubuntu/.cache/huggingface/hub/models--Qwen--Qwen2.5-Coder-7B/snapshots/0396a76181e127dfc13e5c5ec48a8cee09938b02/config.json
234
+
235
+ [INFO|2025-03-26 11:30:27] configuration_utils.py:746 >> Model config Qwen2Config {
236
+ "architectures": [
237
+ "Qwen2ForCausalLM"
238
+ ],
239
+ "attention_dropout": 0.0,
240
+ "bos_token_id": 151643,
241
+ "eos_token_id": 151643,
242
+ "hidden_act": "silu",
243
+ "hidden_size": 3584,
244
+ "initializer_range": 0.02,
245
+ "intermediate_size": 18944,
246
+ "max_position_embeddings": 32768,
247
+ "max_window_layers": 28,
248
+ "model_type": "qwen2",
249
+ "num_attention_heads": 28,
250
+ "num_hidden_layers": 28,
251
+ "num_key_value_heads": 4,
252
+ "rms_norm_eps": 1e-06,
253
+ "rope_scaling": null,
254
+ "rope_theta": 1000000.0,
255
+ "sliding_window": null,
256
+ "tie_word_embeddings": false,
257
+ "torch_dtype": "bfloat16",
258
+ "transformers_version": "4.46.1",
259
+ "use_cache": true,
260
+ "use_sliding_window": false,
261
+ "vocab_size": 152064
262
+ }
263
+
264
+
265
+ [INFO|2025-03-26 11:30:27] tokenization_utils_base.py:2646 >> tokenizer config file saved in saves/Qwen2.5-Coder-7B/lora/solidity_qwen_model/checkpoint-100/tokenizer_config.json
266
+
267
+ [INFO|2025-03-26 11:30:27] tokenization_utils_base.py:2655 >> Special tokens file saved in saves/Qwen2.5-Coder-7B/lora/solidity_qwen_model/checkpoint-100/special_tokens_map.json
268
+
269
+ [INFO|2025-03-26 11:33:17] logging.py:157 >> {'loss': 0.3331, 'learning_rate': 2.3039e-05, 'epoch': 0.52}
270
+
271
+ [INFO|2025-03-26 11:36:05] logging.py:157 >> {'loss': 0.3383, 'learning_rate': 2.1089e-05, 'epoch': 0.55}
272
+
273
+ [INFO|2025-03-26 11:38:54] logging.py:157 >> {'loss': 0.3366, 'learning_rate': 1.9164e-05, 'epoch': 0.57}
274
+
275
+ [INFO|2025-03-26 11:41:43] logging.py:157 >> {'loss': 0.3324, 'learning_rate': 1.7275e-05, 'epoch': 0.60}
276
+
277
+ [INFO|2025-03-26 11:44:31] logging.py:157 >> {'loss': 0.3030, 'learning_rate': 1.5433e-05, 'epoch': 0.62}
278
+
279
+ [INFO|2025-03-26 11:47:20] logging.py:157 >> {'loss': 0.3500, 'learning_rate': 1.3650e-05, 'epoch': 0.65}
280
+
281
+ [INFO|2025-03-26 11:50:08] logging.py:157 >> {'loss': 0.3310, 'learning_rate': 1.1938e-05, 'epoch': 0.67}
282
+
283
+ [INFO|2025-03-26 11:52:57] logging.py:157 >> {'loss': 0.3440, 'learning_rate': 1.0305e-05, 'epoch': 0.70}
284
+
285
+ [INFO|2025-03-26 11:55:45] logging.py:157 >> {'loss': 0.3567, 'learning_rate': 8.7638e-06, 'epoch': 0.72}
286
+
287
+ [INFO|2025-03-26 11:58:34] logging.py:157 >> {'loss': 0.3184, 'learning_rate': 7.3223e-06, 'epoch': 0.75}
288
+
289
+ [INFO|2025-03-26 12:01:21] logging.py:157 >> {'loss': 0.3279, 'learning_rate': 5.9899e-06, 'epoch': 0.77}
290
+
291
+ [INFO|2025-03-26 12:04:10] logging.py:157 >> {'loss': 0.3372, 'learning_rate': 4.7746e-06, 'epoch': 0.80}
292
+
293
+ [INFO|2025-03-26 12:06:58] logging.py:157 >> {'loss': 0.3553, 'learning_rate': 3.6840e-06, 'epoch': 0.82}
294
+
295
+ [INFO|2025-03-26 12:09:47] logging.py:157 >> {'loss': 0.3361, 'learning_rate': 2.7248e-06, 'epoch': 0.85}
296
+
297
+ [INFO|2025-03-26 12:12:36] logging.py:157 >> {'loss': 0.3335, 'learning_rate': 1.9030e-06, 'epoch': 0.87}
298
+
299
+ [INFO|2025-03-26 12:15:25] logging.py:157 >> {'loss': 0.3425, 'learning_rate': 1.2236e-06, 'epoch': 0.90}
300
+
301
+ [INFO|2025-03-26 12:18:12] logging.py:157 >> {'loss': 0.3247, 'learning_rate': 6.9075e-07, 'epoch': 0.92}
302
+
303
+ [INFO|2025-03-26 12:21:01] logging.py:157 >> {'loss': 0.3314, 'learning_rate': 3.0779e-07, 'epoch': 0.95}
304
+
305
+ [INFO|2025-03-26 12:23:49] logging.py:157 >> {'loss': 0.3354, 'learning_rate': 7.7067e-08, 'epoch': 0.97}
306
+
307
+ [INFO|2025-03-26 12:26:38] logging.py:157 >> {'loss': 0.3413, 'learning_rate': 0.0000e+00, 'epoch': 1.00}
308
+
309
+ [INFO|2025-03-26 12:26:38] trainer.py:3801 >> Saving model checkpoint to saves/Qwen2.5-Coder-7B/lora/solidity_qwen_model/checkpoint-200
310
+
311
+ [INFO|2025-03-26 12:26:38] configuration_utils.py:679 >> loading configuration file config.json from cache at /home/ubuntu/.cache/huggingface/hub/models--Qwen--Qwen2.5-Coder-7B/snapshots/0396a76181e127dfc13e5c5ec48a8cee09938b02/config.json
312
+
313
+ [INFO|2025-03-26 12:26:38] configuration_utils.py:746 >> Model config Qwen2Config {
314
+ "architectures": [
315
+ "Qwen2ForCausalLM"
316
+ ],
317
+ "attention_dropout": 0.0,
318
+ "bos_token_id": 151643,
319
+ "eos_token_id": 151643,
320
+ "hidden_act": "silu",
321
+ "hidden_size": 3584,
322
+ "initializer_range": 0.02,
323
+ "intermediate_size": 18944,
324
+ "max_position_embeddings": 32768,
325
+ "max_window_layers": 28,
326
+ "model_type": "qwen2",
327
+ "num_attention_heads": 28,
328
+ "num_hidden_layers": 28,
329
+ "num_key_value_heads": 4,
330
+ "rms_norm_eps": 1e-06,
331
+ "rope_scaling": null,
332
+ "rope_theta": 1000000.0,
333
+ "sliding_window": null,
334
+ "tie_word_embeddings": false,
335
+ "torch_dtype": "bfloat16",
336
+ "transformers_version": "4.46.1",
337
+ "use_cache": true,
338
+ "use_sliding_window": false,
339
+ "vocab_size": 152064
340
+ }
341
+
342
+
343
+ [INFO|2025-03-26 12:26:39] tokenization_utils_base.py:2646 >> tokenizer config file saved in saves/Qwen2.5-Coder-7B/lora/solidity_qwen_model/checkpoint-200/tokenizer_config.json
344
+
345
+ [INFO|2025-03-26 12:26:39] tokenization_utils_base.py:2655 >> Special tokens file saved in saves/Qwen2.5-Coder-7B/lora/solidity_qwen_model/checkpoint-200/special_tokens_map.json
346
+
347
+ [INFO|2025-03-26 12:26:39] trainer.py:2584 >>
348
+
349
+ Training completed. Do not forget to share your model on huggingface.co/models =)
350
+
351
+
352
+
353
+ [INFO|2025-03-26 12:26:39] trainer.py:3801 >> Saving model checkpoint to saves/Qwen2.5-Coder-7B/lora/solidity_qwen_model
354
+
355
+ [INFO|2025-03-26 12:26:40] configuration_utils.py:679 >> loading configuration file config.json from cache at /home/ubuntu/.cache/huggingface/hub/models--Qwen--Qwen2.5-Coder-7B/snapshots/0396a76181e127dfc13e5c5ec48a8cee09938b02/config.json
356
+
357
+ [INFO|2025-03-26 12:26:40] configuration_utils.py:746 >> Model config Qwen2Config {
358
+ "architectures": [
359
+ "Qwen2ForCausalLM"
360
+ ],
361
+ "attention_dropout": 0.0,
362
+ "bos_token_id": 151643,
363
+ "eos_token_id": 151643,
364
+ "hidden_act": "silu",
365
+ "hidden_size": 3584,
366
+ "initializer_range": 0.02,
367
+ "intermediate_size": 18944,
368
+ "max_position_embeddings": 32768,
369
+ "max_window_layers": 28,
370
+ "model_type": "qwen2",
371
+ "num_attention_heads": 28,
372
+ "num_hidden_layers": 28,
373
+ "num_key_value_heads": 4,
374
+ "rms_norm_eps": 1e-06,
375
+ "rope_scaling": null,
376
+ "rope_theta": 1000000.0,
377
+ "sliding_window": null,
378
+ "tie_word_embeddings": false,
379
+ "torch_dtype": "bfloat16",
380
+ "transformers_version": "4.46.1",
381
+ "use_cache": true,
382
+ "use_sliding_window": false,
383
+ "vocab_size": 152064
384
+ }
385
+
386
+
387
+ [INFO|2025-03-26 12:26:40] tokenization_utils_base.py:2646 >> tokenizer config file saved in saves/Qwen2.5-Coder-7B/lora/solidity_qwen_model/tokenizer_config.json
388
+
389
+ [INFO|2025-03-26 12:26:40] tokenization_utils_base.py:2655 >> Special tokens file saved in saves/Qwen2.5-Coder-7B/lora/solidity_qwen_model/special_tokens_map.json
390
+
391
+ [WARNING|2025-03-26 12:26:40] logging.py:162 >> No metric eval_loss to plot.
392
+
393
+ [WARNING|2025-03-26 12:26:40] logging.py:162 >> No metric eval_accuracy to plot.
394
+
395
+ [INFO|2025-03-26 12:26:40] modelcard.py:449 >> Dropping the following result as it does not have all the necessary fields:
396
+ {'task': {'name': 'Causal Language Modeling', 'type': 'text-generation'}}
397
+
special_tokens_map.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<|im_start|>",
4
+ "<|im_end|>",
5
+ "<|object_ref_start|>",
6
+ "<|object_ref_end|>",
7
+ "<|box_start|>",
8
+ "<|box_end|>",
9
+ "<|quad_start|>",
10
+ "<|quad_end|>",
11
+ "<|vision_start|>",
12
+ "<|vision_end|>",
13
+ "<|vision_pad|>",
14
+ "<|image_pad|>",
15
+ "<|video_pad|>"
16
+ ],
17
+ "eos_token": {
18
+ "content": "<|endoftext|>",
19
+ "lstrip": false,
20
+ "normalized": false,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ },
24
+ "pad_token": {
25
+ "content": "<|endoftext|>",
26
+ "lstrip": false,
27
+ "normalized": false,
28
+ "rstrip": false,
29
+ "single_word": false
30
+ }
31
+ }
tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9c5ae00e602b8860cbd784ba82a8aa14e8feecec692e7076590d014d7b7fdafa
3
+ size 11421896
tokenizer_config.json ADDED
@@ -0,0 +1,208 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": false,
3
+ "add_prefix_space": false,
4
+ "added_tokens_decoder": {
5
+ "151643": {
6
+ "content": "<|endoftext|>",
7
+ "lstrip": false,
8
+ "normalized": false,
9
+ "rstrip": false,
10
+ "single_word": false,
11
+ "special": true
12
+ },
13
+ "151644": {
14
+ "content": "<|im_start|>",
15
+ "lstrip": false,
16
+ "normalized": false,
17
+ "rstrip": false,
18
+ "single_word": false,
19
+ "special": true
20
+ },
21
+ "151645": {
22
+ "content": "<|im_end|>",
23
+ "lstrip": false,
24
+ "normalized": false,
25
+ "rstrip": false,
26
+ "single_word": false,
27
+ "special": true
28
+ },
29
+ "151646": {
30
+ "content": "<|object_ref_start|>",
31
+ "lstrip": false,
32
+ "normalized": false,
33
+ "rstrip": false,
34
+ "single_word": false,
35
+ "special": true
36
+ },
37
+ "151647": {
38
+ "content": "<|object_ref_end|>",
39
+ "lstrip": false,
40
+ "normalized": false,
41
+ "rstrip": false,
42
+ "single_word": false,
43
+ "special": true
44
+ },
45
+ "151648": {
46
+ "content": "<|box_start|>",
47
+ "lstrip": false,
48
+ "normalized": false,
49
+ "rstrip": false,
50
+ "single_word": false,
51
+ "special": true
52
+ },
53
+ "151649": {
54
+ "content": "<|box_end|>",
55
+ "lstrip": false,
56
+ "normalized": false,
57
+ "rstrip": false,
58
+ "single_word": false,
59
+ "special": true
60
+ },
61
+ "151650": {
62
+ "content": "<|quad_start|>",
63
+ "lstrip": false,
64
+ "normalized": false,
65
+ "rstrip": false,
66
+ "single_word": false,
67
+ "special": true
68
+ },
69
+ "151651": {
70
+ "content": "<|quad_end|>",
71
+ "lstrip": false,
72
+ "normalized": false,
73
+ "rstrip": false,
74
+ "single_word": false,
75
+ "special": true
76
+ },
77
+ "151652": {
78
+ "content": "<|vision_start|>",
79
+ "lstrip": false,
80
+ "normalized": false,
81
+ "rstrip": false,
82
+ "single_word": false,
83
+ "special": true
84
+ },
85
+ "151653": {
86
+ "content": "<|vision_end|>",
87
+ "lstrip": false,
88
+ "normalized": false,
89
+ "rstrip": false,
90
+ "single_word": false,
91
+ "special": true
92
+ },
93
+ "151654": {
94
+ "content": "<|vision_pad|>",
95
+ "lstrip": false,
96
+ "normalized": false,
97
+ "rstrip": false,
98
+ "single_word": false,
99
+ "special": true
100
+ },
101
+ "151655": {
102
+ "content": "<|image_pad|>",
103
+ "lstrip": false,
104
+ "normalized": false,
105
+ "rstrip": false,
106
+ "single_word": false,
107
+ "special": true
108
+ },
109
+ "151656": {
110
+ "content": "<|video_pad|>",
111
+ "lstrip": false,
112
+ "normalized": false,
113
+ "rstrip": false,
114
+ "single_word": false,
115
+ "special": true
116
+ },
117
+ "151657": {
118
+ "content": "<tool_call>",
119
+ "lstrip": false,
120
+ "normalized": false,
121
+ "rstrip": false,
122
+ "single_word": false,
123
+ "special": false
124
+ },
125
+ "151658": {
126
+ "content": "</tool_call>",
127
+ "lstrip": false,
128
+ "normalized": false,
129
+ "rstrip": false,
130
+ "single_word": false,
131
+ "special": false
132
+ },
133
+ "151659": {
134
+ "content": "<|fim_prefix|>",
135
+ "lstrip": false,
136
+ "normalized": false,
137
+ "rstrip": false,
138
+ "single_word": false,
139
+ "special": false
140
+ },
141
+ "151660": {
142
+ "content": "<|fim_middle|>",
143
+ "lstrip": false,
144
+ "normalized": false,
145
+ "rstrip": false,
146
+ "single_word": false,
147
+ "special": false
148
+ },
149
+ "151661": {
150
+ "content": "<|fim_suffix|>",
151
+ "lstrip": false,
152
+ "normalized": false,
153
+ "rstrip": false,
154
+ "single_word": false,
155
+ "special": false
156
+ },
157
+ "151662": {
158
+ "content": "<|fim_pad|>",
159
+ "lstrip": false,
160
+ "normalized": false,
161
+ "rstrip": false,
162
+ "single_word": false,
163
+ "special": false
164
+ },
165
+ "151663": {
166
+ "content": "<|repo_name|>",
167
+ "lstrip": false,
168
+ "normalized": false,
169
+ "rstrip": false,
170
+ "single_word": false,
171
+ "special": false
172
+ },
173
+ "151664": {
174
+ "content": "<|file_sep|>",
175
+ "lstrip": false,
176
+ "normalized": false,
177
+ "rstrip": false,
178
+ "single_word": false,
179
+ "special": false
180
+ }
181
+ },
182
+ "additional_special_tokens": [
183
+ "<|im_start|>",
184
+ "<|im_end|>",
185
+ "<|object_ref_start|>",
186
+ "<|object_ref_end|>",
187
+ "<|box_start|>",
188
+ "<|box_end|>",
189
+ "<|quad_start|>",
190
+ "<|quad_end|>",
191
+ "<|vision_start|>",
192
+ "<|vision_end|>",
193
+ "<|vision_pad|>",
194
+ "<|image_pad|>",
195
+ "<|video_pad|>"
196
+ ],
197
+ "bos_token": null,
198
+ "chat_template": "{% if messages[0]['role'] == 'system' %}{% set loop_messages = messages[1:] %}{% set system_message = messages[0]['content'] %}{% else %}{% set loop_messages = messages %}{% endif %}{% if system_message is defined %}{{ system_message + '\n' }}{% endif %}{% for message in loop_messages %}{% set content = message['content'] %}{% if message['role'] == 'user' %}{{ 'Human: ' + content + '\nAssistant:' }}{% elif message['role'] == 'assistant' %}{{ content + '<|endoftext|>' + '\n' }}{% endif %}{% endfor %}",
199
+ "clean_up_tokenization_spaces": false,
200
+ "eos_token": "<|endoftext|>",
201
+ "errors": "replace",
202
+ "model_max_length": 32768,
203
+ "pad_token": "<|endoftext|>",
204
+ "padding_side": "right",
205
+ "split_special_tokens": false,
206
+ "tokenizer_class": "Qwen2Tokenizer",
207
+ "unk_token": null
208
+ }
train_results.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 0.9975062344139651,
3
+ "total_flos": 3.3406622246696387e+18,
4
+ "train_loss": 0.3431886351108551,
5
+ "train_runtime": 6744.2555,
6
+ "train_samples_per_second": 5.708,
7
+ "train_steps_per_second": 0.03
8
+ }
trainer_log.jsonl ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {"current_steps": 5, "total_steps": 200, "loss": 0.4044, "lr": 4.99229333433282e-05, "epoch": 0.02493765586034913, "percentage": 2.5, "elapsed_time": "0:02:49", "remaining_time": "1:50:03"}
2
+ {"current_steps": 10, "total_steps": 200, "loss": 0.391, "lr": 4.9692208514878444e-05, "epoch": 0.04987531172069826, "percentage": 5.0, "elapsed_time": "0:05:38", "remaining_time": "1:47:04"}
3
+ {"current_steps": 15, "total_steps": 200, "loss": 0.3583, "lr": 4.9309248009941914e-05, "epoch": 0.07481296758104738, "percentage": 7.5, "elapsed_time": "0:08:26", "remaining_time": "1:44:07"}
4
+ {"current_steps": 20, "total_steps": 200, "loss": 0.3771, "lr": 4.877641290737884e-05, "epoch": 0.09975062344139651, "percentage": 10.0, "elapsed_time": "0:11:15", "remaining_time": "1:41:18"}
5
+ {"current_steps": 25, "total_steps": 200, "loss": 0.3408, "lr": 4.8096988312782174e-05, "epoch": 0.12468827930174564, "percentage": 12.5, "elapsed_time": "0:14:04", "remaining_time": "1:38:30"}
6
+ {"current_steps": 30, "total_steps": 200, "loss": 0.3665, "lr": 4.72751631047092e-05, "epoch": 0.14962593516209477, "percentage": 15.0, "elapsed_time": "0:16:52", "remaining_time": "1:35:40"}
7
+ {"current_steps": 35, "total_steps": 200, "loss": 0.3508, "lr": 4.6316004108852305e-05, "epoch": 0.1745635910224439, "percentage": 17.5, "elapsed_time": "0:19:40", "remaining_time": "1:32:45"}
8
+ {"current_steps": 40, "total_steps": 200, "loss": 0.3558, "lr": 4.522542485937369e-05, "epoch": 0.19950124688279303, "percentage": 20.0, "elapsed_time": "0:22:29", "remaining_time": "1:29:56"}
9
+ {"current_steps": 45, "total_steps": 200, "loss": 0.3579, "lr": 4.401014914000078e-05, "epoch": 0.22443890274314215, "percentage": 22.5, "elapsed_time": "0:25:17", "remaining_time": "1:27:07"}
10
+ {"current_steps": 50, "total_steps": 200, "loss": 0.3333, "lr": 4.267766952966369e-05, "epoch": 0.24937655860349128, "percentage": 25.0, "elapsed_time": "0:28:05", "remaining_time": "1:24:17"}
11
+ {"current_steps": 55, "total_steps": 200, "loss": 0.3263, "lr": 4.123620120825459e-05, "epoch": 0.2743142144638404, "percentage": 27.5, "elapsed_time": "0:30:54", "remaining_time": "1:21:29"}
12
+ {"current_steps": 60, "total_steps": 200, "loss": 0.3476, "lr": 3.969463130731183e-05, "epoch": 0.29925187032418954, "percentage": 30.0, "elapsed_time": "0:33:43", "remaining_time": "1:18:40"}
13
+ {"current_steps": 65, "total_steps": 200, "loss": 0.3294, "lr": 3.8062464117898724e-05, "epoch": 0.32418952618453867, "percentage": 32.5, "elapsed_time": "0:36:31", "remaining_time": "1:15:52"}
14
+ {"current_steps": 70, "total_steps": 200, "loss": 0.356, "lr": 3.634976249348867e-05, "epoch": 0.3491271820448878, "percentage": 35.0, "elapsed_time": "0:39:20", "remaining_time": "1:13:03"}
15
+ {"current_steps": 75, "total_steps": 200, "loss": 0.3304, "lr": 3.456708580912725e-05, "epoch": 0.3740648379052369, "percentage": 37.5, "elapsed_time": "0:42:09", "remaining_time": "1:10:15"}
16
+ {"current_steps": 80, "total_steps": 200, "loss": 0.3436, "lr": 3.272542485937369e-05, "epoch": 0.39900249376558605, "percentage": 40.0, "elapsed_time": "0:44:57", "remaining_time": "1:07:26"}
17
+ {"current_steps": 85, "total_steps": 200, "loss": 0.3388, "lr": 3.083613409639764e-05, "epoch": 0.4239401496259352, "percentage": 42.5, "elapsed_time": "0:47:45", "remaining_time": "1:04:37"}
18
+ {"current_steps": 90, "total_steps": 200, "loss": 0.3367, "lr": 2.8910861626005776e-05, "epoch": 0.4488778054862843, "percentage": 45.0, "elapsed_time": "0:50:34", "remaining_time": "1:01:48"}
19
+ {"current_steps": 95, "total_steps": 200, "loss": 0.3561, "lr": 2.6961477393196126e-05, "epoch": 0.47381546134663344, "percentage": 47.5, "elapsed_time": "0:53:23", "remaining_time": "0:59:00"}
20
+ {"current_steps": 100, "total_steps": 200, "loss": 0.3182, "lr": 2.5e-05, "epoch": 0.49875311720698257, "percentage": 50.0, "elapsed_time": "0:56:11", "remaining_time": "0:56:11"}
21
+ {"current_steps": 105, "total_steps": 200, "loss": 0.3331, "lr": 2.303852260680388e-05, "epoch": 0.5236907730673317, "percentage": 52.5, "elapsed_time": "0:59:01", "remaining_time": "0:53:24"}
22
+ {"current_steps": 110, "total_steps": 200, "loss": 0.3383, "lr": 2.1089138373994223e-05, "epoch": 0.5486284289276808, "percentage": 55.0, "elapsed_time": "1:01:50", "remaining_time": "0:50:35"}
23
+ {"current_steps": 115, "total_steps": 200, "loss": 0.3366, "lr": 1.9163865903602374e-05, "epoch": 0.57356608478803, "percentage": 57.5, "elapsed_time": "1:04:39", "remaining_time": "0:47:47"}
24
+ {"current_steps": 120, "total_steps": 200, "loss": 0.3324, "lr": 1.7274575140626318e-05, "epoch": 0.5985037406483791, "percentage": 60.0, "elapsed_time": "1:07:27", "remaining_time": "0:44:58"}
25
+ {"current_steps": 125, "total_steps": 200, "loss": 0.303, "lr": 1.5432914190872757e-05, "epoch": 0.6234413965087282, "percentage": 62.5, "elapsed_time": "1:10:16", "remaining_time": "0:42:09"}
26
+ {"current_steps": 130, "total_steps": 200, "loss": 0.35, "lr": 1.3650237506511331e-05, "epoch": 0.6483790523690773, "percentage": 65.0, "elapsed_time": "1:13:04", "remaining_time": "0:39:20"}
27
+ {"current_steps": 135, "total_steps": 200, "loss": 0.331, "lr": 1.1937535882101281e-05, "epoch": 0.6733167082294265, "percentage": 67.5, "elapsed_time": "1:15:53", "remaining_time": "0:36:32"}
28
+ {"current_steps": 140, "total_steps": 200, "loss": 0.344, "lr": 1.0305368692688174e-05, "epoch": 0.6982543640897756, "percentage": 70.0, "elapsed_time": "1:18:41", "remaining_time": "0:33:43"}
29
+ {"current_steps": 145, "total_steps": 200, "loss": 0.3567, "lr": 8.763798791745411e-06, "epoch": 0.7231920199501247, "percentage": 72.5, "elapsed_time": "1:21:29", "remaining_time": "0:30:54"}
30
+ {"current_steps": 150, "total_steps": 200, "loss": 0.3184, "lr": 7.3223304703363135e-06, "epoch": 0.7481296758104738, "percentage": 75.0, "elapsed_time": "1:24:18", "remaining_time": "0:28:06"}
31
+ {"current_steps": 155, "total_steps": 200, "loss": 0.3279, "lr": 5.989850859999227e-06, "epoch": 0.773067331670823, "percentage": 77.5, "elapsed_time": "1:27:06", "remaining_time": "0:25:17"}
32
+ {"current_steps": 160, "total_steps": 200, "loss": 0.3372, "lr": 4.7745751406263165e-06, "epoch": 0.7980049875311721, "percentage": 80.0, "elapsed_time": "1:29:54", "remaining_time": "0:22:28"}
33
+ {"current_steps": 165, "total_steps": 200, "loss": 0.3553, "lr": 3.6839958911476957e-06, "epoch": 0.8229426433915212, "percentage": 82.5, "elapsed_time": "1:32:43", "remaining_time": "0:19:40"}
34
+ {"current_steps": 170, "total_steps": 200, "loss": 0.3361, "lr": 2.7248368952908053e-06, "epoch": 0.8478802992518704, "percentage": 85.0, "elapsed_time": "1:35:31", "remaining_time": "0:16:51"}
35
+ {"current_steps": 175, "total_steps": 200, "loss": 0.3335, "lr": 1.9030116872178316e-06, "epoch": 0.8728179551122195, "percentage": 87.5, "elapsed_time": "1:38:20", "remaining_time": "0:14:02"}
36
+ {"current_steps": 180, "total_steps": 200, "loss": 0.3425, "lr": 1.2235870926211619e-06, "epoch": 0.8977556109725686, "percentage": 90.0, "elapsed_time": "1:41:09", "remaining_time": "0:11:14"}
37
+ {"current_steps": 185, "total_steps": 200, "loss": 0.3247, "lr": 6.907519900580861e-07, "epoch": 0.9226932668329177, "percentage": 92.5, "elapsed_time": "1:43:57", "remaining_time": "0:08:25"}
38
+ {"current_steps": 190, "total_steps": 200, "loss": 0.3314, "lr": 3.077914851215585e-07, "epoch": 0.9476309226932669, "percentage": 95.0, "elapsed_time": "1:46:45", "remaining_time": "0:05:37"}
39
+ {"current_steps": 195, "total_steps": 200, "loss": 0.3354, "lr": 7.706665667180091e-08, "epoch": 0.972568578553616, "percentage": 97.5, "elapsed_time": "1:49:33", "remaining_time": "0:02:48"}
40
+ {"current_steps": 200, "total_steps": 200, "loss": 0.3413, "lr": 0.0, "epoch": 0.9975062344139651, "percentage": 100.0, "elapsed_time": "1:52:22", "remaining_time": "0:00:00"}
41
+ {"current_steps": 200, "total_steps": 200, "epoch": 0.9975062344139651, "percentage": 100.0, "elapsed_time": "1:52:24", "remaining_time": "0:00:00"}
trainer_state.json ADDED
@@ -0,0 +1,322 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 0.9975062344139651,
5
+ "eval_steps": 500,
6
+ "global_step": 200,
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.02493765586034913,
13
+ "grad_norm": 0.04108215495944023,
14
+ "learning_rate": 4.99229333433282e-05,
15
+ "loss": 0.4044,
16
+ "step": 5
17
+ },
18
+ {
19
+ "epoch": 0.04987531172069826,
20
+ "grad_norm": 0.025228893384337425,
21
+ "learning_rate": 4.9692208514878444e-05,
22
+ "loss": 0.391,
23
+ "step": 10
24
+ },
25
+ {
26
+ "epoch": 0.07481296758104738,
27
+ "grad_norm": 0.025317281484603882,
28
+ "learning_rate": 4.9309248009941914e-05,
29
+ "loss": 0.3583,
30
+ "step": 15
31
+ },
32
+ {
33
+ "epoch": 0.09975062344139651,
34
+ "grad_norm": 0.023856163024902344,
35
+ "learning_rate": 4.877641290737884e-05,
36
+ "loss": 0.3771,
37
+ "step": 20
38
+ },
39
+ {
40
+ "epoch": 0.12468827930174564,
41
+ "grad_norm": 0.02556118369102478,
42
+ "learning_rate": 4.8096988312782174e-05,
43
+ "loss": 0.3408,
44
+ "step": 25
45
+ },
46
+ {
47
+ "epoch": 0.14962593516209477,
48
+ "grad_norm": 0.026844358071684837,
49
+ "learning_rate": 4.72751631047092e-05,
50
+ "loss": 0.3665,
51
+ "step": 30
52
+ },
53
+ {
54
+ "epoch": 0.1745635910224439,
55
+ "grad_norm": 0.02702774479985237,
56
+ "learning_rate": 4.6316004108852305e-05,
57
+ "loss": 0.3508,
58
+ "step": 35
59
+ },
60
+ {
61
+ "epoch": 0.19950124688279303,
62
+ "grad_norm": 0.02752436138689518,
63
+ "learning_rate": 4.522542485937369e-05,
64
+ "loss": 0.3558,
65
+ "step": 40
66
+ },
67
+ {
68
+ "epoch": 0.22443890274314215,
69
+ "grad_norm": 0.029124287888407707,
70
+ "learning_rate": 4.401014914000078e-05,
71
+ "loss": 0.3579,
72
+ "step": 45
73
+ },
74
+ {
75
+ "epoch": 0.24937655860349128,
76
+ "grad_norm": 0.03660265728831291,
77
+ "learning_rate": 4.267766952966369e-05,
78
+ "loss": 0.3333,
79
+ "step": 50
80
+ },
81
+ {
82
+ "epoch": 0.2743142144638404,
83
+ "grad_norm": 0.027973175048828125,
84
+ "learning_rate": 4.123620120825459e-05,
85
+ "loss": 0.3263,
86
+ "step": 55
87
+ },
88
+ {
89
+ "epoch": 0.29925187032418954,
90
+ "grad_norm": 0.03005453571677208,
91
+ "learning_rate": 3.969463130731183e-05,
92
+ "loss": 0.3476,
93
+ "step": 60
94
+ },
95
+ {
96
+ "epoch": 0.32418952618453867,
97
+ "grad_norm": 0.03571762889623642,
98
+ "learning_rate": 3.8062464117898724e-05,
99
+ "loss": 0.3294,
100
+ "step": 65
101
+ },
102
+ {
103
+ "epoch": 0.3491271820448878,
104
+ "grad_norm": 0.03382609412074089,
105
+ "learning_rate": 3.634976249348867e-05,
106
+ "loss": 0.356,
107
+ "step": 70
108
+ },
109
+ {
110
+ "epoch": 0.3740648379052369,
111
+ "grad_norm": 0.03247227147221565,
112
+ "learning_rate": 3.456708580912725e-05,
113
+ "loss": 0.3304,
114
+ "step": 75
115
+ },
116
+ {
117
+ "epoch": 0.39900249376558605,
118
+ "grad_norm": 0.03641534969210625,
119
+ "learning_rate": 3.272542485937369e-05,
120
+ "loss": 0.3436,
121
+ "step": 80
122
+ },
123
+ {
124
+ "epoch": 0.4239401496259352,
125
+ "grad_norm": 0.03509656339883804,
126
+ "learning_rate": 3.083613409639764e-05,
127
+ "loss": 0.3388,
128
+ "step": 85
129
+ },
130
+ {
131
+ "epoch": 0.4488778054862843,
132
+ "grad_norm": 0.03508240357041359,
133
+ "learning_rate": 2.8910861626005776e-05,
134
+ "loss": 0.3367,
135
+ "step": 90
136
+ },
137
+ {
138
+ "epoch": 0.47381546134663344,
139
+ "grad_norm": 0.04164772108197212,
140
+ "learning_rate": 2.6961477393196126e-05,
141
+ "loss": 0.3561,
142
+ "step": 95
143
+ },
144
+ {
145
+ "epoch": 0.49875311720698257,
146
+ "grad_norm": 0.03994197025895119,
147
+ "learning_rate": 2.5e-05,
148
+ "loss": 0.3182,
149
+ "step": 100
150
+ },
151
+ {
152
+ "epoch": 0.5236907730673317,
153
+ "grad_norm": 0.038153909146785736,
154
+ "learning_rate": 2.303852260680388e-05,
155
+ "loss": 0.3331,
156
+ "step": 105
157
+ },
158
+ {
159
+ "epoch": 0.5486284289276808,
160
+ "grad_norm": 0.03781621903181076,
161
+ "learning_rate": 2.1089138373994223e-05,
162
+ "loss": 0.3383,
163
+ "step": 110
164
+ },
165
+ {
166
+ "epoch": 0.57356608478803,
167
+ "grad_norm": 0.04167185723781586,
168
+ "learning_rate": 1.9163865903602374e-05,
169
+ "loss": 0.3366,
170
+ "step": 115
171
+ },
172
+ {
173
+ "epoch": 0.5985037406483791,
174
+ "grad_norm": 0.042504750192165375,
175
+ "learning_rate": 1.7274575140626318e-05,
176
+ "loss": 0.3324,
177
+ "step": 120
178
+ },
179
+ {
180
+ "epoch": 0.6234413965087282,
181
+ "grad_norm": 0.043039821088314056,
182
+ "learning_rate": 1.5432914190872757e-05,
183
+ "loss": 0.303,
184
+ "step": 125
185
+ },
186
+ {
187
+ "epoch": 0.6483790523690773,
188
+ "grad_norm": 0.04201623052358627,
189
+ "learning_rate": 1.3650237506511331e-05,
190
+ "loss": 0.35,
191
+ "step": 130
192
+ },
193
+ {
194
+ "epoch": 0.6733167082294265,
195
+ "grad_norm": 0.04364593327045441,
196
+ "learning_rate": 1.1937535882101281e-05,
197
+ "loss": 0.331,
198
+ "step": 135
199
+ },
200
+ {
201
+ "epoch": 0.6982543640897756,
202
+ "grad_norm": 0.04168755188584328,
203
+ "learning_rate": 1.0305368692688174e-05,
204
+ "loss": 0.344,
205
+ "step": 140
206
+ },
207
+ {
208
+ "epoch": 0.7231920199501247,
209
+ "grad_norm": 0.04454099014401436,
210
+ "learning_rate": 8.763798791745411e-06,
211
+ "loss": 0.3567,
212
+ "step": 145
213
+ },
214
+ {
215
+ "epoch": 0.7481296758104738,
216
+ "grad_norm": 0.07072897255420685,
217
+ "learning_rate": 7.3223304703363135e-06,
218
+ "loss": 0.3184,
219
+ "step": 150
220
+ },
221
+ {
222
+ "epoch": 0.773067331670823,
223
+ "grad_norm": 0.04532039538025856,
224
+ "learning_rate": 5.989850859999227e-06,
225
+ "loss": 0.3279,
226
+ "step": 155
227
+ },
228
+ {
229
+ "epoch": 0.7980049875311721,
230
+ "grad_norm": 0.04330899938941002,
231
+ "learning_rate": 4.7745751406263165e-06,
232
+ "loss": 0.3372,
233
+ "step": 160
234
+ },
235
+ {
236
+ "epoch": 0.8229426433915212,
237
+ "grad_norm": 0.04454395920038223,
238
+ "learning_rate": 3.6839958911476957e-06,
239
+ "loss": 0.3553,
240
+ "step": 165
241
+ },
242
+ {
243
+ "epoch": 0.8478802992518704,
244
+ "grad_norm": 0.05742543563246727,
245
+ "learning_rate": 2.7248368952908053e-06,
246
+ "loss": 0.3361,
247
+ "step": 170
248
+ },
249
+ {
250
+ "epoch": 0.8728179551122195,
251
+ "grad_norm": 0.04155350476503372,
252
+ "learning_rate": 1.9030116872178316e-06,
253
+ "loss": 0.3335,
254
+ "step": 175
255
+ },
256
+ {
257
+ "epoch": 0.8977556109725686,
258
+ "grad_norm": 0.04169079288840294,
259
+ "learning_rate": 1.2235870926211619e-06,
260
+ "loss": 0.3425,
261
+ "step": 180
262
+ },
263
+ {
264
+ "epoch": 0.9226932668329177,
265
+ "grad_norm": 0.04245175048708916,
266
+ "learning_rate": 6.907519900580861e-07,
267
+ "loss": 0.3247,
268
+ "step": 185
269
+ },
270
+ {
271
+ "epoch": 0.9476309226932669,
272
+ "grad_norm": 0.03987717628479004,
273
+ "learning_rate": 3.077914851215585e-07,
274
+ "loss": 0.3314,
275
+ "step": 190
276
+ },
277
+ {
278
+ "epoch": 0.972568578553616,
279
+ "grad_norm": 0.11724965274333954,
280
+ "learning_rate": 7.706665667180091e-08,
281
+ "loss": 0.3354,
282
+ "step": 195
283
+ },
284
+ {
285
+ "epoch": 0.9975062344139651,
286
+ "grad_norm": 0.04020114243030548,
287
+ "learning_rate": 0.0,
288
+ "loss": 0.3413,
289
+ "step": 200
290
+ },
291
+ {
292
+ "epoch": 0.9975062344139651,
293
+ "step": 200,
294
+ "total_flos": 3.3406622246696387e+18,
295
+ "train_loss": 0.3431886351108551,
296
+ "train_runtime": 6744.2555,
297
+ "train_samples_per_second": 5.708,
298
+ "train_steps_per_second": 0.03
299
+ }
300
+ ],
301
+ "logging_steps": 5,
302
+ "max_steps": 200,
303
+ "num_input_tokens_seen": 0,
304
+ "num_train_epochs": 1,
305
+ "save_steps": 100,
306
+ "stateful_callbacks": {
307
+ "TrainerControl": {
308
+ "args": {
309
+ "should_epoch_stop": false,
310
+ "should_evaluate": false,
311
+ "should_log": false,
312
+ "should_save": true,
313
+ "should_training_stop": true
314
+ },
315
+ "attributes": {}
316
+ }
317
+ },
318
+ "total_flos": 3.3406622246696387e+18,
319
+ "train_batch_size": 8,
320
+ "trial_name": null,
321
+ "trial_params": null
322
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f85ee3253ce2430836b5bfdd00d31d93672e95e995579ef99ce619afab5ba0a5
3
+ size 5432
training_args.yaml ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ bf16: true
2
+ cutoff_len: 2048
3
+ dataset: solidity_contract
4
+ dataset_dir: data
5
+ ddp_timeout: 180000000
6
+ do_train: true
7
+ finetuning_type: lora
8
+ flash_attn: auto
9
+ gradient_accumulation_steps: 12
10
+ learning_rate: 5.0e-05
11
+ logging_steps: 5
12
+ lora_alpha: 32
13
+ lora_dropout: 0.1
14
+ lora_rank: 16
15
+ lora_target: all
16
+ lr_scheduler_type: cosine
17
+ max_grad_norm: 1.0
18
+ max_samples: 100000
19
+ model_name_or_path: Qwen/Qwen2.5-Coder-7B
20
+ num_train_epochs: 1.0
21
+ optim: adamw_torch
22
+ output_dir: saves/Qwen2.5-Coder-7B/lora/solidity_qwen_model
23
+ packing: false
24
+ per_device_train_batch_size: 8
25
+ plot_loss: true
26
+ preprocessing_num_workers: 16
27
+ report_to: none
28
+ save_steps: 100
29
+ stage: sft
30
+ template: default
31
+ warmup_steps: 0
training_loss.png ADDED
vocab.json ADDED
The diff for this file is too large to render. See raw diff