Upload folder using huggingface_hub
Browse files- training_checkpoints/checkpoint-643/config.json +100 -0
- training_checkpoints/checkpoint-643/merges.txt +0 -0
- training_checkpoints/checkpoint-643/model.safetensors +3 -0
- training_checkpoints/checkpoint-643/optimizer.pt +3 -0
- training_checkpoints/checkpoint-643/rng_state.pth +3 -0
- training_checkpoints/checkpoint-643/scheduler.pt +3 -0
- training_checkpoints/checkpoint-643/special_tokens_map.json +15 -0
- training_checkpoints/checkpoint-643/tokenizer.json +0 -0
- training_checkpoints/checkpoint-643/tokenizer_config.json +57 -0
- training_checkpoints/checkpoint-643/trainer_state.json +47 -0
- training_checkpoints/checkpoint-643/training_args.bin +3 -0
- training_checkpoints/checkpoint-643/vocab.json +0 -0
training_checkpoints/checkpoint-643/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-643/merges.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
training_checkpoints/checkpoint-643/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d546daa71207b3a4e7b666829059aa0a1fd6365ceaf5c90efc48533149163830
|
3 |
+
size 560120380
|
training_checkpoints/checkpoint-643/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:38db39bc543348f050edf50e526b52da3c47327207e242407dee607b4c6a56f3
|
3 |
+
size 1120400122
|
training_checkpoints/checkpoint-643/rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a418ce2823fc045183ca0ba7e43f23c7cebc7f165b7f36a7689f7ecef57d220d
|
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:aea532c95464312c54e4657a477505fef99360b4f1c689edb7b3a832016ef21e
|
3 |
+
size 1064
|
training_checkpoints/checkpoint-643/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-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,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-643/trainer_state.json
ADDED
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.6063644681337579,
|
3 |
+
"best_model_checkpoint": "bart-base/checkpoint-643",
|
4 |
+
"epoch": 1.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": 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 |
+
"logging_steps": 500,
|
41 |
+
"max_steps": 19290,
|
42 |
+
"num_train_epochs": 30,
|
43 |
+
"save_steps": 500,
|
44 |
+
"total_flos": 1575916895250432.0,
|
45 |
+
"trial_name": null,
|
46 |
+
"trial_params": null
|
47 |
+
}
|
training_checkpoints/checkpoint-643/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-643/vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|