omarfarooq908 commited on
Commit
5da576c
1 Parent(s): 65afe00

Upload folder using huggingface_hub

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. checkpoint-100/README.md +257 -0
  2. checkpoint-100/adapter_config.json +30 -0
  3. checkpoint-100/adapter_model.safetensors +3 -0
  4. checkpoint-100/optimizer.pt +3 -0
  5. checkpoint-100/rng_state.pth +3 -0
  6. checkpoint-100/scheduler.pt +3 -0
  7. checkpoint-100/trainer_state.json +63 -0
  8. checkpoint-100/training_args.bin +3 -0
  9. checkpoint-125/README.md +257 -0
  10. checkpoint-125/adapter_config.json +30 -0
  11. checkpoint-125/adapter_model.safetensors +3 -0
  12. checkpoint-125/optimizer.pt +3 -0
  13. checkpoint-125/rng_state.pth +3 -0
  14. checkpoint-125/scheduler.pt +3 -0
  15. checkpoint-125/trainer_state.json +108 -0
  16. checkpoint-125/training_args.bin +3 -0
  17. checkpoint-150/README.md +257 -0
  18. checkpoint-150/adapter_config.json +30 -0
  19. checkpoint-150/adapter_model.safetensors +3 -0
  20. checkpoint-150/optimizer.pt +3 -0
  21. checkpoint-150/rng_state.pth +3 -0
  22. checkpoint-150/scheduler.pt +3 -0
  23. checkpoint-150/trainer_state.json +78 -0
  24. checkpoint-150/training_args.bin +3 -0
  25. checkpoint-175/README.md +238 -0
  26. checkpoint-175/adapter_config.json +30 -0
  27. checkpoint-175/adapter_model.safetensors +3 -0
  28. checkpoint-175/optimizer.pt +3 -0
  29. checkpoint-175/rng_state.pth +3 -0
  30. checkpoint-175/scheduler.pt +3 -0
  31. checkpoint-175/trainer_state.json +138 -0
  32. checkpoint-175/training_args.bin +3 -0
  33. checkpoint-200/README.md +238 -0
  34. checkpoint-200/adapter_config.json +30 -0
  35. checkpoint-200/adapter_model.safetensors +3 -0
  36. checkpoint-200/optimizer.pt +3 -0
  37. checkpoint-200/rng_state.pth +3 -0
  38. checkpoint-200/scheduler.pt +3 -0
  39. checkpoint-200/trainer_state.json +93 -0
  40. checkpoint-200/training_args.bin +3 -0
  41. checkpoint-225/README.md +238 -0
  42. checkpoint-225/adapter_config.json +30 -0
  43. checkpoint-225/adapter_model.safetensors +3 -0
  44. checkpoint-225/optimizer.pt +3 -0
  45. checkpoint-225/rng_state.pth +3 -0
  46. checkpoint-225/scheduler.pt +3 -0
  47. checkpoint-225/trainer_state.json +168 -0
  48. checkpoint-225/training_args.bin +3 -0
  49. checkpoint-25/README.md +257 -0
  50. checkpoint-25/adapter_config.json +30 -0
checkpoint-100/README.md ADDED
@@ -0,0 +1,257 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ base_model: microsoft/phi-2
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
+ ## Training procedure
201
+
202
+
203
+ The following `bitsandbytes` quantization config was used during training:
204
+ - quant_method: bitsandbytes
205
+ - load_in_8bit: False
206
+ - load_in_4bit: True
207
+ - llm_int8_threshold: 6.0
208
+ - llm_int8_skip_modules: None
209
+ - llm_int8_enable_fp32_cpu_offload: False
210
+ - llm_int8_has_fp16_weight: False
211
+ - bnb_4bit_quant_type: fp4
212
+ - bnb_4bit_use_double_quant: False
213
+ - bnb_4bit_compute_dtype: float32
214
+
215
+ ### Framework versions
216
+
217
+ - PEFT 0.10.1.dev0
218
+
219
+ - PEFT 0.6.2
220
+ ## Training procedure
221
+
222
+
223
+ The following `bitsandbytes` quantization config was used during training:
224
+ - quant_method: bitsandbytes
225
+ - load_in_8bit: False
226
+ - load_in_4bit: True
227
+ - llm_int8_threshold: 6.0
228
+ - llm_int8_skip_modules: None
229
+ - llm_int8_enable_fp32_cpu_offload: False
230
+ - llm_int8_has_fp16_weight: False
231
+ - bnb_4bit_quant_type: fp4
232
+ - bnb_4bit_use_double_quant: False
233
+ - bnb_4bit_compute_dtype: float32
234
+
235
+ ### Framework versions
236
+
237
+
238
+ - PEFT 0.6.2
239
+ ## Training procedure
240
+
241
+
242
+ The following `bitsandbytes` quantization config was used during training:
243
+ - quant_method: bitsandbytes
244
+ - load_in_8bit: False
245
+ - load_in_4bit: True
246
+ - llm_int8_threshold: 6.0
247
+ - llm_int8_skip_modules: None
248
+ - llm_int8_enable_fp32_cpu_offload: False
249
+ - llm_int8_has_fp16_weight: False
250
+ - bnb_4bit_quant_type: fp4
251
+ - bnb_4bit_use_double_quant: False
252
+ - bnb_4bit_compute_dtype: float32
253
+
254
+ ### Framework versions
255
+
256
+
257
+ - PEFT 0.6.2
checkpoint-100/adapter_config.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "microsoft/phi-2",
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": 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
+ "Wqkv",
24
+ "fc1",
25
+ "fc2"
26
+ ],
27
+ "task_type": "CAUSAL_LM",
28
+ "use_dora": false,
29
+ "use_rslora": false
30
+ }
checkpoint-100/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7a347059ca5946292e5185450f58344daf398bb562ef8c73459694e68a9eadd5
3
+ size 104873776
checkpoint-100/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a001c89423693890962ddb48206208ec6670ff2697fc9ef426e5d31c40069f32
3
+ size 52680378
checkpoint-100/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:24fff1176542be3f8915435509ad37671be7e317510b42540beeef38f0d9e312
3
+ size 14244
checkpoint-100/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:92441db39511d89dce542ecb6aba421c47cfcefd7a75d4164e2e911229478ceb
3
+ size 1064
checkpoint-100/trainer_state.json ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 0.02070822116380203,
5
+ "eval_steps": 50,
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.010354110581901015,
13
+ "grad_norm": 7.257113933563232,
14
+ "learning_rate": 2.2545090180360722e-05,
15
+ "loss": 2.2524,
16
+ "step": 50
17
+ },
18
+ {
19
+ "epoch": 0.010354110581901015,
20
+ "eval_loss": 2.0315754413604736,
21
+ "eval_runtime": 22593.0877,
22
+ "eval_samples_per_second": 0.427,
23
+ "eval_steps_per_second": 0.053,
24
+ "step": 50
25
+ },
26
+ {
27
+ "epoch": 0.02070822116380203,
28
+ "grad_norm": 8.316986083984375,
29
+ "learning_rate": 2.0040080160320643e-05,
30
+ "loss": 2.015,
31
+ "step": 100
32
+ },
33
+ {
34
+ "epoch": 0.02070822116380203,
35
+ "eval_loss": 1.9098063707351685,
36
+ "eval_runtime": 22720.7806,
37
+ "eval_samples_per_second": 0.425,
38
+ "eval_steps_per_second": 0.053,
39
+ "step": 100
40
+ }
41
+ ],
42
+ "logging_steps": 50,
43
+ "max_steps": 500,
44
+ "num_input_tokens_seen": 0,
45
+ "num_train_epochs": 1,
46
+ "save_steps": 50,
47
+ "stateful_callbacks": {
48
+ "TrainerControl": {
49
+ "args": {
50
+ "should_epoch_stop": false,
51
+ "should_evaluate": false,
52
+ "should_log": false,
53
+ "should_save": true,
54
+ "should_training_stop": false
55
+ },
56
+ "attributes": {}
57
+ }
58
+ },
59
+ "total_flos": 1643413241856000.0,
60
+ "train_batch_size": 2,
61
+ "trial_name": null,
62
+ "trial_params": null
63
+ }
checkpoint-100/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f4290bfc84195d6086fe80526067bab55403a94f2de1549a613a47aeb4aff66d
3
+ size 5048
checkpoint-125/README.md ADDED
@@ -0,0 +1,257 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ base_model: microsoft/phi-2
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
+ ## Training procedure
201
+
202
+
203
+ The following `bitsandbytes` quantization config was used during training:
204
+ - quant_method: bitsandbytes
205
+ - load_in_8bit: False
206
+ - load_in_4bit: True
207
+ - llm_int8_threshold: 6.0
208
+ - llm_int8_skip_modules: None
209
+ - llm_int8_enable_fp32_cpu_offload: False
210
+ - llm_int8_has_fp16_weight: False
211
+ - bnb_4bit_quant_type: fp4
212
+ - bnb_4bit_use_double_quant: False
213
+ - bnb_4bit_compute_dtype: float32
214
+
215
+ ### Framework versions
216
+
217
+ - PEFT 0.10.1.dev0
218
+
219
+ - PEFT 0.6.2
220
+ ## Training procedure
221
+
222
+
223
+ The following `bitsandbytes` quantization config was used during training:
224
+ - quant_method: bitsandbytes
225
+ - load_in_8bit: False
226
+ - load_in_4bit: True
227
+ - llm_int8_threshold: 6.0
228
+ - llm_int8_skip_modules: None
229
+ - llm_int8_enable_fp32_cpu_offload: False
230
+ - llm_int8_has_fp16_weight: False
231
+ - bnb_4bit_quant_type: fp4
232
+ - bnb_4bit_use_double_quant: False
233
+ - bnb_4bit_compute_dtype: float32
234
+
235
+ ### Framework versions
236
+
237
+
238
+ - PEFT 0.6.2
239
+ ## Training procedure
240
+
241
+
242
+ The following `bitsandbytes` quantization config was used during training:
243
+ - quant_method: bitsandbytes
244
+ - load_in_8bit: False
245
+ - load_in_4bit: True
246
+ - llm_int8_threshold: 6.0
247
+ - llm_int8_skip_modules: None
248
+ - llm_int8_enable_fp32_cpu_offload: False
249
+ - llm_int8_has_fp16_weight: False
250
+ - bnb_4bit_quant_type: fp4
251
+ - bnb_4bit_use_double_quant: False
252
+ - bnb_4bit_compute_dtype: float32
253
+
254
+ ### Framework versions
255
+
256
+
257
+ - PEFT 0.6.2
checkpoint-125/adapter_config.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "microsoft/phi-2",
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": 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
+ "Wqkv",
24
+ "fc2",
25
+ "fc1"
26
+ ],
27
+ "task_type": "CAUSAL_LM",
28
+ "use_dora": false,
29
+ "use_rslora": false
30
+ }
checkpoint-125/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:78dfc678bd89a8b7c4f8404cf2ccdf9db63330ce45c493a804bac7f261e3badb
3
+ size 104873776
checkpoint-125/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:02dfadb32c000fba48b9f2e88169f81a81e808e782ca042776003641c5e1d784
3
+ size 52680378
checkpoint-125/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:789498f87f36bcb01e76466ea8430383b779f5bcede05edde78f0fb52c91926d
3
+ size 14244
checkpoint-125/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4ca61dc3978f7d5400fcdf426e1ee63051e419549109531508ba04513d698952
3
+ size 1064
checkpoint-125/trainer_state.json ADDED
@@ -0,0 +1,108 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 0.025885276454752536,
5
+ "eval_steps": 25,
6
+ "global_step": 125,
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.0051770552909505075,
13
+ "grad_norm": 6.5560479164123535,
14
+ "learning_rate": 2.3797595190380762e-05,
15
+ "loss": 2.3718,
16
+ "step": 25
17
+ },
18
+ {
19
+ "epoch": 0.0051770552909505075,
20
+ "eval_loss": 2.1950066089630127,
21
+ "eval_runtime": 22606.8976,
22
+ "eval_samples_per_second": 0.427,
23
+ "eval_steps_per_second": 0.053,
24
+ "step": 25
25
+ },
26
+ {
27
+ "epoch": 0.010354110581901015,
28
+ "grad_norm": 6.057673454284668,
29
+ "learning_rate": 2.2545090180360722e-05,
30
+ "loss": 2.1371,
31
+ "step": 50
32
+ },
33
+ {
34
+ "epoch": 0.010354110581901015,
35
+ "eval_loss": 2.0699515342712402,
36
+ "eval_runtime": 22610.0414,
37
+ "eval_samples_per_second": 0.427,
38
+ "eval_steps_per_second": 0.053,
39
+ "step": 50
40
+ },
41
+ {
42
+ "epoch": 0.015531165872851522,
43
+ "grad_norm": 8.709203720092773,
44
+ "learning_rate": 2.1292585170340683e-05,
45
+ "loss": 2.029,
46
+ "step": 75
47
+ },
48
+ {
49
+ "epoch": 0.015531165872851522,
50
+ "eval_loss": 1.951442837715149,
51
+ "eval_runtime": 22577.4979,
52
+ "eval_samples_per_second": 0.428,
53
+ "eval_steps_per_second": 0.054,
54
+ "step": 75
55
+ },
56
+ {
57
+ "epoch": 0.02070822116380203,
58
+ "grad_norm": 9.000727653503418,
59
+ "learning_rate": 2.0040080160320643e-05,
60
+ "loss": 1.9957,
61
+ "step": 100
62
+ },
63
+ {
64
+ "epoch": 0.02070822116380203,
65
+ "eval_loss": 1.8961551189422607,
66
+ "eval_runtime": 22614.8229,
67
+ "eval_samples_per_second": 0.427,
68
+ "eval_steps_per_second": 0.053,
69
+ "step": 100
70
+ },
71
+ {
72
+ "epoch": 0.025885276454752536,
73
+ "grad_norm": 9.183732032775879,
74
+ "learning_rate": 1.87875751503006e-05,
75
+ "loss": 1.9914,
76
+ "step": 125
77
+ },
78
+ {
79
+ "epoch": 0.025885276454752536,
80
+ "eval_loss": 1.862902045249939,
81
+ "eval_runtime": 22598.368,
82
+ "eval_samples_per_second": 0.427,
83
+ "eval_steps_per_second": 0.053,
84
+ "step": 125
85
+ }
86
+ ],
87
+ "logging_steps": 25,
88
+ "max_steps": 500,
89
+ "num_input_tokens_seen": 0,
90
+ "num_train_epochs": 1,
91
+ "save_steps": 25,
92
+ "stateful_callbacks": {
93
+ "TrainerControl": {
94
+ "args": {
95
+ "should_epoch_stop": false,
96
+ "should_evaluate": false,
97
+ "should_log": false,
98
+ "should_save": true,
99
+ "should_training_stop": false
100
+ },
101
+ "attributes": {}
102
+ }
103
+ },
104
+ "total_flos": 2054266552320000.0,
105
+ "train_batch_size": 2,
106
+ "trial_name": null,
107
+ "trial_params": null
108
+ }
checkpoint-125/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8af7243fb9981503fab74377f555d7cf4fd84fdf6ade5597d40db3eff2c6d7a1
3
+ size 5048
checkpoint-150/README.md ADDED
@@ -0,0 +1,257 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ base_model: microsoft/phi-2
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
+ ## Training procedure
201
+
202
+
203
+ The following `bitsandbytes` quantization config was used during training:
204
+ - quant_method: bitsandbytes
205
+ - load_in_8bit: False
206
+ - load_in_4bit: True
207
+ - llm_int8_threshold: 6.0
208
+ - llm_int8_skip_modules: None
209
+ - llm_int8_enable_fp32_cpu_offload: False
210
+ - llm_int8_has_fp16_weight: False
211
+ - bnb_4bit_quant_type: fp4
212
+ - bnb_4bit_use_double_quant: False
213
+ - bnb_4bit_compute_dtype: float32
214
+
215
+ ### Framework versions
216
+
217
+ - PEFT 0.10.1.dev0
218
+
219
+ - PEFT 0.6.2
220
+ ## Training procedure
221
+
222
+
223
+ The following `bitsandbytes` quantization config was used during training:
224
+ - quant_method: bitsandbytes
225
+ - load_in_8bit: False
226
+ - load_in_4bit: True
227
+ - llm_int8_threshold: 6.0
228
+ - llm_int8_skip_modules: None
229
+ - llm_int8_enable_fp32_cpu_offload: False
230
+ - llm_int8_has_fp16_weight: False
231
+ - bnb_4bit_quant_type: fp4
232
+ - bnb_4bit_use_double_quant: False
233
+ - bnb_4bit_compute_dtype: float32
234
+
235
+ ### Framework versions
236
+
237
+
238
+ - PEFT 0.6.2
239
+ ## Training procedure
240
+
241
+
242
+ The following `bitsandbytes` quantization config was used during training:
243
+ - quant_method: bitsandbytes
244
+ - load_in_8bit: False
245
+ - load_in_4bit: True
246
+ - llm_int8_threshold: 6.0
247
+ - llm_int8_skip_modules: None
248
+ - llm_int8_enable_fp32_cpu_offload: False
249
+ - llm_int8_has_fp16_weight: False
250
+ - bnb_4bit_quant_type: fp4
251
+ - bnb_4bit_use_double_quant: False
252
+ - bnb_4bit_compute_dtype: float32
253
+
254
+ ### Framework versions
255
+
256
+
257
+ - PEFT 0.6.2
checkpoint-150/adapter_config.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "microsoft/phi-2",
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": 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
+ "Wqkv",
24
+ "fc1",
25
+ "fc2"
26
+ ],
27
+ "task_type": "CAUSAL_LM",
28
+ "use_dora": false,
29
+ "use_rslora": false
30
+ }
checkpoint-150/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f65e4941702b1728d154d2df9ee498d4f27e93fc7f969bf18156a9acb014f2c4
3
+ size 104873776
checkpoint-150/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:98b3411a620c9098ea9a1ac2abc1c7b7392f9b98123c2866c6d701c5e3e69ea5
3
+ size 52680378
checkpoint-150/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2f301d9e8f553749ea7daa488fc9e16eb63482c302bab34be07c51c48adbffba
3
+ size 14244
checkpoint-150/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ccceb5409a2f589d3f6c1db287698febf9573d0daa3ed1fb097a927fa91b6420
3
+ size 1064
checkpoint-150/trainer_state.json ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 0.031062331745703043,
5
+ "eval_steps": 50,
6
+ "global_step": 150,
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.010354110581901015,
13
+ "grad_norm": 7.257113933563232,
14
+ "learning_rate": 2.2545090180360722e-05,
15
+ "loss": 2.2524,
16
+ "step": 50
17
+ },
18
+ {
19
+ "epoch": 0.010354110581901015,
20
+ "eval_loss": 2.0315754413604736,
21
+ "eval_runtime": 22593.0877,
22
+ "eval_samples_per_second": 0.427,
23
+ "eval_steps_per_second": 0.053,
24
+ "step": 50
25
+ },
26
+ {
27
+ "epoch": 0.02070822116380203,
28
+ "grad_norm": 8.316986083984375,
29
+ "learning_rate": 2.0040080160320643e-05,
30
+ "loss": 2.015,
31
+ "step": 100
32
+ },
33
+ {
34
+ "epoch": 0.02070822116380203,
35
+ "eval_loss": 1.9098063707351685,
36
+ "eval_runtime": 22720.7806,
37
+ "eval_samples_per_second": 0.425,
38
+ "eval_steps_per_second": 0.053,
39
+ "step": 100
40
+ },
41
+ {
42
+ "epoch": 0.031062331745703043,
43
+ "grad_norm": 9.276594161987305,
44
+ "learning_rate": 1.7535070140280564e-05,
45
+ "loss": 1.9563,
46
+ "step": 150
47
+ },
48
+ {
49
+ "epoch": 0.031062331745703043,
50
+ "eval_loss": 1.8264315128326416,
51
+ "eval_runtime": 22682.9888,
52
+ "eval_samples_per_second": 0.426,
53
+ "eval_steps_per_second": 0.053,
54
+ "step": 150
55
+ }
56
+ ],
57
+ "logging_steps": 50,
58
+ "max_steps": 500,
59
+ "num_input_tokens_seen": 0,
60
+ "num_train_epochs": 1,
61
+ "save_steps": 50,
62
+ "stateful_callbacks": {
63
+ "TrainerControl": {
64
+ "args": {
65
+ "should_epoch_stop": false,
66
+ "should_evaluate": false,
67
+ "should_log": false,
68
+ "should_save": true,
69
+ "should_training_stop": false
70
+ },
71
+ "attributes": {}
72
+ }
73
+ },
74
+ "total_flos": 2465119862784000.0,
75
+ "train_batch_size": 2,
76
+ "trial_name": null,
77
+ "trial_params": null
78
+ }
checkpoint-150/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f4290bfc84195d6086fe80526067bab55403a94f2de1549a613a47aeb4aff66d
3
+ size 5048
checkpoint-175/README.md ADDED
@@ -0,0 +1,238 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ base_model: microsoft/phi-2
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
+ ## Training procedure
201
+
202
+
203
+ The following `bitsandbytes` quantization config was used during training:
204
+ - quant_method: bitsandbytes
205
+ - load_in_8bit: False
206
+ - load_in_4bit: True
207
+ - llm_int8_threshold: 6.0
208
+ - llm_int8_skip_modules: None
209
+ - llm_int8_enable_fp32_cpu_offload: False
210
+ - llm_int8_has_fp16_weight: False
211
+ - bnb_4bit_quant_type: fp4
212
+ - bnb_4bit_use_double_quant: False
213
+ - bnb_4bit_compute_dtype: float32
214
+
215
+ ### Framework versions
216
+
217
+ - PEFT 0.10.1.dev0
218
+
219
+ - PEFT 0.6.2
220
+ ## Training procedure
221
+
222
+
223
+ The following `bitsandbytes` quantization config was used during training:
224
+ - quant_method: bitsandbytes
225
+ - load_in_8bit: False
226
+ - load_in_4bit: True
227
+ - llm_int8_threshold: 6.0
228
+ - llm_int8_skip_modules: None
229
+ - llm_int8_enable_fp32_cpu_offload: False
230
+ - llm_int8_has_fp16_weight: False
231
+ - bnb_4bit_quant_type: fp4
232
+ - bnb_4bit_use_double_quant: False
233
+ - bnb_4bit_compute_dtype: float32
234
+
235
+ ### Framework versions
236
+
237
+
238
+ - PEFT 0.6.2
checkpoint-175/adapter_config.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "microsoft/phi-2",
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": 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
+ "Wqkv",
24
+ "fc2",
25
+ "fc1"
26
+ ],
27
+ "task_type": "CAUSAL_LM",
28
+ "use_dora": false,
29
+ "use_rslora": false
30
+ }
checkpoint-175/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1bae2058cdb2c614b0a53d4bedc8b1399e2af62a04a33855f3abf23785b9f782
3
+ size 104873776
checkpoint-175/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d3460f7c9c332eca649ce9b5c5f5d4d803e4548801f9263b452b14aa575d288d
3
+ size 52680378
checkpoint-175/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d1108d48428c8db2e2e3f78f694288ca08015efa4d50521f56fdafa33758c194
3
+ size 14244
checkpoint-175/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a34410ad021defcd5908748f1e45902861a7469af78faa748a15a11fa9749909
3
+ size 1064
checkpoint-175/trainer_state.json ADDED
@@ -0,0 +1,138 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 0.03623938703665355,
5
+ "eval_steps": 25,
6
+ "global_step": 175,
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.0051770552909505075,
13
+ "grad_norm": 6.5560479164123535,
14
+ "learning_rate": 2.3797595190380762e-05,
15
+ "loss": 2.3718,
16
+ "step": 25
17
+ },
18
+ {
19
+ "epoch": 0.0051770552909505075,
20
+ "eval_loss": 2.1950066089630127,
21
+ "eval_runtime": 22606.8976,
22
+ "eval_samples_per_second": 0.427,
23
+ "eval_steps_per_second": 0.053,
24
+ "step": 25
25
+ },
26
+ {
27
+ "epoch": 0.010354110581901015,
28
+ "grad_norm": 6.057673454284668,
29
+ "learning_rate": 2.2545090180360722e-05,
30
+ "loss": 2.1371,
31
+ "step": 50
32
+ },
33
+ {
34
+ "epoch": 0.010354110581901015,
35
+ "eval_loss": 2.0699515342712402,
36
+ "eval_runtime": 22610.0414,
37
+ "eval_samples_per_second": 0.427,
38
+ "eval_steps_per_second": 0.053,
39
+ "step": 50
40
+ },
41
+ {
42
+ "epoch": 0.015531165872851522,
43
+ "grad_norm": 8.709203720092773,
44
+ "learning_rate": 2.1292585170340683e-05,
45
+ "loss": 2.029,
46
+ "step": 75
47
+ },
48
+ {
49
+ "epoch": 0.015531165872851522,
50
+ "eval_loss": 1.951442837715149,
51
+ "eval_runtime": 22577.4979,
52
+ "eval_samples_per_second": 0.428,
53
+ "eval_steps_per_second": 0.054,
54
+ "step": 75
55
+ },
56
+ {
57
+ "epoch": 0.02070822116380203,
58
+ "grad_norm": 9.000727653503418,
59
+ "learning_rate": 2.0040080160320643e-05,
60
+ "loss": 1.9957,
61
+ "step": 100
62
+ },
63
+ {
64
+ "epoch": 0.02070822116380203,
65
+ "eval_loss": 1.8961551189422607,
66
+ "eval_runtime": 22614.8229,
67
+ "eval_samples_per_second": 0.427,
68
+ "eval_steps_per_second": 0.053,
69
+ "step": 100
70
+ },
71
+ {
72
+ "epoch": 0.025885276454752536,
73
+ "grad_norm": 9.183732032775879,
74
+ "learning_rate": 1.87875751503006e-05,
75
+ "loss": 1.9914,
76
+ "step": 125
77
+ },
78
+ {
79
+ "epoch": 0.025885276454752536,
80
+ "eval_loss": 1.862902045249939,
81
+ "eval_runtime": 22598.368,
82
+ "eval_samples_per_second": 0.427,
83
+ "eval_steps_per_second": 0.053,
84
+ "step": 125
85
+ },
86
+ {
87
+ "epoch": 0.031062331745703043,
88
+ "grad_norm": 9.752124786376953,
89
+ "learning_rate": 1.7535070140280564e-05,
90
+ "loss": 1.9101,
91
+ "step": 150
92
+ },
93
+ {
94
+ "epoch": 0.031062331745703043,
95
+ "eval_loss": 1.8291873931884766,
96
+ "eval_runtime": 22569.5842,
97
+ "eval_samples_per_second": 0.428,
98
+ "eval_steps_per_second": 0.054,
99
+ "step": 150
100
+ },
101
+ {
102
+ "epoch": 0.03623938703665355,
103
+ "grad_norm": 10.182242393493652,
104
+ "learning_rate": 1.628256513026052e-05,
105
+ "loss": 1.9184,
106
+ "step": 175
107
+ },
108
+ {
109
+ "epoch": 0.03623938703665355,
110
+ "eval_loss": 1.8157259225845337,
111
+ "eval_runtime": 22567.2098,
112
+ "eval_samples_per_second": 0.428,
113
+ "eval_steps_per_second": 0.054,
114
+ "step": 175
115
+ }
116
+ ],
117
+ "logging_steps": 25,
118
+ "max_steps": 500,
119
+ "num_input_tokens_seen": 0,
120
+ "num_train_epochs": 1,
121
+ "save_steps": 25,
122
+ "stateful_callbacks": {
123
+ "TrainerControl": {
124
+ "args": {
125
+ "should_epoch_stop": false,
126
+ "should_evaluate": false,
127
+ "should_log": false,
128
+ "should_save": true,
129
+ "should_training_stop": false
130
+ },
131
+ "attributes": {}
132
+ }
133
+ },
134
+ "total_flos": 2875973173248000.0,
135
+ "train_batch_size": 2,
136
+ "trial_name": null,
137
+ "trial_params": null
138
+ }
checkpoint-175/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8af7243fb9981503fab74377f555d7cf4fd84fdf6ade5597d40db3eff2c6d7a1
3
+ size 5048
checkpoint-200/README.md ADDED
@@ -0,0 +1,238 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ base_model: microsoft/phi-2
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
+ ## Training procedure
201
+
202
+
203
+ The following `bitsandbytes` quantization config was used during training:
204
+ - quant_method: bitsandbytes
205
+ - load_in_8bit: False
206
+ - load_in_4bit: True
207
+ - llm_int8_threshold: 6.0
208
+ - llm_int8_skip_modules: None
209
+ - llm_int8_enable_fp32_cpu_offload: False
210
+ - llm_int8_has_fp16_weight: False
211
+ - bnb_4bit_quant_type: fp4
212
+ - bnb_4bit_use_double_quant: False
213
+ - bnb_4bit_compute_dtype: float32
214
+
215
+ ### Framework versions
216
+
217
+ - PEFT 0.10.1.dev0
218
+
219
+ - PEFT 0.6.2
220
+ ## Training procedure
221
+
222
+
223
+ The following `bitsandbytes` quantization config was used during training:
224
+ - quant_method: bitsandbytes
225
+ - load_in_8bit: False
226
+ - load_in_4bit: True
227
+ - llm_int8_threshold: 6.0
228
+ - llm_int8_skip_modules: None
229
+ - llm_int8_enable_fp32_cpu_offload: False
230
+ - llm_int8_has_fp16_weight: False
231
+ - bnb_4bit_quant_type: fp4
232
+ - bnb_4bit_use_double_quant: False
233
+ - bnb_4bit_compute_dtype: float32
234
+
235
+ ### Framework versions
236
+
237
+
238
+ - PEFT 0.6.2
checkpoint-200/adapter_config.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "microsoft/phi-2",
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": 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
+ "Wqkv",
24
+ "fc1",
25
+ "fc2"
26
+ ],
27
+ "task_type": "CAUSAL_LM",
28
+ "use_dora": false,
29
+ "use_rslora": false
30
+ }
checkpoint-200/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a09f9f9384869341b10aad062c5b0ceba3cdccab8cef1f2b1ec4916708881e79
3
+ size 104873776
checkpoint-200/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e8dc3875701094116a054260b614e494a15345d9ce19193aff9ab067d16a4b98
3
+ size 52680378
checkpoint-200/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2c968724c30b7a3979e4c8e24650bf28ca0bc7cdeb7270acc4d60b8a38663221
3
+ size 14244
checkpoint-200/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:065a00dd19cd52a6fcd328af6948b9b16901e53c55bdcdbac2210639d7a19c59
3
+ size 1064
checkpoint-200/trainer_state.json ADDED
@@ -0,0 +1,93 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 0.04141644232760406,
5
+ "eval_steps": 50,
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.010354110581901015,
13
+ "grad_norm": 7.257113933563232,
14
+ "learning_rate": 2.2545090180360722e-05,
15
+ "loss": 2.2524,
16
+ "step": 50
17
+ },
18
+ {
19
+ "epoch": 0.010354110581901015,
20
+ "eval_loss": 2.0315754413604736,
21
+ "eval_runtime": 22593.0877,
22
+ "eval_samples_per_second": 0.427,
23
+ "eval_steps_per_second": 0.053,
24
+ "step": 50
25
+ },
26
+ {
27
+ "epoch": 0.02070822116380203,
28
+ "grad_norm": 8.316986083984375,
29
+ "learning_rate": 2.0040080160320643e-05,
30
+ "loss": 2.015,
31
+ "step": 100
32
+ },
33
+ {
34
+ "epoch": 0.02070822116380203,
35
+ "eval_loss": 1.9098063707351685,
36
+ "eval_runtime": 22720.7806,
37
+ "eval_samples_per_second": 0.425,
38
+ "eval_steps_per_second": 0.053,
39
+ "step": 100
40
+ },
41
+ {
42
+ "epoch": 0.031062331745703043,
43
+ "grad_norm": 9.276594161987305,
44
+ "learning_rate": 1.7535070140280564e-05,
45
+ "loss": 1.9563,
46
+ "step": 150
47
+ },
48
+ {
49
+ "epoch": 0.031062331745703043,
50
+ "eval_loss": 1.8264315128326416,
51
+ "eval_runtime": 22682.9888,
52
+ "eval_samples_per_second": 0.426,
53
+ "eval_steps_per_second": 0.053,
54
+ "step": 150
55
+ },
56
+ {
57
+ "epoch": 0.04141644232760406,
58
+ "grad_norm": 17.792049407958984,
59
+ "learning_rate": 1.5030060120240483e-05,
60
+ "loss": 1.8385,
61
+ "step": 200
62
+ },
63
+ {
64
+ "epoch": 0.04141644232760406,
65
+ "eval_loss": 1.7933390140533447,
66
+ "eval_runtime": 22674.0168,
67
+ "eval_samples_per_second": 0.426,
68
+ "eval_steps_per_second": 0.053,
69
+ "step": 200
70
+ }
71
+ ],
72
+ "logging_steps": 50,
73
+ "max_steps": 500,
74
+ "num_input_tokens_seen": 0,
75
+ "num_train_epochs": 1,
76
+ "save_steps": 50,
77
+ "stateful_callbacks": {
78
+ "TrainerControl": {
79
+ "args": {
80
+ "should_epoch_stop": false,
81
+ "should_evaluate": false,
82
+ "should_log": false,
83
+ "should_save": true,
84
+ "should_training_stop": false
85
+ },
86
+ "attributes": {}
87
+ }
88
+ },
89
+ "total_flos": 3286826483712000.0,
90
+ "train_batch_size": 2,
91
+ "trial_name": null,
92
+ "trial_params": null
93
+ }
checkpoint-200/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f4290bfc84195d6086fe80526067bab55403a94f2de1549a613a47aeb4aff66d
3
+ size 5048
checkpoint-225/README.md ADDED
@@ -0,0 +1,238 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ base_model: microsoft/phi-2
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
+ ## Training procedure
201
+
202
+
203
+ The following `bitsandbytes` quantization config was used during training:
204
+ - quant_method: bitsandbytes
205
+ - load_in_8bit: False
206
+ - load_in_4bit: True
207
+ - llm_int8_threshold: 6.0
208
+ - llm_int8_skip_modules: None
209
+ - llm_int8_enable_fp32_cpu_offload: False
210
+ - llm_int8_has_fp16_weight: False
211
+ - bnb_4bit_quant_type: fp4
212
+ - bnb_4bit_use_double_quant: False
213
+ - bnb_4bit_compute_dtype: float32
214
+
215
+ ### Framework versions
216
+
217
+ - PEFT 0.10.1.dev0
218
+
219
+ - PEFT 0.6.2
220
+ ## Training procedure
221
+
222
+
223
+ The following `bitsandbytes` quantization config was used during training:
224
+ - quant_method: bitsandbytes
225
+ - load_in_8bit: False
226
+ - load_in_4bit: True
227
+ - llm_int8_threshold: 6.0
228
+ - llm_int8_skip_modules: None
229
+ - llm_int8_enable_fp32_cpu_offload: False
230
+ - llm_int8_has_fp16_weight: False
231
+ - bnb_4bit_quant_type: fp4
232
+ - bnb_4bit_use_double_quant: False
233
+ - bnb_4bit_compute_dtype: float32
234
+
235
+ ### Framework versions
236
+
237
+
238
+ - PEFT 0.6.2
checkpoint-225/adapter_config.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "microsoft/phi-2",
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": 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
+ "Wqkv",
24
+ "fc2",
25
+ "fc1"
26
+ ],
27
+ "task_type": "CAUSAL_LM",
28
+ "use_dora": false,
29
+ "use_rslora": false
30
+ }
checkpoint-225/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:22040603dec0d9bffde616236a4c7e286c0a7c8a9d1dc1c832d70a6894b5cd3f
3
+ size 104873776
checkpoint-225/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5f2910559b262b17e95c5b39a0f37ed0167e6d552ab4c5d0d58807cf4a7ecf7a
3
+ size 52680378
checkpoint-225/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6f9688ae12a42e7a6ddbedef700ed20d5ce52de241d60b847e917d9cfda115f4
3
+ size 14244
checkpoint-225/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f4de1314b44379c7eabbc14eef0d3bfe970787e4c6e6bc52105d5860db4cedfc
3
+ size 1064
checkpoint-225/trainer_state.json ADDED
@@ -0,0 +1,168 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 0.046593497618554566,
5
+ "eval_steps": 25,
6
+ "global_step": 225,
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.0051770552909505075,
13
+ "grad_norm": 6.5560479164123535,
14
+ "learning_rate": 2.3797595190380762e-05,
15
+ "loss": 2.3718,
16
+ "step": 25
17
+ },
18
+ {
19
+ "epoch": 0.0051770552909505075,
20
+ "eval_loss": 2.1950066089630127,
21
+ "eval_runtime": 22606.8976,
22
+ "eval_samples_per_second": 0.427,
23
+ "eval_steps_per_second": 0.053,
24
+ "step": 25
25
+ },
26
+ {
27
+ "epoch": 0.010354110581901015,
28
+ "grad_norm": 6.057673454284668,
29
+ "learning_rate": 2.2545090180360722e-05,
30
+ "loss": 2.1371,
31
+ "step": 50
32
+ },
33
+ {
34
+ "epoch": 0.010354110581901015,
35
+ "eval_loss": 2.0699515342712402,
36
+ "eval_runtime": 22610.0414,
37
+ "eval_samples_per_second": 0.427,
38
+ "eval_steps_per_second": 0.053,
39
+ "step": 50
40
+ },
41
+ {
42
+ "epoch": 0.015531165872851522,
43
+ "grad_norm": 8.709203720092773,
44
+ "learning_rate": 2.1292585170340683e-05,
45
+ "loss": 2.029,
46
+ "step": 75
47
+ },
48
+ {
49
+ "epoch": 0.015531165872851522,
50
+ "eval_loss": 1.951442837715149,
51
+ "eval_runtime": 22577.4979,
52
+ "eval_samples_per_second": 0.428,
53
+ "eval_steps_per_second": 0.054,
54
+ "step": 75
55
+ },
56
+ {
57
+ "epoch": 0.02070822116380203,
58
+ "grad_norm": 9.000727653503418,
59
+ "learning_rate": 2.0040080160320643e-05,
60
+ "loss": 1.9957,
61
+ "step": 100
62
+ },
63
+ {
64
+ "epoch": 0.02070822116380203,
65
+ "eval_loss": 1.8961551189422607,
66
+ "eval_runtime": 22614.8229,
67
+ "eval_samples_per_second": 0.427,
68
+ "eval_steps_per_second": 0.053,
69
+ "step": 100
70
+ },
71
+ {
72
+ "epoch": 0.025885276454752536,
73
+ "grad_norm": 9.183732032775879,
74
+ "learning_rate": 1.87875751503006e-05,
75
+ "loss": 1.9914,
76
+ "step": 125
77
+ },
78
+ {
79
+ "epoch": 0.025885276454752536,
80
+ "eval_loss": 1.862902045249939,
81
+ "eval_runtime": 22598.368,
82
+ "eval_samples_per_second": 0.427,
83
+ "eval_steps_per_second": 0.053,
84
+ "step": 125
85
+ },
86
+ {
87
+ "epoch": 0.031062331745703043,
88
+ "grad_norm": 9.752124786376953,
89
+ "learning_rate": 1.7535070140280564e-05,
90
+ "loss": 1.9101,
91
+ "step": 150
92
+ },
93
+ {
94
+ "epoch": 0.031062331745703043,
95
+ "eval_loss": 1.8291873931884766,
96
+ "eval_runtime": 22569.5842,
97
+ "eval_samples_per_second": 0.428,
98
+ "eval_steps_per_second": 0.054,
99
+ "step": 150
100
+ },
101
+ {
102
+ "epoch": 0.03623938703665355,
103
+ "grad_norm": 10.182242393493652,
104
+ "learning_rate": 1.628256513026052e-05,
105
+ "loss": 1.9184,
106
+ "step": 175
107
+ },
108
+ {
109
+ "epoch": 0.03623938703665355,
110
+ "eval_loss": 1.8157259225845337,
111
+ "eval_runtime": 22567.2098,
112
+ "eval_samples_per_second": 0.428,
113
+ "eval_steps_per_second": 0.054,
114
+ "step": 175
115
+ },
116
+ {
117
+ "epoch": 0.04141644232760406,
118
+ "grad_norm": 14.267326354980469,
119
+ "learning_rate": 1.5030060120240483e-05,
120
+ "loss": 1.7737,
121
+ "step": 200
122
+ },
123
+ {
124
+ "epoch": 0.04141644232760406,
125
+ "eval_loss": 1.8020907640457153,
126
+ "eval_runtime": 22574.516,
127
+ "eval_samples_per_second": 0.428,
128
+ "eval_steps_per_second": 0.054,
129
+ "step": 200
130
+ },
131
+ {
132
+ "epoch": 0.046593497618554566,
133
+ "grad_norm": 15.376133918762207,
134
+ "learning_rate": 1.3777555110220442e-05,
135
+ "loss": 1.9049,
136
+ "step": 225
137
+ },
138
+ {
139
+ "epoch": 0.046593497618554566,
140
+ "eval_loss": 1.7998195886611938,
141
+ "eval_runtime": 22573.5402,
142
+ "eval_samples_per_second": 0.428,
143
+ "eval_steps_per_second": 0.054,
144
+ "step": 225
145
+ }
146
+ ],
147
+ "logging_steps": 25,
148
+ "max_steps": 500,
149
+ "num_input_tokens_seen": 0,
150
+ "num_train_epochs": 1,
151
+ "save_steps": 25,
152
+ "stateful_callbacks": {
153
+ "TrainerControl": {
154
+ "args": {
155
+ "should_epoch_stop": false,
156
+ "should_evaluate": false,
157
+ "should_log": false,
158
+ "should_save": true,
159
+ "should_training_stop": false
160
+ },
161
+ "attributes": {}
162
+ }
163
+ },
164
+ "total_flos": 3697679794176000.0,
165
+ "train_batch_size": 2,
166
+ "trial_name": null,
167
+ "trial_params": null
168
+ }
checkpoint-225/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8af7243fb9981503fab74377f555d7cf4fd84fdf6ade5597d40db3eff2c6d7a1
3
+ size 5048
checkpoint-25/README.md ADDED
@@ -0,0 +1,257 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ base_model: microsoft/phi-2
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
+ ## Training procedure
201
+
202
+
203
+ The following `bitsandbytes` quantization config was used during training:
204
+ - quant_method: bitsandbytes
205
+ - load_in_8bit: False
206
+ - load_in_4bit: True
207
+ - llm_int8_threshold: 6.0
208
+ - llm_int8_skip_modules: None
209
+ - llm_int8_enable_fp32_cpu_offload: False
210
+ - llm_int8_has_fp16_weight: False
211
+ - bnb_4bit_quant_type: fp4
212
+ - bnb_4bit_use_double_quant: False
213
+ - bnb_4bit_compute_dtype: float32
214
+
215
+ ### Framework versions
216
+
217
+ - PEFT 0.10.1.dev0
218
+
219
+ - PEFT 0.6.2
220
+ ## Training procedure
221
+
222
+
223
+ The following `bitsandbytes` quantization config was used during training:
224
+ - quant_method: bitsandbytes
225
+ - load_in_8bit: False
226
+ - load_in_4bit: True
227
+ - llm_int8_threshold: 6.0
228
+ - llm_int8_skip_modules: None
229
+ - llm_int8_enable_fp32_cpu_offload: False
230
+ - llm_int8_has_fp16_weight: False
231
+ - bnb_4bit_quant_type: fp4
232
+ - bnb_4bit_use_double_quant: False
233
+ - bnb_4bit_compute_dtype: float32
234
+
235
+ ### Framework versions
236
+
237
+
238
+ - PEFT 0.6.2
239
+ ## Training procedure
240
+
241
+
242
+ The following `bitsandbytes` quantization config was used during training:
243
+ - quant_method: bitsandbytes
244
+ - load_in_8bit: False
245
+ - load_in_4bit: True
246
+ - llm_int8_threshold: 6.0
247
+ - llm_int8_skip_modules: None
248
+ - llm_int8_enable_fp32_cpu_offload: False
249
+ - llm_int8_has_fp16_weight: False
250
+ - bnb_4bit_quant_type: fp4
251
+ - bnb_4bit_use_double_quant: False
252
+ - bnb_4bit_compute_dtype: float32
253
+
254
+ ### Framework versions
255
+
256
+
257
+ - PEFT 0.6.2
checkpoint-25/adapter_config.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "microsoft/phi-2",
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": 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
+ "Wqkv",
24
+ "fc2",
25
+ "fc1"
26
+ ],
27
+ "task_type": "CAUSAL_LM",
28
+ "use_dora": false,
29
+ "use_rslora": false
30
+ }