fsicoli commited on
Commit
78ffe32
1 Parent(s): 263f3fb

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +186 -0
README.md CHANGED
@@ -1,3 +1,189 @@
1
  ---
2
  license: cc0-1.0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  ---
 
1
  ---
2
  license: cc0-1.0
3
+ language:
4
+ - ab
5
+ - af
6
+ - am
7
+ - ar
8
+ - as
9
+ - ast
10
+ - az
11
+ - ba
12
+ - bas
13
+ - be
14
+ - bg
15
+ - bn
16
+ - br
17
+ - ca
18
+ - ckb
19
+ - cnh
20
+ - cs
21
+ - cv
22
+ - cy
23
+ - da
24
+ - de
25
+ - dv
26
+ - dyu
27
+ - el
28
+ - en
29
+ - eo
30
+ - es
31
+ - et
32
+ - eu
33
+ - fa
34
+ - fi
35
+ - fr
36
+ - gl
37
+ - gn
38
+ - ha
39
+ - he
40
+ - hi
41
+ - hsb
42
+ - hu
43
+ - ia
44
+ - id
45
+ - ig
46
+ - is
47
+ - it
48
+ - ja
49
+ - ka
50
+ - kab
51
+ - kk
52
+ - kmr
53
+ - ko
54
+ - ky
55
+ - lg
56
+ - lo
57
+ - lt
58
+ - lv
59
+ - mdf
60
+ - mhr
61
+ - mk
62
+ - ml
63
+ - mn
64
+ - mr
65
+ - mrj
66
+ - mt
67
+ - myv
68
+ - nl
69
+ - oc
70
+ - or
71
+ - pl
72
+ - ps
73
+ - pt
74
+ - quy
75
+ - ro
76
+ - ru
77
+ - rw
78
+ - sah
79
+ - sat
80
+ - sc
81
+ - sk
82
+ - skr
83
+ - sl
84
+ - sq
85
+ - sr
86
+ - sw
87
+ - ta
88
+ - th
89
+ - ti
90
+ - tig
91
+ - tk
92
+ - tok
93
+ - tr
94
+ - tt
95
+ - tw
96
+ - ug
97
+ - uk
98
+ - ur
99
+ - uz
100
+ - vi
101
+ - vot
102
+ - yue
103
+ - zgh
104
+ - zh
105
+ - yo
106
+ task_categories:
107
+ - automatic-speech-recognition
108
+ pretty_name: Common Voice Corpus 16.0
109
+ size_categories:
110
+ - 100B<n<1T
111
+ tags:
112
+ - mozilla
113
+ - foundation
114
+ ---
115
+ # Dataset Card for Common Voice Corpus 16.0
116
+
117
+ <!-- Provide a quick summary of the dataset. -->
118
+
119
+ This dataset is an unofficial version of the Mozilla Common Voice Corpus 16. It was downloaded and converted from the project's website https://commonvoice.mozilla.org/.
120
+
121
+
122
+ ## Languages
123
+ ```
124
+ Abkhaz, Albanian, Amharic, Arabic, Armenian, Assamese, Asturian, Azerbaijani, Basaa, Bashkir, Basque, Belarusian, Bengali, Breton, Bulgarian, Cantonese, Catalan, Central Kurdish, Chinese (China), Chinese (Hong Kong), Chinese (Taiwan), Chuvash, Czech, Danish, Dhivehi, Dioula, Dutch, English, Erzya, Esperanto, Estonian, Finnish, French, Frisian, Galician, Georgian, German, Greek, Guarani, Hakha Chin, Hausa, Hill Mari, Hindi, Hungarian, Icelandic, Igbo, Indonesian, Interlingua, Irish, Italian, Japanese, Kabyle, Kazakh, Kinyarwanda, Korean, Kurmanji Kurdish, Kyrgyz, Lao, Latvian, Lithuanian, Luganda, Macedonian, Malayalam, Maltese, Marathi, Meadow Mari, Moksha, Mongolian, Nepali, Norwegian Nynorsk, Occitan, Odia, Pashto, Persian, Polish, Portuguese, Punjabi, Quechua Chanka, Romanian, Romansh Sursilvan, Romansh Vallader, Russian, Sakha, Santali (Ol Chiki), Saraiki, Sardinian, Serbian, Slovak, Slovenian, Sorbian, Upper, Spanish, Swahili, Swedish, Taiwanese (Minnan), Tamazight, Tamil, Tatar, Thai, Tigre, Tigrinya, Toki Pona, Turkish, Turkmen, Twi, Ukrainian, Urdu, Uyghur, Uzbek, Vietnamese, Votic, Welsh, Yoruba
125
+ ```
126
+
127
+ ## How to use
128
+ The datasets library allows you to load and pre-process your dataset in pure Python, at scale. The dataset can be downloaded and prepared in one call to your local drive by using the load_dataset function.
129
+
130
+ For example, to download the Portuguese config, simply specify the corresponding language config name (i.e., "pt" for Portuguese):
131
+ ```
132
+ from datasets import load_dataset
133
+
134
+ cv_16 = load_dataset("fsicoli/common_voice_16_0", "pt", split="train")
135
+ ```
136
+ Using the datasets library, you can also stream the dataset on-the-fly by adding a streaming=True argument to the load_dataset function call. Loading a dataset in streaming mode loads individual samples of the dataset at a time, rather than downloading the entire dataset to disk.
137
+
138
+ ```
139
+ from datasets import load_dataset
140
+
141
+ cv_16 = load_dataset("fsicoli/common_voice_16_0", "pt", split="train", streaming=True)
142
+
143
+ print(next(iter(cv_16)))
144
+ ```
145
+
146
+ Bonus: create a PyTorch dataloader directly with your own datasets (local/streamed).
147
+
148
+ ### Local
149
+ ```
150
+ from datasets import load_dataset
151
+ from torch.utils.data.sampler import BatchSampler, RandomSampler
152
+
153
+ cv_16 = load_dataset("fsicoli/common_voice_16_0", "pt", split="train")
154
+ batch_sampler = BatchSampler(RandomSampler(cv_16), batch_size=32, drop_last=False)
155
+ dataloader = DataLoader(cv_16, batch_sampler=batch_sampler)
156
+ ```
157
+
158
+ ### Streaming
159
+ ```
160
+ from datasets import load_dataset
161
+ from torch.utils.data import DataLoader
162
+
163
+ cv_16 = load_dataset("fsicoli/common_voice_16_0", "pt", split="train")
164
+ dataloader = DataLoader(cv_16, batch_size=32)
165
+ ```
166
+
167
+ To find out more about loading and preparing audio datasets, head over to hf.co/blog/audio-datasets.
168
+
169
+
170
+
171
+ ### Dataset Structure
172
+ Data Instances
173
+ A typical data point comprises the path to the audio file and its sentence. Additional fields include accent, age, client_id, up_votes, down_votes, gender, locale and segment.
174
+
175
+ ### Licensing Information
176
+ Public Domain, CC-0
177
+
178
+
179
+ ### Citation Information
180
+ ```
181
+ @inproceedings{commonvoice:2020,
182
+ author = {Ardila, R. and Branson, M. and Davis, K. and Henretty, M. and Kohler, M. and Meyer, J. and Morais, R. and Saunders, L. and Tyers, F. M. and Weber, G.},
183
+ title = {Common Voice: A Massively-Multilingual Speech Corpus},
184
+ booktitle = {Proceedings of the 12th Conference on Language Resources and Evaluation (LREC 2020)},
185
+ pages = {4211--4215},
186
+ year = 2020
187
+ }
188
+ ```
189
  ---