Upload BertForTokenClassification
Browse files- config.json +112 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,112 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "law-ai/InLegalBERT",
|
3 |
+
"architectures": [
|
4 |
+
"BertForTokenClassification"
|
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": "O",
|
15 |
+
"1": "B-PREAMBLE",
|
16 |
+
"2": "I-PREAMBLE",
|
17 |
+
"3": "L-PREAMBLE",
|
18 |
+
"4": "B-FAC",
|
19 |
+
"5": "I-FAC",
|
20 |
+
"6": "L-FAC",
|
21 |
+
"7": "B-RLC",
|
22 |
+
"8": "I-RLC",
|
23 |
+
"9": "L-RLC",
|
24 |
+
"10": "B-ISSUE",
|
25 |
+
"11": "I-ISSUE",
|
26 |
+
"12": "L-ISSUE",
|
27 |
+
"13": "B-ARG_PETITIONER",
|
28 |
+
"14": "I-ARG_PETITIONER",
|
29 |
+
"15": "L-ARG_PETITIONER",
|
30 |
+
"16": "B-ARG_RESPONDENT",
|
31 |
+
"17": "I-ARG_RESPONDENT",
|
32 |
+
"18": "L-ARG_RESPONDENT",
|
33 |
+
"19": "B-ANALYSIS",
|
34 |
+
"20": "I-ANALYSIS",
|
35 |
+
"21": "L-ANALYSIS",
|
36 |
+
"22": "B-STA",
|
37 |
+
"23": "I-STA",
|
38 |
+
"24": "L-STA",
|
39 |
+
"25": "B-PRE_RELIED",
|
40 |
+
"26": "I-PRE_RELIED",
|
41 |
+
"27": "L-PRE_RELIED",
|
42 |
+
"28": "B-PRE_NOT_RELIED",
|
43 |
+
"29": "I-PRE_NOT_RELIED",
|
44 |
+
"30": "L-PRE_NOT_RELIED",
|
45 |
+
"31": "B-RATIO",
|
46 |
+
"32": "I-RATIO",
|
47 |
+
"33": "L-RATIO",
|
48 |
+
"34": "B-RPC",
|
49 |
+
"35": "I-RPC",
|
50 |
+
"36": "L-RPC",
|
51 |
+
"37": "B-NONE",
|
52 |
+
"38": "I-NONE",
|
53 |
+
"39": "L-NONE"
|
54 |
+
},
|
55 |
+
"initializer_range": 0.02,
|
56 |
+
"intermediate_size": 3072,
|
57 |
+
"label2id": {
|
58 |
+
"B-ANALYSIS": 19,
|
59 |
+
"B-ARG_PETITIONER": 13,
|
60 |
+
"B-ARG_RESPONDENT": 16,
|
61 |
+
"B-FAC": 4,
|
62 |
+
"B-ISSUE": 10,
|
63 |
+
"B-NONE": 37,
|
64 |
+
"B-PREAMBLE": 1,
|
65 |
+
"B-PRE_NOT_RELIED": 28,
|
66 |
+
"B-PRE_RELIED": 25,
|
67 |
+
"B-RATIO": 31,
|
68 |
+
"B-RLC": 7,
|
69 |
+
"B-RPC": 34,
|
70 |
+
"B-STA": 22,
|
71 |
+
"I-ANALYSIS": 20,
|
72 |
+
"I-ARG_PETITIONER": 14,
|
73 |
+
"I-ARG_RESPONDENT": 17,
|
74 |
+
"I-FAC": 5,
|
75 |
+
"I-ISSUE": 11,
|
76 |
+
"I-NONE": 38,
|
77 |
+
"I-PREAMBLE": 2,
|
78 |
+
"I-PRE_NOT_RELIED": 29,
|
79 |
+
"I-PRE_RELIED": 26,
|
80 |
+
"I-RATIO": 32,
|
81 |
+
"I-RLC": 8,
|
82 |
+
"I-RPC": 35,
|
83 |
+
"I-STA": 23,
|
84 |
+
"L-ANALYSIS": 21,
|
85 |
+
"L-ARG_PETITIONER": 15,
|
86 |
+
"L-ARG_RESPONDENT": 18,
|
87 |
+
"L-FAC": 6,
|
88 |
+
"L-ISSUE": 12,
|
89 |
+
"L-NONE": 39,
|
90 |
+
"L-PREAMBLE": 3,
|
91 |
+
"L-PRE_NOT_RELIED": 30,
|
92 |
+
"L-PRE_RELIED": 27,
|
93 |
+
"L-RATIO": 33,
|
94 |
+
"L-RLC": 9,
|
95 |
+
"L-RPC": 36,
|
96 |
+
"L-STA": 24,
|
97 |
+
"O": 0
|
98 |
+
},
|
99 |
+
"layer_norm_eps": 1e-12,
|
100 |
+
"max_position_embeddings": 512,
|
101 |
+
"model_type": "bert",
|
102 |
+
"num_attention_heads": 12,
|
103 |
+
"num_hidden_layers": 12,
|
104 |
+
"output_past": true,
|
105 |
+
"pad_token_id": 0,
|
106 |
+
"position_embedding_type": "absolute",
|
107 |
+
"torch_dtype": "float32",
|
108 |
+
"transformers_version": "4.28.0",
|
109 |
+
"type_vocab_size": 2,
|
110 |
+
"use_cache": true,
|
111 |
+
"vocab_size": 30522
|
112 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9b8d474e934c697300b49ff8fc8dfd07939f6e084d3c5b75b8a2fca6652f6f8d
|
3 |
+
size 435762218
|