Upload DeepCoder14B_DSPy LoRA adapter checkpoint
Browse files- .gitattributes +1 -0
- README.md +202 -0
- adapter_config.json +42 -0
- adapter_model.safetensors +3 -0
- chat_template.jinja +1 -0
- optimizer.pt +3 -0
- rng_state.pth +3 -0
- scheduler.pt +3 -0
- special_tokens_map.json +23 -0
- tokenizer.json +3 -0
- tokenizer_config.json +194 -0
- trainer_state.json +243 -0
- training_args.bin +3 -0
.gitattributes
CHANGED
@@ -33,3 +33,4 @@ 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 |
+
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
@@ -0,0 +1,202 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: agentica-org/DeepCoder-14B-Preview
|
3 |
+
library_name: peft
|
4 |
+
---
|
5 |
+
|
6 |
+
# Model Card for Model ID
|
7 |
+
|
8 |
+
<!-- Provide a quick summary of what the model is/does. -->
|
9 |
+
|
10 |
+
|
11 |
+
|
12 |
+
## Model Details
|
13 |
+
|
14 |
+
### Model Description
|
15 |
+
|
16 |
+
<!-- Provide a longer summary of what this model is. -->
|
17 |
+
|
18 |
+
|
19 |
+
|
20 |
+
- **Developed by:** [More Information Needed]
|
21 |
+
- **Funded by [optional]:** [More Information Needed]
|
22 |
+
- **Shared by [optional]:** [More Information Needed]
|
23 |
+
- **Model type:** [More Information Needed]
|
24 |
+
- **Language(s) (NLP):** [More Information Needed]
|
25 |
+
- **License:** [More Information Needed]
|
26 |
+
- **Finetuned from model [optional]:** [More Information Needed]
|
27 |
+
|
28 |
+
### Model Sources [optional]
|
29 |
+
|
30 |
+
<!-- Provide the basic links for the model. -->
|
31 |
+
|
32 |
+
- **Repository:** [More Information Needed]
|
33 |
+
- **Paper [optional]:** [More Information Needed]
|
34 |
+
- **Demo [optional]:** [More Information Needed]
|
35 |
+
|
36 |
+
## Uses
|
37 |
+
|
38 |
+
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
39 |
+
|
40 |
+
### Direct Use
|
41 |
+
|
42 |
+
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
|
43 |
+
|
44 |
+
[More Information Needed]
|
45 |
+
|
46 |
+
### Downstream Use [optional]
|
47 |
+
|
48 |
+
<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
|
49 |
+
|
50 |
+
[More Information Needed]
|
51 |
+
|
52 |
+
### Out-of-Scope Use
|
53 |
+
|
54 |
+
<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
|
55 |
+
|
56 |
+
[More Information Needed]
|
57 |
+
|
58 |
+
## Bias, Risks, and Limitations
|
59 |
+
|
60 |
+
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
|
61 |
+
|
62 |
+
[More Information Needed]
|
63 |
+
|
64 |
+
### Recommendations
|
65 |
+
|
66 |
+
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
|
67 |
+
|
68 |
+
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
|
69 |
+
|
70 |
+
## How to Get Started with the Model
|
71 |
+
|
72 |
+
Use the code below to get started with the model.
|
73 |
+
|
74 |
+
[More Information Needed]
|
75 |
+
|
76 |
+
## Training Details
|
77 |
+
|
78 |
+
### Training Data
|
79 |
+
|
80 |
+
<!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
|
81 |
+
|
82 |
+
[More Information Needed]
|
83 |
+
|
84 |
+
### Training Procedure
|
85 |
+
|
86 |
+
<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
|
87 |
+
|
88 |
+
#### Preprocessing [optional]
|
89 |
+
|
90 |
+
[More Information Needed]
|
91 |
+
|
92 |
+
|
93 |
+
#### Training Hyperparameters
|
94 |
+
|
95 |
+
- **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
|
96 |
+
|
97 |
+
#### Speeds, Sizes, Times [optional]
|
98 |
+
|
99 |
+
<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
|
100 |
+
|
101 |
+
[More Information Needed]
|
102 |
+
|
103 |
+
## Evaluation
|
104 |
+
|
105 |
+
<!-- This section describes the evaluation protocols and provides the results. -->
|
106 |
+
|
107 |
+
### Testing Data, Factors & Metrics
|
108 |
+
|
109 |
+
#### Testing Data
|
110 |
+
|
111 |
+
<!-- This should link to a Dataset Card if possible. -->
|
112 |
+
|
113 |
+
[More Information Needed]
|
114 |
+
|
115 |
+
#### Factors
|
116 |
+
|
117 |
+
<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
|
118 |
+
|
119 |
+
[More Information Needed]
|
120 |
+
|
121 |
+
#### Metrics
|
122 |
+
|
123 |
+
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
|
124 |
+
|
125 |
+
[More Information Needed]
|
126 |
+
|
127 |
+
### Results
|
128 |
+
|
129 |
+
[More Information Needed]
|
130 |
+
|
131 |
+
#### Summary
|
132 |
+
|
133 |
+
|
134 |
+
|
135 |
+
## Model Examination [optional]
|
136 |
+
|
137 |
+
<!-- Relevant interpretability work for the model goes here -->
|
138 |
+
|
139 |
+
[More Information Needed]
|
140 |
+
|
141 |
+
## Environmental Impact
|
142 |
+
|
143 |
+
<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
|
144 |
+
|
145 |
+
Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
|
146 |
+
|
147 |
+
- **Hardware Type:** [More Information Needed]
|
148 |
+
- **Hours used:** [More Information Needed]
|
149 |
+
- **Cloud Provider:** [More Information Needed]
|
150 |
+
- **Compute Region:** [More Information Needed]
|
151 |
+
- **Carbon Emitted:** [More Information Needed]
|
152 |
+
|
153 |
+
## Technical Specifications [optional]
|
154 |
+
|
155 |
+
### Model Architecture and Objective
|
156 |
+
|
157 |
+
[More Information Needed]
|
158 |
+
|
159 |
+
### Compute Infrastructure
|
160 |
+
|
161 |
+
[More Information Needed]
|
162 |
+
|
163 |
+
#### Hardware
|
164 |
+
|
165 |
+
[More Information Needed]
|
166 |
+
|
167 |
+
#### Software
|
168 |
+
|
169 |
+
[More Information Needed]
|
170 |
+
|
171 |
+
## Citation [optional]
|
172 |
+
|
173 |
+
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
|
174 |
+
|
175 |
+
**BibTeX:**
|
176 |
+
|
177 |
+
[More Information Needed]
|
178 |
+
|
179 |
+
**APA:**
|
180 |
+
|
181 |
+
[More Information Needed]
|
182 |
+
|
183 |
+
## Glossary [optional]
|
184 |
+
|
185 |
+
<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
|
186 |
+
|
187 |
+
[More Information Needed]
|
188 |
+
|
189 |
+
## More Information [optional]
|
190 |
+
|
191 |
+
[More Information Needed]
|
192 |
+
|
193 |
+
## Model Card Authors [optional]
|
194 |
+
|
195 |
+
[More Information Needed]
|
196 |
+
|
197 |
+
## Model Card Contact
|
198 |
+
|
199 |
+
[More Information Needed]
|
200 |
+
### Framework versions
|
201 |
+
|
202 |
+
- PEFT 0.15.2
|
adapter_config.json
ADDED
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"alpha_pattern": {},
|
3 |
+
"auto_mapping": null,
|
4 |
+
"base_model_name_or_path": "agentica-org/DeepCoder-14B-Preview",
|
5 |
+
"bias": "none",
|
6 |
+
"corda_config": null,
|
7 |
+
"eva_config": null,
|
8 |
+
"exclude_modules": null,
|
9 |
+
"fan_in_fan_out": false,
|
10 |
+
"inference_mode": true,
|
11 |
+
"init_lora_weights": true,
|
12 |
+
"layer_replication": null,
|
13 |
+
"layers_pattern": null,
|
14 |
+
"layers_to_transform": null,
|
15 |
+
"loftq_config": {},
|
16 |
+
"lora_alpha": 64,
|
17 |
+
"lora_bias": false,
|
18 |
+
"lora_dropout": 0.1,
|
19 |
+
"megatron_config": null,
|
20 |
+
"megatron_core": "megatron.core",
|
21 |
+
"modules_to_save": [
|
22 |
+
"embed_tokens"
|
23 |
+
],
|
24 |
+
"peft_type": "LORA",
|
25 |
+
"r": 32,
|
26 |
+
"rank_pattern": {},
|
27 |
+
"revision": null,
|
28 |
+
"target_modules": [
|
29 |
+
"o_proj",
|
30 |
+
"lm_head",
|
31 |
+
"v_proj",
|
32 |
+
"k_proj",
|
33 |
+
"q_proj",
|
34 |
+
"up_proj",
|
35 |
+
"down_proj",
|
36 |
+
"gate_proj"
|
37 |
+
],
|
38 |
+
"task_type": "CAUSAL_LM",
|
39 |
+
"trainable_token_indices": null,
|
40 |
+
"use_dora": false,
|
41 |
+
"use_rslora": false
|
42 |
+
}
|
adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:229486ce1d4253a54d0cd47c5005c0eacd850b87a95cd3216a73e019d10945c6
|
3 |
+
size 6799256256
|
chat_template.jinja
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{% if not add_generation_prompt is defined %}{% set add_generation_prompt = false %}{% endif %}{% set ns = namespace(is_first=false, is_tool=false, is_output_first=true, system_prompt='') %}{%- for message in messages %}{%- if message['role'] == 'system' %}{% set ns.system_prompt = message['content'] %}{%- endif %}{%- endfor %}{{bos_token}}{{ns.system_prompt}}{%- for message in messages %}{%- if message['role'] == 'user' %}{%- set ns.is_tool = false -%}{{'<|User|>' + message['content']}}{%- endif %}{%- if message['role'] == 'assistant' and message['content'] is none %}{%- set ns.is_tool = false -%}{%- for tool in message['tool_calls']%}{%- if not ns.is_first %}{{'<|Assistant|><|tool▁calls▁begin|><|tool▁call▁begin|>' + tool['type'] + '<|tool▁sep|>' + tool['function']['name'] + '\n' + '```json' + '\n' + tool['function']['arguments'] + '\n' + '```' + '<|tool▁call▁end|>'}}{%- set ns.is_first = true -%}{%- else %}{{'\n' + '<|tool▁call▁begin|>' + tool['type'] + '<|tool▁sep|>' + tool['function']['name'] + '\n' + '```json' + '\n' + tool['function']['arguments'] + '\n' + '```' + '<|tool▁call▁end|>'}}{{'<|tool▁calls▁end|><|end▁of▁sentence|>'}}{%- endif %}{%- endfor %}{%- endif %}{%- if message['role'] == 'assistant' and message['content'] is not none %}{%- if ns.is_tool %}{{'<|tool▁outputs▁end|>' + message['content'] + '<|end▁of▁sentence|>'}}{%- set ns.is_tool = false -%}{%- else %}{% set content = message['content'] %}{% if '</think>' in content %}{% set content = content.split('</think>')[-1] %}{% endif %}{{'<|Assistant|>' + content + '<|end▁of▁sentence|>'}}{%- endif %}{%- endif %}{%- if message['role'] == 'tool' %}{%- set ns.is_tool = true -%}{%- if ns.is_output_first %}{{'<|tool▁outputs▁begin|><|tool▁output▁begin|>' + message['content'] + '<|tool▁output▁end|>'}}{%- set ns.is_output_first = false %}{%- else %}{{'\n<|tool▁output▁begin|>' + message['content'] + '<|tool▁output▁end|>'}}{%- endif %}{%- endif %}{%- endfor -%}{% if ns.is_tool %}{{'<|tool▁outputs▁end|>'}}{% endif %}{% if add_generation_prompt and not ns.is_tool %}{{'<|Assistant|><think>\n'}}{% endif %}
|
optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5062a362186c064ec8701c9f44214104908f82eb3da4e29d6a4dcd1e277acdcb
|
3 |
+
size 6519149878
|
rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7642d4d8677c028eb706576fdd39c921ffb1007ec52044603d519b96b28ba821
|
3 |
+
size 14244
|
scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:49f276f737c8546acf52b47aa0a82341e11a9aa193441ce56e73d93c1135b634
|
3 |
+
size 1064
|
special_tokens_map.json
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": {
|
3 |
+
"content": "<|begin▁of▁sentence|>",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": false,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"eos_token": {
|
10 |
+
"content": "<|end▁of▁sentence|>",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": false,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"pad_token": {
|
17 |
+
"content": "<|end▁of▁sentence|>",
|
18 |
+
"lstrip": false,
|
19 |
+
"normalized": false,
|
20 |
+
"rstrip": false,
|
21 |
+
"single_word": false
|
22 |
+
}
|
23 |
+
}
|
tokenizer.json
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e20ddafc659ba90242154b55275402edeca0715e5dbb30f56815a4ce081f4893
|
3 |
+
size 11422778
|
tokenizer_config.json
ADDED
@@ -0,0 +1,194 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_bos_token": true,
|
3 |
+
"add_eos_token": false,
|
4 |
+
"add_prefix_space": null,
|
5 |
+
"added_tokens_decoder": {
|
6 |
+
"151643": {
|
7 |
+
"content": "<|end▁of▁sentence|>",
|
8 |
+
"lstrip": false,
|
9 |
+
"normalized": false,
|
10 |
+
"rstrip": false,
|
11 |
+
"single_word": false,
|
12 |
+
"special": true
|
13 |
+
},
|
14 |
+
"151644": {
|
15 |
+
"content": "<|User|>",
|
16 |
+
"lstrip": false,
|
17 |
+
"normalized": false,
|
18 |
+
"rstrip": false,
|
19 |
+
"single_word": false,
|
20 |
+
"special": false
|
21 |
+
},
|
22 |
+
"151645": {
|
23 |
+
"content": "<|Assistant|>",
|
24 |
+
"lstrip": false,
|
25 |
+
"normalized": false,
|
26 |
+
"rstrip": false,
|
27 |
+
"single_word": false,
|
28 |
+
"special": false
|
29 |
+
},
|
30 |
+
"151646": {
|
31 |
+
"content": "<|begin▁of▁sentence|>",
|
32 |
+
"lstrip": false,
|
33 |
+
"normalized": false,
|
34 |
+
"rstrip": false,
|
35 |
+
"single_word": false,
|
36 |
+
"special": true
|
37 |
+
},
|
38 |
+
"151647": {
|
39 |
+
"content": "<|EOT|>",
|
40 |
+
"lstrip": false,
|
41 |
+
"normalized": false,
|
42 |
+
"rstrip": false,
|
43 |
+
"single_word": false,
|
44 |
+
"special": false
|
45 |
+
},
|
46 |
+
"151648": {
|
47 |
+
"content": "<think>",
|
48 |
+
"lstrip": false,
|
49 |
+
"normalized": false,
|
50 |
+
"rstrip": false,
|
51 |
+
"single_word": false,
|
52 |
+
"special": false
|
53 |
+
},
|
54 |
+
"151649": {
|
55 |
+
"content": "</think>",
|
56 |
+
"lstrip": false,
|
57 |
+
"normalized": false,
|
58 |
+
"rstrip": false,
|
59 |
+
"single_word": false,
|
60 |
+
"special": false
|
61 |
+
},
|
62 |
+
"151650": {
|
63 |
+
"content": "<|quad_start|>",
|
64 |
+
"lstrip": false,
|
65 |
+
"normalized": false,
|
66 |
+
"rstrip": false,
|
67 |
+
"single_word": false,
|
68 |
+
"special": true
|
69 |
+
},
|
70 |
+
"151651": {
|
71 |
+
"content": "<|quad_end|>",
|
72 |
+
"lstrip": false,
|
73 |
+
"normalized": false,
|
74 |
+
"rstrip": false,
|
75 |
+
"single_word": false,
|
76 |
+
"special": true
|
77 |
+
},
|
78 |
+
"151652": {
|
79 |
+
"content": "<|vision_start|>",
|
80 |
+
"lstrip": false,
|
81 |
+
"normalized": false,
|
82 |
+
"rstrip": false,
|
83 |
+
"single_word": false,
|
84 |
+
"special": true
|
85 |
+
},
|
86 |
+
"151653": {
|
87 |
+
"content": "<|vision_end|>",
|
88 |
+
"lstrip": false,
|
89 |
+
"normalized": false,
|
90 |
+
"rstrip": false,
|
91 |
+
"single_word": false,
|
92 |
+
"special": true
|
93 |
+
},
|
94 |
+
"151654": {
|
95 |
+
"content": "<|vision_pad|>",
|
96 |
+
"lstrip": false,
|
97 |
+
"normalized": false,
|
98 |
+
"rstrip": false,
|
99 |
+
"single_word": false,
|
100 |
+
"special": true
|
101 |
+
},
|
102 |
+
"151655": {
|
103 |
+
"content": "<|image_pad|>",
|
104 |
+
"lstrip": false,
|
105 |
+
"normalized": false,
|
106 |
+
"rstrip": false,
|
107 |
+
"single_word": false,
|
108 |
+
"special": true
|
109 |
+
},
|
110 |
+
"151656": {
|
111 |
+
"content": "<|video_pad|>",
|
112 |
+
"lstrip": false,
|
113 |
+
"normalized": false,
|
114 |
+
"rstrip": false,
|
115 |
+
"single_word": false,
|
116 |
+
"special": true
|
117 |
+
},
|
118 |
+
"151657": {
|
119 |
+
"content": "<tool_call>",
|
120 |
+
"lstrip": false,
|
121 |
+
"normalized": false,
|
122 |
+
"rstrip": false,
|
123 |
+
"single_word": false,
|
124 |
+
"special": false
|
125 |
+
},
|
126 |
+
"151658": {
|
127 |
+
"content": "</tool_call>",
|
128 |
+
"lstrip": false,
|
129 |
+
"normalized": false,
|
130 |
+
"rstrip": false,
|
131 |
+
"single_word": false,
|
132 |
+
"special": false
|
133 |
+
},
|
134 |
+
"151659": {
|
135 |
+
"content": "<|fim_prefix|>",
|
136 |
+
"lstrip": false,
|
137 |
+
"normalized": false,
|
138 |
+
"rstrip": false,
|
139 |
+
"single_word": false,
|
140 |
+
"special": false
|
141 |
+
},
|
142 |
+
"151660": {
|
143 |
+
"content": "<|fim_middle|>",
|
144 |
+
"lstrip": false,
|
145 |
+
"normalized": false,
|
146 |
+
"rstrip": false,
|
147 |
+
"single_word": false,
|
148 |
+
"special": false
|
149 |
+
},
|
150 |
+
"151661": {
|
151 |
+
"content": "<|fim_suffix|>",
|
152 |
+
"lstrip": false,
|
153 |
+
"normalized": false,
|
154 |
+
"rstrip": false,
|
155 |
+
"single_word": false,
|
156 |
+
"special": false
|
157 |
+
},
|
158 |
+
"151662": {
|
159 |
+
"content": "<|fim_pad|>",
|
160 |
+
"lstrip": false,
|
161 |
+
"normalized": false,
|
162 |
+
"rstrip": false,
|
163 |
+
"single_word": false,
|
164 |
+
"special": false
|
165 |
+
},
|
166 |
+
"151663": {
|
167 |
+
"content": "<|repo_name|>",
|
168 |
+
"lstrip": false,
|
169 |
+
"normalized": false,
|
170 |
+
"rstrip": false,
|
171 |
+
"single_word": false,
|
172 |
+
"special": false
|
173 |
+
},
|
174 |
+
"151664": {
|
175 |
+
"content": "<|file_sep|>",
|
176 |
+
"lstrip": false,
|
177 |
+
"normalized": false,
|
178 |
+
"rstrip": false,
|
179 |
+
"single_word": false,
|
180 |
+
"special": false
|
181 |
+
}
|
182 |
+
},
|
183 |
+
"bos_token": "<|begin▁of▁sentence|>",
|
184 |
+
"clean_up_tokenization_spaces": false,
|
185 |
+
"eos_token": "<|end▁of▁sentence|>",
|
186 |
+
"extra_special_tokens": {},
|
187 |
+
"legacy": true,
|
188 |
+
"model_max_length": 16384,
|
189 |
+
"pad_token": "<|end▁of▁sentence|>",
|
190 |
+
"sp_model_kwargs": {},
|
191 |
+
"tokenizer_class": "LlamaTokenizerFast",
|
192 |
+
"unk_token": null,
|
193 |
+
"use_default_system_prompt": false
|
194 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,243 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_global_step": 275,
|
3 |
+
"best_metric": 0.9421520233154297,
|
4 |
+
"best_model_checkpoint": "./dspy-8bit-lora-deepcoder-safe/checkpoint-275",
|
5 |
+
"epoch": 1.9415929203539823,
|
6 |
+
"eval_steps": 25,
|
7 |
+
"global_step": 275,
|
8 |
+
"is_hyper_param_search": false,
|
9 |
+
"is_local_process_zero": true,
|
10 |
+
"is_world_process_zero": true,
|
11 |
+
"log_history": [
|
12 |
+
{
|
13 |
+
"epoch": 0.17699115044247787,
|
14 |
+
"grad_norm": 0.6848811507225037,
|
15 |
+
"learning_rate": 4.8e-05,
|
16 |
+
"loss": 1.9452,
|
17 |
+
"mean_token_accuracy": 0.5935992772877217,
|
18 |
+
"num_tokens": 53941.0,
|
19 |
+
"step": 25
|
20 |
+
},
|
21 |
+
{
|
22 |
+
"epoch": 0.17699115044247787,
|
23 |
+
"eval_loss": 1.9623712301254272,
|
24 |
+
"eval_mean_token_accuracy": 0.6255391545593738,
|
25 |
+
"eval_num_tokens": 53941.0,
|
26 |
+
"eval_runtime": 96.8734,
|
27 |
+
"eval_samples_per_second": 2.065,
|
28 |
+
"eval_steps_per_second": 2.065,
|
29 |
+
"step": 25
|
30 |
+
},
|
31 |
+
{
|
32 |
+
"epoch": 0.35398230088495575,
|
33 |
+
"grad_norm": 5.549977779388428,
|
34 |
+
"learning_rate": 9.8e-05,
|
35 |
+
"loss": 1.4238,
|
36 |
+
"mean_token_accuracy": 0.6662441535294056,
|
37 |
+
"num_tokens": 110474.0,
|
38 |
+
"step": 50
|
39 |
+
},
|
40 |
+
{
|
41 |
+
"epoch": 0.35398230088495575,
|
42 |
+
"eval_loss": 1.394215703010559,
|
43 |
+
"eval_mean_token_accuracy": 0.6895178978145122,
|
44 |
+
"eval_num_tokens": 110474.0,
|
45 |
+
"eval_runtime": 96.6623,
|
46 |
+
"eval_samples_per_second": 2.069,
|
47 |
+
"eval_steps_per_second": 2.069,
|
48 |
+
"step": 50
|
49 |
+
},
|
50 |
+
{
|
51 |
+
"epoch": 0.5309734513274337,
|
52 |
+
"grad_norm": 0.6720989942550659,
|
53 |
+
"learning_rate": 0.000148,
|
54 |
+
"loss": 1.198,
|
55 |
+
"mean_token_accuracy": 0.7074533948302268,
|
56 |
+
"num_tokens": 162407.0,
|
57 |
+
"step": 75
|
58 |
+
},
|
59 |
+
{
|
60 |
+
"epoch": 0.5309734513274337,
|
61 |
+
"eval_loss": 1.203566074371338,
|
62 |
+
"eval_mean_token_accuracy": 0.7197688557207584,
|
63 |
+
"eval_num_tokens": 162407.0,
|
64 |
+
"eval_runtime": 97.3608,
|
65 |
+
"eval_samples_per_second": 2.054,
|
66 |
+
"eval_steps_per_second": 2.054,
|
67 |
+
"step": 75
|
68 |
+
},
|
69 |
+
{
|
70 |
+
"epoch": 0.7079646017699115,
|
71 |
+
"grad_norm": 0.5576093792915344,
|
72 |
+
"learning_rate": 0.00019800000000000002,
|
73 |
+
"loss": 1.0969,
|
74 |
+
"mean_token_accuracy": 0.7274327605962754,
|
75 |
+
"num_tokens": 225140.0,
|
76 |
+
"step": 100
|
77 |
+
},
|
78 |
+
{
|
79 |
+
"epoch": 0.7079646017699115,
|
80 |
+
"eval_loss": 1.1339093446731567,
|
81 |
+
"eval_mean_token_accuracy": 0.7314411370456219,
|
82 |
+
"eval_num_tokens": 225140.0,
|
83 |
+
"eval_runtime": 98.1154,
|
84 |
+
"eval_samples_per_second": 2.038,
|
85 |
+
"eval_steps_per_second": 2.038,
|
86 |
+
"step": 100
|
87 |
+
},
|
88 |
+
{
|
89 |
+
"epoch": 0.8849557522123894,
|
90 |
+
"grad_norm": 0.5583345293998718,
|
91 |
+
"learning_rate": 0.0001852760736196319,
|
92 |
+
"loss": 1.0369,
|
93 |
+
"mean_token_accuracy": 0.7487157288193703,
|
94 |
+
"num_tokens": 285818.0,
|
95 |
+
"step": 125
|
96 |
+
},
|
97 |
+
{
|
98 |
+
"epoch": 0.8849557522123894,
|
99 |
+
"eval_loss": 1.0866804122924805,
|
100 |
+
"eval_mean_token_accuracy": 0.739626374989748,
|
101 |
+
"eval_num_tokens": 285818.0,
|
102 |
+
"eval_runtime": 97.5506,
|
103 |
+
"eval_samples_per_second": 2.05,
|
104 |
+
"eval_steps_per_second": 2.05,
|
105 |
+
"step": 125
|
106 |
+
},
|
107 |
+
{
|
108 |
+
"epoch": 1.056637168141593,
|
109 |
+
"grad_norm": 1.0887213945388794,
|
110 |
+
"learning_rate": 0.00016993865030674846,
|
111 |
+
"loss": 0.9094,
|
112 |
+
"mean_token_accuracy": 0.767275901492109,
|
113 |
+
"num_tokens": 338145.0,
|
114 |
+
"step": 150
|
115 |
+
},
|
116 |
+
{
|
117 |
+
"epoch": 1.056637168141593,
|
118 |
+
"eval_loss": 1.091628074645996,
|
119 |
+
"eval_mean_token_accuracy": 0.7472012284398079,
|
120 |
+
"eval_num_tokens": 338145.0,
|
121 |
+
"eval_runtime": 97.9463,
|
122 |
+
"eval_samples_per_second": 2.042,
|
123 |
+
"eval_steps_per_second": 2.042,
|
124 |
+
"step": 150
|
125 |
+
},
|
126 |
+
{
|
127 |
+
"epoch": 1.2336283185840708,
|
128 |
+
"grad_norm": 1.2973228693008423,
|
129 |
+
"learning_rate": 0.00015460122699386504,
|
130 |
+
"loss": 0.7983,
|
131 |
+
"mean_token_accuracy": 0.786946276128292,
|
132 |
+
"num_tokens": 395324.0,
|
133 |
+
"step": 175
|
134 |
+
},
|
135 |
+
{
|
136 |
+
"epoch": 1.2336283185840708,
|
137 |
+
"eval_loss": 1.0309680700302124,
|
138 |
+
"eval_mean_token_accuracy": 0.7567924955487251,
|
139 |
+
"eval_num_tokens": 395324.0,
|
140 |
+
"eval_runtime": 97.3557,
|
141 |
+
"eval_samples_per_second": 2.054,
|
142 |
+
"eval_steps_per_second": 2.054,
|
143 |
+
"step": 175
|
144 |
+
},
|
145 |
+
{
|
146 |
+
"epoch": 1.4106194690265488,
|
147 |
+
"grad_norm": 0.8981689810752869,
|
148 |
+
"learning_rate": 0.00013926380368098159,
|
149 |
+
"loss": 0.8004,
|
150 |
+
"mean_token_accuracy": 0.7892016369104385,
|
151 |
+
"num_tokens": 453392.0,
|
152 |
+
"step": 200
|
153 |
+
},
|
154 |
+
{
|
155 |
+
"epoch": 1.4106194690265488,
|
156 |
+
"eval_loss": 1.0047160387039185,
|
157 |
+
"eval_mean_token_accuracy": 0.7607714273035526,
|
158 |
+
"eval_num_tokens": 453392.0,
|
159 |
+
"eval_runtime": 97.3422,
|
160 |
+
"eval_samples_per_second": 2.055,
|
161 |
+
"eval_steps_per_second": 2.055,
|
162 |
+
"step": 200
|
163 |
+
},
|
164 |
+
{
|
165 |
+
"epoch": 1.5876106194690265,
|
166 |
+
"grad_norm": 1.3156253099441528,
|
167 |
+
"learning_rate": 0.00012392638036809816,
|
168 |
+
"loss": 0.7496,
|
169 |
+
"mean_token_accuracy": 0.800215690433979,
|
170 |
+
"num_tokens": 513773.0,
|
171 |
+
"step": 225
|
172 |
+
},
|
173 |
+
{
|
174 |
+
"epoch": 1.5876106194690265,
|
175 |
+
"eval_loss": 0.9816662073135376,
|
176 |
+
"eval_mean_token_accuracy": 0.7670722763240337,
|
177 |
+
"eval_num_tokens": 513773.0,
|
178 |
+
"eval_runtime": 98.5747,
|
179 |
+
"eval_samples_per_second": 2.029,
|
180 |
+
"eval_steps_per_second": 2.029,
|
181 |
+
"step": 225
|
182 |
+
},
|
183 |
+
{
|
184 |
+
"epoch": 1.7646017699115044,
|
185 |
+
"grad_norm": 0.7007508277893066,
|
186 |
+
"learning_rate": 0.00010858895705521473,
|
187 |
+
"loss": 0.7315,
|
188 |
+
"mean_token_accuracy": 0.805658475458622,
|
189 |
+
"num_tokens": 571382.0,
|
190 |
+
"step": 250
|
191 |
+
},
|
192 |
+
{
|
193 |
+
"epoch": 1.7646017699115044,
|
194 |
+
"eval_loss": 0.95888352394104,
|
195 |
+
"eval_mean_token_accuracy": 0.7721423482894898,
|
196 |
+
"eval_num_tokens": 571382.0,
|
197 |
+
"eval_runtime": 97.9779,
|
198 |
+
"eval_samples_per_second": 2.041,
|
199 |
+
"eval_steps_per_second": 2.041,
|
200 |
+
"step": 250
|
201 |
+
},
|
202 |
+
{
|
203 |
+
"epoch": 1.9415929203539823,
|
204 |
+
"grad_norm": 0.8127393126487732,
|
205 |
+
"learning_rate": 9.325153374233129e-05,
|
206 |
+
"loss": 0.7173,
|
207 |
+
"mean_token_accuracy": 0.8105942443013191,
|
208 |
+
"num_tokens": 628449.0,
|
209 |
+
"step": 275
|
210 |
+
},
|
211 |
+
{
|
212 |
+
"epoch": 1.9415929203539823,
|
213 |
+
"eval_loss": 0.9421520233154297,
|
214 |
+
"eval_mean_token_accuracy": 0.7754264496266842,
|
215 |
+
"eval_num_tokens": 628449.0,
|
216 |
+
"eval_runtime": 97.1509,
|
217 |
+
"eval_samples_per_second": 2.059,
|
218 |
+
"eval_steps_per_second": 2.059,
|
219 |
+
"step": 275
|
220 |
+
}
|
221 |
+
],
|
222 |
+
"logging_steps": 25,
|
223 |
+
"max_steps": 426,
|
224 |
+
"num_input_tokens_seen": 0,
|
225 |
+
"num_train_epochs": 3,
|
226 |
+
"save_steps": 25,
|
227 |
+
"stateful_callbacks": {
|
228 |
+
"TrainerControl": {
|
229 |
+
"args": {
|
230 |
+
"should_epoch_stop": false,
|
231 |
+
"should_evaluate": false,
|
232 |
+
"should_log": false,
|
233 |
+
"should_save": true,
|
234 |
+
"should_training_stop": false
|
235 |
+
},
|
236 |
+
"attributes": {}
|
237 |
+
}
|
238 |
+
},
|
239 |
+
"total_flos": 5.329544702974157e+16,
|
240 |
+
"train_batch_size": 1,
|
241 |
+
"trial_name": null,
|
242 |
+
"trial_params": null
|
243 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7464b1925680aabc465131e3ad7e77f68d790607b939f26d2e645998254158cd
|
3 |
+
size 5688
|