patrickvonplaten
HF staff
commited on
Commit
3769631
1 Parent(s): 7d1a4b5

correct tokenizer

Browse files

Files changed (3) hide show
  1. special_tokens_map.json +1 -1450
  2. tokenizer_config.json +1 -1449
  3. vocab.json +1 -1450
special_tokens_map.json CHANGED
@@ -1,1450 +1 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
6
- <meta name="description" content="We’re on a journey to solve and democratize artificial intelligence through natural language.">
7
- <meta property="fb:app_id" content="1321688464574422">
8
- <meta name="twitter:card" content="summary_large_image">
9
- <meta name="twitter:site" content="@huggingface">
10
- <meta property="og:title" content="special_tokens_map.json · facebook/wav2vec2-base-960h at main">
11
- <meta property="og:type" content="website">
12
- <meta property="og:url" content="https://huggingface.co/facebook/wav2vec2-base-960h/blob/main/special_tokens_map.json">
13
- <meta property="og:image" content="https://huggingface.co/front/thumbnails/v2-2.png">
14
-
15
- <link rel="stylesheet" href="/front/build/style.d794683.css">
16
-
17
- <link rel="preconnect" href="https://fonts.gstatic.com" />
18
- <link
19
- href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700;1,900&display=swap"
20
- rel="stylesheet"
21
- />
22
- <link
23
- href="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;600;700&display=swap"
24
- rel="stylesheet"
25
- />
26
- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.12.0/dist/katex.min.css">
27
-
28
- <title>
29
- special_tokens_map.json · facebook/wav2vec2-base-960h at main
30
- </title>
31
- </head>
32
- <body class="flex flex-col min-h-screen viewer-blob">
33
- <header class="border-b border-gray-100 z-10">
34
- <div class="container flex items-center h-16">
35
- <div class="flex flex-1 items-center">
36
- <a class="flex flex-none items-center mr-5 lg:mr-6" href="/">
37
- <img alt="Hugging Face's logo" class="md:mr-2 w-7" src="/front/assets/huggingface_logo.svg">
38
- <span class="hidden text-lg font-bold whitespace-nowrap md:block">Hugging Face</span>
39
- </a>
40
-
41
- <div
42
- class="v2-quick-search relative flex-1 lg:max-w-sm mr-2 md:mr-4"
43
- search-type="all"
44
- url="/api/quicksearch-html"
45
- with-links="true"
46
- >
47
- <input
48
- autocomplete="off"
49
- class="v2-quick-search-input w-full h-9 pl-8 pr-3 border border-gray-200 shadow-inner rounded-lg outline-none focus:ring-2 focus:shadow-xl placeholder-gray-400 focus:ring-inset"
50
- name=""
51
- placeholder="Search models, datasets, users..."
52
-
53
- spellcheck="false"
54
- type="text"
55
- />
56
- <svg
57
- alt=""
58
- class="absolute left-2.5 top-2.5 text-gray-400"
59
- xmlns="http://www.w3.org/2000/svg"
60
- xmlns:xlink="http://www.w3.org/1999/xlink"
61
- aria-hidden="true"
62
- focusable="false"
63
- role="img"
64
- width="1em"
65
- height="1em"
66
- preserveAspectRatio="xMidYMid meet"
67
- viewBox="0 0 32 32"
68
- >
69
- <path
70
- d="M30 28.59L22.45 21A11 11 0 1 0 21 22.45L28.59 30zM5 14a9 9 0 1 1 9 9a9 9 0 0 1-9-9z"
71
- fill="currentColor"
72
- ></path>
73
- </svg>
74
- <ul
75
- class="v2-quick-search-results z-40 hidden absolute w-full overflow-hidden text-sm bg-white border border-gray-100 rounded-lg shadow-lg divide-y divide-gray-100"
76
- role="listbox"
77
- ></ul>
78
- </div>
79
- <button
80
- id="v2-phone-nav-button"
81
- class="lg:hidden relative flex-none place-self-stretch flex items-center justify-center w-8"
82
- type="button"
83
- >
84
- <svg
85
- alt=""
86
- class="v2-phone-nav-icon-open"
87
- xmlns="http://www.w3.org/2000/svg"
88
- xmlns:xlink="http://www.w3.org/1999/xlink"
89
- aria-hidden="true"
90
- focusable="false"
91
- role="img"
92
- width="22"
93
- height="22"
94
- preserveAspectRatio="xMidYMid meet"
95
- viewBox="0 0 32 32"
96
- >
97
- <path d="M4 24h24v2H4z" fill="currentColor"></path>
98
- <path d="M4 12h24v2H4z" fill="currentColor"></path>
99
- <path d="M4 18h24v2H4z" fill="currentColor"></path>
100
- <path d="M4 6h24v2H4z" fill="currentColor"></path>
101
- </svg>
102
- <svg
103
- alt=""
104
- class="v2-phone-nav-icon-close hidden"
105
- xmlns="http://www.w3.org/2000/svg"
106
- xmlns:xlink="http://www.w3.org/1999/xlink"
107
- aria-hidden="true"
108
- focusable="false"
109
- role="img"
110
- width="1.1em"
111
- height="1.1em"
112
- preserveAspectRatio="xMidYMid meet"
113
- viewBox="0 0 32 32"
114
- >
115
- <path
116
- d="M24 9.4L22.6 8L16 14.6L9.4 8L8 9.4l6.6 6.6L8 22.6L9.4 24l6.6-6.6l6.6 6.6l1.4-1.4l-6.6-6.6L24 9.4z"
117
- fill="currentColor"
118
- ></path>
119
- </svg>
120
- </button>
121
- </div>
122
- <nav
123
- aria-label="Main"
124
- class="ml-auto hidden lg:block"
125
- >
126
- <ul class="flex items-center space-x-6">
127
- <li>
128
- <a
129
- class="flex items-center group hover:text-indigo-700"
130
- href="/models"
131
- >
132
- <svg
133
- alt=""
134
- class="mr-1.5 text-gray-400 group-hover:text-indigo-500"
135
- xmlns="http://www.w3.org/2000/svg"
136
- xmlns:xlink="http://www.w3.org/1999/xlink"
137
- aria-hidden="true"
138
- focusable="false"
139
- role="img"
140
- width="1em"
141
- height="1em"
142
- preserveAspectRatio="xMidYMid meet"
143
- viewBox="0 0 24 24"
144
- >
145
- <path
146
- class="uim-quaternary"
147
- d="M20.23 7.24L12 12L3.77 7.24a1.98 1.98 0 0 1 .7-.71L11 2.76c.62-.35 1.38-.35 2 0l6.53 3.77c.29.173.531.418.7.71z"
148
- opacity=".25"
149
- fill="currentColor"
150
- ></path>
151
- <path
152
- class="uim-tertiary"
153
- d="M12 12v9.5a2.09 2.09 0 0 1-.91-.21L4.5 17.48a2.003 2.003 0 0 1-1-1.73v-7.5a2.06 2.06 0 0 1 .27-1.01L12 12z"
154
- opacity=".5"
155
- fill="currentColor"
156
- ></path>
157
- <path
158
- class="uim-primary"
159
- d="M20.5 8.25v7.5a2.003 2.003 0 0 1-1 1.73l-6.62 3.82c-.275.13-.576.198-.88.2V12l8.23-4.76c.175.308.268.656.27 1.01z"
160
- fill="currentColor"
161
- ></path>
162
- </svg>
163
- Models
164
- </a>
165
- </li>
166
- <li>
167
- <a
168
- class="flex items-center group hover:text-red-700"
169
- href="/datasets"
170
- >
171
- <svg
172
- class="mr-1.5 text-gray-400 group-hover:text-red-500"
173
- xmlns="http://www.w3.org/2000/svg"
174
- xmlns:xlink="http://www.w3.org/1999/xlink"
175
- alt=""
176
- aria-hidden="true"
177
- focusable="false"
178
- role="img"
179
- width="1em"
180
- height="1em"
181
- preserveAspectRatio="xMidYMid meet"
182
- viewBox="0 0 25 25"
183
- >
184
- <ellipse
185
- cx="12.5"
186
- cy="5"
187
- fill="currentColor"
188
- fill-opacity="0.25"
189
- rx="7.5"
190
- ry="2"
191
- ></ellipse>
192
- <path
193
- d="M12.5 15C16.6421 15 20 14.1046 20 13V20C20 21.1046 16.6421 22 12.5 22C8.35786 22 5 21.1046 5 20V13C5 14.1046 8.35786 15 12.5 15Z"
194
- fill="currentColor"
195
- opacity="0.5"
196
- ></path>
197
- <path
198
- d="M12.5 7C16.6421 7 20 6.10457 20 5V11.5C20 12.6046 16.6421 13.5 12.5 13.5C8.35786 13.5 5 12.6046 5 11.5V5C5 6.10457 8.35786 7 12.5 7Z"
199
- fill="currentColor"
200
- opacity="0.5"
201
- ></path>
202
- <path
203
- d="M5.23628 12C5.08204 12.1598 5 12.8273 5 13C5 14.1046 8.35786 15 12.5 15C16.6421 15 20 14.1046 20 13C20 12.8273 19.918 12.1598 19.7637 12C18.9311 12.8626 15.9947 13.5 12.5 13.5C9.0053 13.5 6.06886 12.8626 5.23628 12Z"
204
- fill="currentColor"
205
- ></path>
206
- </svg>
207
- Datasets
208
- </a>
209
- </li>
210
- <li>
211
- <a
212
- class="flex items-center group hover:text-gray-500"
213
- href="/pricing"
214
- >
215
- Pricing
216
- </a>
217
- </li>
218
- <li class="b-r">
219
- <div
220
- class="v2-dropdown relative "
221
-
222
- >
223
- <button
224
- class="v2-dropdown-button cursor-pointer hover:text-gray-500 flex items-center"
225
- slot="trigger"
226
- type="button"
227
- >
228
- <svg alt=""
229
- class="mr-2 text-gray-400 fill-current w-3"
230
- xmlns="http://www.w3.org/2000/svg"
231
- xmlns:xlink="http://www.w3.org/1999/xlink"
232
- aria-hidden="true"
233
- focusable="false"
234
- role="img"
235
- width="1em"
236
- height="1em"
237
- viewBox="0 0 11 8"
238
- preserveAspectRatio="xMidYMid meet">
239
- <path fill-rule="evenodd" clip-rule="evenodd" d="M11 1.5H0V0.5H11V1.5ZM11 7.5H0V6.5H11V7.5ZM0 4.5H11V3.5H0V4.5Z" />
240
- </svg>
241
- Resources
242
- </button><div
243
- class="v2-dropdown-menu hidden absolute mt-1 min-w-full bg-white rounded-xl overflow-hidden shadow-lg z-10 border border-gray-100 right-0 top-full "
244
- >
245
- <ul class="min-w-full w-52">
246
- <li>
247
- <div
248
- class="col-span-2 -mx-2 px-4 flex items-center font-semibold bg-gradient-to-r to-white h-7 text-blue-800 from-blue-50"
249
- >
250
- Website
251
- </div> <ul>
252
- <li>
253
- <a
254
- class="v2-dropdown-entry flex items-center hover:bg-gray-50 cursor-pointer
255
- hover:underline
256
- px-3 py-1.5
257
-
258
- "
259
-
260
-
261
- href="/metrics"
262
-
263
- >
264
- <svg
265
- alt=""
266
- class="text-gray-400 mr-1.5"
267
- xmlns="http://www.w3.org/2000/svg"
268
- xmlns:xlink="http://www.w3.org/1999/xlink"
269
- aria-hidden="true"
270
- focusable="false"
271
- role="img"
272
- width="1em"
273
- height="1em"
274
- preserveAspectRatio="xMidYMid meet"
275
- viewBox="0 0 24 24"
276
- >
277
- <path
278
- class="uim-quaternary"
279
- d="M6 23H2a1 1 0 0 1-1-1v-8a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1z"
280
- opacity=".25"
281
- fill="currentColor"
282
- ></path>
283
- <path
284
- class="uim-primary"
285
- d="M14 23h-4a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v20a1 1 0 0 1-1 1z"
286
- fill="currentColor"
287
- ></path>
288
- <path
289
- class="uim-tertiary"
290
- d="M22 23h-4a1 1 0 0 1-1-1V10a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1z"
291
- opacity=".5"
292
- fill="currentColor"
293
- ></path>
294
- </svg>
295
- Metrics
296
- </a>
297
- </li>
298
- <li>
299
- <a
300
- class="v2-dropdown-entry flex items-center hover:bg-gray-50 cursor-pointer
301
- hover:underline
302
- px-3 py-1.5
303
-
304
- "
305
-
306
-
307
- href="/languages"
308
-
309
- >
310
- <svg
311
- alt=""
312
- class="text-gray-400 mr-1.5"
313
- xmlns="http://www.w3.org/2000/svg"
314
- xmlns:xlink="http://www.w3.org/1999/xlink"
315
- aria-hidden="true"
316
- focusable="false"
317
- role="img"
318
- width="1em"
319
- height="1em"
320
- preserveAspectRatio="xMidYMid meet"
321
- viewBox="0 0 24 24"
322
- >
323
- <path
324
- class="uim-primary"
325
- d="M17 13H7a1 1 0 0 1 0-2h10a1 1 0 0 1 0 2z"
326
- fill="currentColor"
327
- ></path>
328
- <path
329
- class="uim-tertiary"
330
- d="M12 2a10 10 0 0 0-7.743 16.33l-1.964 1.963A1 1 0 0 0 3 22h9a10 10 0 0 0 0-20zM9 7h6a1 1 0 0 1 0 2H9a1 1 0 0 1 0-2zm6 10H9a1 1 0 0 1 0-2h6a1 1 0 0 1 0 2zm2-4H7a1 1 0 0 1 0-2h10a1 1 0 0 1 0 2z"
331
- opacity=".5"
332
- fill="currentColor"
333
- ></path>
334
- <path
335
- class="uim-primary"
336
- d="M15 17H9a1 1 0 0 1 0-2h6a1 1 0 0 1 0 2zm0-8H9a1 1 0 0 1 0-2h6a1 1 0 0 1 0 2z"
337
- fill="currentColor"
338
- ></path>
339
- </svg>
340
- Languages
341
- </a>
342
- </li>
343
- <li>
344
- <a
345
- class="v2-dropdown-entry flex items-center hover:bg-gray-50 cursor-pointer
346
- hover:underline
347
- px-3 py-1.5
348
-
349
- "
350
-
351
-
352
- href="/organizations"
353
-
354
- >
355
- <svg
356
- alt=""
357
- class="text-gray-400 mr-1.5"
358
- xmlns="http://www.w3.org/2000/svg"
359
- xmlns:xlink="http://www.w3.org/1999/xlink"
360
- aria-hidden="true"
361
- focusable="false"
362
- role="img"
363
- width="1em"
364
- height="1em"
365
- preserveAspectRatio="xMidYMid meet"
366
- viewBox="0 0 24 24"
367
- >
368
- <path
369
- class="uim-tertiary"
370
- d="M12 18a3.5 3.5 0 1 1 3.5-3.5A3.504 3.504 0 0 1 12 18z"
371
- opacity=".5"
372
- fill="currentColor"
373
- ></path>
374
- <path
375
- class="uim-primary"
376
- d="M14.64 16.772a3.452 3.452 0 0 1-5.28 0A4.988 4.988 0 0 0 7 21a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1a4.988 4.988 0 0 0-2.36-4.228z"
377
- fill="currentColor"
378
- ></path>
379
- <path
380
- class="uim-tertiary"
381
- d="M21 12a.996.996 0 0 1-.664-.252L12 4.338l-8.336 7.41a1 1 0 0 1-1.328-1.496l9-8a.999.999 0 0 1 1.328 0l9 8A1 1 0 0 1 21 12z"
382
- opacity=".5"
383
- fill="currentColor"
384
- ></path>
385
- <path
386
- class="uim-quaternary"
387
- d="M12 4.338l-8 7.111V21a1 1 0 0 0 1 1h3a1 1 0 0 1-1-1a4.988 4.988 0 0 1 2.36-4.228A3.469 3.469 0 0 1 8.5 14.5a3.5 3.5 0 0 1 7 0a3.469 3.469 0 0 1-.86 2.272A4.988 4.988 0 0 1 17 21a1 1 0 0 1-1 1h3a1 1 0 0 0 1-1v-9.551z"
388
- opacity=".25"
389
- fill="currentColor"
390
- ></path>
391
- </svg>
392
- Organizations
393
- </a>
394
- </li>
395
- </ul>
396
- </li>
397
- <li>
398
- <div
399
- class="col-span-2 -mx-2 px-4 flex items-center font-semibold bg-gradient-to-r to-white h-7 text-yellow-800 from-yellow-50"
400
- >
401
- Community
402
- </div> <ul>
403
- <li>
404
- <a
405
- class="v2-dropdown-entry flex items-center hover:bg-gray-50 cursor-pointer
406
- hover:underline
407
- px-3 py-1.5
408
-
409
- "
410
-
411
-
412
- href="https://discuss.huggingface.co/"
413
- target="_blank"
414
- >
415
- Forum
416
- </a>
417
- </li>
418
- <li>
419
- <a
420
- class="v2-dropdown-entry flex items-center hover:bg-gray-50 cursor-pointer
421
- hover:underline
422
- px-3 py-1.5
423
-
424
- "
425
-
426
-
427
- href="/blog"
428
-
429
- >
430
- Blog
431
- </a>
432
- </li>
433
- <li>
434
- <a
435
- class="v2-dropdown-entry flex items-center hover:bg-gray-50 cursor-pointer
436
- hover:underline
437
- px-3 py-1.5
438
-
439
- "
440
-
441
-
442
- href="https://github.com/huggingface"
443
- target="_blank"
444
- >
445
- GitHub
446
- </a>
447
- </li>
448
- </ul>
449
- </li>
450
- <li>
451
- <div
452
- class="col-span-2 -mx-2 px-4 flex items-center font-semibold bg-gradient-to-r to-white h-7 text-green-800 from-green-50"
453
- >
454
- Documentation
455
- </div> <ul>
456
- <li>
457
- <a
458
- class="v2-dropdown-entry flex items-center hover:bg-gray-50 cursor-pointer
459
- hover:underline
460
- px-3 py-1.5
461
-
462
- "
463
-
464
-
465
- href="/docs"
466
-
467
- >
468
- Model Hub doc
469
- </a>
470
- </li>
471
- <li>
472
- <a
473
- class="v2-dropdown-entry flex items-center hover:bg-gray-50 cursor-pointer
474
- hover:underline
475
- px-3 py-1.5
476
-
477
- "
478
-
479
-
480
- href="https://api-inference.huggingface.co/docs/"
481
- target="_blank"
482
- >
483
- Inference API doc
484
- </a>
485
- </li>
486
- <li>
487
- <a
488
- class="v2-dropdown-entry flex items-center hover:bg-gray-50 cursor-pointer
489
- hover:underline
490
- px-3 py-1.5
491
-
492
- "
493
-
494
-
495
- href="/transformers/"
496
-
497
- >
498
- Transformers doc
499
- </a>
500
- </li>
501
- <li>
502
- <a
503
- class="v2-dropdown-entry flex items-center hover:bg-gray-50 cursor-pointer
504
- hover:underline
505
- px-3 py-1.5
506
-
507
- "
508
-
509
-
510
- href="/docs/tokenizers/python/latest/"
511
-
512
- >
513
- Tokenizers doc
514
- </a>
515
- </li>
516
- <li>
517
- <a
518
- class="v2-dropdown-entry flex items-center hover:bg-gray-50 cursor-pointer
519
- hover:underline
520
- px-3 py-1.5
521
-
522
- "
523
-
524
-
525
- href="/docs/datasets/"
526
-
527
- >
528
- Datasets doc
529
- </a>
530
- </li>
531
- </ul>
532
- </li>
533
- </ul>
534
- </div></div>
535
- </li>
536
- <li>
537
- <hr class="w-0.5 h-5 bg-gray-100" />
538
- </li>
539
- <li>
540
- <a
541
- class="block cursor-pointer hover:text-gray-500"
542
- href="/login"
543
- >
544
- Log In
545
- </a>
546
- </li>
547
- <li>
548
- <a
549
- class="btn"
550
- href="/join"
551
- >
552
- Sign Up
553
- </a>
554
- </li>
555
- </ul>
556
- </nav>
557
- <div
558
- id="v2-phone-nav-menu"
559
- class="hidden lg:hidden z-20 fixed bg-white top-16 inset-0 overflow-y-auto"
560
- >
561
- <nav aria-label="Main">
562
- <ul class="px-2 pb-4 space-y-4">
563
- <li class="space-y-2.5">
564
- <div
565
- class="-mx-2 flex items-center px-2 font-semibold
566
- text-purple-800 bg-gradient-to-r from-purple-50 to-white h-7"
567
- >
568
- Account
569
- </div>
570
- <ul class="grid gap-2.5 grid-cols-2 content-start">
571
- <li>
572
- <a class="btn w-full v2-dropdown-entry" href="/login">
573
- Log In
574
- </a>
575
- </li>
576
- <li>
577
- <a class="btn w-full v2-dropdown-entry" href="/join">
578
- Sign Up
579
- </a>
580
- </li>
581
- </ul>
582
- </li>
583
- <li class="space-y-2.5">
584
- <div
585
- class="-mx-2 flex items-center px-2 font-semibold text-blue-800
586
- bg-gradient-to-r from-blue-50 to-white h-7"
587
- >
588
- Website
589
- </div>
590
- <ul class="grid gap-2.5 grid-cols-2 content-start">
591
- <li>
592
- <a href="/models" class="btn w-full v2-dropdown-entry">
593
- <svg
594
- alt=""
595
- class="text-gray-400 mr-1.5"
596
- xmlns="http://www.w3.org/2000/svg"
597
- xmlns:xlink="http://www.w3.org/1999/xlink"
598
- aria-hidden="true"
599
- focusable="false"
600
- role="img"
601
- width="1em"
602
- height="1em"
603
- preserveAspectRatio="xMidYMid meet"
604
- viewBox="0 0 24 24"
605
- >
606
- <path
607
- class="uim-quaternary"
608
- d="M20.23 7.24L12 12L3.77 7.24a1.98 1.98 0 0 1 .7-.71L11 2.76c.62-.35 1.38-.35 2 0l6.53 3.77c.29.173.531.418.7.71z"
609
- opacity=".25"
610
- fill="currentColor"
611
- ></path>
612
- <path
613
- class="uim-tertiary"
614
- d="M12 12v9.5a2.09 2.09 0 0 1-.91-.21L4.5 17.48a2.003 2.003 0 0 1-1-1.73v-7.5a2.06 2.06 0 0 1 .27-1.01L12 12z"
615
- opacity=".5"
616
- fill="currentColor"
617
- ></path>
618
- <path
619
- class="uim-primary"
620
- d="M20.5 8.25v7.5a2.003 2.003 0 0 1-1 1.73l-6.62 3.82c-.275.13-.576.198-.88.2V12l8.23-4.76c.175.308.268.656.27 1.01z"
621
- fill="currentColor"
622
- ></path>
623
- </svg>
624
- Models
625
- </a>
626
- </li>
627
- <li>
628
- <a href="/datasets" class="btn w-full v2-dropdown-entry">
629
- <svg
630
- class="text-gray-400 mr-1.5"
631
- xmlns="http://www.w3.org/2000/svg"
632
- xmlns:xlink="http://www.w3.org/1999/xlink"
633
- alt=""
634
- aria-hidden="true"
635
- focusable="false"
636
- role="img"
637
- width="1em"
638
- height="1em"
639
- preserveAspectRatio="xMidYMid meet"
640
- viewBox="0 0 25 25"
641
- >
642
- <ellipse
643
- cx="12.5"
644
- cy="5"
645
- fill="currentColor"
646
- fill-opacity="0.25"
647
- rx="7.5"
648
- ry="2"
649
- ></ellipse>
650
- <path
651
- d="M12.5 15C16.6421 15 20 14.1046 20 13V20C20 21.1046 16.6421 22 12.5 22C8.35786 22 5 21.1046 5 20V13C5 14.1046 8.35786 15 12.5 15Z"
652
- fill="currentColor"
653
- opacity="0.5"
654
- ></path>
655
- <path
656
- d="M12.5 7C16.6421 7 20 6.10457 20 5V11.5C20 12.6046 16.6421 13.5 12.5 13.5C8.35786 13.5 5 12.6046 5 11.5V5C5 6.10457 8.35786 7 12.5 7Z"
657
- fill="currentColor"
658
- opacity="0.5"
659
- ></path>
660
- <path
661
- d="M5.23628 12C5.08204 12.1598 5 12.8273 5 13C5 14.1046 8.35786 15 12.5 15C16.6421 15 20 14.1046 20 13C20 12.8273 19.918 12.1598 19.7637 12C18.9311 12.8626 15.9947 13.5 12.5 13.5C9.0053 13.5 6.06886 12.8626 5.23628 12Z"
662
- fill="currentColor"
663
- ></path>
664
- </svg>
665
- Datasets
666
- </a>
667
- </li>
668
- <li>
669
- <a href="/metrics" class="btn w-full v2-dropdown-entry">
670
- <svg
671
- alt=""
672
- class="text-gray-400 mr-1.5"
673
- xmlns="http://www.w3.org/2000/svg"
674
- xmlns:xlink="http://www.w3.org/1999/xlink"
675
- aria-hidden="true"
676
- focusable="false"
677
- role="img"
678
- width="1em"
679
- height="1em"
680
- preserveAspectRatio="xMidYMid meet"
681
- viewBox="0 0 24 24"
682
- >
683
- <path
684
- class="uim-quaternary"
685
- d="M6 23H2a1 1 0 0 1-1-1v-8a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1z"
686
- opacity=".25"
687
- fill="currentColor"
688
- ></path>
689
- <path
690
- class="uim-primary"
691
- d="M14 23h-4a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v20a1 1 0 0 1-1 1z"
692
- fill="currentColor"
693
- ></path>
694
- <path
695
- class="uim-tertiary"
696
- d="M22 23h-4a1 1 0 0 1-1-1V10a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1z"
697
- opacity=".5"
698
- fill="currentColor"
699
- ></path>
700
- </svg>
701
- Metrics
702
- </a>
703
- </li>
704
- <li>
705
- <a href="/languages" class="btn w-full v2-dropdown-entry">
706
- <svg
707
- alt=""
708
- class="text-gray-400 mr-1.5"
709
- xmlns="http://www.w3.org/2000/svg"
710
- xmlns:xlink="http://www.w3.org/1999/xlink"
711
- aria-hidden="true"
712
- focusable="false"
713
- role="img"
714
- width="1em"
715
- height="1em"
716
- preserveAspectRatio="xMidYMid meet"
717
- viewBox="0 0 24 24"
718
- >
719
- <path
720
- class="uim-primary"
721
- d="M17 13H7a1 1 0 0 1 0-2h10a1 1 0 0 1 0 2z"
722
- fill="currentColor"
723
- ></path>
724
- <path
725
- class="uim-tertiary"
726
- d="M12 2a10 10 0 0 0-7.743 16.33l-1.964 1.963A1 1 0 0 0 3 22h9a10 10 0 0 0 0-20zM9 7h6a1 1 0 0 1 0 2H9a1 1 0 0 1 0-2zm6 10H9a1 1 0 0 1 0-2h6a1 1 0 0 1 0 2zm2-4H7a1 1 0 0 1 0-2h10a1 1 0 0 1 0 2z"
727
- opacity=".5"
728
- fill="currentColor"
729
- ></path>
730
- <path
731
- class="uim-primary"
732
- d="M15 17H9a1 1 0 0 1 0-2h6a1 1 0 0 1 0 2zm0-8H9a1 1 0 0 1 0-2h6a1 1 0 0 1 0 2z"
733
- fill="currentColor"
734
- ></path>
735
- </svg>
736
- Languages
737
- </a>
738
- </li>
739
- <li>
740
- <a href="/organizations" class="btn w-full v2-dropdown-entry">
741
- <svg
742
- alt=""
743
- class="text-gray-400 mr-1.5"
744
- xmlns="http://www.w3.org/2000/svg"
745
- xmlns:xlink="http://www.w3.org/1999/xlink"
746
- aria-hidden="true"
747
- focusable="false"
748
- role="img"
749
- width="1em"
750
- height="1em"
751
- preserveAspectRatio="xMidYMid meet"
752
- viewBox="0 0 24 24"
753
- >
754
- <path
755
- class="uim-tertiary"
756
- d="M12 18a3.5 3.5 0 1 1 3.5-3.5A3.504 3.504 0 0 1 12 18z"
757
- opacity=".5"
758
- fill="currentColor"
759
- ></path>
760
- <path
761
- class="uim-primary"
762
- d="M14.64 16.772a3.452 3.452 0 0 1-5.28 0A4.988 4.988 0 0 0 7 21a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1a4.988 4.988 0 0 0-2.36-4.228z"
763
- fill="currentColor"
764
- ></path>
765
- <path
766
- class="uim-tertiary"
767
- d="M21 12a.996.996 0 0 1-.664-.252L12 4.338l-8.336 7.41a1 1 0 0 1-1.328-1.496l9-8a.999.999 0 0 1 1.328 0l9 8A1 1 0 0 1 21 12z"
768
- opacity=".5"
769
- fill="currentColor"
770
- ></path>
771
- <path
772
- class="uim-quaternary"
773
- d="M12 4.338l-8 7.111V21a1 1 0 0 0 1 1h3a1 1 0 0 1-1-1a4.988 4.988 0 0 1 2.36-4.228A3.469 3.469 0 0 1 8.5 14.5a3.5 3.5 0 0 1 7 0a3.469 3.469 0 0 1-.86 2.272A4.988 4.988 0 0 1 17 21a1 1 0 0 1-1 1h3a1 1 0 0 0 1-1v-9.551z"
774
- opacity=".25"
775
- fill="currentColor"
776
- ></path>
777
- </svg>
778
- Organizations
779
- </a>
780
- </li>
781
- <li>
782
- <a href="/pricing" class="btn w-full v2-dropdown-entry">
783
- Pricing
784
- </a>
785
- </li>
786
- </ul>
787
- </li>
788
- <li class="space-y-2.5">
789
- <div
790
- class="-mx-2 flex items-center px-2 font-semibold
791
- text-yellow-800 bg-gradient-to-r from-yellow-50 to-white h-7"
792
- >
793
- Community
794
- </div>
795
- <ul class="grid gap-2.5 grid-cols-2 content-start">
796
- <li>
797
- <a href="https://discuss.huggingface.co/" class="btn w-full v2-dropdown-entry">
798
- Forum
799
- </a>
800
- </li>
801
- <li>
802
- <a href="/blog" class="btn w-full v2-dropdown-entry">
803
- Blog
804
- </a>
805
- </li>
806
- </ul>
807
- </li>
808
- <li class="space-y-2.5">
809
- <div
810
- class="-mx-2 flex items-center px-2 font-semibold
811
- text-green-800 bg-gradient-to-r from-green-50 to-white h-7"
812
- >
813
- Documentation
814
- </div>
815
- <ul class="grid gap-2.5 grid-cols-2 content-start">
816
- <li>
817
- <a href="/docs" class="btn w-full v2-dropdown-entry">
818
- Model Hub doc
819
- </a>
820
- </li>
821
- <li>
822
- <a href="https://api-inference.huggingface.co/docs/" class="btn w-full v2-dropdown-entry">
823
- Inference API doc
824
- </a>
825
- </li>
826
- <li>
827
- <a href="/transformers/" class="btn w-full v2-dropdown-entry">
828
- Transformers doc
829
- </a>
830
- </li>
831
- <li>
832
- <a href="/docs/tokenizers/python/latest/" class="btn w-full v2-dropdown-entry">
833
- Tokenizers doc
834
- </a>
835
- </li>
836
- <li>
837
- <a href="/docs/datasets/" class="btn w-full v2-dropdown-entry">
838
- Datasets doc
839
- </a>
840
- </li>
841
- </ul>
842
- </li>
843
- </ul>
844
- </nav>
845
- </div>
846
- </div>
847
- </header> <main class="flex flex-col flex-1 ">
848
- <header class="bg-gradient-to-t from-gray-50 via-white to-white pt-10">
849
- <div class="container relative">
850
- <h1 class="flex items-center flex-wrap font-mono md:text-xl mb-3">
851
- <div class="inline-flex items-center">
852
- <img
853
- class="w-4 h-4 rounded mr-1.5"
854
- alt="'s picture"
855
- src="https://aeiljuispo.cloudimg.io/v7/https://s3.amazonaws.com/moonup/production/uploads/1592839207516-noauth.png?w&#x3D;200&amp;h&#x3D;200&amp;f&#x3D;face"
856
- />
857
- <a href="/facebook" class="font-sans text-gray-400 hover:text-blue-600">
858
- facebook
859
- </a>
860
- <div class="text-gray-300 mx-0.5">/</div>
861
- </div>
862
- <div class="font-semibold">
863
- <a href="/facebook/wav2vec2-base-960h">
864
- wav2vec2-base-960h
865
- </a>
866
- </div>
867
- </h1>
868
- <div class="flex flex-wrap mb-5">
869
- <a class="
870
- tag
871
-
872
- tag-white
873
- "
874
- href="/models?pipeline_tag=automatic-speech-recognition"
875
- tag-id="automatic-speech-recognition"
876
- >
877
- <div class="tag-ico
878
- tag-ico-yellow
879
- ">
880
- <svg
881
- alt=""
882
- class=""
883
- xmlns="http://www.w3.org/2000/svg"
884
- xmlns:xlink="http://www.w3.org/1999/xlink"
885
- aria-hidden="true"
886
- focusable="false"
887
- role="img"
888
- width="1em"
889
- height="1em"
890
- preserveAspectRatio="xMidYMid meet"
891
- viewBox="0 0 18 18"
892
- >
893
- <path
894
- fill-rule="evenodd"
895
- clip-rule="evenodd"
896
- d="M8.38893 3.42133C7.9778 3.14662 7.49446 3 7 3C6.33696 3 5.70108 3.26339 5.23223 3.73223C4.76339 4.20107 4.5 4.83696 4.5 5.5C4.5 5.99445 4.64662 6.4778 4.92133 6.88893C5.19603 7.30005 5.58648 7.62048 6.04329 7.8097C6.50011 7.99892 7.00278 8.04843 7.48773 7.95196C7.97268 7.8555 8.41814 7.6174 8.76777 7.26777C9.1174 6.91814 9.3555 6.47268 9.45197 5.98773C9.54843 5.50277 9.49892 5.00011 9.3097 4.54329C9.12048 4.08648 8.80005 3.69603 8.38893 3.42133ZM5.05551 2.58986C5.63108 2.20527 6.30777 2 7 2C7.92826 2 8.8185 2.36875 9.47488 3.02513C10.1313 3.6815 10.5 4.57174 10.5 5.5C10.5 6.19223 10.2947 6.86892 9.91015 7.4445C9.52556 8.02007 8.97894 8.46867 8.33939 8.73358C7.69985 8.99849 6.99612 9.0678 6.31719 8.93275C5.63825 8.7977 5.01461 8.46436 4.52513 7.97487C4.03564 7.48539 3.7023 6.86175 3.56725 6.18282C3.4322 5.50388 3.50152 4.80015 3.76642 4.16061C4.03133 3.52107 4.47993 2.97444 5.05551 2.58986ZM14.85 9.6425L15.7075 10.5C15.8005 10.5927 15.8743 10.7029 15.9245 10.8242C15.9747 10.9456 16.0004 11.0757 16 11.207V16H2V13.5C2.00106 12.5721 2.37015 11.6824 3.0263 11.0263C3.68244 10.3701 4.57207 10.0011 5.5 10H8.5C9.42793 10.0011 10.3176 10.3701 10.9737 11.0263C11.6299 11.6824 11.9989 12.5721 12 13.5V15H15V11.207L14.143 10.35C13.9426 10.4476 13.7229 10.4989 13.5 10.5C13.2033 10.5 12.9133 10.412 12.6666 10.2472C12.42 10.0824 12.2277 9.84811 12.1142 9.57403C12.0006 9.29994 11.9709 8.99834 12.0288 8.70737C12.0867 8.41639 12.2296 8.14912 12.4393 7.93934C12.6491 7.72956 12.9164 7.5867 13.2074 7.52882C13.4983 7.47094 13.7999 7.50065 14.074 7.61418C14.3481 7.72771 14.5824 7.91997 14.7472 8.16665C14.912 8.41332 15 8.70333 15 9C14.9988 9.22271 14.9475 9.44229 14.85 9.6425ZM3.73311 11.7331C3.26444 12.2018 3.00079 12.8372 3 13.5V15H11V13.5C10.9992 12.8372 10.7356 12.2018 10.2669 11.7331C9.79822 11.2644 9.1628 11.0008 8.5 11H5.5C4.8372 11.0008 4.20178 11.2644 3.73311 11.7331Z"
897
- fill="currentColor"
898
- ></path>
899
- </svg>
900
- </div>
901
- <span>
902
- Automatic Speech Recognition
903
- </span>
904
-
905
- </a>
906
- <a class="
907
- tag
908
-
909
- tag-red
910
- "
911
- href="/models?filter=pytorch"
912
- tag-id="pytorch"
913
- >
914
- <svg
915
- alt=""
916
- class="inline-block ml-2 text-sm"
917
- xmlns="http://www.w3.org/2000/svg"
918
- xmlns:xlink="http://www.w3.org/1999/xlink"
919
- aria-hidden="true"
920
- focusable="false"
921
- role="img"
922
- width="0.83em"
923
- height="1em"
924
- preserveAspectRatio="xMidYMid meet"
925
- viewBox="0 0 256 310"
926
- >
927
- <path
928
- d="M218.281 90.106c50.292 50.292 50.292 130.969 0 181.61c-49.244 50.292-130.27 50.292-180.562 0s-50.292-131.318 0-181.61L127.825 0v45.053l-8.382 8.382l-59.721 59.722c-37.72 37.02-37.72 97.79 0 135.509c37.02 37.719 97.79 37.719 135.509 0c37.719-37.02 37.719-97.79 0-135.51l23.05-23.05zm-45.053-5.588c-9.259 0-16.764-7.505-16.764-16.764c0-9.258 7.505-16.764 16.764-16.764c9.258 0 16.764 7.506 16.764 16.764c0 9.259-7.506 16.764-16.764 16.764z"
929
- fill="#EE4C2C"
930
- ></path>
931
- </svg>
932
- <span>
933
- PyTorch
934
- </span>
935
-
936
- </a>
937
- <a class="
938
- tag
939
-
940
- tag-indigo
941
- "
942
- href="/models?filter=dataset:librispeech_asr"
943
- tag-id="dataset:librispeech_asr"
944
- >
945
- <span>
946
- librispeech_asr
947
- </span>
948
-
949
- </a>
950
- <a class="
951
- tag
952
-
953
- tag-green
954
- "
955
- href="/models?filter=en"
956
- tag-id="en"
957
- >
958
- <span>
959
- en
960
- </span>
961
-
962
- </a>
963
- <a class="
964
- tag
965
-
966
- tag-purple
967
- "
968
- href="/models?filter=arxiv:2006.11477"
969
- tag-id="arxiv:2006.11477"
970
- >
971
- <span>
972
- arxiv:2006.11477
973
- </span>
974
-
975
- </a>
976
- <a class="
977
- tag
978
-
979
- tag-blue
980
- "
981
- href="/models?filter=license:apache-2.0"
982
- tag-id="license:apache-2.0"
983
- >
984
- <span>
985
- apache-2.0
986
- </span>
987
-
988
- </a>
989
- <a class="
990
- tag
991
-
992
- tag-purple
993
- "
994
- href="/models?filter=wav2vec2"
995
- tag-id="wav2vec2"
996
- >
997
- <span>
998
- wav2vec2
999
- </span>
1000
-
1001
- </a>
1002
- <a class="
1003
- tag
1004
-
1005
- tag-purple
1006
- "
1007
- href="/models?filter=audio"
1008
- tag-id="audio"
1009
- >
1010
- <span>
1011
- audio
1012
- </span>
1013
-
1014
- </a>
1015
- </div>
1016
- <div class="border-b border-gray-100">
1017
- <div class="flex items-center justify-between">
1018
- <div class="flex items-center h-12 -mb-px overflow-x-auto overflow-y-hidden">
1019
- <a
1020
- class="tab-alternate "
1021
- href="/facebook/wav2vec2-base-960h"
1022
- >
1023
- <svg
1024
- alt=""
1025
- class="mr-1.5 text-gray-400"
1026
- xmlns="http://www.w3.org/2000/svg"
1027
- xmlns:xlink="http://www.w3.org/1999/xlink"
1028
- aria-hidden="true"
1029
- focusable="false"
1030
- role="img"
1031
- width="1em"
1032
- height="1em"
1033
- preserveAspectRatio="xMidYMid meet"
1034
- viewBox="0 0 24 24"
1035
- >
1036
- <path
1037
- class="uim-quaternary"
1038
- d="M20.23 7.24L12 12L3.77 7.24a1.98 1.98 0 0 1 .7-.71L11 2.76c.62-.35 1.38-.35 2 0l6.53 3.77c.29.173.531.418.7.71z"
1039
- opacity=".25"
1040
- fill="currentColor"
1041
- ></path>
1042
- <path
1043
- class="uim-tertiary"
1044
- d="M12 12v9.5a2.09 2.09 0 0 1-.91-.21L4.5 17.48a2.003 2.003 0 0 1-1-1.73v-7.5a2.06 2.06 0 0 1 .27-1.01L12 12z"
1045
- opacity=".5"
1046
- fill="currentColor"
1047
- ></path>
1048
- <path
1049
- class="uim-primary"
1050
- d="M20.5 8.25v7.5a2.003 2.003 0 0 1-1 1.73l-6.62 3.82c-.275.13-.576.198-.88.2V12l8.23-4.76c.175.308.268.656.27 1.01z"
1051
- fill="currentColor"
1052
- ></path>
1053
- </svg>
1054
- Model card
1055
- </a>
1056
- <a
1057
- class="tab-alternate active"
1058
- href="/facebook/wav2vec2-base-960h/tree/main"
1059
- >
1060
- <svg
1061
- alt=""
1062
- class="mr-1.5 text-gray-400"
1063
- xmlns="http://www.w3.org/2000/svg"
1064
- xmlns:xlink="http://www.w3.org/1999/xlink"
1065
- aria-hidden="true"
1066
- focusable="false"
1067
- role="img"
1068
- width="1em"
1069
- height="1em"
1070
- preserveAspectRatio="xMidYMid meet"
1071
- viewBox="0 0 24 24"
1072
- >
1073
- <path
1074
- class="uim-tertiary"
1075
- d="M21 19h-8a1 1 0 0 1 0-2h8a1 1 0 0 1 0 2zm0-4h-8a1 1 0 0 1 0-2h8a1 1 0 0 1 0 2zm0-8h-8a1 1 0 0 1 0-2h8a1 1 0 0 1 0 2zm0 4h-8a1 1 0 0 1 0-2h8a1 1 0 0 1 0 2z"
1076
- opacity=".5"
1077
- fill="currentColor"
1078
- ></path>
1079
- <path
1080
- class="uim-primary"
1081
- d="M9 19a1 1 0 0 1-1-1V6a1 1 0 0 1 2 0v12a1 1 0 0 1-1 1zm-6-4.333a1 1 0 0 1-.64-1.769L3.438 12l-1.078-.898a1 1 0 0 1 1.28-1.538l2 1.667a1 1 0 0 1 0 1.538l-2 1.667a.999.999 0 0 1-.64.231z"
1082
- fill="currentColor"
1083
- ></path>
1084
- </svg>
1085
- Files and versions
1086
- </a>
1087
- </div>
1088
- <div class="relative hidden space-x-1.5 md:flex">
1089
- <div
1090
- class="v2-dropdown relative "
1091
-
1092
- >
1093
- <button
1094
- class="v2-dropdown-button cursor-pointer btn text-sm"
1095
- slot="trigger"
1096
- type="button"
1097
- >
1098
- <svg
1099
- alt=""
1100
- class="mr-1.5"
1101
- xmlns="http://www.w3.org/2000/svg"
1102
- xmlns:xlink="http://www.w3.org/1999/xlink"
1103
- aria-hidden="true"
1104
- focusable="false"
1105
- role="img"
1106
- width="1em"
1107
- height="1em"
1108
- preserveAspectRatio="xMidYMid meet"
1109
- viewBox="0 0 32 32"
1110
- style="transform: rotate(360deg);"
1111
- >
1112
- <path
1113
- d="M31 16l-7 7l-1.41-1.41L28.17 16l-5.58-5.59L24 9l7 7z"
1114
- fill="currentColor"
1115
- ></path>
1116
- <path
1117
- d="M1 16l7-7l1.41 1.41L3.83 16l5.58 5.59L8 23l-7-7z"
1118
- fill="currentColor"
1119
- ></path>
1120
- <path
1121
- d="M12.419 25.484L17.639 6l1.932.518L14.35 26z"
1122
- fill="currentColor"
1123
- ></path>
1124
- </svg>
1125
- Use in transformers
1126
- </button><div
1127
- class="v2-dropdown-menu hidden absolute mt-1 min-w-full bg-white rounded-xl overflow-hidden shadow-lg z-10 border border-gray-100 right-0 top-full "
1128
- >
1129
- <ul class="min-w-full w-auto">
1130
- <div class="v2-to-clipboard" style="width: 700px;">
1131
- <div class="border-b px-4 py-2 bg-gradient-to-r from-gray-50 to-white border-gray-200 flex justify-between items-center h-11">
1132
- <h3 class="font-semibold">
1133
- How to use from the
1134
- <a target="_blank" href="https://github.com/huggingface/transformers">🤗/transformers</a>
1135
- library:
1136
- </h3>
1137
- <button
1138
- class="v2-to-clipboard-button text-sm underline flex items-center cursor-pointer text-gray-500"
1139
- >
1140
- <svg
1141
- alt=""
1142
- class="mr-1"
1143
- xmlns="http://www.w3.org/2000/svg"
1144
- xmlns:xlink="http://www.w3.org/1999/xlink"
1145
- aria-hidden="true"
1146
- focusable="false"
1147
- role="img"
1148
- width="1em"
1149
- height="1em"
1150
- preserveAspectRatio="xMidYMid meet"
1151
- viewBox="0 0 32 32"
1152
- >
1153
- <path
1154
- d="M25.7 9.3l-7-7A.908.908 0 0 0 18 2H8a2.006 2.006 0 0 0-2 2v24a2.006 2.006 0 0 0 2 2h16a2.006 2.006 0 0 0 2-2V10a.908.908 0 0 0-.3-.7zM18 4.4l5.6 5.6H18zM24 28H8V4h8v6a2.006 2.006 0 0 0 2 2h6z"
1155
- fill="currentColor"
1156
- ></path>
1157
- </svg>
1158
- Copy to clipboard
1159
- </button>
1160
- </div>
1161
- <pre class="v2-to-clipboard-content whitespace-pre-line text-sm p-4 text-gray-700">
1162
- from transformers import AutoTokenizer, Wav2Vec2ForCTC
1163
-
1164
- tokenizer = AutoTokenizer.from_pretrained("facebook/wav2vec2-base-960h")
1165
-
1166
- model = Wav2Vec2ForCTC.from_pretrained("facebook/wav2vec2-base-960h")
1167
- </pre>
1168
-
1169
- <div class="border-b px-4 py-2 bg-gradient-to-r from-gray-50 to-white border-gray-200 flex justify-between items-center h-11">
1170
- <h3 class="font-semibold">
1171
- Or just clone the model repo
1172
- </h3>
1173
- </div>
1174
- <pre class="whitespace-pre-line text-sm p-4 text-gray-700">
1175
- git lfs install
1176
- git clone https://huggingface.co/facebook/wav2vec2-base-960h
1177
- <div class="text-gray-500 text-xs">
1178
- # if you want to clone without large files – just their pointers
1179
- # prepend your git clone with the following env var:
1180
- </div>
1181
- GIT_LFS_SKIP_SMUDGE=1
1182
- </pre>
1183
-
1184
- </div>
1185
- </ul>
1186
- </div></div>
1187
- </div>
1188
- </div>
1189
- </div>
1190
- </div>
1191
- </header>
1192
- <div
1193
- class="container relative space-y-4 flex flex-col md:grid md:gap-6 md:space-y-0 overflow-hidden
1194
- md:grid-cols-12
1195
-
1196
-
1197
- "
1198
-
1199
-
1200
- >
1201
- <section class="pt-8 border-gray-100 col-span-full">
1202
-
1203
- <header class="pb-4 flex items-center justify-between">
1204
- <div class="flex items-center">
1205
- <div
1206
- class="v2-dropdown relative mr-6"
1207
-
1208
- >
1209
- <button
1210
- class="v2-dropdown-button cursor-pointer btn"
1211
- slot="trigger"
1212
- type="button"
1213
- >
1214
- <svg
1215
- alt=""
1216
- class="mr-1 text-gray-700 dark:text-gray-400"
1217
- xmlns="http://www.w3.org/2000/svg"
1218
- xmlns:xlink="http://www.w3.org/1999/xlink"
1219
- aria-hidden="true"
1220
- focusable="false"
1221
- role="img"
1222
- width="1em"
1223
- height="1em"
1224
- preserveAspectRatio="xMidYMid meet"
1225
- viewBox="0 0 24 24"
1226
- style="transform: rotate(360deg);"
1227
- >
1228
- <path
1229
- d="M13 14c-3.36 0-4.46 1.35-4.82 2.24C9.25 16.7 10 17.76 10 19a3 3 0 0 1-3 3a3 3 0 0 1-3-3c0-1.31.83-2.42 2-2.83V7.83A2.99 2.99 0 0 1 4 5a3 3 0 0 1 3-3a3 3 0 0 1 3 3c0 1.31-.83 2.42-2 2.83v5.29c.88-.65 2.16-1.12 4-1.12c2.67 0 3.56-1.34 3.85-2.23A3.006 3.006 0 0 1 14 7a3 3 0 0 1 3-3a3 3 0 0 1 3 3c0 1.34-.88 2.5-2.09 2.86C17.65 11.29 16.68 14 13 14m-6 4a1 1 0 0 0-1 1a1 1 0 0 0 1 1a1 1 0 0 0 1-1a1 1 0 0 0-1-1M7 4a1 1 0 0 0-1 1a1 1 0 0 0 1 1a1 1 0 0 0 1-1a1 1 0 0 0-1-1m10 2a1 1 0 0 0-1 1a1 1 0 0 0 1 1a1 1 0 0 0 1-1a1 1 0 0 0-1-1z"
1230
- fill="currentColor"
1231
- ></path>
1232
- </svg>
1233
- main
1234
- <svg
1235
- alt=""
1236
- class="text-gray-500"
1237
- xmlns="http://www.w3.org/2000/svg"
1238
- xmlns:xlink="http://www.w3.org/1999/xlink"
1239
- aria-hidden="true"
1240
- focusable="false"
1241
- role="img"
1242
- width="1em"
1243
- height="1em"
1244
- preserveAspectRatio="xMidYMid meet"
1245
- viewBox="0 0 24 24"
1246
- style="transform: rotate(360deg);"
1247
- >
1248
- <path d="M7 10l5 5l5-5z" fill="currentColor"></path>
1249
- </svg>
1250
- </button><div
1251
- class="v2-dropdown-menu hidden absolute mt-1 min-w-full bg-white rounded-xl overflow-hidden shadow-lg z-10 border border-gray-100 right-0 top-full "
1252
- >
1253
- <ul class="min-w-full w-auto">
1254
- <li>
1255
- <ul>
1256
- <li>
1257
- <div
1258
- class="v2-dropdown-entry flex items-center hover:bg-gray-50 cursor-pointer
1259
- hover:underline
1260
-
1261
-
1262
- "
1263
-
1264
-
1265
-
1266
-
1267
- >
1268
- <a
1269
- class="px-3 py-1.5"
1270
- href="/facebook/wav2vec2-base-960h/blob/main/special_tokens_map.json"
1271
- >
1272
- main
1273
- </a>
1274
- </div>
1275
- </li>
1276
- </ul>
1277
- </li>
1278
- <li>
1279
- <ul class="bg-yellow-50">
1280
- </ul>
1281
- </li>
1282
- </ul>
1283
- </div></div>
1284
-
1285
- <a class="hover:underline text-gray-800 dark:text-gray-300" href="/facebook/wav2vec2-base-960h/tree/main">
1286
- facebook/wav2vec2-base-960h
1287
- </a>
1288
- <span class="text-gray-300 mx-1 font-light">/</span>
1289
-
1290
- <span class="font-light dark:text-gray-300">special_tokens_map.json</span>
1291
-
1292
- </div>
1293
-
1294
- <div class="flex justify-end">
1295
- </div>
1296
- </header>
1297
-
1298
- <div class="border border-b-0 dark:border-gray-800 px-3 py-2 flex items-baseline rounded-t-lg bg-gradient-to-b from-white to-gray-100 dark:from-gray-800 dark:to-gray-900">
1299
- <img
1300
- class="w-4 h-4 rounded-full mr-2.5 self-center"
1301
- alt="patrickvonplaten's picture"
1302
- src="https://aeiljuispo.cloudimg.io/v7/https://s3.amazonaws.com/moonup/production/uploads/1584435275418-5dfcb1aada6d0311fd3d5448.jpeg?w&#x3D;200&amp;h&#x3D;200&amp;f&#x3D;face"
1303
- />
1304
- <div class="mr-5 truncate flex-none">
1305
- <a class="hover:underline" href="/patrickvonplaten">
1306
- patrickvonplaten
1307
- </a>
1308
- </div>
1309
- <a
1310
- class="mr-4 font-mono text-sm text-gray-500 dark:text-gray-300 truncate hover:underline"
1311
- href="/facebook/wav2vec2-base-960h/commit/0b362f54b7df3d68eef6960d41820e27af20ddc3"
1312
- >
1313
- upload all files
1314
-
1315
- </a>
1316
- <a
1317
- class="text-sm border dark:border-gray-800 px-1.5 rounded bg-gray-50 dark:bg-gray-900 hover:underline"
1318
- href="/facebook/wav2vec2-base-960h/commit/0b362f54b7df3d68eef6960d41820e27af20ddc3"
1319
- >
1320
- 0b362f5
1321
- </a>
1322
- <time
1323
- datetime="2021-01-30T20:32:17"
1324
- class="ml-auto hidden lg:block text-gray-500 dark:text-gray-400 truncate flex-none pl-2"
1325
- >
1326
- 12 days ago
1327
- </time>
1328
- </div>
1329
-
1330
- <div class="flex items-center p-3 border dark:border-gray-800 text-sm text-gray-700 dark:bg-gray-900">
1331
- <a class="flex items-center hover:underline mr-4" href="/facebook/wav2vec2-base-960h/raw/main/special_tokens_map.json">
1332
- <svg
1333
- alt=""
1334
- class="mr-1.5 "
1335
- xmlns="http://www.w3.org/2000/svg"
1336
- xmlns:xlink="http://www.w3.org/1999/xlink"
1337
- aria-hidden="true"
1338
- focusable="false"
1339
- role="img"
1340
- width="1em"
1341
- height="1em"
1342
- preserveAspectRatio="xMidYMid meet"
1343
- viewBox="0 0 32 32"
1344
- style="transform: rotate(360deg);"
1345
- >
1346
- <path
1347
- d="M31 16l-7 7l-1.41-1.41L28.17 16l-5.58-5.59L24 9l7 7z"
1348
- fill="currentColor"
1349
- ></path>
1350
- <path
1351
- d="M1 16l7-7l1.41 1.41L3.83 16l5.58 5.59L8 23l-7-7z"
1352
- fill="currentColor"
1353
- ></path>
1354
- <path
1355
- d="M12.419 25.484L17.639 6l1.932.518L14.35 26z"
1356
- fill="currentColor"
1357
- ></path>
1358
- </svg>
1359
- raw
1360
- </a>
1361
- <a class="flex items-center hover:underline mr-4" href="/facebook/wav2vec2-base-960h/commits/main/special_tokens_map.json">
1362
- <svg
1363
- alt=""
1364
- class="mr-1.5"
1365
- xmlns="http://www.w3.org/2000/svg"
1366
- xmlns:xlink="http://www.w3.org/1999/xlink"
1367
- aria-hidden="true"
1368
- focusable="false"
1369
- role="img"
1370
- width="1em"
1371
- height="1em"
1372
- preserveAspectRatio="xMidYMid meet"
1373
- viewBox="0 0 32 32"
1374
- style="transform: rotate(360deg);"
1375
- >
1376
- <path
1377
- d="M16 4C9.383 4 4 9.383 4 16s5.383 12 12 12s12-5.383 12-12S22.617 4 16 4zm0 2c5.535 0 10 4.465 10 10s-4.465 10-10 10S6 21.535 6 16S10.465 6 16 6zm-1 2v9h7v-2h-5V8z"
1378
- fill="currentColor"
1379
- ></path>
1380
- </svg>
1381
- history
1382
- </a>
1383
- <a class="flex items-center hover:underline mr-4" href="/facebook/wav2vec2-base-960h/blame/main/special_tokens_map.json">
1384
- <svg
1385
- alt=""
1386
- class="mr-1.5"
1387
- xmlns="http://www.w3.org/2000/svg"
1388
- xmlns:xlink="http://www.w3.org/1999/xlink"
1389
- aria-hidden="true"
1390
- focusable="false"
1391
- role="img"
1392
- class=""
1393
- width="1em"
1394
- height="1em"
1395
- preserveAspectRatio="xMidYMid meet"
1396
- viewBox="0 0 32 32"
1397
- style="transform: rotate(360deg);"
1398
- >
1399
- <path
1400
- d="M16 2a14 14 0 1 0 14 14A14 14 0 0 0 16 2zm0 26a12 12 0 1 1 12-12a12 12 0 0 1-12 12z"
1401
- fill="currentColor"
1402
- ></path>
1403
- <path
1404
- d="M11.5 11a2.5 2.5 0 1 0 2.5 2.5a2.48 2.48 0 0 0-2.5-2.5z"
1405
- fill="currentColor"
1406
- ></path>
1407
- <path
1408
- d="M20.5 11a2.5 2.5 0 1 0 2.5 2.5a2.48 2.48 0 0 0-2.5-2.5z"
1409
- fill="currentColor"
1410
- ></path>
1411
- </svg>
1412
- blame
1413
- </a>
1414
- <div class="ml-auto dark:text-gray-300">
1415
- 85 Bytes
1416
- </div>
1417
- </div>
1418
-
1419
- <div class="border border-t-0 rounded-b-lg dark:bg-gray-900 dark:border-gray-800 overflow-x-auto">
1420
- <table>
1421
- <tr>
1422
- <td class="align-top text-right select-none">
1423
- <pre class="p-3 text-sm overflow-x-auto">1</pre>
1424
- </td>
1425
- <td class="align-top w-full">
1426
- <pre class="p-3 text-sm overflow-x-auto">{<span class="hljs-attr">&quot;bos_token&quot;</span>: <span class="hljs-string">&quot;&lt;s&gt;&quot;</span>, <span class="hljs-attr">&quot;eos_token&quot;</span>: <span class="hljs-string">&quot;&lt;/s&gt;&quot;</span>, <span class="hljs-attr">&quot;unk_token&quot;</span>: <span class="hljs-string">&quot;&lt;unk&gt;&quot;</span>, <span class="hljs-attr">&quot;pad_token&quot;</span>: <span class="hljs-string">&quot;&lt;pad&gt;&quot;</span>}</pre>
1427
- </td>
1428
- </tr>
1429
- </table>
1430
- </div>
1431
- </section>
1432
- </div>
1433
- </main>
1434
-
1435
- <script defer src="/front/build/bundle.d794683.js"></script>
1436
- <script>
1437
- if (! (
1438
- ['localhost', 'huggingface.test'].includes(window.location.hostname)
1439
- || window.location.hostname.includes('ngrok.io')
1440
- )) {
1441
- (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
1442
- (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
1443
- m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
1444
- })(window,document,'script','https://www.google-analytics.com/analytics.js','ganalytics');
1445
- ganalytics('create', 'UA-83738774-2', 'auto');
1446
- ganalytics('send', 'pageview');
1447
- }
1448
- </script>
1449
- </body>
1450
- </html>
1
+ {"bos_token": "<s>", "eos_token": "</s>", "unk_token": "<unk>", "pad_token": "<pad>"}