Upload folder using huggingface_hub
Browse files- training_checkpoints/checkpoint-1286/config.json +78 -0
- training_checkpoints/checkpoint-1286/model.safetensors +3 -0
- training_checkpoints/checkpoint-1286/optimizer.pt +3 -0
- training_checkpoints/checkpoint-1286/rng_state.pth +3 -0
- training_checkpoints/checkpoint-1286/scheduler.pt +3 -0
- training_checkpoints/checkpoint-1286/special_tokens_map.json +19 -0
- training_checkpoints/checkpoint-1286/spiece.model +3 -0
- training_checkpoints/checkpoint-1286/tokenizer_config.json +94 -0
- training_checkpoints/checkpoint-1286/trainer_state.json +75 -0
- training_checkpoints/checkpoint-1286/training_args.bin +3 -0
training_checkpoints/checkpoint-1286/config.json
ADDED
@@ -0,0 +1,78 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "xlnet/xlnet-base-cased",
|
3 |
+
"architectures": [
|
4 |
+
"XLNetForSequenceClassification"
|
5 |
+
],
|
6 |
+
"attn_type": "bi",
|
7 |
+
"bi_data": false,
|
8 |
+
"bos_token_id": 1,
|
9 |
+
"clamp_len": -1,
|
10 |
+
"d_head": 64,
|
11 |
+
"d_inner": 3072,
|
12 |
+
"d_model": 768,
|
13 |
+
"dropout": 0.1,
|
14 |
+
"end_n_top": 5,
|
15 |
+
"eos_token_id": 2,
|
16 |
+
"ff_activation": "gelu",
|
17 |
+
"id2label": {
|
18 |
+
"0": "Issue",
|
19 |
+
"1": "Court Discourse",
|
20 |
+
"2": "Conclusion",
|
21 |
+
"3": "Precedent Analysis",
|
22 |
+
"4": "Section Analysis",
|
23 |
+
"5": "Argument by Petitioner",
|
24 |
+
"6": "Fact",
|
25 |
+
"7": "Argument by Respondent",
|
26 |
+
"8": "Ratio",
|
27 |
+
"9": "Appellant",
|
28 |
+
"10": "Respondent",
|
29 |
+
"11": "Argument by Appellant",
|
30 |
+
"12": "Petitioner",
|
31 |
+
"13": "Judge",
|
32 |
+
"14": "Argument by Defendant"
|
33 |
+
},
|
34 |
+
"initializer_range": 0.02,
|
35 |
+
"label2id": {
|
36 |
+
"Appellant": 9,
|
37 |
+
"Argument by Appellant": 11,
|
38 |
+
"Argument by Defendant": 14,
|
39 |
+
"Argument by Petitioner": 5,
|
40 |
+
"Argument by Respondent": 7,
|
41 |
+
"Conclusion": 2,
|
42 |
+
"Court Discourse": 1,
|
43 |
+
"Fact": 6,
|
44 |
+
"Issue": 0,
|
45 |
+
"Judge": 13,
|
46 |
+
"Petitioner": 12,
|
47 |
+
"Precedent Analysis": 3,
|
48 |
+
"Ratio": 8,
|
49 |
+
"Respondent": 10,
|
50 |
+
"Section Analysis": 4
|
51 |
+
},
|
52 |
+
"layer_norm_eps": 1e-12,
|
53 |
+
"mem_len": null,
|
54 |
+
"model_type": "xlnet",
|
55 |
+
"n_head": 12,
|
56 |
+
"n_layer": 12,
|
57 |
+
"pad_token_id": 5,
|
58 |
+
"problem_type": "single_label_classification",
|
59 |
+
"reuse_len": null,
|
60 |
+
"same_length": false,
|
61 |
+
"start_n_top": 5,
|
62 |
+
"summary_activation": "tanh",
|
63 |
+
"summary_last_dropout": 0.1,
|
64 |
+
"summary_type": "last",
|
65 |
+
"summary_use_proj": true,
|
66 |
+
"task_specific_params": {
|
67 |
+
"text-generation": {
|
68 |
+
"do_sample": true,
|
69 |
+
"max_length": 250
|
70 |
+
}
|
71 |
+
},
|
72 |
+
"torch_dtype": "float32",
|
73 |
+
"transformers_version": "4.35.2",
|
74 |
+
"untie_r": true,
|
75 |
+
"use_mems_eval": true,
|
76 |
+
"use_mems_train": false,
|
77 |
+
"vocab_size": 32000
|
78 |
+
}
|
training_checkpoints/checkpoint-1286/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:346f94085ac39164742e8e739a26aee0af4c031adac5153c0845732963b82a77
|
3 |
+
size 469304588
|
training_checkpoints/checkpoint-1286/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3b03f252959d8c7f1b929cab0e741ad894cd99fe0cd91c9929a0e39227e37388
|
3 |
+
size 938733178
|
training_checkpoints/checkpoint-1286/rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ab81ab13427b7c1eb4d0b3900934cdc00ec610969cff0ae006d1344708cbf022
|
3 |
+
size 14244
|
training_checkpoints/checkpoint-1286/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ed36eccec95dc0b279269aff07c03367316df804fc1360cd0c0e50030bbae1f6
|
3 |
+
size 1064
|
training_checkpoints/checkpoint-1286/special_tokens_map.json
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"additional_special_tokens": [
|
3 |
+
"<eop>",
|
4 |
+
"<eod>"
|
5 |
+
],
|
6 |
+
"bos_token": "<s>",
|
7 |
+
"cls_token": "<cls>",
|
8 |
+
"eos_token": "</s>",
|
9 |
+
"mask_token": {
|
10 |
+
"content": "<mask>",
|
11 |
+
"lstrip": true,
|
12 |
+
"normalized": false,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"pad_token": "<pad>",
|
17 |
+
"sep_token": "<sep>",
|
18 |
+
"unk_token": "<unk>"
|
19 |
+
}
|
training_checkpoints/checkpoint-1286/spiece.model
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1f8c1c0bc2854d1af911a8550288c1258af5ba50277f3a5c829b98eb86fc5646
|
3 |
+
size 798011
|
training_checkpoints/checkpoint-1286/tokenizer_config.json
ADDED
@@ -0,0 +1,94 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"added_tokens_decoder": {
|
3 |
+
"0": {
|
4 |
+
"content": "<unk>",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false,
|
9 |
+
"special": true
|
10 |
+
},
|
11 |
+
"1": {
|
12 |
+
"content": "<s>",
|
13 |
+
"lstrip": false,
|
14 |
+
"normalized": false,
|
15 |
+
"rstrip": false,
|
16 |
+
"single_word": false,
|
17 |
+
"special": true
|
18 |
+
},
|
19 |
+
"2": {
|
20 |
+
"content": "</s>",
|
21 |
+
"lstrip": false,
|
22 |
+
"normalized": false,
|
23 |
+
"rstrip": false,
|
24 |
+
"single_word": false,
|
25 |
+
"special": true
|
26 |
+
},
|
27 |
+
"3": {
|
28 |
+
"content": "<cls>",
|
29 |
+
"lstrip": false,
|
30 |
+
"normalized": false,
|
31 |
+
"rstrip": false,
|
32 |
+
"single_word": false,
|
33 |
+
"special": true
|
34 |
+
},
|
35 |
+
"4": {
|
36 |
+
"content": "<sep>",
|
37 |
+
"lstrip": false,
|
38 |
+
"normalized": false,
|
39 |
+
"rstrip": false,
|
40 |
+
"single_word": false,
|
41 |
+
"special": true
|
42 |
+
},
|
43 |
+
"5": {
|
44 |
+
"content": "<pad>",
|
45 |
+
"lstrip": false,
|
46 |
+
"normalized": false,
|
47 |
+
"rstrip": false,
|
48 |
+
"single_word": false,
|
49 |
+
"special": true
|
50 |
+
},
|
51 |
+
"6": {
|
52 |
+
"content": "<mask>",
|
53 |
+
"lstrip": true,
|
54 |
+
"normalized": false,
|
55 |
+
"rstrip": false,
|
56 |
+
"single_word": false,
|
57 |
+
"special": true
|
58 |
+
},
|
59 |
+
"7": {
|
60 |
+
"content": "<eod>",
|
61 |
+
"lstrip": false,
|
62 |
+
"normalized": false,
|
63 |
+
"rstrip": false,
|
64 |
+
"single_word": false,
|
65 |
+
"special": true
|
66 |
+
},
|
67 |
+
"8": {
|
68 |
+
"content": "<eop>",
|
69 |
+
"lstrip": false,
|
70 |
+
"normalized": false,
|
71 |
+
"rstrip": false,
|
72 |
+
"single_word": false,
|
73 |
+
"special": true
|
74 |
+
}
|
75 |
+
},
|
76 |
+
"additional_special_tokens": [
|
77 |
+
"<eop>",
|
78 |
+
"<eod>"
|
79 |
+
],
|
80 |
+
"bos_token": "<s>",
|
81 |
+
"clean_up_tokenization_spaces": true,
|
82 |
+
"cls_token": "<cls>",
|
83 |
+
"do_lower_case": false,
|
84 |
+
"eos_token": "</s>",
|
85 |
+
"keep_accents": false,
|
86 |
+
"mask_token": "<mask>",
|
87 |
+
"model_max_length": 1000000000000000019884624838656,
|
88 |
+
"pad_token": "<pad>",
|
89 |
+
"remove_space": true,
|
90 |
+
"sep_token": "<sep>",
|
91 |
+
"sp_model_kwargs": {},
|
92 |
+
"tokenizer_class": "XLNetTokenizer",
|
93 |
+
"unk_token": "<unk>"
|
94 |
+
}
|
training_checkpoints/checkpoint-1286/trainer_state.json
ADDED
@@ -0,0 +1,75 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.701878478303997,
|
3 |
+
"best_model_checkpoint": "xlnet-base-cased/checkpoint-1286",
|
4 |
+
"epoch": 2.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 1286,
|
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.871695178849145e-05,
|
14 |
+
"loss": 1.2613,
|
15 |
+
"step": 500
|
16 |
+
},
|
17 |
+
{
|
18 |
+
"epoch": 1.0,
|
19 |
+
"eval_accuracy": 0.7676219984508134,
|
20 |
+
"eval_f1_macro": 0.4818756771742453,
|
21 |
+
"eval_f1_micro": 0.7676219984508135,
|
22 |
+
"eval_f1_weighted": 0.7524385212708887,
|
23 |
+
"eval_loss": 0.775787353515625,
|
24 |
+
"eval_macro_fpr": 0.022019799606126652,
|
25 |
+
"eval_macro_sensitivity": 0.5128622254580788,
|
26 |
+
"eval_macro_specificity": 0.9823717840367622,
|
27 |
+
"eval_precision": 0.7672637518290021,
|
28 |
+
"eval_precision_macro": 0.5269420024270713,
|
29 |
+
"eval_recall": 0.7676219984508134,
|
30 |
+
"eval_recall_macro": 0.5128622254580788,
|
31 |
+
"eval_runtime": 65.0712,
|
32 |
+
"eval_samples_per_second": 19.84,
|
33 |
+
"eval_steps_per_second": 2.49,
|
34 |
+
"eval_weighted_fpr": 0.021165514321998025,
|
35 |
+
"eval_weighted_sensitivity": 0.7676219984508134,
|
36 |
+
"eval_weighted_specificity": 0.9679547621006213,
|
37 |
+
"step": 643
|
38 |
+
},
|
39 |
+
{
|
40 |
+
"epoch": 1.56,
|
41 |
+
"learning_rate": 4.7420943494038366e-05,
|
42 |
+
"loss": 0.7364,
|
43 |
+
"step": 1000
|
44 |
+
},
|
45 |
+
{
|
46 |
+
"epoch": 2.0,
|
47 |
+
"eval_accuracy": 0.8071262587141751,
|
48 |
+
"eval_f1_macro": 0.701878478303997,
|
49 |
+
"eval_f1_micro": 0.8071262587141751,
|
50 |
+
"eval_f1_weighted": 0.8012788916547595,
|
51 |
+
"eval_loss": 0.6754755973815918,
|
52 |
+
"eval_macro_fpr": 0.01739858713969909,
|
53 |
+
"eval_macro_sensitivity": 0.6971761972643127,
|
54 |
+
"eval_macro_specificity": 0.9854830758512745,
|
55 |
+
"eval_precision": 0.8087721671110009,
|
56 |
+
"eval_precision_macro": 0.7425135911700289,
|
57 |
+
"eval_recall": 0.8071262587141751,
|
58 |
+
"eval_recall_macro": 0.6971761972643127,
|
59 |
+
"eval_runtime": 86.774,
|
60 |
+
"eval_samples_per_second": 14.878,
|
61 |
+
"eval_steps_per_second": 1.867,
|
62 |
+
"eval_weighted_fpr": 0.016782368403316036,
|
63 |
+
"eval_weighted_sensitivity": 0.8071262587141751,
|
64 |
+
"eval_weighted_specificity": 0.9751198790549438,
|
65 |
+
"step": 1286
|
66 |
+
}
|
67 |
+
],
|
68 |
+
"logging_steps": 500,
|
69 |
+
"max_steps": 19290,
|
70 |
+
"num_train_epochs": 30,
|
71 |
+
"save_steps": 500,
|
72 |
+
"total_flos": 2927745336692736.0,
|
73 |
+
"trial_name": null,
|
74 |
+
"trial_params": null
|
75 |
+
}
|
training_checkpoints/checkpoint-1286/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ec20e9f8adfcfee3337ee75e60d11aa0228a2bd24494baa212e8cd20722381d4
|
3 |
+
size 4600
|