xshubhamx commited on
Commit
d23325f
·
verified ·
1 Parent(s): 4a4b6e2

Upload folder using huggingface_hub

Browse files
training_checkpoints/checkpoint-643/README.md ADDED
@@ -0,0 +1,204 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: peft
3
+ base_model: nlpaueb/legal-bert-base-uncased
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
+ ### Framework versions
203
+
204
+ - PEFT 0.10.0
training_checkpoints/checkpoint-643/adapter_config.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alpha_pattern": {},
3
+ "auto_mapping": null,
4
+ "base_model_name_or_path": "nlpaueb/legal-bert-base-uncased",
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.1,
15
+ "megatron_config": null,
16
+ "megatron_core": "megatron.core",
17
+ "modules_to_save": null,
18
+ "peft_type": "LORA",
19
+ "r": 16,
20
+ "rank_pattern": {},
21
+ "revision": null,
22
+ "target_modules": [
23
+ "key",
24
+ "dense",
25
+ "value",
26
+ "query"
27
+ ],
28
+ "task_type": "SEQ_CLS",
29
+ "use_dora": false,
30
+ "use_rslora": false
31
+ }
training_checkpoints/checkpoint-643/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c53182b2c2c69c0d0d5eced0d73bd90fb6351291f5abd2a3f553054ac412349b
3
+ size 104549068
training_checkpoints/checkpoint-643/added_tokens.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "<pad>": 30522
3
+ }
training_checkpoints/checkpoint-643/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f922e3622a510677ec7a22a5cfc432084a4335086bbca12acbf57a0b4e684c29
3
+ size 21646778
training_checkpoints/checkpoint-643/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b812ca7db23df0d6cda4fed7c1a5a5f1b3351059b4e554a59e169781679ab1d0
3
+ size 14244
training_checkpoints/checkpoint-643/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6438ed6cfc5010cc62ed940c59c896be41c9578565a6a8d984b6ec712fc0303a
3
+ size 1064
training_checkpoints/checkpoint-643/special_tokens_map.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": "[CLS]",
3
+ "mask_token": "[MASK]",
4
+ "pad_token": {
5
+ "content": "<pad>",
6
+ "lstrip": false,
7
+ "normalized": false,
8
+ "rstrip": false,
9
+ "single_word": false
10
+ },
11
+ "sep_token": "[SEP]",
12
+ "unk_token": "[UNK]"
13
+ }
training_checkpoints/checkpoint-643/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
training_checkpoints/checkpoint-643/tokenizer_config.json ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "30522": {
44
+ "content": "<pad>",
45
+ "lstrip": false,
46
+ "normalized": false,
47
+ "rstrip": false,
48
+ "single_word": false,
49
+ "special": true
50
+ }
51
+ },
52
+ "clean_up_tokenization_spaces": true,
53
+ "cls_token": "[CLS]",
54
+ "do_basic_tokenize": true,
55
+ "do_lower_case": true,
56
+ "mask_token": "[MASK]",
57
+ "model_max_length": 512,
58
+ "never_split": null,
59
+ "pad_token": "<pad>",
60
+ "sep_token": "[SEP]",
61
+ "strip_accents": null,
62
+ "tokenize_chinese_chars": true,
63
+ "tokenizer_class": "BertTokenizer",
64
+ "unk_token": "[UNK]"
65
+ }
training_checkpoints/checkpoint-643/trainer_state.json ADDED
@@ -0,0 +1,113 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.4262450946907797,
3
+ "best_model_checkpoint": "legal-bert-lora/checkpoint-482",
4
+ "epoch": 4.0,
5
+ "eval_steps": 500,
6
+ "global_step": 643,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 1.0,
13
+ "eval_accuracy": 0.6297443841982959,
14
+ "eval_f1_macro": 0.274206359888179,
15
+ "eval_f1_micro": 0.6297443841982959,
16
+ "eval_f1_weighted": 0.5693924444438366,
17
+ "eval_loss": 1.3252344131469727,
18
+ "eval_macro_fpr": 0.04170202326759921,
19
+ "eval_macro_sensitivity": 0.31095312319919677,
20
+ "eval_macro_specificity": 0.9716859606487191,
21
+ "eval_precision": 0.5643117258906628,
22
+ "eval_precision_macro": 0.2864620870649182,
23
+ "eval_recall": 0.6297443841982959,
24
+ "eval_recall_macro": 0.31095312319919677,
25
+ "eval_runtime": 29.2455,
26
+ "eval_samples_per_second": 44.143,
27
+ "eval_steps_per_second": 5.539,
28
+ "eval_weighted_fpr": 0.0403035413153457,
29
+ "eval_weighted_sensitivity": 0.6297443841982959,
30
+ "eval_weighted_specificity": 0.945545025532491,
31
+ "step": 160
32
+ },
33
+ {
34
+ "epoch": 2.0,
35
+ "eval_accuracy": 0.7312161115414407,
36
+ "eval_f1_macro": 0.39668888106795264,
37
+ "eval_f1_micro": 0.7312161115414407,
38
+ "eval_f1_weighted": 0.6996238601563893,
39
+ "eval_loss": 0.8870222568511963,
40
+ "eval_macro_fpr": 0.025654492164758257,
41
+ "eval_macro_sensitivity": 0.4525442260434048,
42
+ "eval_macro_specificity": 0.9800113592544849,
43
+ "eval_precision": 0.687310022738013,
44
+ "eval_precision_macro": 0.37417463878901125,
45
+ "eval_recall": 0.7312161115414407,
46
+ "eval_recall_macro": 0.4525442260434048,
47
+ "eval_runtime": 31.4769,
48
+ "eval_samples_per_second": 41.014,
49
+ "eval_steps_per_second": 5.147,
50
+ "eval_weighted_fpr": 0.025584310255843103,
51
+ "eval_weighted_sensitivity": 0.7312161115414407,
52
+ "eval_weighted_specificity": 0.9689542772758329,
53
+ "step": 321
54
+ },
55
+ {
56
+ "epoch": 3.0,
57
+ "eval_accuracy": 0.7482571649883811,
58
+ "eval_f1_macro": 0.4262450946907797,
59
+ "eval_f1_micro": 0.7482571649883811,
60
+ "eval_f1_weighted": 0.7282078768513273,
61
+ "eval_loss": 0.7794041037559509,
62
+ "eval_macro_fpr": 0.023941075707085962,
63
+ "eval_macro_sensitivity": 0.46803400264857875,
64
+ "eval_macro_specificity": 0.9812882861560729,
65
+ "eval_precision": 0.716881212213352,
66
+ "eval_precision_macro": 0.40594566191566384,
67
+ "eval_recall": 0.7482571649883811,
68
+ "eval_recall_macro": 0.46803400264857875,
69
+ "eval_runtime": 31.9176,
70
+ "eval_samples_per_second": 40.448,
71
+ "eval_steps_per_second": 5.076,
72
+ "eval_weighted_fpr": 0.02346739836811322,
73
+ "eval_weighted_sensitivity": 0.7482571649883811,
74
+ "eval_weighted_specificity": 0.9710671273527125,
75
+ "step": 482
76
+ },
77
+ {
78
+ "epoch": 3.11,
79
+ "learning_rate": 3.4375e-05,
80
+ "loss": 1.2835,
81
+ "step": 500
82
+ },
83
+ {
84
+ "epoch": 4.0,
85
+ "eval_accuracy": 0.7443841982958946,
86
+ "eval_f1_macro": 0.4099967964216515,
87
+ "eval_f1_micro": 0.7443841982958946,
88
+ "eval_f1_weighted": 0.7145941103131069,
89
+ "eval_loss": 0.7480739951133728,
90
+ "eval_macro_fpr": 0.024347730036769315,
91
+ "eval_macro_sensitivity": 0.45879715060247334,
92
+ "eval_macro_specificity": 0.9809610383366641,
93
+ "eval_precision": 0.7084810945380595,
94
+ "eval_precision_macro": 0.39966194371515146,
95
+ "eval_recall": 0.7443841982958946,
96
+ "eval_recall_macro": 0.45879715060247334,
97
+ "eval_runtime": 31.4007,
98
+ "eval_samples_per_second": 41.114,
99
+ "eval_steps_per_second": 5.159,
100
+ "eval_weighted_fpr": 0.023940800928612886,
101
+ "eval_weighted_sensitivity": 0.7443841982958946,
102
+ "eval_weighted_specificity": 0.9700313767540658,
103
+ "step": 643
104
+ }
105
+ ],
106
+ "logging_steps": 500,
107
+ "max_steps": 1600,
108
+ "num_train_epochs": 10,
109
+ "save_steps": 500,
110
+ "total_flos": 5577944869453824.0,
111
+ "trial_name": null,
112
+ "trial_params": null
113
+ }
training_checkpoints/checkpoint-643/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1be05b6bb510587fe353991f6f2836b34a5909cbc5adc58389938bd163228a1f
3
+ size 4600
training_checkpoints/checkpoint-643/vocab.txt ADDED
The diff for this file is too large to render. See raw diff