polinaeterna HF staff commited on
Commit
0edac1e
1 Parent(s): dc78072

add more info

Browse files
Files changed (2) hide show
  1. README.md +148 -14
  2. voxpopuli.py +1 -1
README.md CHANGED
@@ -61,41 +61,137 @@ task_ids: []
61
 
62
  ## Dataset Description
63
 
64
- - **Homepage:**
65
  - **Repository:** https://github.com/facebookresearch/voxpopuli
66
  - **Paper:** https://aclanthology.org/2021.acl-long.80/
67
- - **Leaderboard:**
68
  - **Point of Contact:** [changhan@fb.com](mailto:changhan@fb.com), [mriviere@fb.com](mailto:mriviere@fb.com), [annl@fb.com](mailto:annl@fb.com)
69
 
70
  ### Dataset Summary
71
 
72
  VoxPopuli is a large-scale multilingual speech corpus for representation learning, semi-supervised learning and interpretation.
 
73
  This implementation contains transcribed speech data for 18 languages.
74
  It also contains 29 hours of transcribed speech data of non-native English intended for research in ASR for accented speech (15 L2 accents)
75
 
76
- The raw data is collected from 2009-2020 European Parliament event recordings. We acknowledge the European Parliament for creating and sharing these materials.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
77
 
78
  ### Supported Tasks and Leaderboards
79
 
80
  * automatic-speech-recognition: The dataset can be used to train a model for Automatic Speech Recognition (ASR). The model is presented with an audio file and asked to transcribe the audio file to written text. The most common evaluation metric is the word error rate (WER).
81
 
 
 
82
  ### Languages
83
 
84
- [More Information Needed]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
85
 
86
  ## Dataset Structure
87
 
88
  ### Data Instances
89
 
90
- [More Information Needed]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
91
 
92
  ### Data Fields
93
 
94
- [More Information Needed]
 
 
 
 
 
 
 
 
95
 
96
  ### Data Splits
97
 
98
- [More Information Needed]
99
 
100
  ## Dataset Creation
101
 
@@ -105,13 +201,26 @@ The raw data is collected from 2009-2020 European Parliament event recordings. W
105
 
106
  ### Source Data
107
 
 
 
108
  #### Initial Data Collection and Normalization
109
 
110
- [More Information Needed]
 
 
 
 
 
 
 
 
 
 
 
111
 
112
  #### Who are the source language producers?
113
 
114
- [More Information Needed]
115
 
116
  ### Annotations
117
 
@@ -135,11 +244,14 @@ The raw data is collected from 2009-2020 European Parliament event recordings. W
135
 
136
  ### Discussion of Biases
137
 
138
- [More Information Needed]
 
 
 
 
139
 
140
  ### Other Known Limitations
141
 
142
- [More Information Needed]
143
 
144
  ## Additional Information
145
 
@@ -149,12 +261,34 @@ The raw data is collected from 2009-2020 European Parliament event recordings. W
149
 
150
  ### Licensing Information
151
 
152
- [More Information Needed]
153
 
154
  ### Citation Information
155
 
156
- [More Information Needed]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
157
 
158
  ### Contributions
159
 
160
- Thanks to [@github-username](https://github.com/<github-username>) for adding this dataset.
 
61
 
62
  ## Dataset Description
63
 
64
+ - **Homepage:** https://github.com/facebookresearch/voxpopuli
65
  - **Repository:** https://github.com/facebookresearch/voxpopuli
66
  - **Paper:** https://aclanthology.org/2021.acl-long.80/
 
67
  - **Point of Contact:** [changhan@fb.com](mailto:changhan@fb.com), [mriviere@fb.com](mailto:mriviere@fb.com), [annl@fb.com](mailto:annl@fb.com)
68
 
69
  ### Dataset Summary
70
 
71
  VoxPopuli is a large-scale multilingual speech corpus for representation learning, semi-supervised learning and interpretation.
72
+ The raw data is collected from 2009-2020 [European Parliament event recordings](https://multimedia.europarl.europa.eu/en/home). We acknowledge the European Parliament for creating and sharing these materials.
73
  This implementation contains transcribed speech data for 18 languages.
74
  It also contains 29 hours of transcribed speech data of non-native English intended for research in ASR for accented speech (15 L2 accents)
75
 
76
+ ### Example usage
77
+
78
+ VoxPopuli contains labelled data for 18 languages. To load a specific language pass its name as a config name:
79
+
80
+ ```python
81
+ from datasets import load_dataset
82
+
83
+ voxpopuli_croatian = load_dataset("facebook/voxpopuli", "hr")
84
+ ```
85
+
86
+ To load all the languages in a single dataset use "multilang" config name:
87
+
88
+ ```python
89
+ voxpopuli_all = load_dataset("facebook/voxpopuli", "multilang")
90
+ ```
91
+
92
+ To load a specific set of languages, use "multilang" config name and pass a list of required languages to `languages` parameter:
93
+
94
+ ```python
95
+ voxpopuli_slavic = load_dataset("facebook/voxpopuli", "multilang", languages=["hr", "sk", "sl", "cs", "pl"])
96
+ ```
97
+
98
+ To load accented English data, use "en_accented" config name:
99
+
100
+ ```python
101
+ voxpopuli_accented = load_dataset("facebook/voxpopuli", "en_accented")
102
+ ```
103
+
104
+ **Note that L2 English subset contains only `test` split. **
105
+
106
 
107
  ### Supported Tasks and Leaderboards
108
 
109
  * automatic-speech-recognition: The dataset can be used to train a model for Automatic Speech Recognition (ASR). The model is presented with an audio file and asked to transcribe the audio file to written text. The most common evaluation metric is the word error rate (WER).
110
 
111
+ Accented English subset can also be used for research in ASR for accented speech (15 L2 accents)
112
+
113
  ### Languages
114
 
115
+ VoxPopuli contains labelled (transcribed) data for 18 languages:
116
+
117
+ | Language | Code | Transcribed Hours | Transcribed Speakers | Transcribed Tokens |
118
+ |:---:|:---:|:---:|:---:|:---:|
119
+ | English | En | 543 | 1313 | 4.8M |
120
+ | German | De | 282 | 531 | 2.3M |
121
+ | French | Fr | 211 | 534 | 2.1M |
122
+ | Spanish | Es | 166 | 305 | 1.6M |
123
+ | Polish | Pl | 111 | 282 | 802K |
124
+ | Italian | It | 91 | 306 | 757K |
125
+ | Romanian | Ro | 89 | 164 | 739K |
126
+ | Hungarian | Hu | 63 | 143 | 431K |
127
+ | Czech | Cs | 62 | 138 | 461K |
128
+ | Dutch | Nl | 53 | 221 | 488K |
129
+ | Finnish | Fi | 27 | 84 | 160K |
130
+ | Croatian | Hr | 43 | 83 | 337K |
131
+ | Slovak | Sk | 35 | 96 | 270K |
132
+ | Slovene | Sl | 10 | 45 | 76K |
133
+ | Estonian | Et | 3 | 29 | 18K |
134
+ | Lithuanian | Lt | 2 | 21 | 10K |
135
+ | Total | | 1791 | 4295 | 15M |
136
+
137
+
138
+ Accented speech transcribed data has 15 various L2 accents:
139
+
140
+ | Accent | Code | Transcribed Hours | Transcribed Speakers |
141
+ |:---:|:---:|:---:|:---:|
142
+ | Dutch | en_nl | 3.52 | 45 |
143
+ | German | en_de | 3.52 | 84 |
144
+ | Czech | en_cs | 3.30 | 26 |
145
+ | Polish | en_pl | 3.23 | 33 |
146
+ | French | en_fr | 2.56 | 27 |
147
+ | Hungarian | en_hu | 2.33 | 23 |
148
+ | Finnish | en_fi | 2.18 | 20 |
149
+ | Romanian | en_ro | 1.85 | 27 |
150
+ | Slovak | en_sk | 1.46 | 17 |
151
+ | Spanish | en_es | 1.42 | 18 |
152
+ | Italian | en_it | 1.11 | 15 |
153
+ | Estonian | en_et | 1.08 | 6 |
154
+ | Lithuanian | en_lt | 0.65 | 7 |
155
+ | Croatian | en_hr | 0.42 | 9 |
156
+ | Slovene | en_sl | 0.25 | 7 |
157
 
158
  ## Dataset Structure
159
 
160
  ### Data Instances
161
 
162
+ ```python
163
+ {
164
+ 'audio_id': '20180206-0900-PLENARY-15-hr_20180206-16:10:06_5',
165
+ 'language': 11, # "hr"
166
+ 'audio': {
167
+ 'path': '/home/polina/.cache/huggingface/datasets/downloads/extracted/44aedc80bb053f67f957a5f68e23509e9b181cc9e30c8030f110daaedf9c510e/train_part_0/20180206-0900-PLENARY-15-hr_20180206-16:10:06_5.wav',
168
+ 'array': array([-0.01434326, -0.01055908, 0.00106812, ..., 0.00646973], dtype=float32),
169
+ 'sampling_rate': 16000
170
+ },
171
+ 'raw_text': '',
172
+ 'normalized_text': 'poast genitalnog sakaenja ena u europi tek je jedna od manifestacija takve tetne politike.',
173
+ 'gender': 'female',
174
+ 'speaker_id': '119431',
175
+ 'is_gold_transcript': True,
176
+ 'accent': 'None'
177
+ }
178
+ ```
179
 
180
  ### Data Fields
181
 
182
+ * `audio_id` (string) - id of audio segment
183
+ * `language` (datasets.ClassLabel) - numerical id of audio segment
184
+ * `audio` (datasets.Audio) - a dictionary containing the path to the audio, the decoded audio array, and the sampling rate. In non-streaming mode (default), the path points to the locally extracted audio. In streaming mode, the path is the relative path of an audio inside its archive (as files are not downloaded and extracted locally).
185
+ * `raw_text` (string) - original (orthographic) audio segment text
186
+ * `normalized_text` (string) - normalized audio segment transcription
187
+ * `gender` (string) - gender of speaker
188
+ * `speaker_id` (string) - id of speaker
189
+ * `is_gold_transcript` (bool) - ?
190
+ * `accent` (string) - type of accent, for example "en_lt", if applicable, else "None".
191
 
192
  ### Data Splits
193
 
194
+ All configs (languages) except for accented English contain data in three splits: train, validation and test. Accented English `en_accented` config contains only test split.
195
 
196
  ## Dataset Creation
197
 
 
201
 
202
  ### Source Data
203
 
204
+ The raw data is collected from 2009-2020 [European Parliament event recordings](https://multimedia.europarl.europa.eu/en/home)
205
+
206
  #### Initial Data Collection and Normalization
207
 
208
+ The VoxPopuli transcribed set comes from aligning the full-event source speech audio with the transcripts for plenary sessions. Official timestamps
209
+ are available for locating speeches by speaker in the full session, but they are frequently inaccurate, resulting in truncation of the speech or mixture
210
+ of fragments from the preceding or the succeeding speeches. To calibrate the original timestamps,
211
+ we perform speaker diarization (SD) on the full-session audio using pyannote.audio (Bredin et al.2020) and adopt the nearest SD timestamps (by L1 distance to the original ones) instead for segmentation.
212
+ Full-session audios are segmented into speech paragraphs by speaker, each of which has a transcript available.
213
+
214
+ The speech paragraphs have an average duration of 197 seconds, which leads to significant. We hence further segment these paragraphs into utterances with a
215
+ maximum duration of 20 seconds. We leverage speech recognition (ASR) systems to force-align speech paragraphs to the given transcripts.
216
+ The ASR systems are TDS models (Hannun et al., 2019) trained with ASG criterion (Collobert et al., 2016) on audio tracks from in-house deidentified video data.
217
+
218
+ The resulting utterance segments may have incorrect transcriptions due to incomplete raw transcripts or inaccurate ASR force-alignment.
219
+ We use the predictions from the same ASR systems as references and filter the candidate segments by a maximum threshold of 20% character error rate(CER).
220
 
221
  #### Who are the source language producers?
222
 
223
+ Speakers are participants of the European Parliament events, many of them are EU officials.
224
 
225
  ### Annotations
226
 
 
244
 
245
  ### Discussion of Biases
246
 
247
+ Gender speakers distribution is imbalanced, percentage of female speakers is mostly lower than 50% across languages, with the minimum of 15% for the Lithuanian language data.
248
+
249
+ VoxPopuli includes all available speeches from the 2009-2020 EP events without any selections on the topics or speakers.
250
+ The speech contents represent the standpoints of the speakers in the EP events, many of which are EU officials.
251
+
252
 
253
  ### Other Known Limitations
254
 
 
255
 
256
  ## Additional Information
257
 
 
261
 
262
  ### Licensing Information
263
 
264
+ The dataset is distributet under CC0 license, see also [European Parliament's legal notice](https://www.europarl.europa.eu/legal-notice/en/) for the raw data.
265
 
266
  ### Citation Information
267
 
268
+ Please cite this paper:
269
+
270
+ ```bibtex
271
+ @inproceedings{wang-etal-2021-voxpopuli,
272
+ title = "{V}ox{P}opuli: A Large-Scale Multilingual Speech Corpus for Representation Learning, Semi-Supervised Learning and Interpretation",
273
+ author = "Wang, Changhan and
274
+ Riviere, Morgane and
275
+ Lee, Ann and
276
+ Wu, Anne and
277
+ Talnikar, Chaitanya and
278
+ Haziza, Daniel and
279
+ Williamson, Mary and
280
+ Pino, Juan and
281
+ Dupoux, Emmanuel",
282
+ booktitle = "Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 1: Long Papers)",
283
+ month = aug,
284
+ year = "2021",
285
+ address = "Online",
286
+ publisher = "Association for Computational Linguistics",
287
+ url = "https://aclanthology.org/2021.acl-long.80",
288
+ pages = "993--1003",
289
+ }
290
+ ```
291
 
292
  ### Contributions
293
 
294
+ Thanks to [@polinaeterna](https://github.com/polinaeterna) for adding this dataset.
voxpopuli.py CHANGED
@@ -68,7 +68,7 @@ class VoxpopuliConfig(datasets.BuilderConfig):
68
  By default, "multilang" config includes all languages, including accented ones.
69
  To specify a custom set of languages, pass them to the `languages` parameter
70
  languages: `List[string]`: if config is "multilang" can be either "all" for all available languages,
71
- including accented ones (default), or a custom list of languages.
72
  **kwargs: keyword arguments forwarded to super.
73
  """
74
  if name == "multilang":
 
68
  By default, "multilang" config includes all languages, including accented ones.
69
  To specify a custom set of languages, pass them to the `languages` parameter
70
  languages: `List[string]`: if config is "multilang" can be either "all" for all available languages,
71
+ excluding accented ones (default), or a custom list of languages.
72
  **kwargs: keyword arguments forwarded to super.
73
  """
74
  if name == "multilang":