Uploaded checkpoint-1000
Browse files- README.md +202 -0
- adapter_config.json +32 -0
- adapter_model.safetensors +3 -0
- optimizer.pt +3 -0
- rng_state.pth +3 -0
- scheduler.pt +3 -0
- trainer_state.json +171 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,202 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: peft
|
3 |
+
base_model: deepseek-ai/deepseek-coder-1.3b-instruct
|
4 |
+
---
|
5 |
+
|
6 |
+
# Model Card for Model ID
|
7 |
+
|
8 |
+
<!-- Provide a quick summary of what the model is/does. -->
|
9 |
+
|
10 |
+
|
11 |
+
|
12 |
+
## Model Details
|
13 |
+
|
14 |
+
### Model Description
|
15 |
+
|
16 |
+
<!-- Provide a longer summary of what this model is. -->
|
17 |
+
|
18 |
+
|
19 |
+
|
20 |
+
- **Developed by:** [More Information Needed]
|
21 |
+
- **Funded by [optional]:** [More Information Needed]
|
22 |
+
- **Shared by [optional]:** [More Information Needed]
|
23 |
+
- **Model type:** [More Information Needed]
|
24 |
+
- **Language(s) (NLP):** [More Information Needed]
|
25 |
+
- **License:** [More Information Needed]
|
26 |
+
- **Finetuned from model [optional]:** [More Information Needed]
|
27 |
+
|
28 |
+
### Model Sources [optional]
|
29 |
+
|
30 |
+
<!-- Provide the basic links for the model. -->
|
31 |
+
|
32 |
+
- **Repository:** [More Information Needed]
|
33 |
+
- **Paper [optional]:** [More Information Needed]
|
34 |
+
- **Demo [optional]:** [More Information Needed]
|
35 |
+
|
36 |
+
## Uses
|
37 |
+
|
38 |
+
<!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
|
39 |
+
|
40 |
+
### Direct Use
|
41 |
+
|
42 |
+
<!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
|
43 |
+
|
44 |
+
[More Information Needed]
|
45 |
+
|
46 |
+
### Downstream Use [optional]
|
47 |
+
|
48 |
+
<!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
|
49 |
+
|
50 |
+
[More Information Needed]
|
51 |
+
|
52 |
+
### Out-of-Scope Use
|
53 |
+
|
54 |
+
<!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
|
55 |
+
|
56 |
+
[More Information Needed]
|
57 |
+
|
58 |
+
## Bias, Risks, and Limitations
|
59 |
+
|
60 |
+
<!-- This section is meant to convey both technical and sociotechnical limitations. -->
|
61 |
+
|
62 |
+
[More Information Needed]
|
63 |
+
|
64 |
+
### Recommendations
|
65 |
+
|
66 |
+
<!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
|
67 |
+
|
68 |
+
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
|
69 |
+
|
70 |
+
## How to Get Started with the Model
|
71 |
+
|
72 |
+
Use the code below to get started with the model.
|
73 |
+
|
74 |
+
[More Information Needed]
|
75 |
+
|
76 |
+
## Training Details
|
77 |
+
|
78 |
+
### Training Data
|
79 |
+
|
80 |
+
<!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
|
81 |
+
|
82 |
+
[More Information Needed]
|
83 |
+
|
84 |
+
### Training Procedure
|
85 |
+
|
86 |
+
<!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
|
87 |
+
|
88 |
+
#### Preprocessing [optional]
|
89 |
+
|
90 |
+
[More Information Needed]
|
91 |
+
|
92 |
+
|
93 |
+
#### Training Hyperparameters
|
94 |
+
|
95 |
+
- **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
|
96 |
+
|
97 |
+
#### Speeds, Sizes, Times [optional]
|
98 |
+
|
99 |
+
<!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
|
100 |
+
|
101 |
+
[More Information Needed]
|
102 |
+
|
103 |
+
## Evaluation
|
104 |
+
|
105 |
+
<!-- This section describes the evaluation protocols and provides the results. -->
|
106 |
+
|
107 |
+
### Testing Data, Factors & Metrics
|
108 |
+
|
109 |
+
#### Testing Data
|
110 |
+
|
111 |
+
<!-- This should link to a Dataset Card if possible. -->
|
112 |
+
|
113 |
+
[More Information Needed]
|
114 |
+
|
115 |
+
#### Factors
|
116 |
+
|
117 |
+
<!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
|
118 |
+
|
119 |
+
[More Information Needed]
|
120 |
+
|
121 |
+
#### Metrics
|
122 |
+
|
123 |
+
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
|
124 |
+
|
125 |
+
[More Information Needed]
|
126 |
+
|
127 |
+
### Results
|
128 |
+
|
129 |
+
[More Information Needed]
|
130 |
+
|
131 |
+
#### Summary
|
132 |
+
|
133 |
+
|
134 |
+
|
135 |
+
## Model Examination [optional]
|
136 |
+
|
137 |
+
<!-- Relevant interpretability work for the model goes here -->
|
138 |
+
|
139 |
+
[More Information Needed]
|
140 |
+
|
141 |
+
## Environmental Impact
|
142 |
+
|
143 |
+
<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
|
144 |
+
|
145 |
+
Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
|
146 |
+
|
147 |
+
- **Hardware Type:** [More Information Needed]
|
148 |
+
- **Hours used:** [More Information Needed]
|
149 |
+
- **Cloud Provider:** [More Information Needed]
|
150 |
+
- **Compute Region:** [More Information Needed]
|
151 |
+
- **Carbon Emitted:** [More Information Needed]
|
152 |
+
|
153 |
+
## Technical Specifications [optional]
|
154 |
+
|
155 |
+
### Model Architecture and Objective
|
156 |
+
|
157 |
+
[More Information Needed]
|
158 |
+
|
159 |
+
### Compute Infrastructure
|
160 |
+
|
161 |
+
[More Information Needed]
|
162 |
+
|
163 |
+
#### Hardware
|
164 |
+
|
165 |
+
[More Information Needed]
|
166 |
+
|
167 |
+
#### Software
|
168 |
+
|
169 |
+
[More Information Needed]
|
170 |
+
|
171 |
+
## Citation [optional]
|
172 |
+
|
173 |
+
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
|
174 |
+
|
175 |
+
**BibTeX:**
|
176 |
+
|
177 |
+
[More Information Needed]
|
178 |
+
|
179 |
+
**APA:**
|
180 |
+
|
181 |
+
[More Information Needed]
|
182 |
+
|
183 |
+
## Glossary [optional]
|
184 |
+
|
185 |
+
<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
|
186 |
+
|
187 |
+
[More Information Needed]
|
188 |
+
|
189 |
+
## More Information [optional]
|
190 |
+
|
191 |
+
[More Information Needed]
|
192 |
+
|
193 |
+
## Model Card Authors [optional]
|
194 |
+
|
195 |
+
[More Information Needed]
|
196 |
+
|
197 |
+
## Model Card Contact
|
198 |
+
|
199 |
+
[More Information Needed]
|
200 |
+
### Framework versions
|
201 |
+
|
202 |
+
- PEFT 0.8.2
|
adapter_config.json
ADDED
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"alpha_pattern": {},
|
3 |
+
"auto_mapping": null,
|
4 |
+
"base_model_name_or_path": "deepseek-ai/deepseek-coder-1.3b-instruct",
|
5 |
+
"bias": "none",
|
6 |
+
"fan_in_fan_out": false,
|
7 |
+
"inference_mode": true,
|
8 |
+
"init_lora_weights": true,
|
9 |
+
"layers_pattern": null,
|
10 |
+
"layers_to_transform": null,
|
11 |
+
"loftq_config": {},
|
12 |
+
"lora_alpha": 64,
|
13 |
+
"lora_dropout": 0.05,
|
14 |
+
"megatron_config": null,
|
15 |
+
"megatron_core": "megatron.core",
|
16 |
+
"modules_to_save": null,
|
17 |
+
"peft_type": "LORA",
|
18 |
+
"r": 32,
|
19 |
+
"rank_pattern": {},
|
20 |
+
"revision": null,
|
21 |
+
"target_modules": [
|
22 |
+
"k_proj",
|
23 |
+
"gate_proj",
|
24 |
+
"v_proj",
|
25 |
+
"down_proj",
|
26 |
+
"q_proj",
|
27 |
+
"o_proj",
|
28 |
+
"up_proj"
|
29 |
+
],
|
30 |
+
"task_type": "CAUSAL_LM",
|
31 |
+
"use_rslora": false
|
32 |
+
}
|
adapter_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:821c0ac7a30d0c43834f06feb7fd15b70ef13d1f6aeac25967123bc26b176cf0
|
3 |
+
size 119975656
|
optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1df28215a0916dd28c5a5b8284ab78a1c942bf5b3cbc4f05dd051c1fd89566ed
|
3 |
+
size 60477396
|
rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9ca7c0296e5cbbfde7db0a0bddc642b682b5cf589c67faf9042bea2615f4d80e
|
3 |
+
size 14244
|
scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8c69e416a1c1c7cfbd03505995e73f15a3c32b1cc0b0dc09a821d33b4e92286e
|
3 |
+
size 1064
|
trainer_state.json
ADDED
@@ -0,0 +1,171 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 0.31330774653403304,
|
5 |
+
"eval_steps": 100,
|
6 |
+
"global_step": 1000,
|
7 |
+
"is_hyper_param_search": false,
|
8 |
+
"is_local_process_zero": true,
|
9 |
+
"is_world_process_zero": true,
|
10 |
+
"log_history": [
|
11 |
+
{
|
12 |
+
"epoch": 0.03,
|
13 |
+
"grad_norm": 7.659268856048584,
|
14 |
+
"learning_rate": 4.000000000000001e-06,
|
15 |
+
"loss": 1.3919,
|
16 |
+
"step": 100
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 0.03,
|
20 |
+
"eval_loss": 1.1893327236175537,
|
21 |
+
"eval_runtime": 192.797,
|
22 |
+
"eval_samples_per_second": 5.187,
|
23 |
+
"eval_steps_per_second": 5.187,
|
24 |
+
"step": 100
|
25 |
+
},
|
26 |
+
{
|
27 |
+
"epoch": 0.06,
|
28 |
+
"grad_norm": 3.593693971633911,
|
29 |
+
"learning_rate": 8.000000000000001e-06,
|
30 |
+
"loss": 0.7649,
|
31 |
+
"step": 200
|
32 |
+
},
|
33 |
+
{
|
34 |
+
"epoch": 0.06,
|
35 |
+
"eval_loss": 0.37141919136047363,
|
36 |
+
"eval_runtime": 193.0277,
|
37 |
+
"eval_samples_per_second": 5.181,
|
38 |
+
"eval_steps_per_second": 5.181,
|
39 |
+
"step": 200
|
40 |
+
},
|
41 |
+
{
|
42 |
+
"epoch": 0.09,
|
43 |
+
"grad_norm": 0.2718026638031006,
|
44 |
+
"learning_rate": 1.2e-05,
|
45 |
+
"loss": 0.2492,
|
46 |
+
"step": 300
|
47 |
+
},
|
48 |
+
{
|
49 |
+
"epoch": 0.09,
|
50 |
+
"eval_loss": 0.1235867515206337,
|
51 |
+
"eval_runtime": 192.4574,
|
52 |
+
"eval_samples_per_second": 5.196,
|
53 |
+
"eval_steps_per_second": 5.196,
|
54 |
+
"step": 300
|
55 |
+
},
|
56 |
+
{
|
57 |
+
"epoch": 0.13,
|
58 |
+
"grad_norm": 0.3505817651748657,
|
59 |
+
"learning_rate": 1.6000000000000003e-05,
|
60 |
+
"loss": 0.1111,
|
61 |
+
"step": 400
|
62 |
+
},
|
63 |
+
{
|
64 |
+
"epoch": 0.13,
|
65 |
+
"eval_loss": 0.06019064038991928,
|
66 |
+
"eval_runtime": 193.0151,
|
67 |
+
"eval_samples_per_second": 5.181,
|
68 |
+
"eval_steps_per_second": 5.181,
|
69 |
+
"step": 400
|
70 |
+
},
|
71 |
+
{
|
72 |
+
"epoch": 0.16,
|
73 |
+
"grad_norm": 2.2099411487579346,
|
74 |
+
"learning_rate": 2e-05,
|
75 |
+
"loss": 0.1213,
|
76 |
+
"step": 500
|
77 |
+
},
|
78 |
+
{
|
79 |
+
"epoch": 0.16,
|
80 |
+
"eval_loss": 0.05992453545331955,
|
81 |
+
"eval_runtime": 193.5019,
|
82 |
+
"eval_samples_per_second": 5.168,
|
83 |
+
"eval_steps_per_second": 5.168,
|
84 |
+
"step": 500
|
85 |
+
},
|
86 |
+
{
|
87 |
+
"epoch": 0.19,
|
88 |
+
"grad_norm": 0.006523499730974436,
|
89 |
+
"learning_rate": 1.9555555555555557e-05,
|
90 |
+
"loss": 0.1161,
|
91 |
+
"step": 600
|
92 |
+
},
|
93 |
+
{
|
94 |
+
"epoch": 0.19,
|
95 |
+
"eval_loss": 0.03172233700752258,
|
96 |
+
"eval_runtime": 192.8437,
|
97 |
+
"eval_samples_per_second": 5.186,
|
98 |
+
"eval_steps_per_second": 5.186,
|
99 |
+
"step": 600
|
100 |
+
},
|
101 |
+
{
|
102 |
+
"epoch": 0.22,
|
103 |
+
"grad_norm": 0.0743604227900505,
|
104 |
+
"learning_rate": 1.9111111111111113e-05,
|
105 |
+
"loss": 0.0853,
|
106 |
+
"step": 700
|
107 |
+
},
|
108 |
+
{
|
109 |
+
"epoch": 0.22,
|
110 |
+
"eval_loss": 0.03372843191027641,
|
111 |
+
"eval_runtime": 193.2798,
|
112 |
+
"eval_samples_per_second": 5.174,
|
113 |
+
"eval_steps_per_second": 5.174,
|
114 |
+
"step": 700
|
115 |
+
},
|
116 |
+
{
|
117 |
+
"epoch": 0.25,
|
118 |
+
"grad_norm": 2.5127480030059814,
|
119 |
+
"learning_rate": 1.866666666666667e-05,
|
120 |
+
"loss": 0.0801,
|
121 |
+
"step": 800
|
122 |
+
},
|
123 |
+
{
|
124 |
+
"epoch": 0.25,
|
125 |
+
"eval_loss": 0.02089008316397667,
|
126 |
+
"eval_runtime": 193.1941,
|
127 |
+
"eval_samples_per_second": 5.176,
|
128 |
+
"eval_steps_per_second": 5.176,
|
129 |
+
"step": 800
|
130 |
+
},
|
131 |
+
{
|
132 |
+
"epoch": 0.28,
|
133 |
+
"grad_norm": 2.219334125518799,
|
134 |
+
"learning_rate": 1.8222222222222224e-05,
|
135 |
+
"loss": 0.0619,
|
136 |
+
"step": 900
|
137 |
+
},
|
138 |
+
{
|
139 |
+
"epoch": 0.28,
|
140 |
+
"eval_loss": 0.03212675824761391,
|
141 |
+
"eval_runtime": 192.8222,
|
142 |
+
"eval_samples_per_second": 5.186,
|
143 |
+
"eval_steps_per_second": 5.186,
|
144 |
+
"step": 900
|
145 |
+
},
|
146 |
+
{
|
147 |
+
"epoch": 0.31,
|
148 |
+
"grad_norm": 0.01359077449887991,
|
149 |
+
"learning_rate": 1.7777777777777777e-05,
|
150 |
+
"loss": 0.0707,
|
151 |
+
"step": 1000
|
152 |
+
},
|
153 |
+
{
|
154 |
+
"epoch": 0.31,
|
155 |
+
"eval_loss": 0.0244381632655859,
|
156 |
+
"eval_runtime": 192.3716,
|
157 |
+
"eval_samples_per_second": 5.198,
|
158 |
+
"eval_steps_per_second": 5.198,
|
159 |
+
"step": 1000
|
160 |
+
}
|
161 |
+
],
|
162 |
+
"logging_steps": 100,
|
163 |
+
"max_steps": 5000,
|
164 |
+
"num_input_tokens_seen": 0,
|
165 |
+
"num_train_epochs": 2,
|
166 |
+
"save_steps": 1000,
|
167 |
+
"total_flos": 1.6102125993984e+16,
|
168 |
+
"train_batch_size": 1,
|
169 |
+
"trial_name": null,
|
170 |
+
"trial_params": null
|
171 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:83adfe73b2a18a8e4ddc918842cf8466d84cff5f92afe8c89b9c58519c833a29
|
3 |
+
size 4984
|