AndreaSimeri
commited on
Commit
•
105f60f
1
Parent(s):
d78ae60
Upload 6 files
Browse files- config.json +231 -0
- pytorch_model.bin +3 -0
- special_tokens_map.json +7 -0
- tokenizer.json +0 -0
- tokenizer_config.json +16 -0
- vocab.txt +0 -0
config.json
ADDED
@@ -0,0 +1,231 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
"32": "LABEL_32",
|
47 |
+
"33": "LABEL_33",
|
48 |
+
"34": "LABEL_34",
|
49 |
+
"35": "LABEL_35",
|
50 |
+
"36": "LABEL_36",
|
51 |
+
"37": "LABEL_37",
|
52 |
+
"38": "LABEL_38",
|
53 |
+
"39": "LABEL_39",
|
54 |
+
"40": "LABEL_40",
|
55 |
+
"41": "LABEL_41",
|
56 |
+
"42": "LABEL_42",
|
57 |
+
"43": "LABEL_43",
|
58 |
+
"44": "LABEL_44",
|
59 |
+
"45": "LABEL_45",
|
60 |
+
"46": "LABEL_46",
|
61 |
+
"47": "LABEL_47",
|
62 |
+
"48": "LABEL_48",
|
63 |
+
"49": "LABEL_49",
|
64 |
+
"50": "LABEL_50",
|
65 |
+
"51": "LABEL_51",
|
66 |
+
"52": "LABEL_52",
|
67 |
+
"53": "LABEL_53",
|
68 |
+
"54": "LABEL_54",
|
69 |
+
"55": "LABEL_55",
|
70 |
+
"56": "LABEL_56",
|
71 |
+
"57": "LABEL_57",
|
72 |
+
"58": "LABEL_58",
|
73 |
+
"59": "LABEL_59",
|
74 |
+
"60": "LABEL_60",
|
75 |
+
"61": "LABEL_61",
|
76 |
+
"62": "LABEL_62",
|
77 |
+
"63": "LABEL_63",
|
78 |
+
"64": "LABEL_64",
|
79 |
+
"65": "LABEL_65",
|
80 |
+
"66": "LABEL_66",
|
81 |
+
"67": "LABEL_67",
|
82 |
+
"68": "LABEL_68",
|
83 |
+
"69": "LABEL_69",
|
84 |
+
"70": "LABEL_70",
|
85 |
+
"71": "LABEL_71",
|
86 |
+
"72": "LABEL_72",
|
87 |
+
"73": "LABEL_73",
|
88 |
+
"74": "LABEL_74",
|
89 |
+
"75": "LABEL_75",
|
90 |
+
"76": "LABEL_76",
|
91 |
+
"77": "LABEL_77",
|
92 |
+
"78": "LABEL_78",
|
93 |
+
"79": "LABEL_79",
|
94 |
+
"80": "LABEL_80",
|
95 |
+
"81": "LABEL_81",
|
96 |
+
"82": "LABEL_82",
|
97 |
+
"83": "LABEL_83",
|
98 |
+
"84": "LABEL_84",
|
99 |
+
"85": "LABEL_85",
|
100 |
+
"86": "LABEL_86",
|
101 |
+
"87": "LABEL_87",
|
102 |
+
"88": "LABEL_88",
|
103 |
+
"89": "LABEL_89",
|
104 |
+
"90": "LABEL_90",
|
105 |
+
"91": "LABEL_91",
|
106 |
+
"92": "LABEL_92",
|
107 |
+
"93": "LABEL_93",
|
108 |
+
"94": "LABEL_94",
|
109 |
+
"95": "LABEL_95",
|
110 |
+
"96": "LABEL_96",
|
111 |
+
"97": "LABEL_97",
|
112 |
+
"98": "LABEL_98"
|
113 |
+
},
|
114 |
+
"initializer_range": 0.02,
|
115 |
+
"intermediate_size": 3072,
|
116 |
+
"label2id": {
|
117 |
+
"LABEL_0": 0,
|
118 |
+
"LABEL_1": 1,
|
119 |
+
"LABEL_10": 10,
|
120 |
+
"LABEL_11": 11,
|
121 |
+
"LABEL_12": 12,
|
122 |
+
"LABEL_13": 13,
|
123 |
+
"LABEL_14": 14,
|
124 |
+
"LABEL_15": 15,
|
125 |
+
"LABEL_16": 16,
|
126 |
+
"LABEL_17": 17,
|
127 |
+
"LABEL_18": 18,
|
128 |
+
"LABEL_19": 19,
|
129 |
+
"LABEL_2": 2,
|
130 |
+
"LABEL_20": 20,
|
131 |
+
"LABEL_21": 21,
|
132 |
+
"LABEL_22": 22,
|
133 |
+
"LABEL_23": 23,
|
134 |
+
"LABEL_24": 24,
|
135 |
+
"LABEL_25": 25,
|
136 |
+
"LABEL_26": 26,
|
137 |
+
"LABEL_27": 27,
|
138 |
+
"LABEL_28": 28,
|
139 |
+
"LABEL_29": 29,
|
140 |
+
"LABEL_3": 3,
|
141 |
+
"LABEL_30": 30,
|
142 |
+
"LABEL_31": 31,
|
143 |
+
"LABEL_32": 32,
|
144 |
+
"LABEL_33": 33,
|
145 |
+
"LABEL_34": 34,
|
146 |
+
"LABEL_35": 35,
|
147 |
+
"LABEL_36": 36,
|
148 |
+
"LABEL_37": 37,
|
149 |
+
"LABEL_38": 38,
|
150 |
+
"LABEL_39": 39,
|
151 |
+
"LABEL_4": 4,
|
152 |
+
"LABEL_40": 40,
|
153 |
+
"LABEL_41": 41,
|
154 |
+
"LABEL_42": 42,
|
155 |
+
"LABEL_43": 43,
|
156 |
+
"LABEL_44": 44,
|
157 |
+
"LABEL_45": 45,
|
158 |
+
"LABEL_46": 46,
|
159 |
+
"LABEL_47": 47,
|
160 |
+
"LABEL_48": 48,
|
161 |
+
"LABEL_49": 49,
|
162 |
+
"LABEL_5": 5,
|
163 |
+
"LABEL_50": 50,
|
164 |
+
"LABEL_51": 51,
|
165 |
+
"LABEL_52": 52,
|
166 |
+
"LABEL_53": 53,
|
167 |
+
"LABEL_54": 54,
|
168 |
+
"LABEL_55": 55,
|
169 |
+
"LABEL_56": 56,
|
170 |
+
"LABEL_57": 57,
|
171 |
+
"LABEL_58": 58,
|
172 |
+
"LABEL_59": 59,
|
173 |
+
"LABEL_6": 6,
|
174 |
+
"LABEL_60": 60,
|
175 |
+
"LABEL_61": 61,
|
176 |
+
"LABEL_62": 62,
|
177 |
+
"LABEL_63": 63,
|
178 |
+
"LABEL_64": 64,
|
179 |
+
"LABEL_65": 65,
|
180 |
+
"LABEL_66": 66,
|
181 |
+
"LABEL_67": 67,
|
182 |
+
"LABEL_68": 68,
|
183 |
+
"LABEL_69": 69,
|
184 |
+
"LABEL_7": 7,
|
185 |
+
"LABEL_70": 70,
|
186 |
+
"LABEL_71": 71,
|
187 |
+
"LABEL_72": 72,
|
188 |
+
"LABEL_73": 73,
|
189 |
+
"LABEL_74": 74,
|
190 |
+
"LABEL_75": 75,
|
191 |
+
"LABEL_76": 76,
|
192 |
+
"LABEL_77": 77,
|
193 |
+
"LABEL_78": 78,
|
194 |
+
"LABEL_79": 79,
|
195 |
+
"LABEL_8": 8,
|
196 |
+
"LABEL_80": 80,
|
197 |
+
"LABEL_81": 81,
|
198 |
+
"LABEL_82": 82,
|
199 |
+
"LABEL_83": 83,
|
200 |
+
"LABEL_84": 84,
|
201 |
+
"LABEL_85": 85,
|
202 |
+
"LABEL_86": 86,
|
203 |
+
"LABEL_87": 87,
|
204 |
+
"LABEL_88": 88,
|
205 |
+
"LABEL_89": 89,
|
206 |
+
"LABEL_9": 9,
|
207 |
+
"LABEL_90": 90,
|
208 |
+
"LABEL_91": 91,
|
209 |
+
"LABEL_92": 92,
|
210 |
+
"LABEL_93": 93,
|
211 |
+
"LABEL_94": 94,
|
212 |
+
"LABEL_95": 95,
|
213 |
+
"LABEL_96": 96,
|
214 |
+
"LABEL_97": 97,
|
215 |
+
"LABEL_98": 98
|
216 |
+
},
|
217 |
+
"layer_norm_eps": 1e-12,
|
218 |
+
"max_position_embeddings": 512,
|
219 |
+
"model_type": "bert",
|
220 |
+
"num_attention_heads": 12,
|
221 |
+
"num_hidden_layers": 12,
|
222 |
+
"output_past": true,
|
223 |
+
"pad_token_id": 0,
|
224 |
+
"position_embedding_type": "absolute",
|
225 |
+
"problem_type": "single_label_classification",
|
226 |
+
"torch_dtype": "float32",
|
227 |
+
"transformers_version": "4.25.1",
|
228 |
+
"type_vocab_size": 2,
|
229 |
+
"use_cache": true,
|
230 |
+
"vocab_size": 30522
|
231 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b5ba32c9f4b7c5fd576bdd7686703b5f45e2960049bf15d094954aae419dcbe7
|
3 |
+
size 438306293
|
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 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cls_token": "[CLS]",
|
3 |
+
"do_basic_tokenize": true,
|
4 |
+
"do_lower_case": true,
|
5 |
+
"mask_token": "[MASK]",
|
6 |
+
"model_max_length": 512,
|
7 |
+
"name_or_path": "nlpaueb/legal-bert-base-uncased",
|
8 |
+
"never_split": null,
|
9 |
+
"pad_token": "[PAD]",
|
10 |
+
"sep_token": "[SEP]",
|
11 |
+
"special_tokens_map_file": "/home/user/.cache/huggingface/hub/models--nlpaueb--legal-bert-base-uncased/snapshots/15b570cbf88259610b082a167dacc190124f60f6/special_tokens_map.json",
|
12 |
+
"strip_accents": null,
|
13 |
+
"tokenize_chinese_chars": true,
|
14 |
+
"tokenizer_class": "BertTokenizer",
|
15 |
+
"unk_token": "[UNK]"
|
16 |
+
}
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|