atakankara
commited on
Commit
•
d93eb8e
1
Parent(s):
bf360d3
Upload BertForTokenClassification
Browse files- config.json +81 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,81 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "weights/sequence-tagger",
|
3 |
+
"architectures": [
|
4 |
+
"BertForTokenClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"classifier_dropout": null,
|
8 |
+
"hidden_act": "gelu",
|
9 |
+
"hidden_dropout_prob": 0.1,
|
10 |
+
"hidden_size": 768,
|
11 |
+
"id2label": {
|
12 |
+
"0": "O",
|
13 |
+
"1": "B-rule_1",
|
14 |
+
"2": "B-rule_2",
|
15 |
+
"3": "B-rule_3",
|
16 |
+
"4": "B-rule_4",
|
17 |
+
"5": "B-rule_5",
|
18 |
+
"6": "B-rule_6",
|
19 |
+
"7": "B-rule_7",
|
20 |
+
"8": "B-rule_8",
|
21 |
+
"9": "B-rule_9",
|
22 |
+
"10": "B-rule_10",
|
23 |
+
"11": "B-rule_11",
|
24 |
+
"12": "B-rule_12",
|
25 |
+
"13": "B-rule_13",
|
26 |
+
"14": "B-rule_14",
|
27 |
+
"15": "B-rule_15",
|
28 |
+
"16": "B-rule_16",
|
29 |
+
"17": "B-rule_17",
|
30 |
+
"18": "B-rule_18",
|
31 |
+
"19": "B-rule_19",
|
32 |
+
"20": "B-rule_20",
|
33 |
+
"21": "B-rule_21",
|
34 |
+
"22": "B-rule_22",
|
35 |
+
"23": "B-rule_23",
|
36 |
+
"24": "B-rule_24",
|
37 |
+
"25": "B-rule_25"
|
38 |
+
},
|
39 |
+
"initializer_range": 0.02,
|
40 |
+
"intermediate_size": 3072,
|
41 |
+
"label2id": {
|
42 |
+
"B-rule_1": 1,
|
43 |
+
"B-rule_10": 10,
|
44 |
+
"B-rule_11": 11,
|
45 |
+
"B-rule_12": 12,
|
46 |
+
"B-rule_13": 13,
|
47 |
+
"B-rule_14": 14,
|
48 |
+
"B-rule_15": 15,
|
49 |
+
"B-rule_16": 16,
|
50 |
+
"B-rule_17": 17,
|
51 |
+
"B-rule_18": 18,
|
52 |
+
"B-rule_19": 19,
|
53 |
+
"B-rule_2": 2,
|
54 |
+
"B-rule_20": 20,
|
55 |
+
"B-rule_21": 21,
|
56 |
+
"B-rule_22": 22,
|
57 |
+
"B-rule_23": 23,
|
58 |
+
"B-rule_24": 24,
|
59 |
+
"B-rule_25": 25,
|
60 |
+
"B-rule_3": 3,
|
61 |
+
"B-rule_4": 4,
|
62 |
+
"B-rule_5": 5,
|
63 |
+
"B-rule_6": 6,
|
64 |
+
"B-rule_7": 7,
|
65 |
+
"B-rule_8": 8,
|
66 |
+
"B-rule_9": 9,
|
67 |
+
"O": 0
|
68 |
+
},
|
69 |
+
"layer_norm_eps": 1e-12,
|
70 |
+
"max_position_embeddings": 512,
|
71 |
+
"model_type": "bert",
|
72 |
+
"num_attention_heads": 12,
|
73 |
+
"num_hidden_layers": 12,
|
74 |
+
"pad_token_id": 0,
|
75 |
+
"position_embedding_type": "absolute",
|
76 |
+
"torch_dtype": "float32",
|
77 |
+
"transformers_version": "4.25.1",
|
78 |
+
"type_vocab_size": 2,
|
79 |
+
"use_cache": true,
|
80 |
+
"vocab_size": 32000
|
81 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7946f2feb1e8fb3b7be28385916b7492e3a9eaf5e19a69f79bba271ae6870a94
|
3 |
+
size 440256301
|