xshubhamx commited on
Commit
a4e5f67
1 Parent(s): 07abc05

Upload folder using huggingface_hub

Browse files
training_checkpoints/checkpoint-1929/config.json ADDED
@@ -0,0 +1,100 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "facebook/bart-base",
3
+ "activation_dropout": 0.1,
4
+ "activation_function": "gelu",
5
+ "add_bias_logits": false,
6
+ "add_final_layer_norm": false,
7
+ "architectures": [
8
+ "BartForSequenceClassification"
9
+ ],
10
+ "attention_dropout": 0.1,
11
+ "bos_token_id": 0,
12
+ "classif_dropout": 0.1,
13
+ "classifier_dropout": 0.0,
14
+ "d_model": 768,
15
+ "decoder_attention_heads": 12,
16
+ "decoder_ffn_dim": 3072,
17
+ "decoder_layerdrop": 0.0,
18
+ "decoder_layers": 6,
19
+ "decoder_start_token_id": 2,
20
+ "dropout": 0.1,
21
+ "early_stopping": true,
22
+ "encoder_attention_heads": 12,
23
+ "encoder_ffn_dim": 3072,
24
+ "encoder_layerdrop": 0.0,
25
+ "encoder_layers": 6,
26
+ "eos_token_id": 2,
27
+ "forced_bos_token_id": 0,
28
+ "forced_eos_token_id": 2,
29
+ "gradient_checkpointing": false,
30
+ "id2label": {
31
+ "0": "Issue",
32
+ "1": "Court Discourse",
33
+ "2": "Conclusion",
34
+ "3": "Precedent Analysis",
35
+ "4": "Section Analysis",
36
+ "5": "Argument by Petitioner",
37
+ "6": "Fact",
38
+ "7": "Argument by Respondent",
39
+ "8": "Ratio",
40
+ "9": "Appellant",
41
+ "10": "Respondent",
42
+ "11": "Argument by Appellant",
43
+ "12": "Petitioner",
44
+ "13": "Judge",
45
+ "14": "Argument by Defendant"
46
+ },
47
+ "init_std": 0.02,
48
+ "is_encoder_decoder": true,
49
+ "label2id": {
50
+ "Appellant": 9,
51
+ "Argument by Appellant": 11,
52
+ "Argument by Defendant": 14,
53
+ "Argument by Petitioner": 5,
54
+ "Argument by Respondent": 7,
55
+ "Conclusion": 2,
56
+ "Court Discourse": 1,
57
+ "Fact": 6,
58
+ "Issue": 0,
59
+ "Judge": 13,
60
+ "Petitioner": 12,
61
+ "Precedent Analysis": 3,
62
+ "Ratio": 8,
63
+ "Respondent": 10,
64
+ "Section Analysis": 4
65
+ },
66
+ "max_position_embeddings": 1024,
67
+ "model_type": "bart",
68
+ "no_repeat_ngram_size": 3,
69
+ "normalize_before": false,
70
+ "normalize_embedding": true,
71
+ "num_beams": 4,
72
+ "num_hidden_layers": 6,
73
+ "pad_token_id": 1,
74
+ "problem_type": "single_label_classification",
75
+ "scale_embedding": false,
76
+ "task_specific_params": {
77
+ "summarization": {
78
+ "length_penalty": 1.0,
79
+ "max_length": 128,
80
+ "min_length": 12,
81
+ "num_beams": 4
82
+ },
83
+ "summarization_cnn": {
84
+ "length_penalty": 2.0,
85
+ "max_length": 142,
86
+ "min_length": 56,
87
+ "num_beams": 4
88
+ },
89
+ "summarization_xsum": {
90
+ "length_penalty": 1.0,
91
+ "max_length": 62,
92
+ "min_length": 11,
93
+ "num_beams": 6
94
+ }
95
+ },
96
+ "torch_dtype": "float32",
97
+ "transformers_version": "4.35.2",
98
+ "use_cache": true,
99
+ "vocab_size": 50265
100
+ }
training_checkpoints/checkpoint-1929/merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
training_checkpoints/checkpoint-1929/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:813452a59bea8b8e8ced5ef390aba6f8944d38945a1468f63438c1fb02f2c76e
3
+ size 560120380
training_checkpoints/checkpoint-1929/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c39414c7f1e9cca54decbd190941e5093db526bcd2d0f6f5dc2709b3fcb751fd
3
+ size 1120400122
training_checkpoints/checkpoint-1929/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:80384f7b70eb621502291d43cde24f6bef8d09e68bf94a6601c9462c1e64a592
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:768a3a3f947239a75a742e490a3e6067ce31f538628a44b0e43557a3f815e30c
3
+ size 1064
training_checkpoints/checkpoint-1929/special_tokens_map.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "<s>",
3
+ "cls_token": "<s>",
4
+ "eos_token": "</s>",
5
+ "mask_token": {
6
+ "content": "<mask>",
7
+ "lstrip": true,
8
+ "normalized": true,
9
+ "rstrip": false,
10
+ "single_word": false
11
+ },
12
+ "pad_token": "<pad>",
13
+ "sep_token": "</s>",
14
+ "unk_token": "<unk>"
15
+ }
training_checkpoints/checkpoint-1929/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
training_checkpoints/checkpoint-1929/tokenizer_config.json ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "added_tokens_decoder": {
4
+ "0": {
5
+ "content": "<s>",
6
+ "lstrip": false,
7
+ "normalized": true,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ },
12
+ "1": {
13
+ "content": "<pad>",
14
+ "lstrip": false,
15
+ "normalized": true,
16
+ "rstrip": false,
17
+ "single_word": false,
18
+ "special": true
19
+ },
20
+ "2": {
21
+ "content": "</s>",
22
+ "lstrip": false,
23
+ "normalized": true,
24
+ "rstrip": false,
25
+ "single_word": false,
26
+ "special": true
27
+ },
28
+ "3": {
29
+ "content": "<unk>",
30
+ "lstrip": false,
31
+ "normalized": true,
32
+ "rstrip": false,
33
+ "single_word": false,
34
+ "special": true
35
+ },
36
+ "50264": {
37
+ "content": "<mask>",
38
+ "lstrip": true,
39
+ "normalized": true,
40
+ "rstrip": false,
41
+ "single_word": false,
42
+ "special": true
43
+ }
44
+ },
45
+ "bos_token": "<s>",
46
+ "clean_up_tokenization_spaces": true,
47
+ "cls_token": "<s>",
48
+ "eos_token": "</s>",
49
+ "errors": "replace",
50
+ "mask_token": "<mask>",
51
+ "model_max_length": 1024,
52
+ "pad_token": "<pad>",
53
+ "sep_token": "</s>",
54
+ "tokenizer_class": "BartTokenizer",
55
+ "trim_offsets": true,
56
+ "unk_token": "<unk>"
57
+ }
training_checkpoints/checkpoint-1929/trainer_state.json ADDED
@@ -0,0 +1,103 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.7213629796675549,
3
+ "best_model_checkpoint": "bart-base/checkpoint-1286",
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
+ "learning_rate": 4.871176775531364e-05,
14
+ "loss": 1.2028,
15
+ "step": 500
16
+ },
17
+ {
18
+ "epoch": 1.0,
19
+ "eval_accuracy": 0.7598760650658405,
20
+ "eval_f1_macro": 0.6063644681337579,
21
+ "eval_f1_micro": 0.7598760650658405,
22
+ "eval_f1_weighted": 0.7489266744747745,
23
+ "eval_loss": 0.8429557681083679,
24
+ "eval_macro_fpr": 0.023226157303183535,
25
+ "eval_macro_sensitivity": 0.6366904609623596,
26
+ "eval_macro_specificity": 0.981694425945952,
27
+ "eval_precision": 0.7600880594489849,
28
+ "eval_precision_macro": 0.6003620126022547,
29
+ "eval_recall": 0.7598760650658405,
30
+ "eval_recall_macro": 0.6366904609623596,
31
+ "eval_runtime": 43.5934,
32
+ "eval_samples_per_second": 29.615,
33
+ "eval_steps_per_second": 3.716,
34
+ "eval_weighted_fpr": 0.02207348333808032,
35
+ "eval_weighted_sensitivity": 0.7598760650658405,
36
+ "eval_weighted_specificity": 0.9655403241234398,
37
+ "step": 643
38
+ },
39
+ {
40
+ "epoch": 1.56,
41
+ "learning_rate": 4.741575946086055e-05,
42
+ "loss": 0.715,
43
+ "step": 1000
44
+ },
45
+ {
46
+ "epoch": 2.0,
47
+ "eval_accuracy": 0.7931835786212239,
48
+ "eval_f1_macro": 0.7213629796675549,
49
+ "eval_f1_micro": 0.793183578621224,
50
+ "eval_f1_weighted": 0.7853477061503886,
51
+ "eval_loss": 0.7331996560096741,
52
+ "eval_macro_fpr": 0.018982515099395962,
53
+ "eval_macro_sensitivity": 0.7320748785168393,
54
+ "eval_macro_specificity": 0.9845140063777027,
55
+ "eval_precision": 0.8019650926098448,
56
+ "eval_precision_macro": 0.7386000214414028,
57
+ "eval_recall": 0.7931835786212239,
58
+ "eval_recall_macro": 0.7320748785168393,
59
+ "eval_runtime": 77.2393,
60
+ "eval_samples_per_second": 16.714,
61
+ "eval_steps_per_second": 2.097,
62
+ "eval_weighted_fpr": 0.018283914264192288,
63
+ "eval_weighted_sensitivity": 0.7931835786212239,
64
+ "eval_weighted_specificity": 0.9745265170443169,
65
+ "step": 1286
66
+ },
67
+ {
68
+ "epoch": 2.33,
69
+ "learning_rate": 4.611975116640747e-05,
70
+ "loss": 0.578,
71
+ "step": 1500
72
+ },
73
+ {
74
+ "epoch": 3.0,
75
+ "eval_accuracy": 0.7939581719597212,
76
+ "eval_f1_macro": 0.6998313050068915,
77
+ "eval_f1_micro": 0.7939581719597211,
78
+ "eval_f1_weighted": 0.79006368267302,
79
+ "eval_loss": 0.8045273423194885,
80
+ "eval_macro_fpr": 0.018545878882531782,
81
+ "eval_macro_sensitivity": 0.7068834234702027,
82
+ "eval_macro_specificity": 0.9847671550097226,
83
+ "eval_precision": 0.8075005963568469,
84
+ "eval_precision_macro": 0.7230632440844518,
85
+ "eval_recall": 0.7939581719597212,
86
+ "eval_recall_macro": 0.7068834234702027,
87
+ "eval_runtime": 86.4099,
88
+ "eval_samples_per_second": 14.94,
89
+ "eval_steps_per_second": 1.875,
90
+ "eval_weighted_fpr": 0.018199233716475097,
91
+ "eval_weighted_sensitivity": 0.7939581719597212,
92
+ "eval_weighted_specificity": 0.977549153186118,
93
+ "step": 1929
94
+ }
95
+ ],
96
+ "logging_steps": 500,
97
+ "max_steps": 19290,
98
+ "num_train_epochs": 30,
99
+ "save_steps": 500,
100
+ "total_flos": 4727750685751296.0,
101
+ "trial_name": null,
102
+ "trial_params": null
103
+ }
training_checkpoints/checkpoint-1929/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cd0cdec3791602f3a208801abdf1b96f9559896ff555c412e7903eee9d6a2b88
3
+ size 4600
training_checkpoints/checkpoint-1929/vocab.json ADDED
The diff for this file is too large to render. See raw diff