Fill-Mask
PEFT
Safetensors
Transformers
modernbert
lora
dapt
sft
heitorrosa commited on
Commit
ea12ab2
·
verified ·
1 Parent(s): 2949689

Upload folder using huggingface_hub

Browse files
sft/checkpoint-450/README.md ADDED
@@ -0,0 +1,206 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: heitorrosa/logun-base
3
+ library_name: peft
4
+ tags:
5
+ - base_model:adapter:heitorrosa/logun-base
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.20.0
sft/checkpoint-450/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c82ba4cdd55f7776c24cb08da2ec9abe37b0fde1b70cb4ed7e69ace78574cd97
3
+ size 27204427
sft/checkpoint-450/rng_state_0.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6af6b4c42062851407670c78c1ae4e4d4d06397d777af4c3d0605817fbf30b70
3
+ size 14917
sft/checkpoint-450/scaler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d028fbcacc64b27dda5ea74554be30b9d32fd7b72345a3b425d5a33df7e6494a
3
+ size 1383
sft/checkpoint-450/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2c8a15b5205d2ffe1c5a3b2faea5aa1e62bd38e026b21b84500f785c5ffc530c
3
+ size 1465
sft/checkpoint-450/sft/adapter_config.json ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alora_invocation_tokens": null,
3
+ "alpha_pattern": {},
4
+ "arrow_config": null,
5
+ "auto_mapping": null,
6
+ "base_model_name_or_path": "heitorrosa/logun-base",
7
+ "bias": "none",
8
+ "corda_config": null,
9
+ "ensure_weight_tying": false,
10
+ "eva_config": null,
11
+ "exclude_modules": null,
12
+ "fan_in_fan_out": false,
13
+ "inference_mode": true,
14
+ "init_lora_weights": true,
15
+ "layer_replication": null,
16
+ "layers_pattern": null,
17
+ "layers_to_transform": null,
18
+ "loftq_config": {},
19
+ "lora_alpha": 32,
20
+ "lora_bias": false,
21
+ "lora_dropout": 0.05,
22
+ "lora_ga_config": null,
23
+ "megatron_config": null,
24
+ "megatron_core": "megatron.core",
25
+ "modules_to_save": [
26
+ "classifier",
27
+ "classifier",
28
+ "score"
29
+ ],
30
+ "monteclora_config": null,
31
+ "peft_type": "LORA",
32
+ "peft_version": "0.20.0",
33
+ "qalora_group_size": 16,
34
+ "r": 16,
35
+ "rank_pattern": {},
36
+ "revision": null,
37
+ "target_modules": [
38
+ "Wqkv",
39
+ "Wo",
40
+ "Wi"
41
+ ],
42
+ "target_parameters": null,
43
+ "task_type": "SEQ_CLS",
44
+ "trainable_token_indices": null,
45
+ "use_bdlora": null,
46
+ "use_dora": false,
47
+ "use_qalora": false,
48
+ "use_rslora": false,
49
+ "velora_config": null
50
+ }
sft/checkpoint-450/sft/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3594f309ca1ca6f5185991414f71cf6316db71a3152fd703382d1ef801854b84
3
+ size 13547940
sft/checkpoint-450/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
sft/checkpoint-450/tokenizer_config.json ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "backend": "tokenizers",
3
+ "bos_token": "[CLS]",
4
+ "clean_up_tokenization_spaces": false,
5
+ "eos_token": "[SEP]",
6
+ "is_local": false,
7
+ "local_files_only": false,
8
+ "mask_token": "[MASK]",
9
+ "model_input_names": [
10
+ "input_ids",
11
+ "attention_mask"
12
+ ],
13
+ "model_max_length": 8192,
14
+ "pad_token": "[PAD]",
15
+ "padding_side": "right",
16
+ "tokenizer_class": "TokenizersBackend",
17
+ "truncation_side": "right",
18
+ "unk_token": "[UNK]"
19
+ }
sft/checkpoint-450/trainer_state.json ADDED
@@ -0,0 +1,274 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": null,
3
+ "best_metric": null,
4
+ "best_model_checkpoint": null,
5
+ "epoch": 0.8437829602718856,
6
+ "eval_steps": 150,
7
+ "global_step": 450,
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.02812609867572952,
14
+ "grad_norm": NaN,
15
+ "learning_rate": 4.666666666666667e-06,
16
+ "loss": 40.91645100911458,
17
+ "step": 15
18
+ },
19
+ {
20
+ "epoch": 0.05625219735145904,
21
+ "grad_norm": 108.49263000488281,
22
+ "learning_rate": 9.666666666666667e-06,
23
+ "loss": 38.68733317057292,
24
+ "step": 30
25
+ },
26
+ {
27
+ "epoch": 0.08437829602718856,
28
+ "grad_norm": 87.13339233398438,
29
+ "learning_rate": 1.4666666666666668e-05,
30
+ "loss": 37.54708658854167,
31
+ "step": 45
32
+ },
33
+ {
34
+ "epoch": 0.11250439470291808,
35
+ "grad_norm": 82.61961364746094,
36
+ "learning_rate": 1.9666666666666666e-05,
37
+ "loss": 35.59373372395833,
38
+ "step": 60
39
+ },
40
+ {
41
+ "epoch": 0.1406304933786476,
42
+ "grad_norm": 94.90762329101562,
43
+ "learning_rate": 2.466666666666667e-05,
44
+ "loss": 34.33445638020833,
45
+ "step": 75
46
+ },
47
+ {
48
+ "epoch": 0.16875659205437712,
49
+ "grad_norm": 64.12799072265625,
50
+ "learning_rate": 2.9666666666666672e-05,
51
+ "loss": 33.768391927083336,
52
+ "step": 90
53
+ },
54
+ {
55
+ "epoch": 0.19688269073010664,
56
+ "grad_norm": 61.35285568237305,
57
+ "learning_rate": 3.466666666666667e-05,
58
+ "loss": 33.065120442708334,
59
+ "step": 105
60
+ },
61
+ {
62
+ "epoch": 0.22500878940583616,
63
+ "grad_norm": 56.75034713745117,
64
+ "learning_rate": 3.966666666666667e-05,
65
+ "loss": 32.87635091145833,
66
+ "step": 120
67
+ },
68
+ {
69
+ "epoch": 0.2531348880815657,
70
+ "grad_norm": 88.83663177490234,
71
+ "learning_rate": 4.466666666666667e-05,
72
+ "loss": 31.945328776041666,
73
+ "step": 135
74
+ },
75
+ {
76
+ "epoch": 0.2812609867572952,
77
+ "grad_norm": 53.496788024902344,
78
+ "learning_rate": 4.966666666666667e-05,
79
+ "loss": 32.28165283203125,
80
+ "step": 150
81
+ },
82
+ {
83
+ "epoch": 0.2812609867572952,
84
+ "eval_accuracy": 0.4985507246376812,
85
+ "eval_loss": 1.9326186180114746,
86
+ "eval_macro_f1": 0.4513996326113265,
87
+ "eval_runtime": 7.0971,
88
+ "eval_samples_per_second": 48.611,
89
+ "eval_steps_per_second": 6.2,
90
+ "step": 150
91
+ },
92
+ {
93
+ "epoch": 0.30938708543302473,
94
+ "grad_norm": 54.809783935546875,
95
+ "learning_rate": 4.9830179524502674e-05,
96
+ "loss": 30.544930013020835,
97
+ "step": 165
98
+ },
99
+ {
100
+ "epoch": 0.33751318410875425,
101
+ "grad_norm": 68.34676361083984,
102
+ "learning_rate": 4.964822901504124e-05,
103
+ "loss": 29.883894856770834,
104
+ "step": 180
105
+ },
106
+ {
107
+ "epoch": 0.36563928278448377,
108
+ "grad_norm": 70.30874633789062,
109
+ "learning_rate": 4.9466278505579815e-05,
110
+ "loss": 29.711442057291666,
111
+ "step": 195
112
+ },
113
+ {
114
+ "epoch": 0.3937653814602133,
115
+ "grad_norm": 105.4150161743164,
116
+ "learning_rate": 4.928432799611839e-05,
117
+ "loss": 29.863224283854166,
118
+ "step": 210
119
+ },
120
+ {
121
+ "epoch": 0.4218914801359428,
122
+ "grad_norm": 81.67976379394531,
123
+ "learning_rate": 4.910237748665696e-05,
124
+ "loss": 29.67599080403646,
125
+ "step": 225
126
+ },
127
+ {
128
+ "epoch": 0.4500175788116723,
129
+ "grad_norm": 78.1202621459961,
130
+ "learning_rate": 4.8920426977195536e-05,
131
+ "loss": 28.802783203125,
132
+ "step": 240
133
+ },
134
+ {
135
+ "epoch": 0.47814367748740183,
136
+ "grad_norm": 73.63782501220703,
137
+ "learning_rate": 4.873847646773411e-05,
138
+ "loss": 27.798103841145835,
139
+ "step": 255
140
+ },
141
+ {
142
+ "epoch": 0.5062697761631314,
143
+ "grad_norm": 77.5123519897461,
144
+ "learning_rate": 4.855652595827268e-05,
145
+ "loss": 26.746952311197916,
146
+ "step": 270
147
+ },
148
+ {
149
+ "epoch": 0.5343958748388609,
150
+ "grad_norm": 70.0318603515625,
151
+ "learning_rate": 4.837457544881126e-05,
152
+ "loss": 26.3315673828125,
153
+ "step": 285
154
+ },
155
+ {
156
+ "epoch": 0.5625219735145904,
157
+ "grad_norm": 66.42996215820312,
158
+ "learning_rate": 4.819262493934984e-05,
159
+ "loss": 26.488555908203125,
160
+ "step": 300
161
+ },
162
+ {
163
+ "epoch": 0.5625219735145904,
164
+ "eval_accuracy": 0.6318840579710145,
165
+ "eval_loss": 1.615958333015442,
166
+ "eval_macro_f1": 0.6129856465867943,
167
+ "eval_runtime": 2.3114,
168
+ "eval_samples_per_second": 149.263,
169
+ "eval_steps_per_second": 19.036,
170
+ "step": 300
171
+ },
172
+ {
173
+ "epoch": 0.5906480721903199,
174
+ "grad_norm": 68.63166046142578,
175
+ "learning_rate": 4.801067442988841e-05,
176
+ "loss": 26.851969401041668,
177
+ "step": 315
178
+ },
179
+ {
180
+ "epoch": 0.6187741708660495,
181
+ "grad_norm": 94.37174224853516,
182
+ "learning_rate": 4.7828723920426985e-05,
183
+ "loss": 26.854146321614582,
184
+ "step": 330
185
+ },
186
+ {
187
+ "epoch": 0.6469002695417789,
188
+ "grad_norm": 85.5411605834961,
189
+ "learning_rate": 4.764677341096555e-05,
190
+ "loss": 24.6757080078125,
191
+ "step": 345
192
+ },
193
+ {
194
+ "epoch": 0.6750263682175085,
195
+ "grad_norm": 64.81537628173828,
196
+ "learning_rate": 4.7464822901504125e-05,
197
+ "loss": 27.398944091796874,
198
+ "step": 360
199
+ },
200
+ {
201
+ "epoch": 0.7031524668932381,
202
+ "grad_norm": 98.3795394897461,
203
+ "learning_rate": 4.72828723920427e-05,
204
+ "loss": 25.361378987630207,
205
+ "step": 375
206
+ },
207
+ {
208
+ "epoch": 0.7312785655689675,
209
+ "grad_norm": 60.86552810668945,
210
+ "learning_rate": 4.710092188258127e-05,
211
+ "loss": 23.455232747395833,
212
+ "step": 390
213
+ },
214
+ {
215
+ "epoch": 0.7594046642446971,
216
+ "grad_norm": 65.06398010253906,
217
+ "learning_rate": 4.6918971373119846e-05,
218
+ "loss": 25.147119140625,
219
+ "step": 405
220
+ },
221
+ {
222
+ "epoch": 0.7875307629204266,
223
+ "grad_norm": 64.24246978759766,
224
+ "learning_rate": 4.673702086365842e-05,
225
+ "loss": 26.254545084635417,
226
+ "step": 420
227
+ },
228
+ {
229
+ "epoch": 0.8156568615961561,
230
+ "grad_norm": 85.69407653808594,
231
+ "learning_rate": 4.6555070354196993e-05,
232
+ "loss": 25.228023274739584,
233
+ "step": 435
234
+ },
235
+ {
236
+ "epoch": 0.8437829602718856,
237
+ "grad_norm": 91.77117919921875,
238
+ "learning_rate": 4.637311984473557e-05,
239
+ "loss": 24.674845377604168,
240
+ "step": 450
241
+ },
242
+ {
243
+ "epoch": 0.8437829602718856,
244
+ "eval_accuracy": 0.6579710144927536,
245
+ "eval_loss": 1.529452919960022,
246
+ "eval_macro_f1": 0.6434151685975086,
247
+ "eval_runtime": 2.2932,
248
+ "eval_samples_per_second": 150.442,
249
+ "eval_steps_per_second": 19.187,
250
+ "step": 450
251
+ }
252
+ ],
253
+ "logging_steps": 15,
254
+ "max_steps": 4272,
255
+ "num_input_tokens_seen": 0,
256
+ "num_train_epochs": 8,
257
+ "save_steps": 150,
258
+ "stateful_callbacks": {
259
+ "TrainerControl": {
260
+ "args": {
261
+ "should_epoch_stop": false,
262
+ "should_evaluate": false,
263
+ "should_log": false,
264
+ "should_save": true,
265
+ "should_training_stop": false
266
+ },
267
+ "attributes": {}
268
+ }
269
+ },
270
+ "total_flos": 1057646027210752.0,
271
+ "train_batch_size": 2,
272
+ "trial_name": null,
273
+ "trial_params": null
274
+ }
sft/checkpoint-450/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:37d5b6b59a9b3ebbb703393ea1b80963b65b36ea5e43b5614682c24b6cd469ff
3
+ size 5201