kaantureyyen commited on
Commit
dda2a0c
·
verified ·
1 Parent(s): 58740ff

Upload 7 files

Browse files
Files changed (7) hide show
  1. config.json +51 -0
  2. model.safetensors +3 -0
  3. optimizer.pt +3 -0
  4. rng_state.pth +3 -0
  5. scheduler.pt +3 -0
  6. trainer_state.json +166 -0
  7. training_args.bin +3 -0
config.json ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "nlpaueb/legal-bert-base-uncased",
3
+ "architectures": [
4
+ "BertForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": 0,
8
+ "classifier_dropout": null,
9
+ "eos_token_ids": 0,
10
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.1,
12
+ "hidden_size": 768,
13
+ "id2label": {
14
+ "0": "LABEL_0",
15
+ "1": "LABEL_1",
16
+ "2": "LABEL_2",
17
+ "3": "LABEL_3",
18
+ "4": "LABEL_4",
19
+ "5": "LABEL_5",
20
+ "6": "LABEL_6",
21
+ "7": "LABEL_7",
22
+ "8": "LABEL_8"
23
+ },
24
+ "initializer_range": 0.02,
25
+ "intermediate_size": 3072,
26
+ "label2id": {
27
+ "LABEL_0": 0,
28
+ "LABEL_1": 1,
29
+ "LABEL_2": 2,
30
+ "LABEL_3": 3,
31
+ "LABEL_4": 4,
32
+ "LABEL_5": 5,
33
+ "LABEL_6": 6,
34
+ "LABEL_7": 7,
35
+ "LABEL_8": 8
36
+ },
37
+ "layer_norm_eps": 1e-12,
38
+ "max_position_embeddings": 512,
39
+ "model_type": "bert",
40
+ "num_attention_heads": 12,
41
+ "num_hidden_layers": 12,
42
+ "output_past": true,
43
+ "pad_token_id": 0,
44
+ "position_embedding_type": "absolute",
45
+ "problem_type": "multi_label_classification",
46
+ "torch_dtype": "float32",
47
+ "transformers_version": "4.46.3",
48
+ "type_vocab_size": 2,
49
+ "use_cache": true,
50
+ "vocab_size": 30522
51
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b66815cdffb861cebbb52584724e094825dcfe3beca72cc1cd707ef00fae93dc
3
+ size 437980180
optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1fe97faf37b5cd125eebb77c73e5f0305e85d4d51f8a8f5866126199945ae461
3
+ size 876081402
rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c63908b9b6cb9dc8256eb102fb72e85adf43f9a90fe59c17cb4d0af307898b5d
3
+ size 14244
scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fbb9d01b2114ccf0ac9b7e628c01b27cf404ad5e739c736ab2e280aab8a242e1
3
+ size 1064
trainer_state.json ADDED
@@ -0,0 +1,166 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.7635786873553013,
3
+ "best_model_checkpoint": "model_checkpoint/fine-tuned_legalbert_multilabel_original_train/checkpoint-783",
4
+ "epoch": 2.997129186602871,
5
+ "eval_steps": 500,
6
+ "global_step": 783,
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.999043062200957,
13
+ "eval_A_f1": 0.0,
14
+ "eval_A_precision": 0.0,
15
+ "eval_A_recall": 0.0,
16
+ "eval_CH_f1": 0.0,
17
+ "eval_CH_precision": 0.0,
18
+ "eval_CH_recall": 0.0,
19
+ "eval_CR_f1": 0.0,
20
+ "eval_CR_precision": 0.0,
21
+ "eval_CR_recall": 0.0,
22
+ "eval_FAIR_f1": 0.9544351203273459,
23
+ "eval_FAIR_precision": 0.9774147727272727,
24
+ "eval_FAIR_recall": 0.9325111803767449,
25
+ "eval_J_f1": 0.0,
26
+ "eval_J_precision": 0.0,
27
+ "eval_J_recall": 0.0,
28
+ "eval_LAW_f1": 0.0,
29
+ "eval_LAW_precision": 0.0,
30
+ "eval_LAW_recall": 0.0,
31
+ "eval_LTD_f1": 0.6153846153846154,
32
+ "eval_LTD_precision": 0.7472527472527473,
33
+ "eval_LTD_recall": 0.5230769230769231,
34
+ "eval_TER_f1": 0.0,
35
+ "eval_TER_precision": 0.0,
36
+ "eval_TER_recall": 0.0,
37
+ "eval_USE_f1": 0.017241379310344827,
38
+ "eval_USE_precision": 1.0,
39
+ "eval_USE_recall": 0.008695652173913044,
40
+ "eval_accuracy": 0.8484116439183477,
41
+ "eval_f1_macro": 0.17634012389136736,
42
+ "eval_loss": 0.06019286438822746,
43
+ "eval_precision_macro": 0.3027408355533356,
44
+ "eval_recall_macro": 0.1626981950697312,
45
+ "eval_runtime": 894.9212,
46
+ "eval_samples_per_second": 9.251,
47
+ "eval_steps_per_second": 0.579,
48
+ "step": 261
49
+ },
50
+ {
51
+ "epoch": 1.9138755980861244,
52
+ "grad_norm": 0.9339248538017273,
53
+ "learning_rate": 1.8135376756066413e-05,
54
+ "loss": 0.0784,
55
+ "step": 500
56
+ },
57
+ {
58
+ "epoch": 1.998086124401914,
59
+ "eval_A_f1": 0.5909090909090909,
60
+ "eval_A_precision": 1.0,
61
+ "eval_A_recall": 0.41935483870967744,
62
+ "eval_CH_f1": 0.4873096446700508,
63
+ "eval_CH_precision": 0.8571428571428571,
64
+ "eval_CH_recall": 0.3404255319148936,
65
+ "eval_CR_f1": 0.0,
66
+ "eval_CR_precision": 0.0,
67
+ "eval_CR_recall": 0.0,
68
+ "eval_FAIR_f1": 0.9716993725804298,
69
+ "eval_FAIR_precision": 0.9573852426673681,
70
+ "eval_FAIR_recall": 0.9864480281881014,
71
+ "eval_J_f1": 0.8623853211009175,
72
+ "eval_J_precision": 0.9038461538461539,
73
+ "eval_J_recall": 0.8245614035087719,
74
+ "eval_LAW_f1": 0.7927927927927928,
75
+ "eval_LAW_precision": 0.88,
76
+ "eval_LAW_recall": 0.7213114754098361,
77
+ "eval_LTD_f1": 0.6752688172043011,
78
+ "eval_LTD_precision": 0.7658536585365854,
79
+ "eval_LTD_recall": 0.6038461538461538,
80
+ "eval_TER_f1": 0.6990881458966566,
81
+ "eval_TER_precision": 0.7419354838709677,
82
+ "eval_TER_recall": 0.6609195402298851,
83
+ "eval_USE_f1": 0.6632124352331606,
84
+ "eval_USE_precision": 0.8205128205128205,
85
+ "eval_USE_recall": 0.5565217391304348,
86
+ "eval_accuracy": 0.9299432298586786,
87
+ "eval_f1_macro": 0.6380739578208222,
88
+ "eval_loss": 0.04580436274409294,
89
+ "eval_precision_macro": 0.7696306907307503,
90
+ "eval_recall_macro": 0.568154301215306,
91
+ "eval_runtime": 898.3262,
92
+ "eval_samples_per_second": 9.216,
93
+ "eval_steps_per_second": 0.577,
94
+ "step": 522
95
+ },
96
+ {
97
+ "epoch": 2.997129186602871,
98
+ "eval_A_f1": 0.7,
99
+ "eval_A_precision": 0.7241379310344828,
100
+ "eval_A_recall": 0.6774193548387096,
101
+ "eval_CH_f1": 0.72,
102
+ "eval_CH_precision": 0.8256880733944955,
103
+ "eval_CH_recall": 0.6382978723404256,
104
+ "eval_CR_f1": 0.6301369863013698,
105
+ "eval_CR_precision": 0.8214285714285714,
106
+ "eval_CR_recall": 0.5111111111111111,
107
+ "eval_FAIR_f1": 0.9708172523529014,
108
+ "eval_FAIR_precision": 0.9700947225981056,
109
+ "eval_FAIR_recall": 0.9715408591950129,
110
+ "eval_J_f1": 0.9026548672566371,
111
+ "eval_J_precision": 0.9107142857142857,
112
+ "eval_J_recall": 0.8947368421052632,
113
+ "eval_LAW_f1": 0.8035714285714286,
114
+ "eval_LAW_precision": 0.8823529411764706,
115
+ "eval_LAW_recall": 0.7377049180327869,
116
+ "eval_LTD_f1": 0.7022900763358778,
117
+ "eval_LTD_precision": 0.696969696969697,
118
+ "eval_LTD_recall": 0.7076923076923077,
119
+ "eval_TER_f1": 0.7440476190476191,
120
+ "eval_TER_precision": 0.7716049382716049,
121
+ "eval_TER_recall": 0.7183908045977011,
122
+ "eval_USE_f1": 0.6986899563318777,
123
+ "eval_USE_precision": 0.7017543859649122,
124
+ "eval_USE_recall": 0.6956521739130435,
125
+ "eval_accuracy": 0.9356202439908201,
126
+ "eval_f1_macro": 0.7635786873553013,
127
+ "eval_loss": 0.043075863271951675,
128
+ "eval_precision_macro": 0.8116383940614028,
129
+ "eval_recall_macro": 0.7280606937584846,
130
+ "eval_runtime": 894.9343,
131
+ "eval_samples_per_second": 9.251,
132
+ "eval_steps_per_second": 0.579,
133
+ "step": 783
134
+ }
135
+ ],
136
+ "logging_steps": 500,
137
+ "max_steps": 783,
138
+ "num_input_tokens_seen": 0,
139
+ "num_train_epochs": 3,
140
+ "save_steps": 500,
141
+ "stateful_callbacks": {
142
+ "EarlyStoppingCallback": {
143
+ "args": {
144
+ "early_stopping_patience": 2,
145
+ "early_stopping_threshold": 0.01
146
+ },
147
+ "attributes": {
148
+ "early_stopping_patience_counter": 0
149
+ }
150
+ },
151
+ "TrainerControl": {
152
+ "args": {
153
+ "should_epoch_stop": false,
154
+ "should_evaluate": false,
155
+ "should_log": false,
156
+ "should_save": true,
157
+ "should_training_stop": true
158
+ },
159
+ "attributes": {}
160
+ }
161
+ },
162
+ "total_flos": 3294883706222592.0,
163
+ "train_batch_size": 8,
164
+ "trial_name": null,
165
+ "trial_params": null
166
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e1d8a075ceb58ad8c3f4a09475bd1ae53dd27990dbb37f3b38b21e1112bbf586
3
+ size 5368