rovdetection commited on
Commit
e8083de
·
verified ·
1 Parent(s): 13d0801

Training in progress, step 1000, checkpoint

Browse files
last-checkpoint/README.md ADDED
@@ -0,0 +1,209 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: rovdetection/code-1b-pretrain
3
+ library_name: peft
4
+ pipeline_tag: text-generation
5
+ tags:
6
+ - base_model:adapter:rovdetection/code-1b-pretrain
7
+ - lora
8
+ - sft
9
+ - transformers
10
+ - trl
11
+ ---
12
+
13
+ # Model Card for Model ID
14
+
15
+ <!-- Provide a quick summary of what the model is/does. -->
16
+
17
+
18
+
19
+ ## Model Details
20
+
21
+ ### Model Description
22
+
23
+ <!-- Provide a longer summary of what this model is. -->
24
+
25
+
26
+
27
+ - **Developed by:** [More Information Needed]
28
+ - **Funded by [optional]:** [More Information Needed]
29
+ - **Shared by [optional]:** [More Information Needed]
30
+ - **Model type:** [More Information Needed]
31
+ - **Language(s) (NLP):** [More Information Needed]
32
+ - **License:** [More Information Needed]
33
+ - **Finetuned from model [optional]:** [More Information Needed]
34
+
35
+ ### Model Sources [optional]
36
+
37
+ <!-- Provide the basic links for the model. -->
38
+
39
+ - **Repository:** [More Information Needed]
40
+ - **Paper [optional]:** [More Information Needed]
41
+ - **Demo [optional]:** [More Information Needed]
42
+
43
+ ## Uses
44
+
45
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
46
+
47
+ ### Direct Use
48
+
49
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
50
+
51
+ [More Information Needed]
52
+
53
+ ### Downstream Use [optional]
54
+
55
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
56
+
57
+ [More Information Needed]
58
+
59
+ ### Out-of-Scope Use
60
+
61
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
62
+
63
+ [More Information Needed]
64
+
65
+ ## Bias, Risks, and Limitations
66
+
67
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
68
+
69
+ [More Information Needed]
70
+
71
+ ### Recommendations
72
+
73
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
74
+
75
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
76
+
77
+ ## How to Get Started with the Model
78
+
79
+ Use the code below to get started with the model.
80
+
81
+ [More Information Needed]
82
+
83
+ ## Training Details
84
+
85
+ ### Training Data
86
+
87
+ <!-- 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. -->
88
+
89
+ [More Information Needed]
90
+
91
+ ### Training Procedure
92
+
93
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
94
+
95
+ #### Preprocessing [optional]
96
+
97
+ [More Information Needed]
98
+
99
+
100
+ #### Training Hyperparameters
101
+
102
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
103
+
104
+ #### Speeds, Sizes, Times [optional]
105
+
106
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
107
+
108
+ [More Information Needed]
109
+
110
+ ## Evaluation
111
+
112
+ <!-- This section describes the evaluation protocols and provides the results. -->
113
+
114
+ ### Testing Data, Factors & Metrics
115
+
116
+ #### Testing Data
117
+
118
+ <!-- This should link to a Dataset Card if possible. -->
119
+
120
+ [More Information Needed]
121
+
122
+ #### Factors
123
+
124
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
125
+
126
+ [More Information Needed]
127
+
128
+ #### Metrics
129
+
130
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
131
+
132
+ [More Information Needed]
133
+
134
+ ### Results
135
+
136
+ [More Information Needed]
137
+
138
+ #### Summary
139
+
140
+
141
+
142
+ ## Model Examination [optional]
143
+
144
+ <!-- Relevant interpretability work for the model goes here -->
145
+
146
+ [More Information Needed]
147
+
148
+ ## Environmental Impact
149
+
150
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
151
+
152
+ 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).
153
+
154
+ - **Hardware Type:** [More Information Needed]
155
+ - **Hours used:** [More Information Needed]
156
+ - **Cloud Provider:** [More Information Needed]
157
+ - **Compute Region:** [More Information Needed]
158
+ - **Carbon Emitted:** [More Information Needed]
159
+
160
+ ## Technical Specifications [optional]
161
+
162
+ ### Model Architecture and Objective
163
+
164
+ [More Information Needed]
165
+
166
+ ### Compute Infrastructure
167
+
168
+ [More Information Needed]
169
+
170
+ #### Hardware
171
+
172
+ [More Information Needed]
173
+
174
+ #### Software
175
+
176
+ [More Information Needed]
177
+
178
+ ## Citation [optional]
179
+
180
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
181
+
182
+ **BibTeX:**
183
+
184
+ [More Information Needed]
185
+
186
+ **APA:**
187
+
188
+ [More Information Needed]
189
+
190
+ ## Glossary [optional]
191
+
192
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
193
+
194
+ [More Information Needed]
195
+
196
+ ## More Information [optional]
197
+
198
+ [More Information Needed]
199
+
200
+ ## Model Card Authors [optional]
201
+
202
+ [More Information Needed]
203
+
204
+ ## Model Card Contact
205
+
206
+ [More Information Needed]
207
+ ### Framework versions
208
+
209
+ - PEFT 0.19.1
last-checkpoint/adapter_config.json ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alora_invocation_tokens": null,
3
+ "alpha_pattern": {},
4
+ "arrow_config": null,
5
+ "auto_mapping": null,
6
+ "base_model_name_or_path": "rovdetection/code-1b-pretrain",
7
+ "bias": "none",
8
+ "corda_config": null,
9
+ "ensure_weight_tying": false,
10
+ "eva_config": null,
11
+ "exclude_modules": null,
12
+ "fan_in_fan_out": false,
13
+ "inference_mode": true,
14
+ "init_lora_weights": true,
15
+ "layer_replication": null,
16
+ "layers_pattern": null,
17
+ "layers_to_transform": null,
18
+ "loftq_config": {},
19
+ "lora_alpha": 256,
20
+ "lora_bias": false,
21
+ "lora_dropout": 0.05,
22
+ "lora_ga_config": null,
23
+ "megatron_config": null,
24
+ "megatron_core": "megatron.core",
25
+ "modules_to_save": null,
26
+ "peft_type": "LORA",
27
+ "peft_version": "0.19.1",
28
+ "qalora_group_size": 16,
29
+ "r": 128,
30
+ "rank_pattern": {},
31
+ "revision": null,
32
+ "target_modules": [
33
+ "v_proj",
34
+ "gate_proj",
35
+ "up_proj",
36
+ "down_proj",
37
+ "k_proj",
38
+ "q_proj",
39
+ "o_proj"
40
+ ],
41
+ "target_parameters": null,
42
+ "task_type": "CAUSAL_LM",
43
+ "trainable_token_indices": null,
44
+ "use_bdlora": null,
45
+ "use_dora": false,
46
+ "use_qalora": false,
47
+ "use_rslora": false
48
+ }
last-checkpoint/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bbc31def6fc1183573b4ca53bf82830b3e675c174bc8741079dee8f82ace3c3d
3
+ size 363365712
last-checkpoint/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:618454c138b7364f8dc01f3db6c85573dc0fe52fe5fefec5e12a9d9ba2f00f2f
3
+ size 184804245
last-checkpoint/rng_state_0.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:35b6d066bf9203e4799e272b55e9f98b2cb902bb50e8ac3a00afbb0a5d66b1fd
3
+ size 14917
last-checkpoint/rng_state_1.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3ab50382464f53407058d665fe007033934f3cde6d503d0d5554e6d5a2642329
3
+ size 14917
last-checkpoint/scaler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:14ae2a2128444abab378aa06c09a61a84665f758fcc19fc46f5789b0bc1b5665
3
+ size 1383
last-checkpoint/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dab256c8c1e1d4c815c5acbd0e18a834c1951bb719e9b8900c9fa046543830b4
3
+ size 1465
last-checkpoint/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
last-checkpoint/tokenizer_config.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "backend": "tokenizers",
4
+ "bos_token": "<|endoftext|>",
5
+ "eos_token": "<|endoftext|>",
6
+ "errors": "replace",
7
+ "is_local": false,
8
+ "local_files_only": false,
9
+ "model_max_length": 1024,
10
+ "pad_token": "<|endoftext|>",
11
+ "tokenizer_class": "GPT2Tokenizer",
12
+ "unk_token": "<|endoftext|>"
13
+ }
last-checkpoint/trainer_state.json ADDED
@@ -0,0 +1,234 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 0.425531914893617,
6
+ "eval_steps": 500,
7
+ "global_step": 1000,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "entropy": 2.937763540148735,
14
+ "epoch": 0.02127659574468085,
15
+ "grad_norm": 0.4686773121356964,
16
+ "learning_rate": 9.951e-05,
17
+ "loss": 4.138067016601562,
18
+ "mean_token_accuracy": 0.4264019676297903,
19
+ "num_tokens": 988301.0,
20
+ "step": 50
21
+ },
22
+ {
23
+ "entropy": 2.962523487210274,
24
+ "epoch": 0.0425531914893617,
25
+ "grad_norm": 0.6529152989387512,
26
+ "learning_rate": 9.901e-05,
27
+ "loss": 3.1858258056640625,
28
+ "mean_token_accuracy": 0.491901636198163,
29
+ "num_tokens": 1981516.0,
30
+ "step": 100
31
+ },
32
+ {
33
+ "entropy": 2.8207009065151216,
34
+ "epoch": 0.06382978723404255,
35
+ "grad_norm": 0.6847605109214783,
36
+ "learning_rate": 9.851e-05,
37
+ "loss": 2.97326904296875,
38
+ "mean_token_accuracy": 0.5133598280698061,
39
+ "num_tokens": 2962772.0,
40
+ "step": 150
41
+ },
42
+ {
43
+ "entropy": 2.6926355504989625,
44
+ "epoch": 0.0851063829787234,
45
+ "grad_norm": 0.7111132740974426,
46
+ "learning_rate": 9.801e-05,
47
+ "loss": 2.8132635498046876,
48
+ "mean_token_accuracy": 0.5304626803100109,
49
+ "num_tokens": 3952403.0,
50
+ "step": 200
51
+ },
52
+ {
53
+ "entropy": 2.6115103197097778,
54
+ "epoch": 0.10638297872340426,
55
+ "grad_norm": 0.6989225149154663,
56
+ "learning_rate": 9.751e-05,
57
+ "loss": 2.7149212646484373,
58
+ "mean_token_accuracy": 0.5415211926400662,
59
+ "num_tokens": 4939231.0,
60
+ "step": 250
61
+ },
62
+ {
63
+ "entropy": 2.552058919072151,
64
+ "epoch": 0.1276595744680851,
65
+ "grad_norm": 0.6323665976524353,
66
+ "learning_rate": 9.701e-05,
67
+ "loss": 2.6398919677734374,
68
+ "mean_token_accuracy": 0.5516271162033081,
69
+ "num_tokens": 5931036.0,
70
+ "step": 300
71
+ },
72
+ {
73
+ "entropy": 2.4714413863420486,
74
+ "epoch": 0.14893617021276595,
75
+ "grad_norm": 0.6492835283279419,
76
+ "learning_rate": 9.651e-05,
77
+ "loss": 2.546295471191406,
78
+ "mean_token_accuracy": 0.5627167555689812,
79
+ "num_tokens": 6919236.0,
80
+ "step": 350
81
+ },
82
+ {
83
+ "entropy": 2.452097176015377,
84
+ "epoch": 0.1702127659574468,
85
+ "grad_norm": 0.7032881379127502,
86
+ "learning_rate": 9.601e-05,
87
+ "loss": 2.5202024841308592,
88
+ "mean_token_accuracy": 0.5672398428618908,
89
+ "num_tokens": 7901385.0,
90
+ "step": 400
91
+ },
92
+ {
93
+ "entropy": 2.38740619212389,
94
+ "epoch": 0.19148936170212766,
95
+ "grad_norm": 0.715317964553833,
96
+ "learning_rate": 9.551e-05,
97
+ "loss": 2.449654541015625,
98
+ "mean_token_accuracy": 0.5774810115993023,
99
+ "num_tokens": 8891410.0,
100
+ "step": 450
101
+ },
102
+ {
103
+ "entropy": 2.339343198239803,
104
+ "epoch": 0.2127659574468085,
105
+ "grad_norm": 0.7024112939834595,
106
+ "learning_rate": 9.501e-05,
107
+ "loss": 2.399354248046875,
108
+ "mean_token_accuracy": 0.584610120356083,
109
+ "num_tokens": 9872429.0,
110
+ "step": 500
111
+ },
112
+ {
113
+ "entropy": 2.3019780376553536,
114
+ "epoch": 0.23404255319148937,
115
+ "grad_norm": 0.7314584851264954,
116
+ "learning_rate": 9.451000000000002e-05,
117
+ "loss": 2.3609829711914063,
118
+ "mean_token_accuracy": 0.588694809526205,
119
+ "num_tokens": 10852406.0,
120
+ "step": 550
121
+ },
122
+ {
123
+ "entropy": 2.2801691934466364,
124
+ "epoch": 0.2553191489361702,
125
+ "grad_norm": 0.7630459070205688,
126
+ "learning_rate": 9.401e-05,
127
+ "loss": 2.322369384765625,
128
+ "mean_token_accuracy": 0.5943487723916769,
129
+ "num_tokens": 11847983.0,
130
+ "step": 600
131
+ },
132
+ {
133
+ "entropy": 2.231162509918213,
134
+ "epoch": 0.2765957446808511,
135
+ "grad_norm": 0.7081300616264343,
136
+ "learning_rate": 9.351e-05,
137
+ "loss": 2.2724359130859373,
138
+ "mean_token_accuracy": 0.6005339217931032,
139
+ "num_tokens": 12839631.0,
140
+ "step": 650
141
+ },
142
+ {
143
+ "entropy": 2.195046606659889,
144
+ "epoch": 0.2978723404255319,
145
+ "grad_norm": 0.8117260336875916,
146
+ "learning_rate": 9.301e-05,
147
+ "loss": 2.2360572814941406,
148
+ "mean_token_accuracy": 0.6055160685628652,
149
+ "num_tokens": 13825421.0,
150
+ "step": 700
151
+ },
152
+ {
153
+ "entropy": 2.17775638371706,
154
+ "epoch": 0.3191489361702128,
155
+ "grad_norm": 0.7083834409713745,
156
+ "learning_rate": 9.251000000000001e-05,
157
+ "loss": 2.2109527587890625,
158
+ "mean_token_accuracy": 0.610633347928524,
159
+ "num_tokens": 14811783.0,
160
+ "step": 750
161
+ },
162
+ {
163
+ "entropy": 2.1384602162241935,
164
+ "epoch": 0.3404255319148936,
165
+ "grad_norm": 0.6845762729644775,
166
+ "learning_rate": 9.201000000000001e-05,
167
+ "loss": 2.1738687133789063,
168
+ "mean_token_accuracy": 0.6158557101339102,
169
+ "num_tokens": 15799402.0,
170
+ "step": 800
171
+ },
172
+ {
173
+ "entropy": 2.1188551610708237,
174
+ "epoch": 0.3617021276595745,
175
+ "grad_norm": 0.7421966791152954,
176
+ "learning_rate": 9.151000000000001e-05,
177
+ "loss": 2.146589660644531,
178
+ "mean_token_accuracy": 0.6187865848094225,
179
+ "num_tokens": 16787125.0,
180
+ "step": 850
181
+ },
182
+ {
183
+ "entropy": 2.0914336186647415,
184
+ "epoch": 0.3829787234042553,
185
+ "grad_norm": 0.706660807132721,
186
+ "learning_rate": 9.101000000000001e-05,
187
+ "loss": 2.1187652587890624,
188
+ "mean_token_accuracy": 0.6228364047408104,
189
+ "num_tokens": 17783798.0,
190
+ "step": 900
191
+ },
192
+ {
193
+ "entropy": 2.0830547219514846,
194
+ "epoch": 0.40425531914893614,
195
+ "grad_norm": 0.7128080725669861,
196
+ "learning_rate": 9.051000000000001e-05,
197
+ "loss": 2.10831298828125,
198
+ "mean_token_accuracy": 0.6251034809648991,
199
+ "num_tokens": 18760192.0,
200
+ "step": 950
201
+ },
202
+ {
203
+ "entropy": 2.042051522433758,
204
+ "epoch": 0.425531914893617,
205
+ "grad_norm": 0.7421649098396301,
206
+ "learning_rate": 9.001e-05,
207
+ "loss": 2.059340362548828,
208
+ "mean_token_accuracy": 0.6305920536071062,
209
+ "num_tokens": 19742108.0,
210
+ "step": 1000
211
+ }
212
+ ],
213
+ "logging_steps": 50,
214
+ "max_steps": 10000,
215
+ "num_input_tokens_seen": 0,
216
+ "num_train_epochs": 5,
217
+ "save_steps": 1000,
218
+ "stateful_callbacks": {
219
+ "TrainerControl": {
220
+ "args": {
221
+ "should_epoch_stop": false,
222
+ "should_evaluate": false,
223
+ "should_log": false,
224
+ "should_save": true,
225
+ "should_training_stop": false
226
+ },
227
+ "attributes": {}
228
+ }
229
+ },
230
+ "total_flos": 1.4985183684355686e+17,
231
+ "train_batch_size": 2,
232
+ "trial_name": null,
233
+ "trial_params": null
234
+ }
last-checkpoint/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:72d5d698823ff3855f1b14a90837b64ecd809efa1725d828f6c4a6ff29924a83
3
+ size 5777