tomaarsen HF staff commited on
Commit
c46bf8a
1 Parent(s): 24cdf64

Upload model

Browse files
Files changed (2) hide show
  1. config.json +227 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,227 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "models\\bb-full-256-1\\checkpoint-final",
3
+ "architectures": [
4
+ "SpanMarkerModel"
5
+ ],
6
+ "encoder": {
7
+ "_name_or_path": "bert-base-cased",
8
+ "add_cross_attention": false,
9
+ "architectures": [
10
+ "BertForMaskedLM"
11
+ ],
12
+ "attention_probs_dropout_prob": 0.1,
13
+ "bad_words_ids": null,
14
+ "begin_suppress_tokens": null,
15
+ "bos_token_id": null,
16
+ "chunk_size_feed_forward": 0,
17
+ "classifier_dropout": null,
18
+ "cross_attention_hidden_size": null,
19
+ "decoder_start_token_id": null,
20
+ "diversity_penalty": 0.0,
21
+ "do_sample": false,
22
+ "early_stopping": false,
23
+ "encoder_no_repeat_ngram_size": 0,
24
+ "eos_token_id": null,
25
+ "exponential_decay_length_penalty": null,
26
+ "finetuning_task": null,
27
+ "forced_bos_token_id": null,
28
+ "forced_eos_token_id": null,
29
+ "gradient_checkpointing": false,
30
+ "hidden_act": "gelu",
31
+ "hidden_dropout_prob": 0.1,
32
+ "hidden_size": 768,
33
+ "id2label": {
34
+ "0": "O",
35
+ "1": "art-broadcastprogram",
36
+ "10": "building-library",
37
+ "11": "building-other",
38
+ "12": "building-restaurant",
39
+ "13": "building-sportsfacility",
40
+ "14": "building-theater",
41
+ "15": "event-attack/battle/war/militaryconflict",
42
+ "16": "event-disaster",
43
+ "17": "event-election",
44
+ "18": "event-other",
45
+ "19": "event-protest",
46
+ "2": "art-film",
47
+ "20": "event-sportsevent",
48
+ "21": "location-GPE",
49
+ "22": "location-bodiesofwater",
50
+ "23": "location-island",
51
+ "24": "location-mountain",
52
+ "25": "location-other",
53
+ "26": "location-park",
54
+ "27": "location-road/railway/highway/transit",
55
+ "28": "organization-company",
56
+ "29": "organization-education",
57
+ "3": "art-music",
58
+ "30": "organization-government/governmentagency",
59
+ "31": "organization-media/newspaper",
60
+ "32": "organization-other",
61
+ "33": "organization-politicalparty",
62
+ "34": "organization-religion",
63
+ "35": "organization-showorganization",
64
+ "36": "organization-sportsleague",
65
+ "37": "organization-sportsteam",
66
+ "38": "other-astronomything",
67
+ "39": "other-award",
68
+ "4": "art-other",
69
+ "40": "other-biologything",
70
+ "41": "other-chemicalthing",
71
+ "42": "other-currency",
72
+ "43": "other-disease",
73
+ "44": "other-educationaldegree",
74
+ "45": "other-god",
75
+ "46": "other-language",
76
+ "47": "other-law",
77
+ "48": "other-livingthing",
78
+ "49": "other-medical",
79
+ "5": "art-painting",
80
+ "50": "person-actor",
81
+ "51": "person-artist/author",
82
+ "52": "person-athlete",
83
+ "53": "person-director",
84
+ "54": "person-other",
85
+ "55": "person-politician",
86
+ "56": "person-scholar",
87
+ "57": "person-soldier",
88
+ "58": "product-airplane",
89
+ "59": "product-car",
90
+ "6": "art-writtenart",
91
+ "60": "product-food",
92
+ "61": "product-game",
93
+ "62": "product-other",
94
+ "63": "product-ship",
95
+ "64": "product-software",
96
+ "65": "product-train",
97
+ "66": "product-weapon",
98
+ "7": "building-airport",
99
+ "8": "building-hospital",
100
+ "9": "building-hotel"
101
+ },
102
+ "initializer_range": 0.02,
103
+ "intermediate_size": 3072,
104
+ "is_decoder": false,
105
+ "is_encoder_decoder": false,
106
+ "label2id": {
107
+ "O": 0,
108
+ "art-broadcastprogram": 1,
109
+ "art-film": 2,
110
+ "art-music": 3,
111
+ "art-other": 4,
112
+ "art-painting": 5,
113
+ "art-writtenart": 6,
114
+ "building-airport": 7,
115
+ "building-hospital": 8,
116
+ "building-hotel": 9,
117
+ "building-library": 10,
118
+ "building-other": 11,
119
+ "building-restaurant": 12,
120
+ "building-sportsfacility": 13,
121
+ "building-theater": 14,
122
+ "event-attack/battle/war/militaryconflict": 15,
123
+ "event-disaster": 16,
124
+ "event-election": 17,
125
+ "event-other": 18,
126
+ "event-protest": 19,
127
+ "event-sportsevent": 20,
128
+ "location-GPE": 21,
129
+ "location-bodiesofwater": 22,
130
+ "location-island": 23,
131
+ "location-mountain": 24,
132
+ "location-other": 25,
133
+ "location-park": 26,
134
+ "location-road/railway/highway/transit": 27,
135
+ "organization-company": 28,
136
+ "organization-education": 29,
137
+ "organization-government/governmentagency": 30,
138
+ "organization-media/newspaper": 31,
139
+ "organization-other": 32,
140
+ "organization-politicalparty": 33,
141
+ "organization-religion": 34,
142
+ "organization-showorganization": 35,
143
+ "organization-sportsleague": 36,
144
+ "organization-sportsteam": 37,
145
+ "other-astronomything": 38,
146
+ "other-award": 39,
147
+ "other-biologything": 40,
148
+ "other-chemicalthing": 41,
149
+ "other-currency": 42,
150
+ "other-disease": 43,
151
+ "other-educationaldegree": 44,
152
+ "other-god": 45,
153
+ "other-language": 46,
154
+ "other-law": 47,
155
+ "other-livingthing": 48,
156
+ "other-medical": 49,
157
+ "person-actor": 50,
158
+ "person-artist/author": 51,
159
+ "person-athlete": 52,
160
+ "person-director": 53,
161
+ "person-other": 54,
162
+ "person-politician": 55,
163
+ "person-scholar": 56,
164
+ "person-soldier": 57,
165
+ "product-airplane": 58,
166
+ "product-car": 59,
167
+ "product-food": 60,
168
+ "product-game": 61,
169
+ "product-other": 62,
170
+ "product-ship": 63,
171
+ "product-software": 64,
172
+ "product-train": 65,
173
+ "product-weapon": 66
174
+ },
175
+ "layer_norm_eps": 1e-12,
176
+ "length_penalty": 1.0,
177
+ "max_length": 20,
178
+ "max_position_embeddings": 512,
179
+ "min_length": 0,
180
+ "model_type": "bert",
181
+ "no_repeat_ngram_size": 0,
182
+ "num_attention_heads": 12,
183
+ "num_beam_groups": 1,
184
+ "num_beams": 1,
185
+ "num_hidden_layers": 12,
186
+ "num_return_sequences": 1,
187
+ "output_attentions": false,
188
+ "output_hidden_states": false,
189
+ "output_scores": false,
190
+ "pad_token_id": 0,
191
+ "position_embedding_type": "absolute",
192
+ "prefix": null,
193
+ "problem_type": null,
194
+ "pruned_heads": {},
195
+ "remove_invalid_values": false,
196
+ "repetition_penalty": 1.0,
197
+ "return_dict": true,
198
+ "return_dict_in_generate": false,
199
+ "sep_token_id": null,
200
+ "suppress_tokens": null,
201
+ "task_specific_params": null,
202
+ "temperature": 1.0,
203
+ "tf_legacy_loss": false,
204
+ "tie_encoder_decoder": false,
205
+ "tie_word_embeddings": true,
206
+ "tokenizer_class": null,
207
+ "top_k": 50,
208
+ "top_p": 1.0,
209
+ "torch_dtype": null,
210
+ "torchscript": false,
211
+ "transformers_version": "4.27.2",
212
+ "type_vocab_size": 2,
213
+ "typical_p": 1.0,
214
+ "use_bfloat16": false,
215
+ "use_cache": true,
216
+ "vocab_size": 28998
217
+ },
218
+ "entity_max_length": 16,
219
+ "marker_max_length": 256,
220
+ "model_max_length": null,
221
+ "model_max_length_default": 512,
222
+ "model_type": "span-marker",
223
+ "outside_id": 0,
224
+ "torch_dtype": "float32",
225
+ "transformers_version": "4.27.2",
226
+ "vocab_size": 28998
227
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6769de9d368d9f26b05b55aaa1de6f6ab60e8c71a73b20c4ef8527b7653f60a4
3
+ size 433729717