Text Classification
Transformers
Safetensors
English
bert
multi-text-classification
classification
intent-classification
intent-detection
nlp
natural-language-processing
edge-ai
iot
smart-home
location-intelligence
voice-assistant
conversational-ai
real-time
bert-local
bert-mini
local-search
business-category-classification
fast-inference
lightweight-model
on-device-nlp
offline-nlp
mobile-ai
multilingual-nlp
intent-routing
category-detection
query-understanding
artificial-intelligence
assistant-ai
smart-cities
customer-support
productivity-tools
contextual-ai
semantic-search
user-intent
microservices
smart-query-routing
industry-application
aiops
domain-specific-nlp
location-aware-ai
intelligent-routing
edge-nlp
smart-query-classifier
zero-shot-classification
smart-search
location-awareness
contextual-intelligence
geolocation
query-classification
multilingual-intent
chatbot-nlp
enterprise-ai
sdk-integration
api-ready
developer-tools
real-world-ai
geo-intelligence
embedded-ai
smart-routing
voice-interface
smart-devices
contextual-routing
fast-nlp
data-driven-ai
inference-optimization
digital-assistants
neural-nlp
ai-automation
lightweight-transformers
Upload 5 files
Browse files- config.json +309 -0
- model.safetensors +3 -0
- special_tokens_map.json +37 -0
- tokenizer_config.json +58 -0
- vocab.txt +0 -0
config.json
ADDED
@@ -0,0 +1,309 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"BertForSequenceClassification"
|
4 |
+
],
|
5 |
+
"attention_probs_dropout_prob": 0.1,
|
6 |
+
"classifier_dropout": null,
|
7 |
+
"hidden_act": "gelu",
|
8 |
+
"hidden_dropout_prob": 0.1,
|
9 |
+
"hidden_size": 128,
|
10 |
+
"id2label": {
|
11 |
+
"0": "accounting firm",
|
12 |
+
"1": "airport",
|
13 |
+
"2": "amusement park",
|
14 |
+
"3": "aquarium",
|
15 |
+
"4": "art gallery",
|
16 |
+
"5": "atm",
|
17 |
+
"6": "auto dealership",
|
18 |
+
"7": "auto repair shop",
|
19 |
+
"8": "bakery",
|
20 |
+
"9": "bank",
|
21 |
+
"10": "bar",
|
22 |
+
"11": "barber shop",
|
23 |
+
"12": "beach",
|
24 |
+
"13": "bicycle store",
|
25 |
+
"14": "book store",
|
26 |
+
"15": "bowling alley",
|
27 |
+
"16": "bus station",
|
28 |
+
"17": "butcher shop",
|
29 |
+
"18": "cafe",
|
30 |
+
"19": "camera store",
|
31 |
+
"20": "campground",
|
32 |
+
"21": "car rental",
|
33 |
+
"22": "car wash",
|
34 |
+
"23": "casino",
|
35 |
+
"24": "cemetery",
|
36 |
+
"25": "church",
|
37 |
+
"26": "city hall",
|
38 |
+
"27": "clinic",
|
39 |
+
"28": "clothing store",
|
40 |
+
"29": "coffee shop",
|
41 |
+
"30": "community center",
|
42 |
+
"31": "convenience store",
|
43 |
+
"32": "cooking school",
|
44 |
+
"33": "copy center",
|
45 |
+
"34": "courier service",
|
46 |
+
"35": "courthouse",
|
47 |
+
"36": "craft store",
|
48 |
+
"37": "dance studio",
|
49 |
+
"38": "dentist",
|
50 |
+
"39": "department store",
|
51 |
+
"40": "doctors office",
|
52 |
+
"41": "drugstore",
|
53 |
+
"42": "dry cleaner",
|
54 |
+
"43": "electrician",
|
55 |
+
"44": "electronics store",
|
56 |
+
"45": "elementary school",
|
57 |
+
"46": "embassy",
|
58 |
+
"47": "fire station",
|
59 |
+
"48": "florist",
|
60 |
+
"49": "flower shop",
|
61 |
+
"50": "funeral home",
|
62 |
+
"51": "furniture store",
|
63 |
+
"52": "gaming center",
|
64 |
+
"53": "gardening service",
|
65 |
+
"54": "gas station",
|
66 |
+
"55": "gift shop",
|
67 |
+
"56": "government office",
|
68 |
+
"57": "grocery store",
|
69 |
+
"58": "gym",
|
70 |
+
"59": "hair salon",
|
71 |
+
"60": "handyman",
|
72 |
+
"61": "hardware store",
|
73 |
+
"62": "hindu temple",
|
74 |
+
"63": "home goods store",
|
75 |
+
"64": "hospital",
|
76 |
+
"65": "hotel",
|
77 |
+
"66": "house cleaning",
|
78 |
+
"67": "house painter",
|
79 |
+
"68": "insurance agency",
|
80 |
+
"69": "internet cafe",
|
81 |
+
"70": "jewelry store",
|
82 |
+
"71": "language school",
|
83 |
+
"72": "laundromat",
|
84 |
+
"73": "lawyer",
|
85 |
+
"74": "library",
|
86 |
+
"75": "light rail station",
|
87 |
+
"76": "locksmith",
|
88 |
+
"77": "lodging",
|
89 |
+
"78": "market",
|
90 |
+
"79": "meal delivery service",
|
91 |
+
"80": "mosque",
|
92 |
+
"81": "movie theater",
|
93 |
+
"82": "moving company",
|
94 |
+
"83": "museum",
|
95 |
+
"84": "music school",
|
96 |
+
"85": "music store",
|
97 |
+
"86": "nail salon",
|
98 |
+
"87": "night club",
|
99 |
+
"88": "nursery",
|
100 |
+
"89": "office supply store",
|
101 |
+
"90": "park",
|
102 |
+
"91": "parking lot",
|
103 |
+
"92": "pest control service",
|
104 |
+
"93": "pet grooming",
|
105 |
+
"94": "pet store",
|
106 |
+
"95": "pharmacy",
|
107 |
+
"96": "photography studio",
|
108 |
+
"97": "physiotherapist",
|
109 |
+
"98": "piercing shop",
|
110 |
+
"99": "plumbing service",
|
111 |
+
"100": "police station",
|
112 |
+
"101": "post office",
|
113 |
+
"102": "print shop",
|
114 |
+
"103": "public library",
|
115 |
+
"104": "public restroom",
|
116 |
+
"105": "real estate agency",
|
117 |
+
"106": "recycling center",
|
118 |
+
"107": "restaurant",
|
119 |
+
"108": "roofing contractor",
|
120 |
+
"109": "rv park",
|
121 |
+
"110": "school",
|
122 |
+
"111": "shipping center",
|
123 |
+
"112": "shoe store",
|
124 |
+
"113": "shopping mall",
|
125 |
+
"114": "skating rink",
|
126 |
+
"115": "snow removal service",
|
127 |
+
"116": "spa",
|
128 |
+
"117": "sport store",
|
129 |
+
"118": "stadium",
|
130 |
+
"119": "stationary store",
|
131 |
+
"120": "storage facility",
|
132 |
+
"121": "subway station",
|
133 |
+
"122": "supermarket",
|
134 |
+
"123": "swimming pool",
|
135 |
+
"124": "synagogue",
|
136 |
+
"125": "tailor",
|
137 |
+
"126": "tattoo parlor",
|
138 |
+
"127": "taxi stand",
|
139 |
+
"128": "tire shop",
|
140 |
+
"129": "tourist attraction",
|
141 |
+
"130": "toy lending library",
|
142 |
+
"131": "toy store",
|
143 |
+
"132": "train station",
|
144 |
+
"133": "transit station",
|
145 |
+
"134": "travel agency",
|
146 |
+
"135": "university",
|
147 |
+
"136": "video rental store",
|
148 |
+
"137": "wine shop",
|
149 |
+
"138": "yoga studio",
|
150 |
+
"139": "zoo"
|
151 |
+
},
|
152 |
+
"initializer_range": 0.02,
|
153 |
+
"intermediate_size": 512,
|
154 |
+
"label2id": {
|
155 |
+
"accounting firm": 0,
|
156 |
+
"airport": 1,
|
157 |
+
"amusement park": 2,
|
158 |
+
"aquarium": 3,
|
159 |
+
"art gallery": 4,
|
160 |
+
"atm": 5,
|
161 |
+
"auto dealership": 6,
|
162 |
+
"auto repair shop": 7,
|
163 |
+
"bakery": 8,
|
164 |
+
"bank": 9,
|
165 |
+
"bar": 10,
|
166 |
+
"barber shop": 11,
|
167 |
+
"beach": 12,
|
168 |
+
"bicycle store": 13,
|
169 |
+
"book store": 14,
|
170 |
+
"bowling alley": 15,
|
171 |
+
"bus station": 16,
|
172 |
+
"butcher shop": 17,
|
173 |
+
"cafe": 18,
|
174 |
+
"camera store": 19,
|
175 |
+
"campground": 20,
|
176 |
+
"car rental": 21,
|
177 |
+
"car wash": 22,
|
178 |
+
"casino": 23,
|
179 |
+
"cemetery": 24,
|
180 |
+
"church": 25,
|
181 |
+
"city hall": 26,
|
182 |
+
"clinic": 27,
|
183 |
+
"clothing store": 28,
|
184 |
+
"coffee shop": 29,
|
185 |
+
"community center": 30,
|
186 |
+
"convenience store": 31,
|
187 |
+
"cooking school": 32,
|
188 |
+
"copy center": 33,
|
189 |
+
"courier service": 34,
|
190 |
+
"courthouse": 35,
|
191 |
+
"craft store": 36,
|
192 |
+
"dance studio": 37,
|
193 |
+
"dentist": 38,
|
194 |
+
"department store": 39,
|
195 |
+
"doctors office": 40,
|
196 |
+
"drugstore": 41,
|
197 |
+
"dry cleaner": 42,
|
198 |
+
"electrician": 43,
|
199 |
+
"electronics store": 44,
|
200 |
+
"elementary school": 45,
|
201 |
+
"embassy": 46,
|
202 |
+
"fire station": 47,
|
203 |
+
"florist": 48,
|
204 |
+
"flower shop": 49,
|
205 |
+
"funeral home": 50,
|
206 |
+
"furniture store": 51,
|
207 |
+
"gaming center": 52,
|
208 |
+
"gardening service": 53,
|
209 |
+
"gas station": 54,
|
210 |
+
"gift shop": 55,
|
211 |
+
"government office": 56,
|
212 |
+
"grocery store": 57,
|
213 |
+
"gym": 58,
|
214 |
+
"hair salon": 59,
|
215 |
+
"handyman": 60,
|
216 |
+
"hardware store": 61,
|
217 |
+
"hindu temple": 62,
|
218 |
+
"home goods store": 63,
|
219 |
+
"hospital": 64,
|
220 |
+
"hotel": 65,
|
221 |
+
"house cleaning": 66,
|
222 |
+
"house painter": 67,
|
223 |
+
"insurance agency": 68,
|
224 |
+
"internet cafe": 69,
|
225 |
+
"jewelry store": 70,
|
226 |
+
"language school": 71,
|
227 |
+
"laundromat": 72,
|
228 |
+
"lawyer": 73,
|
229 |
+
"library": 74,
|
230 |
+
"light rail station": 75,
|
231 |
+
"locksmith": 76,
|
232 |
+
"lodging": 77,
|
233 |
+
"market": 78,
|
234 |
+
"meal delivery service": 79,
|
235 |
+
"mosque": 80,
|
236 |
+
"movie theater": 81,
|
237 |
+
"moving company": 82,
|
238 |
+
"museum": 83,
|
239 |
+
"music school": 84,
|
240 |
+
"music store": 85,
|
241 |
+
"nail salon": 86,
|
242 |
+
"night club": 87,
|
243 |
+
"nursery": 88,
|
244 |
+
"office supply store": 89,
|
245 |
+
"park": 90,
|
246 |
+
"parking lot": 91,
|
247 |
+
"pest control service": 92,
|
248 |
+
"pet grooming": 93,
|
249 |
+
"pet store": 94,
|
250 |
+
"pharmacy": 95,
|
251 |
+
"photography studio": 96,
|
252 |
+
"physiotherapist": 97,
|
253 |
+
"piercing shop": 98,
|
254 |
+
"plumbing service": 99,
|
255 |
+
"police station": 100,
|
256 |
+
"post office": 101,
|
257 |
+
"print shop": 102,
|
258 |
+
"public library": 103,
|
259 |
+
"public restroom": 104,
|
260 |
+
"real estate agency": 105,
|
261 |
+
"recycling center": 106,
|
262 |
+
"restaurant": 107,
|
263 |
+
"roofing contractor": 108,
|
264 |
+
"rv park": 109,
|
265 |
+
"school": 110,
|
266 |
+
"shipping center": 111,
|
267 |
+
"shoe store": 112,
|
268 |
+
"shopping mall": 113,
|
269 |
+
"skating rink": 114,
|
270 |
+
"snow removal service": 115,
|
271 |
+
"spa": 116,
|
272 |
+
"sport store": 117,
|
273 |
+
"stadium": 118,
|
274 |
+
"stationary store": 119,
|
275 |
+
"storage facility": 120,
|
276 |
+
"subway station": 121,
|
277 |
+
"supermarket": 122,
|
278 |
+
"swimming pool": 123,
|
279 |
+
"synagogue": 124,
|
280 |
+
"tailor": 125,
|
281 |
+
"tattoo parlor": 126,
|
282 |
+
"taxi stand": 127,
|
283 |
+
"tire shop": 128,
|
284 |
+
"tourist attraction": 129,
|
285 |
+
"toy lending library": 130,
|
286 |
+
"toy store": 131,
|
287 |
+
"train station": 132,
|
288 |
+
"transit station": 133,
|
289 |
+
"travel agency": 134,
|
290 |
+
"university": 135,
|
291 |
+
"video rental store": 136,
|
292 |
+
"wine shop": 137,
|
293 |
+
"yoga studio": 138,
|
294 |
+
"zoo": 139
|
295 |
+
},
|
296 |
+
"layer_norm_eps": 1e-12,
|
297 |
+
"max_position_embeddings": 512,
|
298 |
+
"model_type": "bert",
|
299 |
+
"num_attention_heads": 2,
|
300 |
+
"num_hidden_layers": 4,
|
301 |
+
"pad_token_id": 0,
|
302 |
+
"position_embedding_type": "absolute",
|
303 |
+
"problem_type": "single_label_classification",
|
304 |
+
"torch_dtype": "float32",
|
305 |
+
"transformers_version": "4.52.4",
|
306 |
+
"type_vocab_size": 2,
|
307 |
+
"use_cache": true,
|
308 |
+
"vocab_size": 30522
|
309 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:88a19082e48ab0c1c34a3bb8a1f1454b3ed76ba91c7408402a7f222d64c327cd
|
3 |
+
size 19210392
|
special_tokens_map.json
ADDED
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cls_token": {
|
3 |
+
"content": "[CLS]",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": false,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"mask_token": {
|
10 |
+
"content": "[MASK]",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": false,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"pad_token": {
|
17 |
+
"content": "[PAD]",
|
18 |
+
"lstrip": false,
|
19 |
+
"normalized": false,
|
20 |
+
"rstrip": false,
|
21 |
+
"single_word": false
|
22 |
+
},
|
23 |
+
"sep_token": {
|
24 |
+
"content": "[SEP]",
|
25 |
+
"lstrip": false,
|
26 |
+
"normalized": false,
|
27 |
+
"rstrip": false,
|
28 |
+
"single_word": false
|
29 |
+
},
|
30 |
+
"unk_token": {
|
31 |
+
"content": "[UNK]",
|
32 |
+
"lstrip": false,
|
33 |
+
"normalized": false,
|
34 |
+
"rstrip": false,
|
35 |
+
"single_word": false
|
36 |
+
}
|
37 |
+
}
|
tokenizer_config.json
ADDED
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"added_tokens_decoder": {
|
3 |
+
"0": {
|
4 |
+
"content": "[PAD]",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false,
|
9 |
+
"special": true
|
10 |
+
},
|
11 |
+
"100": {
|
12 |
+
"content": "[UNK]",
|
13 |
+
"lstrip": false,
|
14 |
+
"normalized": false,
|
15 |
+
"rstrip": false,
|
16 |
+
"single_word": false,
|
17 |
+
"special": true
|
18 |
+
},
|
19 |
+
"101": {
|
20 |
+
"content": "[CLS]",
|
21 |
+
"lstrip": false,
|
22 |
+
"normalized": false,
|
23 |
+
"rstrip": false,
|
24 |
+
"single_word": false,
|
25 |
+
"special": true
|
26 |
+
},
|
27 |
+
"102": {
|
28 |
+
"content": "[SEP]",
|
29 |
+
"lstrip": false,
|
30 |
+
"normalized": false,
|
31 |
+
"rstrip": false,
|
32 |
+
"single_word": false,
|
33 |
+
"special": true
|
34 |
+
},
|
35 |
+
"103": {
|
36 |
+
"content": "[MASK]",
|
37 |
+
"lstrip": false,
|
38 |
+
"normalized": false,
|
39 |
+
"rstrip": false,
|
40 |
+
"single_word": false,
|
41 |
+
"special": true
|
42 |
+
}
|
43 |
+
},
|
44 |
+
"clean_up_tokenization_spaces": true,
|
45 |
+
"cls_token": "[CLS]",
|
46 |
+
"do_basic_tokenize": true,
|
47 |
+
"do_lower_case": true,
|
48 |
+
"extra_special_tokens": {},
|
49 |
+
"mask_token": "[MASK]",
|
50 |
+
"model_max_length": 1000000000000000019884624838656,
|
51 |
+
"never_split": null,
|
52 |
+
"pad_token": "[PAD]",
|
53 |
+
"sep_token": "[SEP]",
|
54 |
+
"strip_accents": null,
|
55 |
+
"tokenize_chinese_chars": true,
|
56 |
+
"tokenizer_class": "BertTokenizer",
|
57 |
+
"unk_token": "[UNK]"
|
58 |
+
}
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|