cite-text-analysis commited on
Commit
117a5c9
·
verified ·
1 Parent(s): ba45907

Upload folder using huggingface_hub

Browse files
training_checkpoints/checkpoint-224/added_tokens.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "<pad>": 30522
3
+ }
training_checkpoints/checkpoint-224/config.json ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "positive",
15
+ "1": "negative",
16
+ "2": "neutral",
17
+ "3": "rel_by_party"
18
+ },
19
+ "initializer_range": 0.02,
20
+ "intermediate_size": 3072,
21
+ "label2id": {
22
+ "negative": 1,
23
+ "neutral": 2,
24
+ "positive": 0,
25
+ "rel_by_party": 3
26
+ },
27
+ "layer_norm_eps": 1e-12,
28
+ "max_position_embeddings": 512,
29
+ "model_type": "bert",
30
+ "num_attention_heads": 12,
31
+ "num_hidden_layers": 12,
32
+ "output_past": true,
33
+ "pad_token_id": 30522,
34
+ "position_embedding_type": "absolute",
35
+ "problem_type": "single_label_classification",
36
+ "torch_dtype": "float32",
37
+ "transformers_version": "4.39.3",
38
+ "type_vocab_size": 2,
39
+ "use_cache": true,
40
+ "vocab_size": 30523
41
+ }
training_checkpoints/checkpoint-224/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8372177f00e8b6637b5aeacbb1b8da9e2fbc4b044d11d363e7f7374121e4b0ab
3
+ size 437967872
training_checkpoints/checkpoint-224/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6b9df16be8162bfdd5183a2477fa1ed0ff8a972514e1e7126e60ebe196daa947
3
+ size 876056826
training_checkpoints/checkpoint-224/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2a4a9ae43d644a37fc4400da76e4e8c8af3834e3fdc8acb82ad31c12f3948cfd
3
+ size 14244
training_checkpoints/checkpoint-224/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f776f7dc65328710f8058d6a49700651ca9bab303ca468b7c6ba4d08b836f6a8
3
+ size 1064
training_checkpoints/checkpoint-224/special_tokens_map.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": "[CLS]",
3
+ "mask_token": "[MASK]",
4
+ "pad_token": {
5
+ "content": "<pad>",
6
+ "lstrip": false,
7
+ "normalized": false,
8
+ "rstrip": false,
9
+ "single_word": false
10
+ },
11
+ "sep_token": "[SEP]",
12
+ "unk_token": "[UNK]"
13
+ }
training_checkpoints/checkpoint-224/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
training_checkpoints/checkpoint-224/tokenizer_config.json ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "[PAD]",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "100": {
12
+ "content": "[UNK]",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "101": {
20
+ "content": "[CLS]",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "102": {
28
+ "content": "[SEP]",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "103": {
36
+ "content": "[MASK]",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ },
43
+ "30522": {
44
+ "content": "<pad>",
45
+ "lstrip": false,
46
+ "normalized": false,
47
+ "rstrip": false,
48
+ "single_word": false,
49
+ "special": true
50
+ }
51
+ },
52
+ "clean_up_tokenization_spaces": true,
53
+ "cls_token": "[CLS]",
54
+ "do_basic_tokenize": true,
55
+ "do_lower_case": true,
56
+ "mask_token": "[MASK]",
57
+ "model_max_length": 512,
58
+ "never_split": null,
59
+ "pad_token": "<pad>",
60
+ "sep_token": "[SEP]",
61
+ "strip_accents": null,
62
+ "tokenize_chinese_chars": true,
63
+ "tokenizer_class": "BertTokenizer",
64
+ "unk_token": "[UNK]"
65
+ }
training_checkpoints/checkpoint-224/trainer_state.json ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.5936102522033613,
3
+ "best_model_checkpoint": "case-analysis-InLegalBERT/checkpoint-224",
4
+ "epoch": 1.0,
5
+ "eval_steps": 500,
6
+ "global_step": 224,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 1.0,
13
+ "eval_accuracy": 0.8017817371937639,
14
+ "eval_f1_macro": 0.5936102522033613,
15
+ "eval_f1_micro": 0.8017817371937639,
16
+ "eval_f1_weighted": 0.7819923339877444,
17
+ "eval_loss": 0.6545999050140381,
18
+ "eval_macro_fpr": 0.09781883735656886,
19
+ "eval_macro_sensitivity": 0.6106003826592061,
20
+ "eval_macro_specificity": 0.9112420642353884,
21
+ "eval_precision": 0.763240968439436,
22
+ "eval_precision_macro": 0.5776616905319997,
23
+ "eval_recall": 0.8017817371937639,
24
+ "eval_recall_macro": 0.6106003826592061,
25
+ "eval_runtime": 9.2925,
26
+ "eval_samples_per_second": 48.318,
27
+ "eval_steps_per_second": 6.134,
28
+ "eval_weighted_fpr": 0.07613344739093242,
29
+ "eval_weighted_sensitivity": 0.8017817371937639,
30
+ "eval_weighted_specificity": 0.84318651974779,
31
+ "step": 224
32
+ }
33
+ ],
34
+ "logging_steps": 500,
35
+ "max_steps": 6720,
36
+ "num_input_tokens_seen": 0,
37
+ "num_train_epochs": 30,
38
+ "save_steps": 500,
39
+ "total_flos": 471503477932032.0,
40
+ "train_batch_size": 8,
41
+ "trial_name": null,
42
+ "trial_params": null
43
+ }
training_checkpoints/checkpoint-224/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4168c8c84941deb81d05fe2d714c7e20c482e1e8b4900f8d6b307d6f8c3828dd
3
+ size 4984
training_checkpoints/checkpoint-224/vocab.txt ADDED
The diff for this file is too large to render. See raw diff