Lennyox commited on
Commit
4ab55c8
·
verified ·
1 Parent(s): ccdd0b4

Upload 7 files

Browse files
93-118CongressionalLegalBert/.DS_Store ADDED
Binary file (6.15 kB). View file
 
93-118CongressionalLegalBert/labelMapping/reconstructed_label_mapping.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "Agriculture and Food": 0,
3
+ "Animals": 1,
4
+ "Armed Forces and National Security": 2,
5
+ "Arts, Culture, and Religion": 3,
6
+ "Civil Rights and Liberties, Minority Issues": 4,
7
+ "Commerce": 5,
8
+ "Congress": 6,
9
+ "Crime and Law Enforcement": 7,
10
+ "Economics and PublicFinance": 8,
11
+ "Education": 9,
12
+ "Emergency Management": 10,
13
+ "Energy": 11,
14
+ "Environmental Protection": 12,
15
+ "Families": 13,
16
+ "Finance and Financial Sector": 14,
17
+ "Foreign Trade and International Finance": 15,
18
+ "Government Operations and Politics": 16,
19
+ "Health": 17,
20
+ "Housing and Community Development": 18,
21
+ "Immigration": 19,
22
+ "International Affairs": 20,
23
+ "Labor and Employment": 21,
24
+ "Law": 22,
25
+ "Native Americans": 23,
26
+ "Public Lands and Natural Resources": 24,
27
+ "Science, Technology, Communications": 25,
28
+ "Social Sciences and History": 26,
29
+ "Social Welfare": 27,
30
+ "Sports and Recreation": 28,
31
+ "Taxation": 29,
32
+ "Transportation and Public Works": 30,
33
+ "Water Resources Development": 31
34
+ }
93-118CongressionalLegalBert/model/config.json ADDED
@@ -0,0 +1,97 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "nlpaueb/legal-bert-base-uncased",
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": "LABEL_0",
15
+ "1": "LABEL_1",
16
+ "2": "LABEL_2",
17
+ "3": "LABEL_3",
18
+ "4": "LABEL_4",
19
+ "5": "LABEL_5",
20
+ "6": "LABEL_6",
21
+ "7": "LABEL_7",
22
+ "8": "LABEL_8",
23
+ "9": "LABEL_9",
24
+ "10": "LABEL_10",
25
+ "11": "LABEL_11",
26
+ "12": "LABEL_12",
27
+ "13": "LABEL_13",
28
+ "14": "LABEL_14",
29
+ "15": "LABEL_15",
30
+ "16": "LABEL_16",
31
+ "17": "LABEL_17",
32
+ "18": "LABEL_18",
33
+ "19": "LABEL_19",
34
+ "20": "LABEL_20",
35
+ "21": "LABEL_21",
36
+ "22": "LABEL_22",
37
+ "23": "LABEL_23",
38
+ "24": "LABEL_24",
39
+ "25": "LABEL_25",
40
+ "26": "LABEL_26",
41
+ "27": "LABEL_27",
42
+ "28": "LABEL_28",
43
+ "29": "LABEL_29",
44
+ "30": "LABEL_30",
45
+ "31": "LABEL_31"
46
+ },
47
+ "initializer_range": 0.02,
48
+ "intermediate_size": 3072,
49
+ "label2id": {
50
+ "LABEL_0": 0,
51
+ "LABEL_1": 1,
52
+ "LABEL_10": 10,
53
+ "LABEL_11": 11,
54
+ "LABEL_12": 12,
55
+ "LABEL_13": 13,
56
+ "LABEL_14": 14,
57
+ "LABEL_15": 15,
58
+ "LABEL_16": 16,
59
+ "LABEL_17": 17,
60
+ "LABEL_18": 18,
61
+ "LABEL_19": 19,
62
+ "LABEL_2": 2,
63
+ "LABEL_20": 20,
64
+ "LABEL_21": 21,
65
+ "LABEL_22": 22,
66
+ "LABEL_23": 23,
67
+ "LABEL_24": 24,
68
+ "LABEL_25": 25,
69
+ "LABEL_26": 26,
70
+ "LABEL_27": 27,
71
+ "LABEL_28": 28,
72
+ "LABEL_29": 29,
73
+ "LABEL_3": 3,
74
+ "LABEL_30": 30,
75
+ "LABEL_31": 31,
76
+ "LABEL_4": 4,
77
+ "LABEL_5": 5,
78
+ "LABEL_6": 6,
79
+ "LABEL_7": 7,
80
+ "LABEL_8": 8,
81
+ "LABEL_9": 9
82
+ },
83
+ "layer_norm_eps": 1e-12,
84
+ "max_position_embeddings": 512,
85
+ "model_type": "bert",
86
+ "num_attention_heads": 12,
87
+ "num_hidden_layers": 12,
88
+ "output_past": true,
89
+ "pad_token_id": 0,
90
+ "position_embedding_type": "absolute",
91
+ "problem_type": "single_label_classification",
92
+ "torch_dtype": "float32",
93
+ "transformers_version": "4.44.2",
94
+ "type_vocab_size": 2,
95
+ "use_cache": true,
96
+ "vocab_size": 30522
97
+ }
93-118CongressionalLegalBert/model/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5b9fe4a86361a07c94bae68e3c82a4010f1838e42c275a49992386061f05d2d9
3
+ size 438050928
93-118CongressionalLegalBert/model/special_tokens_map.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": "[CLS]",
3
+ "mask_token": "[MASK]",
4
+ "pad_token": "[PAD]",
5
+ "sep_token": "[SEP]",
6
+ "unk_token": "[UNK]"
7
+ }
93-118CongressionalLegalBert/model/tokenizer_config.json ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ },
44
+ "clean_up_tokenization_spaces": true,
45
+ "cls_token": "[CLS]",
46
+ "do_basic_tokenize": true,
47
+ "do_lower_case": true,
48
+ "mask_token": "[MASK]",
49
+ "model_max_length": 512,
50
+ "never_split": null,
51
+ "pad_token": "[PAD]",
52
+ "sep_token": "[SEP]",
53
+ "strip_accents": null,
54
+ "tokenize_chinese_chars": true,
55
+ "tokenizer_class": "BertTokenizer",
56
+ "unk_token": "[UNK]"
57
+ }
93-118CongressionalLegalBert/model/vocab.txt ADDED
The diff for this file is too large to render. See raw diff