Upload folder using huggingface_hub
Browse files- training_checkpoints/checkpoint-1929/config.json +63 -0
- training_checkpoints/checkpoint-1929/model.safetensors +3 -0
- training_checkpoints/checkpoint-1929/optimizer.pt +3 -0
- training_checkpoints/checkpoint-1929/rng_state.pth +3 -0
- training_checkpoints/checkpoint-1929/scheduler.pt +3 -0
- training_checkpoints/checkpoint-1929/trainer_state.json +108 -0
- training_checkpoints/checkpoint-1929/training_args.bin +3 -0
training_checkpoints/checkpoint-1929/config.json
ADDED
@@ -0,0 +1,63 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "law-ai/InLegalBERT",
|
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": "Issue",
|
15 |
+
"1": "Court Discourse",
|
16 |
+
"2": "Conclusion",
|
17 |
+
"3": "Precedent Analysis",
|
18 |
+
"4": "Section Analysis",
|
19 |
+
"5": "Argument by Petitioner",
|
20 |
+
"6": "Fact",
|
21 |
+
"7": "Argument by Respondent",
|
22 |
+
"8": "Ratio",
|
23 |
+
"9": "Appellant",
|
24 |
+
"10": "Respondent",
|
25 |
+
"11": "Argument by Appellant",
|
26 |
+
"12": "Petitioner",
|
27 |
+
"13": "Judge",
|
28 |
+
"14": "Argument by Defendant"
|
29 |
+
},
|
30 |
+
"initializer_range": 0.02,
|
31 |
+
"intermediate_size": 3072,
|
32 |
+
"label2id": {
|
33 |
+
"Appellant": 9,
|
34 |
+
"Argument by Appellant": 11,
|
35 |
+
"Argument by Defendant": 14,
|
36 |
+
"Argument by Petitioner": 5,
|
37 |
+
"Argument by Respondent": 7,
|
38 |
+
"Conclusion": 2,
|
39 |
+
"Court Discourse": 1,
|
40 |
+
"Fact": 6,
|
41 |
+
"Issue": 0,
|
42 |
+
"Judge": 13,
|
43 |
+
"Petitioner": 12,
|
44 |
+
"Precedent Analysis": 3,
|
45 |
+
"Ratio": 8,
|
46 |
+
"Respondent": 10,
|
47 |
+
"Section Analysis": 4
|
48 |
+
},
|
49 |
+
"layer_norm_eps": 1e-12,
|
50 |
+
"max_position_embeddings": 512,
|
51 |
+
"model_type": "bert",
|
52 |
+
"num_attention_heads": 12,
|
53 |
+
"num_hidden_layers": 12,
|
54 |
+
"output_past": true,
|
55 |
+
"pad_token_id": 0,
|
56 |
+
"position_embedding_type": "absolute",
|
57 |
+
"problem_type": "single_label_classification",
|
58 |
+
"torch_dtype": "float32",
|
59 |
+
"transformers_version": "4.38.2",
|
60 |
+
"type_vocab_size": 2,
|
61 |
+
"use_cache": true,
|
62 |
+
"vocab_size": 30522
|
63 |
+
}
|
training_checkpoints/checkpoint-1929/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ea80b2cbda61d100070e7c4739351b0e1d698079a97b27e3eddbfbc4fe7b9eb7
|
3 |
+
size 437998636
|
training_checkpoints/checkpoint-1929/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e518f3c20986f5cfcdceb9f39daadd6854a0274373674b73bbf9b12c35266d0a
|
3 |
+
size 876118266
|
training_checkpoints/checkpoint-1929/rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:33b630de2a2d7061f20cc5c2a010d7f45f63c4be659e66ff21b73223085d044c
|
3 |
+
size 14244
|
training_checkpoints/checkpoint-1929/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:955ccf9cc6b9e4802e852b4a1037de7c85b91f593d5a9e829fb1fdb03a4dd5a1
|
3 |
+
size 1064
|
training_checkpoints/checkpoint-1929/trainer_state.json
ADDED
@@ -0,0 +1,108 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.7282676953256336,
|
3 |
+
"best_model_checkpoint": "InLegalBERT/checkpoint-1929",
|
4 |
+
"epoch": 3.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 1929,
|
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.78,
|
13 |
+
"grad_norm": 6.225058078765869,
|
14 |
+
"learning_rate": 4.742871954380509e-05,
|
15 |
+
"loss": 1.065,
|
16 |
+
"step": 500
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 1.0,
|
20 |
+
"eval_accuracy": 0.7993803253292022,
|
21 |
+
"eval_f1_macro": 0.6028764374506596,
|
22 |
+
"eval_f1_micro": 0.7993803253292022,
|
23 |
+
"eval_f1_weighted": 0.780434475079005,
|
24 |
+
"eval_loss": 0.6395189166069031,
|
25 |
+
"eval_macro_fpr": 0.01853296480715729,
|
26 |
+
"eval_macro_sensitivity": 0.6307714529979154,
|
27 |
+
"eval_macro_specificity": 0.9847175193097543,
|
28 |
+
"eval_precision": 0.7817573111259606,
|
29 |
+
"eval_precision_macro": 0.6194286814679265,
|
30 |
+
"eval_recall": 0.7993803253292022,
|
31 |
+
"eval_recall_macro": 0.6307714529979154,
|
32 |
+
"eval_runtime": 29.4696,
|
33 |
+
"eval_samples_per_second": 43.808,
|
34 |
+
"eval_steps_per_second": 5.497,
|
35 |
+
"eval_weighted_fpr": 0.017610661589719183,
|
36 |
+
"eval_weighted_sensitivity": 0.7993803253292022,
|
37 |
+
"eval_weighted_specificity": 0.9713824643171124,
|
38 |
+
"step": 643
|
39 |
+
},
|
40 |
+
{
|
41 |
+
"epoch": 1.56,
|
42 |
+
"grad_norm": 8.756747245788574,
|
43 |
+
"learning_rate": 4.483670295489891e-05,
|
44 |
+
"loss": 0.5866,
|
45 |
+
"step": 1000
|
46 |
+
},
|
47 |
+
{
|
48 |
+
"epoch": 2.0,
|
49 |
+
"eval_accuracy": 0.8187451587916343,
|
50 |
+
"eval_f1_macro": 0.7276084501581802,
|
51 |
+
"eval_f1_micro": 0.8187451587916342,
|
52 |
+
"eval_f1_weighted": 0.8152450677099363,
|
53 |
+
"eval_loss": 0.6906521916389465,
|
54 |
+
"eval_macro_fpr": 0.01610571025604924,
|
55 |
+
"eval_macro_sensitivity": 0.7365748487318147,
|
56 |
+
"eval_macro_specificity": 0.9863504064994671,
|
57 |
+
"eval_precision": 0.8198905458065566,
|
58 |
+
"eval_precision_macro": 0.7284980957351811,
|
59 |
+
"eval_recall": 0.8187451587916343,
|
60 |
+
"eval_recall_macro": 0.7365748487318147,
|
61 |
+
"eval_runtime": 57.1075,
|
62 |
+
"eval_samples_per_second": 22.606,
|
63 |
+
"eval_steps_per_second": 2.837,
|
64 |
+
"eval_weighted_fpr": 0.015566790846194785,
|
65 |
+
"eval_weighted_sensitivity": 0.8187451587916343,
|
66 |
+
"eval_weighted_specificity": 0.976510938700373,
|
67 |
+
"step": 1286
|
68 |
+
},
|
69 |
+
{
|
70 |
+
"epoch": 2.33,
|
71 |
+
"grad_norm": 8.241662979125977,
|
72 |
+
"learning_rate": 4.224468636599274e-05,
|
73 |
+
"loss": 0.4622,
|
74 |
+
"step": 1500
|
75 |
+
},
|
76 |
+
{
|
77 |
+
"epoch": 3.0,
|
78 |
+
"eval_accuracy": 0.8179705654531371,
|
79 |
+
"eval_f1_macro": 0.7282676953256336,
|
80 |
+
"eval_f1_micro": 0.817970565453137,
|
81 |
+
"eval_f1_weighted": 0.8150036178041801,
|
82 |
+
"eval_loss": 0.8055915236473083,
|
83 |
+
"eval_macro_fpr": 0.016168738933500626,
|
84 |
+
"eval_macro_sensitivity": 0.737597935006265,
|
85 |
+
"eval_macro_specificity": 0.9862931306285473,
|
86 |
+
"eval_precision": 0.8137371356291269,
|
87 |
+
"eval_precision_macro": 0.7226669118270935,
|
88 |
+
"eval_recall": 0.8179705654531371,
|
89 |
+
"eval_recall_macro": 0.737597935006265,
|
90 |
+
"eval_runtime": 56.5581,
|
91 |
+
"eval_samples_per_second": 22.826,
|
92 |
+
"eval_steps_per_second": 2.864,
|
93 |
+
"eval_weighted_fpr": 0.01564684732671949,
|
94 |
+
"eval_weighted_sensitivity": 0.8179705654531371,
|
95 |
+
"eval_weighted_specificity": 0.9764263939750704,
|
96 |
+
"step": 1929
|
97 |
+
}
|
98 |
+
],
|
99 |
+
"logging_steps": 500,
|
100 |
+
"max_steps": 9645,
|
101 |
+
"num_input_tokens_seen": 0,
|
102 |
+
"num_train_epochs": 15,
|
103 |
+
"save_steps": 500,
|
104 |
+
"total_flos": 4056067183343616.0,
|
105 |
+
"train_batch_size": 8,
|
106 |
+
"trial_name": null,
|
107 |
+
"trial_params": null
|
108 |
+
}
|
training_checkpoints/checkpoint-1929/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1d67f433b74e0c5015495d7470ff35e34ab20bb7abc2e1887dfc6d557fdf2970
|
3 |
+
size 4920
|