Rogarcia18 commited on
Commit
1357ffb
·
verified ·
1 Parent(s): 16b2e77

Upload folder using huggingface_hub

Browse files
checkpoint-1500/README.md ADDED
@@ -0,0 +1,206 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: google-bert/bert-base-uncased
3
+ library_name: peft
4
+ tags:
5
+ - base_model:adapter:google-bert/bert-base-uncased
6
+ - lora
7
+ - transformers
8
+ ---
9
+
10
+ # Model Card for Model ID
11
+
12
+ <!-- Provide a quick summary of what the model is/does. -->
13
+
14
+
15
+
16
+ ## Model Details
17
+
18
+ ### Model Description
19
+
20
+ <!-- Provide a longer summary of what this model is. -->
21
+
22
+
23
+
24
+ - **Developed by:** [More Information Needed]
25
+ - **Funded by [optional]:** [More Information Needed]
26
+ - **Shared by [optional]:** [More Information Needed]
27
+ - **Model type:** [More Information Needed]
28
+ - **Language(s) (NLP):** [More Information Needed]
29
+ - **License:** [More Information Needed]
30
+ - **Finetuned from model [optional]:** [More Information Needed]
31
+
32
+ ### Model Sources [optional]
33
+
34
+ <!-- Provide the basic links for the model. -->
35
+
36
+ - **Repository:** [More Information Needed]
37
+ - **Paper [optional]:** [More Information Needed]
38
+ - **Demo [optional]:** [More Information Needed]
39
+
40
+ ## Uses
41
+
42
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
43
+
44
+ ### Direct Use
45
+
46
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
47
+
48
+ [More Information Needed]
49
+
50
+ ### Downstream Use [optional]
51
+
52
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
53
+
54
+ [More Information Needed]
55
+
56
+ ### Out-of-Scope Use
57
+
58
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
59
+
60
+ [More Information Needed]
61
+
62
+ ## Bias, Risks, and Limitations
63
+
64
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
65
+
66
+ [More Information Needed]
67
+
68
+ ### Recommendations
69
+
70
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
71
+
72
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
73
+
74
+ ## How to Get Started with the Model
75
+
76
+ Use the code below to get started with the model.
77
+
78
+ [More Information Needed]
79
+
80
+ ## Training Details
81
+
82
+ ### Training Data
83
+
84
+ <!-- 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. -->
85
+
86
+ [More Information Needed]
87
+
88
+ ### Training Procedure
89
+
90
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
91
+
92
+ #### Preprocessing [optional]
93
+
94
+ [More Information Needed]
95
+
96
+
97
+ #### Training Hyperparameters
98
+
99
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
100
+
101
+ #### Speeds, Sizes, Times [optional]
102
+
103
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
104
+
105
+ [More Information Needed]
106
+
107
+ ## Evaluation
108
+
109
+ <!-- This section describes the evaluation protocols and provides the results. -->
110
+
111
+ ### Testing Data, Factors & Metrics
112
+
113
+ #### Testing Data
114
+
115
+ <!-- This should link to a Dataset Card if possible. -->
116
+
117
+ [More Information Needed]
118
+
119
+ #### Factors
120
+
121
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
122
+
123
+ [More Information Needed]
124
+
125
+ #### Metrics
126
+
127
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
128
+
129
+ [More Information Needed]
130
+
131
+ ### Results
132
+
133
+ [More Information Needed]
134
+
135
+ #### Summary
136
+
137
+
138
+
139
+ ## Model Examination [optional]
140
+
141
+ <!-- Relevant interpretability work for the model goes here -->
142
+
143
+ [More Information Needed]
144
+
145
+ ## Environmental Impact
146
+
147
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
148
+
149
+ 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).
150
+
151
+ - **Hardware Type:** [More Information Needed]
152
+ - **Hours used:** [More Information Needed]
153
+ - **Cloud Provider:** [More Information Needed]
154
+ - **Compute Region:** [More Information Needed]
155
+ - **Carbon Emitted:** [More Information Needed]
156
+
157
+ ## Technical Specifications [optional]
158
+
159
+ ### Model Architecture and Objective
160
+
161
+ [More Information Needed]
162
+
163
+ ### Compute Infrastructure
164
+
165
+ [More Information Needed]
166
+
167
+ #### Hardware
168
+
169
+ [More Information Needed]
170
+
171
+ #### Software
172
+
173
+ [More Information Needed]
174
+
175
+ ## Citation [optional]
176
+
177
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
178
+
179
+ **BibTeX:**
180
+
181
+ [More Information Needed]
182
+
183
+ **APA:**
184
+
185
+ [More Information Needed]
186
+
187
+ ## Glossary [optional]
188
+
189
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
190
+
191
+ [More Information Needed]
192
+
193
+ ## More Information [optional]
194
+
195
+ [More Information Needed]
196
+
197
+ ## Model Card Authors [optional]
198
+
199
+ [More Information Needed]
200
+
201
+ ## Model Card Contact
202
+
203
+ [More Information Needed]
204
+ ### Framework versions
205
+
206
+ - PEFT 0.17.1
checkpoint-1500/adapter_config.json ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "google-bert/bert-base-uncased",
5
+ "bias": "none",
6
+ "corda_config": null,
7
+ "eva_config": null,
8
+ "exclude_modules": null,
9
+ "fan_in_fan_out": false,
10
+ "inference_mode": true,
11
+ "init_lora_weights": true,
12
+ "layer_replication": null,
13
+ "layers_pattern": null,
14
+ "layers_to_transform": null,
15
+ "loftq_config": {},
16
+ "lora_alpha": 16,
17
+ "lora_bias": false,
18
+ "lora_dropout": 0.1,
19
+ "megatron_config": null,
20
+ "megatron_core": "megatron.core",
21
+ "modules_to_save": [
22
+ "classifier",
23
+ "score"
24
+ ],
25
+ "peft_type": "LORA",
26
+ "qalora_group_size": 16,
27
+ "r": 8,
28
+ "rank_pattern": {},
29
+ "revision": null,
30
+ "target_modules": [
31
+ "query",
32
+ "value",
33
+ "key"
34
+ ],
35
+ "target_parameters": null,
36
+ "task_type": "SEQ_CLS",
37
+ "trainable_token_indices": null,
38
+ "use_dora": false,
39
+ "use_qalora": false,
40
+ "use_rslora": false
41
+ }
checkpoint-1500/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:322554d22a210ea4ef574c0ecb05e391230083e36f51e7f1ec48cc031a15eb7d
3
+ size 1782740
checkpoint-1500/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f477602fa7b1aff57be7c2f3f298c17e0f6bb781bc9672cc418b377f34abd7dc
3
+ size 3609035
checkpoint-1500/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:39493a19f0bf124dbdfa315df995fcce5c252bbce511c81c41bafb5983aec910
3
+ size 14645
checkpoint-1500/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d5e9883e554356d837bd1e97610c6d4704b9dbcef3b1f7cac5eccb0a7c25ef7c
3
+ size 1465
checkpoint-1500/special_tokens_map.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": "[CLS]",
3
+ "mask_token": "[MASK]",
4
+ "pad_token": "[PAD]",
5
+ "sep_token": "[SEP]",
6
+ "unk_token": "[UNK]"
7
+ }
checkpoint-1500/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-1500/tokenizer_config.json ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "[PAD]",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "100": {
12
+ "content": "[UNK]",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "101": {
20
+ "content": "[CLS]",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "102": {
28
+ "content": "[SEP]",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "103": {
36
+ "content": "[MASK]",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "clean_up_tokenization_spaces": false,
45
+ "cls_token": "[CLS]",
46
+ "do_lower_case": true,
47
+ "extra_special_tokens": {},
48
+ "mask_token": "[MASK]",
49
+ "model_max_length": 512,
50
+ "pad_token": "[PAD]",
51
+ "sep_token": "[SEP]",
52
+ "strip_accents": null,
53
+ "tokenize_chinese_chars": true,
54
+ "tokenizer_class": "BertTokenizer",
55
+ "unk_token": "[UNK]"
56
+ }
checkpoint-1500/trainer_state.json ADDED
@@ -0,0 +1,262 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": 1500,
3
+ "best_metric": 0.925,
4
+ "best_model_checkpoint": "./qlora-bert-sentiment/checkpoint-1500",
5
+ "epoch": 2.0,
6
+ "eval_steps": 500,
7
+ "global_step": 1500,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "epoch": 0.06666666666666667,
14
+ "grad_norm": 3.986419677734375,
15
+ "learning_rate": 0.00016333333333333334,
16
+ "loss": 0.7202,
17
+ "step": 50
18
+ },
19
+ {
20
+ "epoch": 0.13333333333333333,
21
+ "grad_norm": 3.3505516052246094,
22
+ "learning_rate": 0.00033,
23
+ "loss": 0.6925,
24
+ "step": 100
25
+ },
26
+ {
27
+ "epoch": 0.2,
28
+ "grad_norm": 5.206148624420166,
29
+ "learning_rate": 0.0004966666666666666,
30
+ "loss": 0.4795,
31
+ "step": 150
32
+ },
33
+ {
34
+ "epoch": 0.26666666666666666,
35
+ "grad_norm": 2.9707682132720947,
36
+ "learning_rate": 0.0004983764571440296,
37
+ "loss": 0.3741,
38
+ "step": 200
39
+ },
40
+ {
41
+ "epoch": 0.3333333333333333,
42
+ "grad_norm": 6.371100902557373,
43
+ "learning_rate": 0.0004933947257182901,
44
+ "loss": 0.3153,
45
+ "step": 250
46
+ },
47
+ {
48
+ "epoch": 0.4,
49
+ "grad_norm": 1.7173587083816528,
50
+ "learning_rate": 0.0004851214981669406,
51
+ "loss": 0.3596,
52
+ "step": 300
53
+ },
54
+ {
55
+ "epoch": 0.4666666666666667,
56
+ "grad_norm": 0.642329216003418,
57
+ "learning_rate": 0.0004736686557000246,
58
+ "loss": 0.3291,
59
+ "step": 350
60
+ },
61
+ {
62
+ "epoch": 0.5333333333333333,
63
+ "grad_norm": 1.6279314756393433,
64
+ "learning_rate": 0.00045919107836474044,
65
+ "loss": 0.307,
66
+ "step": 400
67
+ },
68
+ {
69
+ "epoch": 0.6,
70
+ "grad_norm": 7.462891578674316,
71
+ "learning_rate": 0.0004418845505584972,
72
+ "loss": 0.2681,
73
+ "step": 450
74
+ },
75
+ {
76
+ "epoch": 0.6666666666666666,
77
+ "grad_norm": 3.423023223876953,
78
+ "learning_rate": 0.00042198311338080465,
79
+ "loss": 0.327,
80
+ "step": 500
81
+ },
82
+ {
83
+ "epoch": 0.7333333333333333,
84
+ "grad_norm": 4.022140979766846,
85
+ "learning_rate": 0.00039975589962889645,
86
+ "loss": 0.3699,
87
+ "step": 550
88
+ },
89
+ {
90
+ "epoch": 0.8,
91
+ "grad_norm": 15.722062110900879,
92
+ "learning_rate": 0.00037550349423834005,
93
+ "loss": 0.3142,
94
+ "step": 600
95
+ },
96
+ {
97
+ "epoch": 0.8666666666666667,
98
+ "grad_norm": 4.997221946716309,
99
+ "learning_rate": 0.00034955386938743217,
100
+ "loss": 0.2502,
101
+ "step": 650
102
+ },
103
+ {
104
+ "epoch": 0.9333333333333333,
105
+ "grad_norm": 5.527884483337402,
106
+ "learning_rate": 0.0003222579492361179,
107
+ "loss": 0.2472,
108
+ "step": 700
109
+ },
110
+ {
111
+ "epoch": 1.0,
112
+ "grad_norm": 5.495438575744629,
113
+ "learning_rate": 0.00029398486427873274,
114
+ "loss": 0.2484,
115
+ "step": 750
116
+ },
117
+ {
118
+ "epoch": 1.0,
119
+ "eval_accuracy": 0.9033333333333333,
120
+ "eval_loss": 0.2915270924568176,
121
+ "eval_runtime": 14.1665,
122
+ "eval_samples_per_second": 42.353,
123
+ "eval_steps_per_second": 21.177,
124
+ "step": 750
125
+ },
126
+ {
127
+ "epoch": 1.0666666666666667,
128
+ "grad_norm": 0.16799378395080566,
129
+ "learning_rate": 0.0002651169594873036,
130
+ "loss": 0.2231,
131
+ "step": 800
132
+ },
133
+ {
134
+ "epoch": 1.1333333333333333,
135
+ "grad_norm": 0.31085747480392456,
136
+ "learning_rate": 0.00023604462375170903,
137
+ "loss": 0.2297,
138
+ "step": 850
139
+ },
140
+ {
141
+ "epoch": 1.2,
142
+ "grad_norm": 0.6704829335212708,
143
+ "learning_rate": 0.00020716101053964964,
144
+ "loss": 0.166,
145
+ "step": 900
146
+ },
147
+ {
148
+ "epoch": 1.2666666666666666,
149
+ "grad_norm": 10.427606582641602,
150
+ "learning_rate": 0.0001788567211704453,
151
+ "loss": 0.245,
152
+ "step": 950
153
+ },
154
+ {
155
+ "epoch": 1.3333333333333333,
156
+ "grad_norm": 4.69648551940918,
157
+ "learning_rate": 0.00015151452260226222,
158
+ "loss": 0.2057,
159
+ "step": 1000
160
+ },
161
+ {
162
+ "epoch": 1.4,
163
+ "grad_norm": 6.8767571449279785,
164
+ "learning_rate": 0.00012550417116563413,
165
+ "loss": 0.2155,
166
+ "step": 1050
167
+ },
168
+ {
169
+ "epoch": 1.4666666666666668,
170
+ "grad_norm": 0.233122318983078,
171
+ "learning_rate": 0.00010117741224340254,
172
+ "loss": 0.1568,
173
+ "step": 1100
174
+ },
175
+ {
176
+ "epoch": 1.5333333333333332,
177
+ "grad_norm": 3.3703675270080566,
178
+ "learning_rate": 7.886322351782782e-05,
179
+ "loss": 0.2277,
180
+ "step": 1150
181
+ },
182
+ {
183
+ "epoch": 1.6,
184
+ "grad_norm": 0.9207598567008972,
185
+ "learning_rate": 5.88633661117921e-05,
186
+ "loss": 0.1672,
187
+ "step": 1200
188
+ },
189
+ {
190
+ "epoch": 1.6666666666666665,
191
+ "grad_norm": 0.23675969243049622,
192
+ "learning_rate": 4.144830378727901e-05,
193
+ "loss": 0.2183,
194
+ "step": 1250
195
+ },
196
+ {
197
+ "epoch": 1.7333333333333334,
198
+ "grad_norm": 0.19786447286605835,
199
+ "learning_rate": 2.6853545386968604e-05,
200
+ "loss": 0.1465,
201
+ "step": 1300
202
+ },
203
+ {
204
+ "epoch": 1.8,
205
+ "grad_norm": 4.413337230682373,
206
+ "learning_rate": 1.527645998115246e-05,
207
+ "loss": 0.1298,
208
+ "step": 1350
209
+ },
210
+ {
211
+ "epoch": 1.8666666666666667,
212
+ "grad_norm": 6.995970249176025,
213
+ "learning_rate": 6.873607789640579e-06,
214
+ "loss": 0.2451,
215
+ "step": 1400
216
+ },
217
+ {
218
+ "epoch": 1.9333333333333333,
219
+ "grad_norm": 0.16676431894302368,
220
+ "learning_rate": 1.7586229733657643e-06,
221
+ "loss": 0.2173,
222
+ "step": 1450
223
+ },
224
+ {
225
+ "epoch": 2.0,
226
+ "grad_norm": 4.929508209228516,
227
+ "learning_rate": 6.769272940521099e-10,
228
+ "loss": 0.2513,
229
+ "step": 1500
230
+ },
231
+ {
232
+ "epoch": 2.0,
233
+ "eval_accuracy": 0.925,
234
+ "eval_loss": 0.24354523420333862,
235
+ "eval_runtime": 14.005,
236
+ "eval_samples_per_second": 42.842,
237
+ "eval_steps_per_second": 21.421,
238
+ "step": 1500
239
+ }
240
+ ],
241
+ "logging_steps": 50,
242
+ "max_steps": 1500,
243
+ "num_input_tokens_seen": 0,
244
+ "num_train_epochs": 2,
245
+ "save_steps": 500,
246
+ "stateful_callbacks": {
247
+ "TrainerControl": {
248
+ "args": {
249
+ "should_epoch_stop": false,
250
+ "should_evaluate": false,
251
+ "should_log": false,
252
+ "should_save": true,
253
+ "should_training_stop": true
254
+ },
255
+ "attributes": {}
256
+ }
257
+ },
258
+ "total_flos": 3173696815104000.0,
259
+ "train_batch_size": 2,
260
+ "trial_name": null,
261
+ "trial_params": null
262
+ }
checkpoint-1500/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e6dab441745e31edac563b106e746b0557b62e5d734a8b72eeea252dbbc6afe1
3
+ size 5841
checkpoint-1500/vocab.txt ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-750/README.md ADDED
@@ -0,0 +1,206 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: google-bert/bert-base-uncased
3
+ library_name: peft
4
+ tags:
5
+ - base_model:adapter:google-bert/bert-base-uncased
6
+ - lora
7
+ - transformers
8
+ ---
9
+
10
+ # Model Card for Model ID
11
+
12
+ <!-- Provide a quick summary of what the model is/does. -->
13
+
14
+
15
+
16
+ ## Model Details
17
+
18
+ ### Model Description
19
+
20
+ <!-- Provide a longer summary of what this model is. -->
21
+
22
+
23
+
24
+ - **Developed by:** [More Information Needed]
25
+ - **Funded by [optional]:** [More Information Needed]
26
+ - **Shared by [optional]:** [More Information Needed]
27
+ - **Model type:** [More Information Needed]
28
+ - **Language(s) (NLP):** [More Information Needed]
29
+ - **License:** [More Information Needed]
30
+ - **Finetuned from model [optional]:** [More Information Needed]
31
+
32
+ ### Model Sources [optional]
33
+
34
+ <!-- Provide the basic links for the model. -->
35
+
36
+ - **Repository:** [More Information Needed]
37
+ - **Paper [optional]:** [More Information Needed]
38
+ - **Demo [optional]:** [More Information Needed]
39
+
40
+ ## Uses
41
+
42
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
43
+
44
+ ### Direct Use
45
+
46
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
47
+
48
+ [More Information Needed]
49
+
50
+ ### Downstream Use [optional]
51
+
52
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
53
+
54
+ [More Information Needed]
55
+
56
+ ### Out-of-Scope Use
57
+
58
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
59
+
60
+ [More Information Needed]
61
+
62
+ ## Bias, Risks, and Limitations
63
+
64
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
65
+
66
+ [More Information Needed]
67
+
68
+ ### Recommendations
69
+
70
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
71
+
72
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
73
+
74
+ ## How to Get Started with the Model
75
+
76
+ Use the code below to get started with the model.
77
+
78
+ [More Information Needed]
79
+
80
+ ## Training Details
81
+
82
+ ### Training Data
83
+
84
+ <!-- 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. -->
85
+
86
+ [More Information Needed]
87
+
88
+ ### Training Procedure
89
+
90
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
91
+
92
+ #### Preprocessing [optional]
93
+
94
+ [More Information Needed]
95
+
96
+
97
+ #### Training Hyperparameters
98
+
99
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
100
+
101
+ #### Speeds, Sizes, Times [optional]
102
+
103
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
104
+
105
+ [More Information Needed]
106
+
107
+ ## Evaluation
108
+
109
+ <!-- This section describes the evaluation protocols and provides the results. -->
110
+
111
+ ### Testing Data, Factors & Metrics
112
+
113
+ #### Testing Data
114
+
115
+ <!-- This should link to a Dataset Card if possible. -->
116
+
117
+ [More Information Needed]
118
+
119
+ #### Factors
120
+
121
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
122
+
123
+ [More Information Needed]
124
+
125
+ #### Metrics
126
+
127
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
128
+
129
+ [More Information Needed]
130
+
131
+ ### Results
132
+
133
+ [More Information Needed]
134
+
135
+ #### Summary
136
+
137
+
138
+
139
+ ## Model Examination [optional]
140
+
141
+ <!-- Relevant interpretability work for the model goes here -->
142
+
143
+ [More Information Needed]
144
+
145
+ ## Environmental Impact
146
+
147
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
148
+
149
+ 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).
150
+
151
+ - **Hardware Type:** [More Information Needed]
152
+ - **Hours used:** [More Information Needed]
153
+ - **Cloud Provider:** [More Information Needed]
154
+ - **Compute Region:** [More Information Needed]
155
+ - **Carbon Emitted:** [More Information Needed]
156
+
157
+ ## Technical Specifications [optional]
158
+
159
+ ### Model Architecture and Objective
160
+
161
+ [More Information Needed]
162
+
163
+ ### Compute Infrastructure
164
+
165
+ [More Information Needed]
166
+
167
+ #### Hardware
168
+
169
+ [More Information Needed]
170
+
171
+ #### Software
172
+
173
+ [More Information Needed]
174
+
175
+ ## Citation [optional]
176
+
177
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
178
+
179
+ **BibTeX:**
180
+
181
+ [More Information Needed]
182
+
183
+ **APA:**
184
+
185
+ [More Information Needed]
186
+
187
+ ## Glossary [optional]
188
+
189
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
190
+
191
+ [More Information Needed]
192
+
193
+ ## More Information [optional]
194
+
195
+ [More Information Needed]
196
+
197
+ ## Model Card Authors [optional]
198
+
199
+ [More Information Needed]
200
+
201
+ ## Model Card Contact
202
+
203
+ [More Information Needed]
204
+ ### Framework versions
205
+
206
+ - PEFT 0.17.1
checkpoint-750/adapter_config.json ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "google-bert/bert-base-uncased",
5
+ "bias": "none",
6
+ "corda_config": null,
7
+ "eva_config": null,
8
+ "exclude_modules": null,
9
+ "fan_in_fan_out": false,
10
+ "inference_mode": true,
11
+ "init_lora_weights": true,
12
+ "layer_replication": null,
13
+ "layers_pattern": null,
14
+ "layers_to_transform": null,
15
+ "loftq_config": {},
16
+ "lora_alpha": 16,
17
+ "lora_bias": false,
18
+ "lora_dropout": 0.1,
19
+ "megatron_config": null,
20
+ "megatron_core": "megatron.core",
21
+ "modules_to_save": [
22
+ "classifier",
23
+ "score"
24
+ ],
25
+ "peft_type": "LORA",
26
+ "qalora_group_size": 16,
27
+ "r": 8,
28
+ "rank_pattern": {},
29
+ "revision": null,
30
+ "target_modules": [
31
+ "query",
32
+ "value",
33
+ "key"
34
+ ],
35
+ "target_parameters": null,
36
+ "task_type": "SEQ_CLS",
37
+ "trainable_token_indices": null,
38
+ "use_dora": false,
39
+ "use_qalora": false,
40
+ "use_rslora": false
41
+ }
checkpoint-750/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b8a3877c12304f2a252e6230648a6fe8b8504b979424fe516a23dd1f9466d513
3
+ size 1782740
checkpoint-750/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d01db1be6a412db347bcb925b0320ddc500a07beacab58a231c8ff66f3d79029
3
+ size 3609035
checkpoint-750/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:23bc3d1e8167a2527221cdce15f6dc1848352a8722a278bbfd94c5c334208341
3
+ size 14645
checkpoint-750/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:22997b9e7a2a02c9f027d7d9a095b883b5f246987605d42afd388eba9f0181fd
3
+ size 1465
checkpoint-750/special_tokens_map.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": "[CLS]",
3
+ "mask_token": "[MASK]",
4
+ "pad_token": "[PAD]",
5
+ "sep_token": "[SEP]",
6
+ "unk_token": "[UNK]"
7
+ }
checkpoint-750/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint-750/tokenizer_config.json ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "[PAD]",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "100": {
12
+ "content": "[UNK]",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "101": {
20
+ "content": "[CLS]",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "102": {
28
+ "content": "[SEP]",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "103": {
36
+ "content": "[MASK]",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "clean_up_tokenization_spaces": false,
45
+ "cls_token": "[CLS]",
46
+ "do_lower_case": true,
47
+ "extra_special_tokens": {},
48
+ "mask_token": "[MASK]",
49
+ "model_max_length": 512,
50
+ "pad_token": "[PAD]",
51
+ "sep_token": "[SEP]",
52
+ "strip_accents": null,
53
+ "tokenize_chinese_chars": true,
54
+ "tokenizer_class": "BertTokenizer",
55
+ "unk_token": "[UNK]"
56
+ }
checkpoint-750/trainer_state.json ADDED
@@ -0,0 +1,148 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": 750,
3
+ "best_metric": 0.9033333333333333,
4
+ "best_model_checkpoint": "./qlora-bert-sentiment/checkpoint-750",
5
+ "epoch": 1.0,
6
+ "eval_steps": 500,
7
+ "global_step": 750,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "epoch": 0.06666666666666667,
14
+ "grad_norm": 3.986419677734375,
15
+ "learning_rate": 0.00016333333333333334,
16
+ "loss": 0.7202,
17
+ "step": 50
18
+ },
19
+ {
20
+ "epoch": 0.13333333333333333,
21
+ "grad_norm": 3.3505516052246094,
22
+ "learning_rate": 0.00033,
23
+ "loss": 0.6925,
24
+ "step": 100
25
+ },
26
+ {
27
+ "epoch": 0.2,
28
+ "grad_norm": 5.206148624420166,
29
+ "learning_rate": 0.0004966666666666666,
30
+ "loss": 0.4795,
31
+ "step": 150
32
+ },
33
+ {
34
+ "epoch": 0.26666666666666666,
35
+ "grad_norm": 2.9707682132720947,
36
+ "learning_rate": 0.0004983764571440296,
37
+ "loss": 0.3741,
38
+ "step": 200
39
+ },
40
+ {
41
+ "epoch": 0.3333333333333333,
42
+ "grad_norm": 6.371100902557373,
43
+ "learning_rate": 0.0004933947257182901,
44
+ "loss": 0.3153,
45
+ "step": 250
46
+ },
47
+ {
48
+ "epoch": 0.4,
49
+ "grad_norm": 1.7173587083816528,
50
+ "learning_rate": 0.0004851214981669406,
51
+ "loss": 0.3596,
52
+ "step": 300
53
+ },
54
+ {
55
+ "epoch": 0.4666666666666667,
56
+ "grad_norm": 0.642329216003418,
57
+ "learning_rate": 0.0004736686557000246,
58
+ "loss": 0.3291,
59
+ "step": 350
60
+ },
61
+ {
62
+ "epoch": 0.5333333333333333,
63
+ "grad_norm": 1.6279314756393433,
64
+ "learning_rate": 0.00045919107836474044,
65
+ "loss": 0.307,
66
+ "step": 400
67
+ },
68
+ {
69
+ "epoch": 0.6,
70
+ "grad_norm": 7.462891578674316,
71
+ "learning_rate": 0.0004418845505584972,
72
+ "loss": 0.2681,
73
+ "step": 450
74
+ },
75
+ {
76
+ "epoch": 0.6666666666666666,
77
+ "grad_norm": 3.423023223876953,
78
+ "learning_rate": 0.00042198311338080465,
79
+ "loss": 0.327,
80
+ "step": 500
81
+ },
82
+ {
83
+ "epoch": 0.7333333333333333,
84
+ "grad_norm": 4.022140979766846,
85
+ "learning_rate": 0.00039975589962889645,
86
+ "loss": 0.3699,
87
+ "step": 550
88
+ },
89
+ {
90
+ "epoch": 0.8,
91
+ "grad_norm": 15.722062110900879,
92
+ "learning_rate": 0.00037550349423834005,
93
+ "loss": 0.3142,
94
+ "step": 600
95
+ },
96
+ {
97
+ "epoch": 0.8666666666666667,
98
+ "grad_norm": 4.997221946716309,
99
+ "learning_rate": 0.00034955386938743217,
100
+ "loss": 0.2502,
101
+ "step": 650
102
+ },
103
+ {
104
+ "epoch": 0.9333333333333333,
105
+ "grad_norm": 5.527884483337402,
106
+ "learning_rate": 0.0003222579492361179,
107
+ "loss": 0.2472,
108
+ "step": 700
109
+ },
110
+ {
111
+ "epoch": 1.0,
112
+ "grad_norm": 5.495438575744629,
113
+ "learning_rate": 0.00029398486427873274,
114
+ "loss": 0.2484,
115
+ "step": 750
116
+ },
117
+ {
118
+ "epoch": 1.0,
119
+ "eval_accuracy": 0.9033333333333333,
120
+ "eval_loss": 0.2915270924568176,
121
+ "eval_runtime": 14.1665,
122
+ "eval_samples_per_second": 42.353,
123
+ "eval_steps_per_second": 21.177,
124
+ "step": 750
125
+ }
126
+ ],
127
+ "logging_steps": 50,
128
+ "max_steps": 1500,
129
+ "num_input_tokens_seen": 0,
130
+ "num_train_epochs": 2,
131
+ "save_steps": 500,
132
+ "stateful_callbacks": {
133
+ "TrainerControl": {
134
+ "args": {
135
+ "should_epoch_stop": false,
136
+ "should_evaluate": false,
137
+ "should_log": false,
138
+ "should_save": true,
139
+ "should_training_stop": false
140
+ },
141
+ "attributes": {}
142
+ }
143
+ },
144
+ "total_flos": 1586848407552000.0,
145
+ "train_batch_size": 2,
146
+ "trial_name": null,
147
+ "trial_params": null
148
+ }
checkpoint-750/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e6dab441745e31edac563b106e746b0557b62e5d734a8b72eeea252dbbc6afe1
3
+ size 5841
checkpoint-750/vocab.txt ADDED
The diff for this file is too large to render. See raw diff