dada22231 commited on
Commit
78e255a
1 Parent(s): d1c208f

Training in progress, step 25, checkpoint

Browse files
last-checkpoint/README.md ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: unsloth/llama-2-7b-chat
3
+ library_name: peft
4
+ ---
5
+
6
+ # Model Card for Model ID
7
+
8
+ <!-- Provide a quick summary of what the model is/does. -->
9
+
10
+
11
+
12
+ ## Model Details
13
+
14
+ ### Model Description
15
+
16
+ <!-- Provide a longer summary of what this model is. -->
17
+
18
+
19
+
20
+ - **Developed by:** [More Information Needed]
21
+ - **Funded by [optional]:** [More Information Needed]
22
+ - **Shared by [optional]:** [More Information Needed]
23
+ - **Model type:** [More Information Needed]
24
+ - **Language(s) (NLP):** [More Information Needed]
25
+ - **License:** [More Information Needed]
26
+ - **Finetuned from model [optional]:** [More Information Needed]
27
+
28
+ ### Model Sources [optional]
29
+
30
+ <!-- Provide the basic links for the model. -->
31
+
32
+ - **Repository:** [More Information Needed]
33
+ - **Paper [optional]:** [More Information Needed]
34
+ - **Demo [optional]:** [More Information Needed]
35
+
36
+ ## Uses
37
+
38
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
39
+
40
+ ### Direct Use
41
+
42
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
43
+
44
+ [More Information Needed]
45
+
46
+ ### Downstream Use [optional]
47
+
48
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
49
+
50
+ [More Information Needed]
51
+
52
+ ### Out-of-Scope Use
53
+
54
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
55
+
56
+ [More Information Needed]
57
+
58
+ ## Bias, Risks, and Limitations
59
+
60
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
61
+
62
+ [More Information Needed]
63
+
64
+ ### Recommendations
65
+
66
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
67
+
68
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
69
+
70
+ ## How to Get Started with the Model
71
+
72
+ Use the code below to get started with the model.
73
+
74
+ [More Information Needed]
75
+
76
+ ## Training Details
77
+
78
+ ### Training Data
79
+
80
+ <!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
81
+
82
+ [More Information Needed]
83
+
84
+ ### Training Procedure
85
+
86
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
87
+
88
+ #### Preprocessing [optional]
89
+
90
+ [More Information Needed]
91
+
92
+
93
+ #### Training Hyperparameters
94
+
95
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
96
+
97
+ #### Speeds, Sizes, Times [optional]
98
+
99
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
100
+
101
+ [More Information Needed]
102
+
103
+ ## Evaluation
104
+
105
+ <!-- This section describes the evaluation protocols and provides the results. -->
106
+
107
+ ### Testing Data, Factors & Metrics
108
+
109
+ #### Testing Data
110
+
111
+ <!-- This should link to a Dataset Card if possible. -->
112
+
113
+ [More Information Needed]
114
+
115
+ #### Factors
116
+
117
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
118
+
119
+ [More Information Needed]
120
+
121
+ #### Metrics
122
+
123
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
124
+
125
+ [More Information Needed]
126
+
127
+ ### Results
128
+
129
+ [More Information Needed]
130
+
131
+ #### Summary
132
+
133
+
134
+
135
+ ## Model Examination [optional]
136
+
137
+ <!-- Relevant interpretability work for the model goes here -->
138
+
139
+ [More Information Needed]
140
+
141
+ ## Environmental Impact
142
+
143
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
144
+
145
+ Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
146
+
147
+ - **Hardware Type:** [More Information Needed]
148
+ - **Hours used:** [More Information Needed]
149
+ - **Cloud Provider:** [More Information Needed]
150
+ - **Compute Region:** [More Information Needed]
151
+ - **Carbon Emitted:** [More Information Needed]
152
+
153
+ ## Technical Specifications [optional]
154
+
155
+ ### Model Architecture and Objective
156
+
157
+ [More Information Needed]
158
+
159
+ ### Compute Infrastructure
160
+
161
+ [More Information Needed]
162
+
163
+ #### Hardware
164
+
165
+ [More Information Needed]
166
+
167
+ #### Software
168
+
169
+ [More Information Needed]
170
+
171
+ ## Citation [optional]
172
+
173
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
174
+
175
+ **BibTeX:**
176
+
177
+ [More Information Needed]
178
+
179
+ **APA:**
180
+
181
+ [More Information Needed]
182
+
183
+ ## Glossary [optional]
184
+
185
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
186
+
187
+ [More Information Needed]
188
+
189
+ ## More Information [optional]
190
+
191
+ [More Information Needed]
192
+
193
+ ## Model Card Authors [optional]
194
+
195
+ [More Information Needed]
196
+
197
+ ## Model Card Contact
198
+
199
+ [More Information Needed]
200
+ ### Framework versions
201
+
202
+ - PEFT 0.13.2
last-checkpoint/adapter_config.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "unsloth/llama-2-7b-chat",
5
+ "bias": "none",
6
+ "fan_in_fan_out": null,
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": 64,
14
+ "lora_dropout": 0.05,
15
+ "megatron_config": null,
16
+ "megatron_core": "megatron.core",
17
+ "modules_to_save": null,
18
+ "peft_type": "LORA",
19
+ "r": 32,
20
+ "rank_pattern": {},
21
+ "revision": null,
22
+ "target_modules": [
23
+ "v_proj",
24
+ "up_proj",
25
+ "o_proj",
26
+ "q_proj",
27
+ "down_proj",
28
+ "gate_proj",
29
+ "k_proj"
30
+ ],
31
+ "task_type": "CAUSAL_LM",
32
+ "use_dora": false,
33
+ "use_rslora": false
34
+ }
last-checkpoint/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:603f4b27a06b8742f26c301b8dedd147ad33208f27ec95f4b51a00c3853fa5ff
3
+ size 319876032
last-checkpoint/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:81dea698d16460c1adcb2c71951d9c82d11034426ed922706b5b6c8e098134f4
3
+ size 640009682
last-checkpoint/rng_state_0.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:736b963df08383cdb8cfc680a211789f93ff8d053b567e7d3baaffb62e9ad91d
3
+ size 15024
last-checkpoint/rng_state_1.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:145fbcf2e86d4ff7fb565b9a0ac251970516a2e28b1348b11689a438455aff1b
3
+ size 15024
last-checkpoint/rng_state_2.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c94b981b628069b1c0a51f4cec9d07638ec1a59ced2f12965e82c7b7d15de264
3
+ size 15024
last-checkpoint/rng_state_3.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:215d372d935deeab4007dfc7b4d956877349d097322a7de02ae52ffe35f0509a
3
+ size 15024
last-checkpoint/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d77b75c98f4ecf428287f5189e7d1f35e45f6dc870812b3f5bcc5d0fbf1551aa
3
+ size 1064
last-checkpoint/special_tokens_map.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "</s>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "<unk>",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "unk_token": {
24
+ "content": "<unk>",
25
+ "lstrip": false,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ }
30
+ }
last-checkpoint/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
last-checkpoint/tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9e556afd44213b6bd1be2b850ebbbd98f5481437a8021afaf58ee7fb1818d347
3
+ size 499723
last-checkpoint/tokenizer_config.json ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_bos_token": true,
3
+ "add_eos_token": false,
4
+ "add_prefix_space": null,
5
+ "added_tokens_decoder": {
6
+ "0": {
7
+ "content": "<unk>",
8
+ "lstrip": false,
9
+ "normalized": false,
10
+ "rstrip": false,
11
+ "single_word": false,
12
+ "special": true
13
+ },
14
+ "1": {
15
+ "content": "<s>",
16
+ "lstrip": false,
17
+ "normalized": false,
18
+ "rstrip": false,
19
+ "single_word": false,
20
+ "special": true
21
+ },
22
+ "2": {
23
+ "content": "</s>",
24
+ "lstrip": false,
25
+ "normalized": false,
26
+ "rstrip": false,
27
+ "single_word": false,
28
+ "special": true
29
+ }
30
+ },
31
+ "bos_token": "<s>",
32
+ "chat_template": "{% if not add_generation_prompt is defined %}{% set add_generation_prompt = false %}{% endif %}{% set loop_messages = messages %}{% for message in loop_messages %}{% set content = '<|start_header_id|>' + message['role'] + '<|end_header_id|>\n\n'+ message['content'] | trim + '<|eot_id|>' %}{% if loop.index0 == 0 %}{% set content = bos_token + content %}{% endif %}{{ content }}{% endfor %}{% if add_generation_prompt %}{{ '<|start_header_id|>assistant<|end_header_id|>\n\n' }}{% endif %}",
33
+ "clean_up_tokenization_spaces": false,
34
+ "eos_token": "</s>",
35
+ "legacy": false,
36
+ "model_max_length": 1000000000000000019884624838656,
37
+ "pad_token": "<unk>",
38
+ "padding_side": "left",
39
+ "sp_model_kwargs": {},
40
+ "tokenizer_class": "LlamaTokenizer",
41
+ "unk_token": "<unk>",
42
+ "use_default_system_prompt": false
43
+ }
last-checkpoint/trainer_state.json ADDED
@@ -0,0 +1,233 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 1.2664278745651245,
3
+ "best_model_checkpoint": "miner_id_24/checkpoint-25",
4
+ "epoch": 0.015162140136080207,
5
+ "eval_steps": 25,
6
+ "global_step": 25,
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.0006064856054432083,
13
+ "grad_norm": 3.9560394287109375,
14
+ "learning_rate": 5e-05,
15
+ "loss": 2.268,
16
+ "step": 1
17
+ },
18
+ {
19
+ "epoch": 0.0006064856054432083,
20
+ "eval_loss": 2.7075867652893066,
21
+ "eval_runtime": 2.9346,
22
+ "eval_samples_per_second": 17.038,
23
+ "eval_steps_per_second": 4.43,
24
+ "step": 1
25
+ },
26
+ {
27
+ "epoch": 0.0012129712108864166,
28
+ "grad_norm": 3.552264451980591,
29
+ "learning_rate": 0.0001,
30
+ "loss": 2.0962,
31
+ "step": 2
32
+ },
33
+ {
34
+ "epoch": 0.0018194568163296249,
35
+ "grad_norm": 3.2752976417541504,
36
+ "learning_rate": 9.958086757163489e-05,
37
+ "loss": 1.9936,
38
+ "step": 3
39
+ },
40
+ {
41
+ "epoch": 0.002425942421772833,
42
+ "grad_norm": 1.3922207355499268,
43
+ "learning_rate": 9.833127793065098e-05,
44
+ "loss": 1.5374,
45
+ "step": 4
46
+ },
47
+ {
48
+ "epoch": 0.0030324280272160417,
49
+ "grad_norm": 0.974947452545166,
50
+ "learning_rate": 9.627450856774539e-05,
51
+ "loss": 1.3778,
52
+ "step": 5
53
+ },
54
+ {
55
+ "epoch": 0.0036389136326592498,
56
+ "grad_norm": 1.0462532043457031,
57
+ "learning_rate": 9.3448873204592e-05,
58
+ "loss": 1.4328,
59
+ "step": 6
60
+ },
61
+ {
62
+ "epoch": 0.004245399238102458,
63
+ "grad_norm": 0.8969913125038147,
64
+ "learning_rate": 8.990700808169889e-05,
65
+ "loss": 1.4041,
66
+ "step": 7
67
+ },
68
+ {
69
+ "epoch": 0.004851884843545666,
70
+ "grad_norm": 0.943970799446106,
71
+ "learning_rate": 8.571489144483944e-05,
72
+ "loss": 1.4869,
73
+ "step": 8
74
+ },
75
+ {
76
+ "epoch": 0.0054583704489888744,
77
+ "grad_norm": 0.861596941947937,
78
+ "learning_rate": 8.095061449516903e-05,
79
+ "loss": 1.5613,
80
+ "step": 9
81
+ },
82
+ {
83
+ "epoch": 0.006064856054432083,
84
+ "grad_norm": 0.8148055672645569,
85
+ "learning_rate": 7.570292669790186e-05,
86
+ "loss": 1.6122,
87
+ "step": 10
88
+ },
89
+ {
90
+ "epoch": 0.0066713416598752915,
91
+ "grad_norm": 0.9539321660995483,
92
+ "learning_rate": 7.006958254769438e-05,
93
+ "loss": 1.7334,
94
+ "step": 11
95
+ },
96
+ {
97
+ "epoch": 0.0072778272653184995,
98
+ "grad_norm": 1.0071280002593994,
99
+ "learning_rate": 6.415552058736854e-05,
100
+ "loss": 1.9099,
101
+ "step": 12
102
+ },
103
+ {
104
+ "epoch": 0.007884312870761708,
105
+ "grad_norm": 0.8137369751930237,
106
+ "learning_rate": 5.80709086014102e-05,
107
+ "loss": 1.3876,
108
+ "step": 13
109
+ },
110
+ {
111
+ "epoch": 0.008490798476204917,
112
+ "grad_norm": 0.8395057320594788,
113
+ "learning_rate": 5.192909139858981e-05,
114
+ "loss": 1.0561,
115
+ "step": 14
116
+ },
117
+ {
118
+ "epoch": 0.009097284081648125,
119
+ "grad_norm": 0.7751932740211487,
120
+ "learning_rate": 4.584447941263149e-05,
121
+ "loss": 1.0989,
122
+ "step": 15
123
+ },
124
+ {
125
+ "epoch": 0.009703769687091333,
126
+ "grad_norm": 0.7089543342590332,
127
+ "learning_rate": 3.9930417452305626e-05,
128
+ "loss": 1.0819,
129
+ "step": 16
130
+ },
131
+ {
132
+ "epoch": 0.01031025529253454,
133
+ "grad_norm": 0.7607638835906982,
134
+ "learning_rate": 3.4297073302098156e-05,
135
+ "loss": 1.0064,
136
+ "step": 17
137
+ },
138
+ {
139
+ "epoch": 0.010916740897977749,
140
+ "grad_norm": 1.0309456586837769,
141
+ "learning_rate": 2.9049385504830985e-05,
142
+ "loss": 1.129,
143
+ "step": 18
144
+ },
145
+ {
146
+ "epoch": 0.011523226503420959,
147
+ "grad_norm": 1.016621708869934,
148
+ "learning_rate": 2.4285108555160577e-05,
149
+ "loss": 1.2013,
150
+ "step": 19
151
+ },
152
+ {
153
+ "epoch": 0.012129712108864167,
154
+ "grad_norm": 1.0528644323349,
155
+ "learning_rate": 2.0092991918301108e-05,
156
+ "loss": 1.277,
157
+ "step": 20
158
+ },
159
+ {
160
+ "epoch": 0.012736197714307375,
161
+ "grad_norm": 0.867617130279541,
162
+ "learning_rate": 1.6551126795408016e-05,
163
+ "loss": 1.2926,
164
+ "step": 21
165
+ },
166
+ {
167
+ "epoch": 0.013342683319750583,
168
+ "grad_norm": 0.9080958366394043,
169
+ "learning_rate": 1.3725491432254624e-05,
170
+ "loss": 1.4072,
171
+ "step": 22
172
+ },
173
+ {
174
+ "epoch": 0.013949168925193791,
175
+ "grad_norm": 0.8537561893463135,
176
+ "learning_rate": 1.1668722069349041e-05,
177
+ "loss": 1.4946,
178
+ "step": 23
179
+ },
180
+ {
181
+ "epoch": 0.014555654530636999,
182
+ "grad_norm": 0.6739559173583984,
183
+ "learning_rate": 1.0419132428365116e-05,
184
+ "loss": 1.6581,
185
+ "step": 24
186
+ },
187
+ {
188
+ "epoch": 0.015162140136080207,
189
+ "grad_norm": 0.7529584765434265,
190
+ "learning_rate": 1e-05,
191
+ "loss": 1.6946,
192
+ "step": 25
193
+ },
194
+ {
195
+ "epoch": 0.015162140136080207,
196
+ "eval_loss": 1.2664278745651245,
197
+ "eval_runtime": 2.9983,
198
+ "eval_samples_per_second": 16.676,
199
+ "eval_steps_per_second": 4.336,
200
+ "step": 25
201
+ }
202
+ ],
203
+ "logging_steps": 1,
204
+ "max_steps": 25,
205
+ "num_input_tokens_seen": 0,
206
+ "num_train_epochs": 1,
207
+ "save_steps": 25,
208
+ "stateful_callbacks": {
209
+ "EarlyStoppingCallback": {
210
+ "args": {
211
+ "early_stopping_patience": 1,
212
+ "early_stopping_threshold": 0.0
213
+ },
214
+ "attributes": {
215
+ "early_stopping_patience_counter": 0
216
+ }
217
+ },
218
+ "TrainerControl": {
219
+ "args": {
220
+ "should_epoch_stop": false,
221
+ "should_evaluate": false,
222
+ "should_log": false,
223
+ "should_save": true,
224
+ "should_training_stop": true
225
+ },
226
+ "attributes": {}
227
+ }
228
+ },
229
+ "total_flos": 2.629552387915776e+17,
230
+ "train_batch_size": 1,
231
+ "trial_name": null,
232
+ "trial_params": null
233
+ }
last-checkpoint/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e0c43fad6a948433ab02fdec24e201621cd2a07561730cb02df33cd3338ebe73
3
+ size 6840