sajjadamjad commited on
Commit
b718015
1 Parent(s): b01fa96

Upload folder using huggingface_hub

Browse files
README.md ADDED
@@ -0,0 +1,239 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ base_model: NousResearch/Llama-2-7b-hf
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
+
201
+
202
+ ## Training procedure
203
+
204
+
205
+ The following `bitsandbytes` quantization config was used during training:
206
+ - quant_method: bitsandbytes
207
+ - load_in_8bit: False
208
+ - load_in_4bit: True
209
+ - llm_int8_threshold: 6.0
210
+ - llm_int8_skip_modules: None
211
+ - llm_int8_enable_fp32_cpu_offload: False
212
+ - llm_int8_has_fp16_weight: False
213
+ - bnb_4bit_quant_type: nf4
214
+ - bnb_4bit_use_double_quant: True
215
+ - bnb_4bit_compute_dtype: bfloat16
216
+
217
+ ### Framework versions
218
+
219
+
220
+ - PEFT 0.6.3.dev0
221
+ ## Training procedure
222
+
223
+
224
+ The following `bitsandbytes` quantization config was used during training:
225
+ - quant_method: bitsandbytes
226
+ - load_in_8bit: False
227
+ - load_in_4bit: True
228
+ - llm_int8_threshold: 6.0
229
+ - llm_int8_skip_modules: None
230
+ - llm_int8_enable_fp32_cpu_offload: False
231
+ - llm_int8_has_fp16_weight: False
232
+ - bnb_4bit_quant_type: nf4
233
+ - bnb_4bit_use_double_quant: True
234
+ - bnb_4bit_compute_dtype: bfloat16
235
+
236
+ ### Framework versions
237
+
238
+
239
+ - PEFT 0.6.3.dev0
adapter_config.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "NousResearch/Llama-2-7b-hf",
5
+ "bias": "none",
6
+ "fan_in_fan_out": false,
7
+ "inference_mode": true,
8
+ "init_lora_weights": true,
9
+ "layers_pattern": null,
10
+ "layers_to_transform": null,
11
+ "lora_alpha": 32,
12
+ "lora_dropout": 0.05,
13
+ "modules_to_save": null,
14
+ "peft_type": "LORA",
15
+ "r": 8,
16
+ "rank_pattern": {},
17
+ "revision": null,
18
+ "target_modules": [
19
+ "q_proj",
20
+ "v_proj"
21
+ ],
22
+ "task_type": "CAUSAL_LM"
23
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e84f83689793236748e4db69949131733e0de0b30406fb410039aaba47cf32b7
3
+ size 16794200
optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1aa74d6a6dbb5399509fc6320aada7c9c3774de24f57666ed8d6bdc8a3247d58
3
+ size 8556090
rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1f183c0c398ac701bc0a86237b80defe7baffffcb89bf41cd370cdf37212d4f2
3
+ size 14244
scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5b453cee91189c3e531e22d9b016c367667df57fd24169076dda6a949604330c
3
+ size 1064
trainer_state.json ADDED
@@ -0,0 +1,218 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 14.666666666666666,
5
+ "eval_steps": 500,
6
+ "global_step": 33,
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.44,
13
+ "learning_rate": 0.00019805941782534764,
14
+ "loss": 2.2515,
15
+ "step": 1
16
+ },
17
+ {
18
+ "epoch": 0.89,
19
+ "learning_rate": 0.00019605881764529358,
20
+ "loss": 2.2515,
21
+ "step": 2
22
+ },
23
+ {
24
+ "epoch": 1.33,
25
+ "learning_rate": 0.00019405821746523957,
26
+ "loss": 2.2204,
27
+ "step": 3
28
+ },
29
+ {
30
+ "epoch": 1.78,
31
+ "learning_rate": 0.00019205761728518557,
32
+ "loss": 2.1854,
33
+ "step": 4
34
+ },
35
+ {
36
+ "epoch": 2.22,
37
+ "learning_rate": 0.00019005701710513156,
38
+ "loss": 2.1461,
39
+ "step": 5
40
+ },
41
+ {
42
+ "epoch": 2.67,
43
+ "learning_rate": 0.00018805641692507753,
44
+ "loss": 2.1013,
45
+ "step": 6
46
+ },
47
+ {
48
+ "epoch": 3.11,
49
+ "learning_rate": 0.00018605581674502352,
50
+ "loss": 2.0539,
51
+ "step": 7
52
+ },
53
+ {
54
+ "epoch": 3.56,
55
+ "learning_rate": 0.00018405521656496952,
56
+ "loss": 2.0019,
57
+ "step": 8
58
+ },
59
+ {
60
+ "epoch": 4.0,
61
+ "learning_rate": 0.00018205461638491548,
62
+ "loss": 1.9467,
63
+ "step": 9
64
+ },
65
+ {
66
+ "epoch": 4.44,
67
+ "learning_rate": 0.00018005401620486148,
68
+ "loss": 1.887,
69
+ "step": 10
70
+ },
71
+ {
72
+ "epoch": 4.89,
73
+ "learning_rate": 0.00017805341602480744,
74
+ "loss": 1.8227,
75
+ "step": 11
76
+ },
77
+ {
78
+ "epoch": 5.33,
79
+ "learning_rate": 0.00017605281584475344,
80
+ "loss": 1.7543,
81
+ "step": 12
82
+ },
83
+ {
84
+ "epoch": 5.78,
85
+ "learning_rate": 0.00017405221566469943,
86
+ "loss": 1.682,
87
+ "step": 13
88
+ },
89
+ {
90
+ "epoch": 6.22,
91
+ "learning_rate": 0.00017205161548464542,
92
+ "loss": 1.6024,
93
+ "step": 14
94
+ },
95
+ {
96
+ "epoch": 6.67,
97
+ "learning_rate": 0.00017005101530459136,
98
+ "loss": 1.5171,
99
+ "step": 15
100
+ },
101
+ {
102
+ "epoch": 7.11,
103
+ "learning_rate": 0.00016805041512453736,
104
+ "loss": 1.4308,
105
+ "step": 16
106
+ },
107
+ {
108
+ "epoch": 7.56,
109
+ "learning_rate": 0.00016604981494448335,
110
+ "loss": 1.3407,
111
+ "step": 17
112
+ },
113
+ {
114
+ "epoch": 8.0,
115
+ "learning_rate": 0.00016404921476442935,
116
+ "loss": 1.2479,
117
+ "step": 18
118
+ },
119
+ {
120
+ "epoch": 8.44,
121
+ "learning_rate": 0.0001620486145843753,
122
+ "loss": 1.1525,
123
+ "step": 19
124
+ },
125
+ {
126
+ "epoch": 8.89,
127
+ "learning_rate": 0.0001600480144043213,
128
+ "loss": 1.0553,
129
+ "step": 20
130
+ },
131
+ {
132
+ "epoch": 9.33,
133
+ "learning_rate": 0.0001580474142242673,
134
+ "loss": 0.9591,
135
+ "step": 21
136
+ },
137
+ {
138
+ "epoch": 9.78,
139
+ "learning_rate": 0.00015604681404421327,
140
+ "loss": 0.8655,
141
+ "step": 22
142
+ },
143
+ {
144
+ "epoch": 10.22,
145
+ "learning_rate": 0.00015404621386415926,
146
+ "loss": 0.7722,
147
+ "step": 23
148
+ },
149
+ {
150
+ "epoch": 10.67,
151
+ "learning_rate": 0.00015204561368410523,
152
+ "loss": 0.6823,
153
+ "step": 24
154
+ },
155
+ {
156
+ "epoch": 11.11,
157
+ "learning_rate": 0.00015004501350405122,
158
+ "loss": 0.5956,
159
+ "step": 25
160
+ },
161
+ {
162
+ "epoch": 11.56,
163
+ "learning_rate": 0.00014804441332399721,
164
+ "loss": 0.5104,
165
+ "step": 26
166
+ },
167
+ {
168
+ "epoch": 12.0,
169
+ "learning_rate": 0.0001460438131439432,
170
+ "loss": 0.4314,
171
+ "step": 27
172
+ },
173
+ {
174
+ "epoch": 12.44,
175
+ "learning_rate": 0.00014404321296388918,
176
+ "loss": 0.359,
177
+ "step": 28
178
+ },
179
+ {
180
+ "epoch": 12.89,
181
+ "learning_rate": 0.00014204261278383514,
182
+ "loss": 0.2952,
183
+ "step": 29
184
+ },
185
+ {
186
+ "epoch": 13.33,
187
+ "learning_rate": 0.00014004201260378114,
188
+ "loss": 0.2375,
189
+ "step": 30
190
+ },
191
+ {
192
+ "epoch": 13.78,
193
+ "learning_rate": 0.00013804141242372713,
194
+ "loss": 0.1853,
195
+ "step": 31
196
+ },
197
+ {
198
+ "epoch": 14.22,
199
+ "learning_rate": 0.00013604081224367312,
200
+ "loss": 0.1398,
201
+ "step": 32
202
+ },
203
+ {
204
+ "epoch": 14.67,
205
+ "learning_rate": 0.0001340402120636191,
206
+ "loss": 0.1033,
207
+ "step": 33
208
+ }
209
+ ],
210
+ "logging_steps": 1,
211
+ "max_steps": 100,
212
+ "num_input_tokens_seen": 0,
213
+ "num_train_epochs": 50,
214
+ "save_steps": 500,
215
+ "total_flos": 1.38542793652224e+16,
216
+ "trial_name": null,
217
+ "trial_params": null
218
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1439b85efb793839e2667af480ba02733acab25873526afb2e227ba5a0b09961
3
+ size 4728