Jakobaby commited on
Commit
37670c8
·
verified ·
1 Parent(s): ab36f85

Upload 6 files

Browse files
Files changed (6) hide show
  1. config.json +153 -0
  2. configuration.json +108 -0
  3. pytorch_model.bin +3 -0
  4. special_tokens_map.json +7 -0
  5. tokenizer.json +0 -0
  6. vocab.txt +0 -0
config.json ADDED
@@ -0,0 +1,153 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "ptms/sbert-base",
3
+ "architectures": [
4
+ "BertForTokenClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "classifier_dropout": null,
8
+ "directionality": "bidi",
9
+ "encoder_width": 256,
10
+ "finetuning_task": "ner",
11
+ "fusion_layer": 2,
12
+ "gis_embedding": 0,
13
+ "hidden_act": "gelu",
14
+ "hidden_dropout_prob": 0.1,
15
+ "hidden_size": 768,
16
+ "id2label": {
17
+ "0": "B-assist",
18
+ "1": "B-cellno",
19
+ "2": "B-city",
20
+ "3": "B-community",
21
+ "4": "B-devzone",
22
+ "5": "B-distance",
23
+ "6": "B-district",
24
+ "7": "B-floorno",
25
+ "8": "B-houseno",
26
+ "9": "B-intersection",
27
+ "10": "B-poi",
28
+ "11": "B-prov",
29
+ "12": "B-road",
30
+ "13": "B-roadno",
31
+ "14": "B-subpoi",
32
+ "15": "B-town",
33
+ "16": "B-village_group",
34
+ "17": "E-assist",
35
+ "18": "E-cellno",
36
+ "19": "E-city",
37
+ "20": "E-community",
38
+ "21": "E-devzone",
39
+ "22": "E-distance",
40
+ "23": "E-district",
41
+ "24": "E-floorno",
42
+ "25": "E-houseno",
43
+ "26": "E-intersection",
44
+ "27": "E-poi",
45
+ "28": "E-prov",
46
+ "29": "E-road",
47
+ "30": "E-roadno",
48
+ "31": "E-subpoi",
49
+ "32": "E-town",
50
+ "33": "E-village_group",
51
+ "34": "I-assist",
52
+ "35": "I-cellno",
53
+ "36": "I-city",
54
+ "37": "I-community",
55
+ "38": "I-devzone",
56
+ "39": "I-distance",
57
+ "40": "I-district",
58
+ "41": "I-floorno",
59
+ "42": "I-houseno",
60
+ "43": "I-intersection",
61
+ "44": "I-poi",
62
+ "45": "I-prov",
63
+ "46": "I-road",
64
+ "47": "I-roadno",
65
+ "48": "I-subpoi",
66
+ "49": "I-town",
67
+ "50": "I-village_group",
68
+ "51": "O",
69
+ "52": "S-assist",
70
+ "53": "S-community",
71
+ "54": "S-district",
72
+ "55": "S-intersection",
73
+ "56": "S-poi"
74
+ },
75
+ "initializer_range": 0.02,
76
+ "intermediate_size": 3072,
77
+ "label2id": {
78
+ "B-assist": 0,
79
+ "B-cellno": 1,
80
+ "B-city": 2,
81
+ "B-community": 3,
82
+ "B-devzone": 4,
83
+ "B-distance": 5,
84
+ "B-district": 6,
85
+ "B-floorno": 7,
86
+ "B-houseno": 8,
87
+ "B-intersection": 9,
88
+ "B-poi": 10,
89
+ "B-prov": 11,
90
+ "B-road": 12,
91
+ "B-roadno": 13,
92
+ "B-subpoi": 14,
93
+ "B-town": 15,
94
+ "B-village_group": 16,
95
+ "E-assist": 17,
96
+ "E-cellno": 18,
97
+ "E-city": 19,
98
+ "E-community": 20,
99
+ "E-devzone": 21,
100
+ "E-distance": 22,
101
+ "E-district": 23,
102
+ "E-floorno": 24,
103
+ "E-houseno": 25,
104
+ "E-intersection": 26,
105
+ "E-poi": 27,
106
+ "E-prov": 28,
107
+ "E-road": 29,
108
+ "E-roadno": 30,
109
+ "E-subpoi": 31,
110
+ "E-town": 32,
111
+ "E-village_group": 33,
112
+ "I-assist": 34,
113
+ "I-cellno": 35,
114
+ "I-city": 36,
115
+ "I-community": 37,
116
+ "I-devzone": 38,
117
+ "I-distance": 39,
118
+ "I-district": 40,
119
+ "I-floorno": 41,
120
+ "I-houseno": 42,
121
+ "I-intersection": 43,
122
+ "I-poi": 44,
123
+ "I-prov": 45,
124
+ "I-road": 46,
125
+ "I-roadno": 47,
126
+ "I-subpoi": 48,
127
+ "I-town": 49,
128
+ "I-village_group": 50,
129
+ "O": 51,
130
+ "S-assist": 52,
131
+ "S-community": 53,
132
+ "S-district": 54,
133
+ "S-intersection": 55,
134
+ "S-poi": 56
135
+ },
136
+ "layer_norm_eps": 1e-12,
137
+ "max_position_embeddings": 512,
138
+ "model_type": "bert",
139
+ "num_attention_heads": 12,
140
+ "num_hidden_layers": 12,
141
+ "pad_token_id": 0,
142
+ "pooler_fc_size": 768,
143
+ "pooler_num_attention_heads": 12,
144
+ "pooler_num_fc_layers": 3,
145
+ "pooler_size_per_head": 128,
146
+ "pooler_type": "first_token_transform",
147
+ "position_embedding_type": "absolute",
148
+ "torch_dtype": "float32",
149
+ "transformers_version": "4.24.0",
150
+ "type_vocab_size": 2,
151
+ "use_cache": true,
152
+ "vocab_size": 21128
153
+ }
configuration.json ADDED
@@ -0,0 +1,108 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "framework": "pytorch",
3
+ "task": "named-entity-recognition",
4
+ "model": {
5
+ "type": "token-classification-for-ner",
6
+ "id2label": {
7
+ "0": "B-assist",
8
+ "1": "B-cellno",
9
+ "2": "B-city",
10
+ "3": "B-community",
11
+ "4": "B-devzone",
12
+ "5": "B-distance",
13
+ "6": "B-district",
14
+ "7": "B-floorno",
15
+ "8": "B-houseno",
16
+ "9": "B-intersection",
17
+ "10": "B-poi",
18
+ "11": "B-prov",
19
+ "12": "B-road",
20
+ "13": "B-roadno",
21
+ "14": "B-subpoi",
22
+ "15": "B-town",
23
+ "16": "B-village_group",
24
+ "17": "E-assist",
25
+ "18": "E-cellno",
26
+ "19": "E-city",
27
+ "20": "E-community",
28
+ "21": "E-devzone",
29
+ "22": "E-distance",
30
+ "23": "E-district",
31
+ "24": "E-floorno",
32
+ "25": "E-houseno",
33
+ "26": "E-intersection",
34
+ "27": "E-poi",
35
+ "28": "E-prov",
36
+ "29": "E-road",
37
+ "30": "E-roadno",
38
+ "31": "E-subpoi",
39
+ "32": "E-town",
40
+ "33": "E-village_group",
41
+ "34": "I-assist",
42
+ "35": "I-cellno",
43
+ "36": "I-city",
44
+ "37": "I-community",
45
+ "38": "I-devzone",
46
+ "39": "I-distance",
47
+ "40": "I-district",
48
+ "41": "I-floorno",
49
+ "42": "I-houseno",
50
+ "43": "I-intersection",
51
+ "44": "I-poi",
52
+ "45": "I-prov",
53
+ "46": "I-road",
54
+ "47": "I-roadno",
55
+ "48": "I-subpoi",
56
+ "49": "I-town",
57
+ "50": "I-village_group",
58
+ "51": "O",
59
+ "52": "S-assist",
60
+ "53": "S-community",
61
+ "54": "S-district",
62
+ "55": "S-intersection",
63
+ "56": "S-poi"
64
+ },
65
+
66
+ "backbone": {
67
+ "type": "bert",
68
+ "prefix": "bert",
69
+ "attention_probs_dropout_prob": 0.1,
70
+ "classifier_dropout": null,
71
+ "directionality": "bidi",
72
+ "encoder_width": 256,
73
+ "finetuning_task": "ner",
74
+ "fusion_layer": 2,
75
+ "gis_embedding": 0,
76
+ "hidden_act": "gelu",
77
+ "hidden_dropout_prob": 0.1,
78
+ "hidden_size": 768,
79
+ "initializer_range": 0.02,
80
+ "intermediate_size": 3072,
81
+ "layer_norm_eps": 1e-12,
82
+ "max_position_embeddings": 512,
83
+ "model_type": "bert",
84
+ "num_attention_heads": 12,
85
+ "num_hidden_layers": 12,
86
+ "pad_token_id": 0,
87
+ "pooler_fc_size": 768,
88
+ "pooler_num_attention_heads": 12,
89
+ "pooler_num_fc_layers": 3,
90
+ "pooler_size_per_head": 128,
91
+ "pooler_type": "first_token_transform",
92
+ "position_embedding_type": "absolute",
93
+ "torch_dtype": "float32",
94
+ "transformers_version": "4.24.0",
95
+ "type_vocab_size": 2,
96
+ "use_cache": true,
97
+ "vocab_size": 21128
98
+ },
99
+ "head": {
100
+ "type": "token-classification",
101
+ "hidden_dropout_prob": 0.1,
102
+ "hidden_size": 768
103
+ }
104
+ },
105
+ "pipeline": {
106
+ "type": "named-entity-recognition"
107
+ }
108
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a747388e1e848bd2e4aaf266a75cf947a422856150e814ad7f8a15e94a124f43
3
+ size 406953969
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
 
vocab.txt ADDED
The diff for this file is too large to render. See raw diff