gabrbrr commited on
Commit
59a13bf
·
verified ·
1 Parent(s): 0c21b00

Upload 8 files

Browse files
README.md ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: roberta-large
3
+ library_name: peft
4
+ ---
5
+
6
+ # Model Card for Model ID
7
+
8
+ <!-- Provide a quick summary of what the model is/does. -->
9
+
10
+
11
+
12
+ ## Model Details
13
+
14
+ ### Model Description
15
+
16
+ <!-- Provide a longer summary of what this model is. -->
17
+
18
+
19
+
20
+ - **Developed by:** [More Information Needed]
21
+ - **Funded by [optional]:** [More Information Needed]
22
+ - **Shared by [optional]:** [More Information Needed]
23
+ - **Model type:** [More Information Needed]
24
+ - **Language(s) (NLP):** [More Information Needed]
25
+ - **License:** [More Information Needed]
26
+ - **Finetuned from model [optional]:** [More Information Needed]
27
+
28
+ ### Model Sources [optional]
29
+
30
+ <!-- Provide the basic links for the model. -->
31
+
32
+ - **Repository:** [More Information Needed]
33
+ - **Paper [optional]:** [More Information Needed]
34
+ - **Demo [optional]:** [More Information Needed]
35
+
36
+ ## Uses
37
+
38
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
39
+
40
+ ### Direct Use
41
+
42
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
43
+
44
+ [More Information Needed]
45
+
46
+ ### Downstream Use [optional]
47
+
48
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
49
+
50
+ [More Information Needed]
51
+
52
+ ### Out-of-Scope Use
53
+
54
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
55
+
56
+ [More Information Needed]
57
+
58
+ ## Bias, Risks, and Limitations
59
+
60
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
61
+
62
+ [More Information Needed]
63
+
64
+ ### Recommendations
65
+
66
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
67
+
68
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
69
+
70
+ ## How to Get Started with the Model
71
+
72
+ Use the code below to get started with the model.
73
+
74
+ [More Information Needed]
75
+
76
+ ## Training Details
77
+
78
+ ### Training Data
79
+
80
+ <!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
81
+
82
+ [More Information Needed]
83
+
84
+ ### Training Procedure
85
+
86
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
87
+
88
+ #### Preprocessing [optional]
89
+
90
+ [More Information Needed]
91
+
92
+
93
+ #### Training Hyperparameters
94
+
95
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
96
+
97
+ #### Speeds, Sizes, Times [optional]
98
+
99
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
100
+
101
+ [More Information Needed]
102
+
103
+ ## Evaluation
104
+
105
+ <!-- This section describes the evaluation protocols and provides the results. -->
106
+
107
+ ### Testing Data, Factors & Metrics
108
+
109
+ #### Testing Data
110
+
111
+ <!-- This should link to a Dataset Card if possible. -->
112
+
113
+ [More Information Needed]
114
+
115
+ #### Factors
116
+
117
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
118
+
119
+ [More Information Needed]
120
+
121
+ #### Metrics
122
+
123
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
124
+
125
+ [More Information Needed]
126
+
127
+ ### Results
128
+
129
+ [More Information Needed]
130
+
131
+ #### Summary
132
+
133
+
134
+
135
+ ## Model Examination [optional]
136
+
137
+ <!-- Relevant interpretability work for the model goes here -->
138
+
139
+ [More Information Needed]
140
+
141
+ ## Environmental Impact
142
+
143
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
144
+
145
+ Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
146
+
147
+ - **Hardware Type:** [More Information Needed]
148
+ - **Hours used:** [More Information Needed]
149
+ - **Cloud Provider:** [More Information Needed]
150
+ - **Compute Region:** [More Information Needed]
151
+ - **Carbon Emitted:** [More Information Needed]
152
+
153
+ ## Technical Specifications [optional]
154
+
155
+ ### Model Architecture and Objective
156
+
157
+ [More Information Needed]
158
+
159
+ ### Compute Infrastructure
160
+
161
+ [More Information Needed]
162
+
163
+ #### Hardware
164
+
165
+ [More Information Needed]
166
+
167
+ #### Software
168
+
169
+ [More Information Needed]
170
+
171
+ ## Citation [optional]
172
+
173
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
174
+
175
+ **BibTeX:**
176
+
177
+ [More Information Needed]
178
+
179
+ **APA:**
180
+
181
+ [More Information Needed]
182
+
183
+ ## Glossary [optional]
184
+
185
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
186
+
187
+ [More Information Needed]
188
+
189
+ ## More Information [optional]
190
+
191
+ [More Information Needed]
192
+
193
+ ## Model Card Authors [optional]
194
+
195
+ [More Information Needed]
196
+
197
+ ## Model Card Contact
198
+
199
+ [More Information Needed]
200
+ ### Framework versions
201
+
202
+ - PEFT 0.11.1
adapter_config.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "roberta-large",
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": 512,
14
+ "lora_dropout": 0.1,
15
+ "megatron_config": null,
16
+ "megatron_core": "megatron.core",
17
+ "modules_to_save": [
18
+ "classifier",
19
+ "score"
20
+ ],
21
+ "peft_type": "LORA",
22
+ "r": 256,
23
+ "rank_pattern": {},
24
+ "revision": null,
25
+ "target_modules": [
26
+ "query",
27
+ "value"
28
+ ],
29
+ "task_type": "SEQ_CLS",
30
+ "use_dora": false,
31
+ "use_rslora": false
32
+ }
adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:88c347ea76226af7aedf7b3656a8c29aba368eaa0169f44d0134be12d5d23f7f
3
+ size 104888724
optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:399baf2aeb01b5d685070291840c8d057c6be06da1d27d1b1475ad9b8e59f9e7
3
+ size 209832826
rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cc861647e33687ecf27082c42da0765bc4c1eb27213359ab68e43c93f1305e7d
3
+ size 14244
scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bb43c207598912de49e65873d1b22b0afbe699787e38fd80941cb2984195fdf4
3
+ size 1064
trainer_state.json ADDED
@@ -0,0 +1,270 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.6880093812942505,
3
+ "best_model_checkpoint": "/content/drive/MyDrive/NLP/HW_2/LORA_AUG_GREATER/checkpoint-2250",
4
+ "epoch": 1.027749229188078,
5
+ "eval_steps": 250,
6
+ "global_step": 3000,
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.08564576909900651,
13
+ "grad_norm": 13.67185115814209,
14
+ "learning_rate": 4.9143542309009935e-05,
15
+ "loss": 0.968,
16
+ "step": 250
17
+ },
18
+ {
19
+ "epoch": 0.08564576909900651,
20
+ "eval_accuracy": 0.6621503496503497,
21
+ "eval_f1": 0.6578961107049218,
22
+ "eval_loss": 0.7989072799682617,
23
+ "eval_precision": 0.6884699634047233,
24
+ "eval_recall": 0.6621503496503497,
25
+ "eval_runtime": 154.1603,
26
+ "eval_samples_per_second": 14.842,
27
+ "eval_steps_per_second": 0.467,
28
+ "step": 250
29
+ },
30
+ {
31
+ "epoch": 0.17129153819801302,
32
+ "grad_norm": 6.074775218963623,
33
+ "learning_rate": 4.8287084618019874e-05,
34
+ "loss": 0.6005,
35
+ "step": 500
36
+ },
37
+ {
38
+ "epoch": 0.17129153819801302,
39
+ "eval_accuracy": 0.7145979020979021,
40
+ "eval_f1": 0.7094250928713455,
41
+ "eval_loss": 0.7962299585342407,
42
+ "eval_precision": 0.7248927170802172,
43
+ "eval_recall": 0.7145979020979021,
44
+ "eval_runtime": 156.9154,
45
+ "eval_samples_per_second": 14.581,
46
+ "eval_steps_per_second": 0.459,
47
+ "step": 500
48
+ },
49
+ {
50
+ "epoch": 0.2569373072970195,
51
+ "grad_norm": 4.536829471588135,
52
+ "learning_rate": 4.7430626927029806e-05,
53
+ "loss": 0.5234,
54
+ "step": 750
55
+ },
56
+ {
57
+ "epoch": 0.2569373072970195,
58
+ "eval_accuracy": 0.7447552447552448,
59
+ "eval_f1": 0.7415547688528572,
60
+ "eval_loss": 0.7522953152656555,
61
+ "eval_precision": 0.7440074461201359,
62
+ "eval_recall": 0.7447552447552448,
63
+ "eval_runtime": 156.5246,
64
+ "eval_samples_per_second": 14.618,
65
+ "eval_steps_per_second": 0.46,
66
+ "step": 750
67
+ },
68
+ {
69
+ "epoch": 0.34258307639602603,
70
+ "grad_norm": 6.346406936645508,
71
+ "learning_rate": 4.6574169236039745e-05,
72
+ "loss": 0.4843,
73
+ "step": 1000
74
+ },
75
+ {
76
+ "epoch": 0.34258307639602603,
77
+ "eval_accuracy": 0.7097902097902098,
78
+ "eval_f1": 0.6943907906472824,
79
+ "eval_loss": 0.9078171849250793,
80
+ "eval_precision": 0.7203113605498284,
81
+ "eval_recall": 0.7097902097902098,
82
+ "eval_runtime": 156.7861,
83
+ "eval_samples_per_second": 14.593,
84
+ "eval_steps_per_second": 0.459,
85
+ "step": 1000
86
+ },
87
+ {
88
+ "epoch": 0.42822884549503254,
89
+ "grad_norm": 4.173954486846924,
90
+ "learning_rate": 4.571771154504968e-05,
91
+ "loss": 0.4593,
92
+ "step": 1250
93
+ },
94
+ {
95
+ "epoch": 0.42822884549503254,
96
+ "eval_accuracy": 0.729458041958042,
97
+ "eval_f1": 0.7221199642365762,
98
+ "eval_loss": 0.8215415477752686,
99
+ "eval_precision": 0.739759876127429,
100
+ "eval_recall": 0.729458041958042,
101
+ "eval_runtime": 156.9233,
102
+ "eval_samples_per_second": 14.58,
103
+ "eval_steps_per_second": 0.459,
104
+ "step": 1250
105
+ },
106
+ {
107
+ "epoch": 0.513874614594039,
108
+ "grad_norm": 5.52806282043457,
109
+ "learning_rate": 4.486125385405961e-05,
110
+ "loss": 0.4274,
111
+ "step": 1500
112
+ },
113
+ {
114
+ "epoch": 0.513874614594039,
115
+ "eval_accuracy": 0.736013986013986,
116
+ "eval_f1": 0.7246914620886431,
117
+ "eval_loss": 0.8586153388023376,
118
+ "eval_precision": 0.7426058097276803,
119
+ "eval_recall": 0.736013986013986,
120
+ "eval_runtime": 154.5125,
121
+ "eval_samples_per_second": 14.808,
122
+ "eval_steps_per_second": 0.466,
123
+ "step": 1500
124
+ },
125
+ {
126
+ "epoch": 0.5995203836930456,
127
+ "grad_norm": 4.5602898597717285,
128
+ "learning_rate": 4.400479616306955e-05,
129
+ "loss": 0.4272,
130
+ "step": 1750
131
+ },
132
+ {
133
+ "epoch": 0.5995203836930456,
134
+ "eval_accuracy": 0.7596153846153846,
135
+ "eval_f1": 0.75381427721012,
136
+ "eval_loss": 0.7090545296669006,
137
+ "eval_precision": 0.7584790142699676,
138
+ "eval_recall": 0.7596153846153846,
139
+ "eval_runtime": 154.0482,
140
+ "eval_samples_per_second": 14.852,
141
+ "eval_steps_per_second": 0.467,
142
+ "step": 1750
143
+ },
144
+ {
145
+ "epoch": 0.6851661527920521,
146
+ "grad_norm": 4.625553607940674,
147
+ "learning_rate": 4.314833847207948e-05,
148
+ "loss": 0.3975,
149
+ "step": 2000
150
+ },
151
+ {
152
+ "epoch": 0.6851661527920521,
153
+ "eval_accuracy": 0.7543706293706294,
154
+ "eval_f1": 0.745514070883235,
155
+ "eval_loss": 0.7486010193824768,
156
+ "eval_precision": 0.7586667809302097,
157
+ "eval_recall": 0.7543706293706294,
158
+ "eval_runtime": 154.7216,
159
+ "eval_samples_per_second": 14.788,
160
+ "eval_steps_per_second": 0.465,
161
+ "step": 2000
162
+ },
163
+ {
164
+ "epoch": 0.7708119218910586,
165
+ "grad_norm": 4.490630626678467,
166
+ "learning_rate": 4.229188078108942e-05,
167
+ "loss": 0.3916,
168
+ "step": 2250
169
+ },
170
+ {
171
+ "epoch": 0.7708119218910586,
172
+ "eval_accuracy": 0.7539335664335665,
173
+ "eval_f1": 0.7428581792552783,
174
+ "eval_loss": 0.6880093812942505,
175
+ "eval_precision": 0.7522960627196311,
176
+ "eval_recall": 0.7539335664335665,
177
+ "eval_runtime": 154.2223,
178
+ "eval_samples_per_second": 14.836,
179
+ "eval_steps_per_second": 0.467,
180
+ "step": 2250
181
+ },
182
+ {
183
+ "epoch": 0.8564576909900651,
184
+ "grad_norm": 2.426281452178955,
185
+ "learning_rate": 4.143542309009935e-05,
186
+ "loss": 0.3835,
187
+ "step": 2500
188
+ },
189
+ {
190
+ "epoch": 0.8564576909900651,
191
+ "eval_accuracy": 0.7556818181818182,
192
+ "eval_f1": 0.7470266895815383,
193
+ "eval_loss": 0.7790956497192383,
194
+ "eval_precision": 0.7554129003944599,
195
+ "eval_recall": 0.7556818181818182,
196
+ "eval_runtime": 158.6172,
197
+ "eval_samples_per_second": 14.425,
198
+ "eval_steps_per_second": 0.454,
199
+ "step": 2500
200
+ },
201
+ {
202
+ "epoch": 0.9421034600890716,
203
+ "grad_norm": 2.668764591217041,
204
+ "learning_rate": 4.0578965399109283e-05,
205
+ "loss": 0.3744,
206
+ "step": 2750
207
+ },
208
+ {
209
+ "epoch": 0.9421034600890716,
210
+ "eval_accuracy": 0.7552447552447552,
211
+ "eval_f1": 0.7477654252537256,
212
+ "eval_loss": 0.7511053085327148,
213
+ "eval_precision": 0.7591641056843698,
214
+ "eval_recall": 0.7552447552447552,
215
+ "eval_runtime": 158.6161,
216
+ "eval_samples_per_second": 14.425,
217
+ "eval_steps_per_second": 0.454,
218
+ "step": 2750
219
+ },
220
+ {
221
+ "epoch": 1.027749229188078,
222
+ "grad_norm": 4.129087448120117,
223
+ "learning_rate": 3.972250770811922e-05,
224
+ "loss": 0.3902,
225
+ "step": 3000
226
+ },
227
+ {
228
+ "epoch": 1.027749229188078,
229
+ "eval_accuracy": 0.7683566433566433,
230
+ "eval_f1": 0.7647199540664621,
231
+ "eval_loss": 0.6985490918159485,
232
+ "eval_precision": 0.7701853452045943,
233
+ "eval_recall": 0.7683566433566433,
234
+ "eval_runtime": 150.2872,
235
+ "eval_samples_per_second": 15.224,
236
+ "eval_steps_per_second": 0.479,
237
+ "step": 3000
238
+ }
239
+ ],
240
+ "logging_steps": 250,
241
+ "max_steps": 14595,
242
+ "num_input_tokens_seen": 0,
243
+ "num_train_epochs": 5,
244
+ "save_steps": 250,
245
+ "stateful_callbacks": {
246
+ "EarlyStoppingCallback": {
247
+ "args": {
248
+ "early_stopping_patience": 10,
249
+ "early_stopping_threshold": 0.0
250
+ },
251
+ "attributes": {
252
+ "early_stopping_patience_counter": 0
253
+ }
254
+ },
255
+ "TrainerControl": {
256
+ "args": {
257
+ "should_epoch_stop": false,
258
+ "should_evaluate": false,
259
+ "should_log": false,
260
+ "should_save": true,
261
+ "should_training_stop": false
262
+ },
263
+ "attributes": {}
264
+ }
265
+ },
266
+ "total_flos": 9.7057888093675e+16,
267
+ "train_batch_size": 32,
268
+ "trial_name": null,
269
+ "trial_params": null
270
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:09ae71b241758386a303659d17aadfb90a62e254255f69107750f42e269c3650
3
+ size 5112