Publish fleurs in Lance format

#1
by tsmithv11 - opened
Files changed (31) hide show
  1. .gitattributes +7 -0
  2. LICENSE-CC-BY-4.0.txt +396 -0
  3. README.md +77 -215
  4. lance/source-files.lance/_indices/6ae3200d-209d-4cda-bfe2-08326d51c18d/page_data.lance +0 -0
  5. lance/source-files.lance/_indices/6ae3200d-209d-4cda-bfe2-08326d51c18d/page_lookup.lance +0 -0
  6. lance/source-files.lance/_transactions/0-be45164e-5288-456e-a449-fc4b334ee4b1.txn +0 -0
  7. lance/source-files.lance/_transactions/1-b1cf49da-975e-496a-a525-044bccc2e022.txn +0 -0
  8. lance/source-files.lance/_versions/18446744073709551613.manifest +0 -0
  9. lance/source-files.lance/_versions/18446744073709551614.manifest +0 -0
  10. lance/source-files.lance/_versions/latest_version_hint.json +1 -0
  11. lance/source-files.lance/data/00000001001001010111111008f842429187a13312e8ddb985.lance +3 -0
  12. lance/utterances.lance/_indices/b35082e2-4aff-40b4-af2d-f2e5328dac51/auxiliary.idx +3 -0
  13. lance/utterances.lance/_indices/b35082e2-4aff-40b4-af2d-f2e5328dac51/index.idx +3 -0
  14. lance/utterances.lance/_transactions/0-9c3d9e31-1ce2-457d-ba4b-1040e040a18e.txn +0 -0
  15. lance/utterances.lance/_transactions/1-af0da244-ea04-4e36-baa9-e68b6ecdc081.txn +0 -0
  16. lance/utterances.lance/_versions/18446744073709551613.manifest +0 -0
  17. lance/utterances.lance/_versions/18446744073709551614.manifest +0 -0
  18. lance/utterances.lance/_versions/latest_version_hint.json +1 -0
  19. lance/utterances.lance/data/001100101010000111101001c9d17a42cfbc54512f639b6677.lance +3 -0
  20. lance/utterances.lance/data/001101111111001010001111e0c2a04bfdac12177e43fd528f.lance +3 -0
  21. lance/utterances.lance/data/10001010011010111000011183cdbc4083a0f7e23d65a9922b.lance +3 -0
  22. lance/utterances.lance/data/111111000010001001101101367f814e638d86680b59ebb1c3.lance +3 -0
  23. release-info.json +538 -0
  24. source/.gitattributes +38 -0
  25. source/README.md +0 -0
  26. source/flores101/LICENSE.txt +427 -0
  27. source/flores101/README.md +296 -0
  28. source/flores101/metadata_dev.tsv +0 -0
  29. source/flores101/metadata_devtest.tsv +0 -0
  30. source/flores101/utterance-attribution.tsv +0 -0
  31. source/inventory.jsonl +0 -0
.gitattributes CHANGED
@@ -36,3 +36,10 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
36
  *.mp3 filter=lfs diff=lfs merge=lfs -text
37
  *.ogg filter=lfs diff=lfs merge=lfs -text
38
  *.wav filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
36
  *.mp3 filter=lfs diff=lfs merge=lfs -text
37
  *.ogg filter=lfs diff=lfs merge=lfs -text
38
  *.wav filter=lfs diff=lfs merge=lfs -text
39
+ lance/source-files.lance/data/00000001001001010111111008f842429187a13312e8ddb985.lance filter=lfs diff=lfs merge=lfs -text
40
+ lance/utterances.lance/_indices/b35082e2-4aff-40b4-af2d-f2e5328dac51/auxiliary.idx filter=lfs diff=lfs merge=lfs -text
41
+ lance/utterances.lance/_indices/b35082e2-4aff-40b4-af2d-f2e5328dac51/index.idx filter=lfs diff=lfs merge=lfs -text
42
+ lance/utterances.lance/data/001100101010000111101001c9d17a42cfbc54512f639b6677.lance filter=lfs diff=lfs merge=lfs -text
43
+ lance/utterances.lance/data/001101111111001010001111e0c2a04bfdac12177e43fd528f.lance filter=lfs diff=lfs merge=lfs -text
44
+ lance/utterances.lance/data/10001010011010111000011183cdbc4083a0f7e23d65a9922b.lance filter=lfs diff=lfs merge=lfs -text
45
+ lance/utterances.lance/data/111111000010001001101101367f814e638d86680b59ebb1c3.lance filter=lfs diff=lfs merge=lfs -text
LICENSE-CC-BY-4.0.txt ADDED
@@ -0,0 +1,396 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Attribution 4.0 International
2
+
3
+ =======================================================================
4
+
5
+ Creative Commons Corporation ("Creative Commons") is not a law firm and
6
+ does not provide legal services or legal advice. Distribution of
7
+ Creative Commons public licenses does not create a lawyer-client or
8
+ other relationship. Creative Commons makes its licenses and related
9
+ information available on an "as-is" basis. Creative Commons gives no
10
+ warranties regarding its licenses, any material licensed under their
11
+ terms and conditions, or any related information. Creative Commons
12
+ disclaims all liability for damages resulting from their use to the
13
+ fullest extent possible.
14
+
15
+ Using Creative Commons Public Licenses
16
+
17
+ Creative Commons public licenses provide a standard set of terms and
18
+ conditions that creators and other rights holders may use to share
19
+ original works of authorship and other material subject to copyright
20
+ and certain other rights specified in the public license below. The
21
+ following considerations are for informational purposes only, are not
22
+ exhaustive, and do not form part of our licenses.
23
+
24
+ Considerations for licensors: Our public licenses are
25
+ intended for use by those authorized to give the public
26
+ permission to use material in ways otherwise restricted by
27
+ copyright and certain other rights. Our licenses are
28
+ irrevocable. Licensors should read and understand the terms
29
+ and conditions of the license they choose before applying it.
30
+ Licensors should also secure all rights necessary before
31
+ applying our licenses so that the public can reuse the
32
+ material as expected. Licensors should clearly mark any
33
+ material not subject to the license. This includes other CC-
34
+ licensed material, or material used under an exception or
35
+ limitation to copyright. More considerations for licensors:
36
+ wiki.creativecommons.org/Considerations_for_licensors
37
+
38
+ Considerations for the public: By using one of our public
39
+ licenses, a licensor grants the public permission to use the
40
+ licensed material under specified terms and conditions. If
41
+ the licensor's permission is not necessary for any reason--for
42
+ example, because of any applicable exception or limitation to
43
+ copyright--then that use is not regulated by the license. Our
44
+ licenses grant only permissions under copyright and certain
45
+ other rights that a licensor has authority to grant. Use of
46
+ the licensed material may still be restricted for other
47
+ reasons, including because others have copyright or other
48
+ rights in the material. A licensor may make special requests,
49
+ such as asking that all changes be marked or described.
50
+ Although not required by our licenses, you are encouraged to
51
+ respect those requests where reasonable. More considerations
52
+ for the public:
53
+ wiki.creativecommons.org/Considerations_for_licensees
54
+
55
+ =======================================================================
56
+
57
+ Creative Commons Attribution 4.0 International Public License
58
+
59
+ By exercising the Licensed Rights (defined below), You accept and agree
60
+ to be bound by the terms and conditions of this Creative Commons
61
+ Attribution 4.0 International Public License ("Public License"). To the
62
+ extent this Public License may be interpreted as a contract, You are
63
+ granted the Licensed Rights in consideration of Your acceptance of
64
+ these terms and conditions, and the Licensor grants You such rights in
65
+ consideration of benefits the Licensor receives from making the
66
+ Licensed Material available under these terms and conditions.
67
+
68
+
69
+ Section 1 -- Definitions.
70
+
71
+ a. Adapted Material means material subject to Copyright and Similar
72
+ Rights that is derived from or based upon the Licensed Material
73
+ and in which the Licensed Material is translated, altered,
74
+ arranged, transformed, or otherwise modified in a manner requiring
75
+ permission under the Copyright and Similar Rights held by the
76
+ Licensor. For purposes of this Public License, where the Licensed
77
+ Material is a musical work, performance, or sound recording,
78
+ Adapted Material is always produced where the Licensed Material is
79
+ synched in timed relation with a moving image.
80
+
81
+ b. Adapter's License means the license You apply to Your Copyright
82
+ and Similar Rights in Your contributions to Adapted Material in
83
+ accordance with the terms and conditions of this Public License.
84
+
85
+ c. Copyright and Similar Rights means copyright and/or similar rights
86
+ closely related to copyright including, without limitation,
87
+ performance, broadcast, sound recording, and Sui Generis Database
88
+ Rights, without regard to how the rights are labeled or
89
+ categorized. For purposes of this Public License, the rights
90
+ specified in Section 2(b)(1)-(2) are not Copyright and Similar
91
+ Rights.
92
+
93
+ d. Effective Technological Measures means those measures that, in the
94
+ absence of proper authority, may not be circumvented under laws
95
+ fulfilling obligations under Article 11 of the WIPO Copyright
96
+ Treaty adopted on December 20, 1996, and/or similar international
97
+ agreements.
98
+
99
+ e. Exceptions and Limitations means fair use, fair dealing, and/or
100
+ any other exception or limitation to Copyright and Similar Rights
101
+ that applies to Your use of the Licensed Material.
102
+
103
+ f. Licensed Material means the artistic or literary work, database,
104
+ or other material to which the Licensor applied this Public
105
+ License.
106
+
107
+ g. Licensed Rights means the rights granted to You subject to the
108
+ terms and conditions of this Public License, which are limited to
109
+ all Copyright and Similar Rights that apply to Your use of the
110
+ Licensed Material and that the Licensor has authority to license.
111
+
112
+ h. Licensor means the individual(s) or entity(ies) granting rights
113
+ under this Public License.
114
+
115
+ i. Share means to provide material to the public by any means or
116
+ process that requires permission under the Licensed Rights, such
117
+ as reproduction, public display, public performance, distribution,
118
+ dissemination, communication, or importation, and to make material
119
+ available to the public including in ways that members of the
120
+ public may access the material from a place and at a time
121
+ individually chosen by them.
122
+
123
+ j. Sui Generis Database Rights means rights other than copyright
124
+ resulting from Directive 96/9/EC of the European Parliament and of
125
+ the Council of 11 March 1996 on the legal protection of databases,
126
+ as amended and/or succeeded, as well as other essentially
127
+ equivalent rights anywhere in the world.
128
+
129
+ k. You means the individual or entity exercising the Licensed Rights
130
+ under this Public License. Your has a corresponding meaning.
131
+
132
+
133
+ Section 2 -- Scope.
134
+
135
+ a. License grant.
136
+
137
+ 1. Subject to the terms and conditions of this Public License,
138
+ the Licensor hereby grants You a worldwide, royalty-free,
139
+ non-sublicensable, non-exclusive, irrevocable license to
140
+ exercise the Licensed Rights in the Licensed Material to:
141
+
142
+ a. reproduce and Share the Licensed Material, in whole or
143
+ in part; and
144
+
145
+ b. produce, reproduce, and Share Adapted Material.
146
+
147
+ 2. Exceptions and Limitations. For the avoidance of doubt, where
148
+ Exceptions and Limitations apply to Your use, this Public
149
+ License does not apply, and You do not need to comply with
150
+ its terms and conditions.
151
+
152
+ 3. Term. The term of this Public License is specified in Section
153
+ 6(a).
154
+
155
+ 4. Media and formats; technical modifications allowed. The
156
+ Licensor authorizes You to exercise the Licensed Rights in
157
+ all media and formats whether now known or hereafter created,
158
+ and to make technical modifications necessary to do so. The
159
+ Licensor waives and/or agrees not to assert any right or
160
+ authority to forbid You from making technical modifications
161
+ necessary to exercise the Licensed Rights, including
162
+ technical modifications necessary to circumvent Effective
163
+ Technological Measures. For purposes of this Public License,
164
+ simply making modifications authorized by this Section 2(a)
165
+ (4) never produces Adapted Material.
166
+
167
+ 5. Downstream recipients.
168
+
169
+ a. Offer from the Licensor -- Licensed Material. Every
170
+ recipient of the Licensed Material automatically
171
+ receives an offer from the Licensor to exercise the
172
+ Licensed Rights under the terms and conditions of this
173
+ Public License.
174
+
175
+ b. No downstream restrictions. You may not offer or impose
176
+ any additional or different terms or conditions on, or
177
+ apply any Effective Technological Measures to, the
178
+ Licensed Material if doing so restricts exercise of the
179
+ Licensed Rights by any recipient of the Licensed
180
+ Material.
181
+
182
+ 6. No endorsement. Nothing in this Public License constitutes or
183
+ may be construed as permission to assert or imply that You
184
+ are, or that Your use of the Licensed Material is, connected
185
+ with, or sponsored, endorsed, or granted official status by,
186
+ the Licensor or others designated to receive attribution as
187
+ provided in Section 3(a)(1)(A)(i).
188
+
189
+ b. Other rights.
190
+
191
+ 1. Moral rights, such as the right of integrity, are not
192
+ licensed under this Public License, nor are publicity,
193
+ privacy, and/or other similar personality rights; however, to
194
+ the extent possible, the Licensor waives and/or agrees not to
195
+ assert any such rights held by the Licensor to the limited
196
+ extent necessary to allow You to exercise the Licensed
197
+ Rights, but not otherwise.
198
+
199
+ 2. Patent and trademark rights are not licensed under this
200
+ Public License.
201
+
202
+ 3. To the extent possible, the Licensor waives any right to
203
+ collect royalties from You for the exercise of the Licensed
204
+ Rights, whether directly or through a collecting society
205
+ under any voluntary or waivable statutory or compulsory
206
+ licensing scheme. In all other cases the Licensor expressly
207
+ reserves any right to collect such royalties.
208
+
209
+
210
+ Section 3 -- License Conditions.
211
+
212
+ Your exercise of the Licensed Rights is expressly made subject to the
213
+ following conditions.
214
+
215
+ a. Attribution.
216
+
217
+ 1. If You Share the Licensed Material (including in modified
218
+ form), You must:
219
+
220
+ a. retain the following if it is supplied by the Licensor
221
+ with the Licensed Material:
222
+
223
+ i. identification of the creator(s) of the Licensed
224
+ Material and any others designated to receive
225
+ attribution, in any reasonable manner requested by
226
+ the Licensor (including by pseudonym if
227
+ designated);
228
+
229
+ ii. a copyright notice;
230
+
231
+ iii. a notice that refers to this Public License;
232
+
233
+ iv. a notice that refers to the disclaimer of
234
+ warranties;
235
+
236
+ v. a URI or hyperlink to the Licensed Material to the
237
+ extent reasonably practicable;
238
+
239
+ b. indicate if You modified the Licensed Material and
240
+ retain an indication of any previous modifications; and
241
+
242
+ c. indicate the Licensed Material is licensed under this
243
+ Public License, and include the text of, or the URI or
244
+ hyperlink to, this Public License.
245
+
246
+ 2. You may satisfy the conditions in Section 3(a)(1) in any
247
+ reasonable manner based on the medium, means, and context in
248
+ which You Share the Licensed Material. For example, it may be
249
+ reasonable to satisfy the conditions by providing a URI or
250
+ hyperlink to a resource that includes the required
251
+ information.
252
+
253
+ 3. If requested by the Licensor, You must remove any of the
254
+ information required by Section 3(a)(1)(A) to the extent
255
+ reasonably practicable.
256
+
257
+ 4. If You Share Adapted Material You produce, the Adapter's
258
+ License You apply must not prevent recipients of the Adapted
259
+ Material from complying with this Public License.
260
+
261
+
262
+ Section 4 -- Sui Generis Database Rights.
263
+
264
+ Where the Licensed Rights include Sui Generis Database Rights that
265
+ apply to Your use of the Licensed Material:
266
+
267
+ a. for the avoidance of doubt, Section 2(a)(1) grants You the right
268
+ to extract, reuse, reproduce, and Share all or a substantial
269
+ portion of the contents of the database;
270
+
271
+ b. if You include all or a substantial portion of the database
272
+ contents in a database in which You have Sui Generis Database
273
+ Rights, then the database in which You have Sui Generis Database
274
+ Rights (but not its individual contents) is Adapted Material; and
275
+
276
+ c. You must comply with the conditions in Section 3(a) if You Share
277
+ all or a substantial portion of the contents of the database.
278
+
279
+ For the avoidance of doubt, this Section 4 supplements and does not
280
+ replace Your obligations under this Public License where the Licensed
281
+ Rights include other Copyright and Similar Rights.
282
+
283
+
284
+ Section 5 -- Disclaimer of Warranties and Limitation of Liability.
285
+
286
+ a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE
287
+ EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS
288
+ AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF
289
+ ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS,
290
+ IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION,
291
+ WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR
292
+ PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS,
293
+ ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT
294
+ KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT
295
+ ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU.
296
+
297
+ b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE
298
+ TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION,
299
+ NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT,
300
+ INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES,
301
+ COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR
302
+ USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN
303
+ ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR
304
+ DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR
305
+ IN PART, THIS LIMITATION MAY NOT APPLY TO YOU.
306
+
307
+ c. The disclaimer of warranties and limitation of liability provided
308
+ above shall be interpreted in a manner that, to the extent
309
+ possible, most closely approximates an absolute disclaimer and
310
+ waiver of all liability.
311
+
312
+
313
+ Section 6 -- Term and Termination.
314
+
315
+ a. This Public License applies for the term of the Copyright and
316
+ Similar Rights licensed here. However, if You fail to comply with
317
+ this Public License, then Your rights under this Public License
318
+ terminate automatically.
319
+
320
+ b. Where Your right to use the Licensed Material has terminated under
321
+ Section 6(a), it reinstates:
322
+
323
+ 1. automatically as of the date the violation is cured, provided
324
+ it is cured within 30 days of Your discovery of the
325
+ violation; or
326
+
327
+ 2. upon express reinstatement by the Licensor.
328
+
329
+ For the avoidance of doubt, this Section 6(b) does not affect any
330
+ right the Licensor may have to seek remedies for Your violations
331
+ of this Public License.
332
+
333
+ c. For the avoidance of doubt, the Licensor may also offer the
334
+ Licensed Material under separate terms or conditions or stop
335
+ distributing the Licensed Material at any time; however, doing so
336
+ will not terminate this Public License.
337
+
338
+ d. Sections 1, 5, 6, 7, and 8 survive termination of this Public
339
+ License.
340
+
341
+
342
+ Section 7 -- Other Terms and Conditions.
343
+
344
+ a. The Licensor shall not be bound by any additional or different
345
+ terms or conditions communicated by You unless expressly agreed.
346
+
347
+ b. Any arrangements, understandings, or agreements regarding the
348
+ Licensed Material not stated herein are separate from and
349
+ independent of the terms and conditions of this Public License.
350
+
351
+
352
+ Section 8 -- Interpretation.
353
+
354
+ a. For the avoidance of doubt, this Public License does not, and
355
+ shall not be interpreted to, reduce, limit, restrict, or impose
356
+ conditions on any use of the Licensed Material that could lawfully
357
+ be made without permission under this Public License.
358
+
359
+ b. To the extent possible, if any provision of this Public License is
360
+ deemed unenforceable, it shall be automatically reformed to the
361
+ minimum extent necessary to make it enforceable. If the provision
362
+ cannot be reformed, it shall be severed from this Public License
363
+ without affecting the enforceability of the remaining terms and
364
+ conditions.
365
+
366
+ c. No term or condition of this Public License will be waived and no
367
+ failure to comply consented to unless expressly agreed to by the
368
+ Licensor.
369
+
370
+ d. Nothing in this Public License constitutes or may be interpreted
371
+ as a limitation upon, or waiver of, any privileges and immunities
372
+ that apply to the Licensor or You, including from the legal
373
+ processes of any jurisdiction or authority.
374
+
375
+
376
+ =======================================================================
377
+
378
+ Creative Commons is not a party to its public
379
+ licenses. Notwithstanding, Creative Commons may elect to apply one of
380
+ its public licenses to material it publishes and in those instances
381
+ will be considered the “Licensor.” The text of the Creative Commons
382
+ public licenses is dedicated to the public domain under the CC0 Public
383
+ Domain Dedication. Except for the limited purpose of indicating that
384
+ material is shared under a Creative Commons public license or as
385
+ otherwise permitted by the Creative Commons policies published at
386
+ creativecommons.org/policies, Creative Commons does not authorize the
387
+ use of the trademark "Creative Commons" or any other trademark or logo
388
+ of Creative Commons without its prior written consent including,
389
+ without limitation, in connection with any unauthorized modifications
390
+ to any of its public licenses or any other arrangements,
391
+ understandings, or agreements concerning use of licensed material. For
392
+ the avoidance of doubt, this paragraph does not form part of the
393
+ public licenses.
394
+
395
+ Creative Commons may be contacted at creativecommons.org.
396
+
README.md CHANGED
@@ -109,8 +109,7 @@ language:
109
  - yor
110
  - yue
111
  - zul
112
- license:
113
- - cc-by-4.0
114
  multilinguality:
115
  - multilingual
116
  size_categories:
@@ -118,13 +117,10 @@ size_categories:
118
  task_categories:
119
  - automatic-speech-recognition
120
  task_ids: []
121
- pretty_name: 'The Cross-lingual TRansfer Evaluation of Multilingual Encoders for Speech
122
- (XTREME-S) benchmark is a benchmark designed to evaluate speech representations
123
- across languages, tasks, domains and data regimes. It covers 102 languages from
124
- 10+ language families, 3 different domains and 4 task families: speech recognition,
125
- translation, classification and retrieval.'
126
  tags:
127
  - speech-recognition
 
128
  dataset_info:
129
  - config_name: af_za
130
  features:
@@ -16918,230 +16914,96 @@ configs:
16918
  path: parquet-data/zu_za/test-*
16919
  ---
16920
 
16921
- # FLEURS
16922
 
16923
- ## Dataset Description
16924
 
16925
- - **Fine-Tuning script:** [pytorch/speech-recognition](https://github.com/huggingface/transformers/tree/main/examples/pytorch/speech-recognition)
16926
- - **Paper:** [FLEURS: Few-shot Learning Evaluation of
16927
- Universal Representations of Speech](https://arxiv.org/abs/2205.12446)
16928
- - **Total amount of disk used:** ca. 350 GB
 
16929
 
16930
- Fleurs is the speech version of the [FLoRes machine translation benchmark](https://arxiv.org/abs/2106.03193).
16931
- We use 2009 n-way parallel sentences from the FLoRes dev and devtest publicly available sets, in 102 languages.
16932
 
16933
- Training sets have around 10 hours of supervision. Speakers of the train sets are different than speakers from the dev/test sets. Multilingual fine-tuning is
16934
- used and ”unit error rate” (characters, signs) of all languages is averaged. Languages and results are also grouped into seven geographical areas:
16935
 
16936
- - **Western Europe**: *Asturian, Bosnian, Catalan, Croatian, Danish, Dutch, English, Finnish, French, Galician, German, Greek, Hungarian, Icelandic, Irish, Italian, Kabuverdianu, Luxembourgish, Maltese, Norwegian, Occitan, Portuguese, Spanish, Swedish, Welsh*
16937
- - **Eastern Europe**: *Armenian, Belarusian, Bulgarian, Czech, Estonian, Georgian, Latvian, Lithuanian, Macedonian, Polish, Romanian, Russian, Serbian, Slovak, Slovenian, Ukrainian*
16938
- - **Central-Asia/Middle-East/North-Africa**: *Arabic, Azerbaijani, Hebrew, Kazakh, Kyrgyz, Mongolian, Pashto, Persian, Sorani-Kurdish, Tajik, Turkish, Uzbek*
16939
- - **Sub-Saharan Africa**: *Afrikaans, Amharic, Fula, Ganda, Hausa, Igbo, Kamba, Lingala, Luo, Northern-Sotho, Nyanja, Oromo, Shona, Somali, Swahili, Umbundu, Wolof, Xhosa, Yoruba, Zulu*
16940
- - **South-Asia**: *Assamese, Bengali, Gujarati, Hindi, Kannada, Malayalam, Marathi, Nepali, Oriya, Punjabi, Sindhi, Tamil, Telugu, Urdu*
16941
- - **South-East Asia**: *Burmese, Cebuano, Filipino, Indonesian, Javanese, Khmer, Lao, Malay, Maori, Thai, Vietnamese*
16942
- - **CJK languages**: *Cantonese and Mandarin Chinese, Japanese, Korean*
16943
 
 
16944
 
16945
- ## How to use & Supported Tasks
16946
-
16947
- ### How to use
16948
-
16949
- 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.
16950
-
16951
- For example, to download the Hindi config, simply specify the corresponding language config name (i.e., "hi_in" for Hindi):
16952
  ```python
16953
- from datasets import load_dataset
16954
- fleurs = load_dataset("google/fleurs", "hi_in", split="train")
16955
- ```
16956
-
16957
- 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.
16958
- ```python
16959
- from datasets import load_dataset
16960
- fleurs = load_dataset("google/fleurs", "hi_in", split="train", streaming=True)
16961
- print(next(iter(fleurs)))
16962
- ```
16963
-
16964
- *Bonus*: create a [PyTorch dataloader](https://huggingface.co/docs/datasets/use_with_pytorch) directly with your own datasets (local/streamed).
16965
-
16966
- Local:
16967
-
16968
- ```python
16969
- from datasets import load_dataset
16970
- from torch.utils.data.sampler import BatchSampler, RandomSampler
16971
- fleurs = load_dataset("google/fleurs", "hi_in", split="train")
16972
- batch_sampler = BatchSampler(RandomSampler(fleurs), batch_size=32, drop_last=False)
16973
- dataloader = DataLoader(fleurs, batch_sampler=batch_sampler)
16974
- ```
16975
-
16976
- Streaming:
16977
-
16978
- ```python
16979
- from datasets import load_dataset
16980
- from torch.utils.data import DataLoader
16981
- fleurs = load_dataset("google/fleurs", "hi_in", split="train")
16982
- dataloader = DataLoader(fleurs, batch_size=32)
16983
- ```
16984
-
16985
- To find out more about loading and preparing audio datasets, head over to [hf.co/blog/audio-datasets](https://huggingface.co/blog/audio-datasets).
16986
-
16987
- ### Example scripts
16988
-
16989
- Train your own CTC or Seq2Seq Automatic Speech Recognition models on FLEURS with `transformers` - [here](https://github.com/huggingface/transformers/tree/main/examples/pytorch/speech-recognition).
16990
-
16991
- Fine-tune your own Language Identification models on FLEURS with `transformers` - [here](https://github.com/huggingface/transformers/tree/main/examples/pytorch/audio-classification)
16992
-
16993
- ### 1. Speech Recognition (ASR)
16994
-
16995
- ```py
16996
- from datasets import load_dataset
16997
-
16998
- fleurs_asr = load_dataset("google/fleurs", "af_za") # for Afrikaans
16999
- # to download all data for multi-lingual fine-tuning uncomment following line
17000
- # fleurs_asr = load_dataset("google/fleurs", "all")
17001
-
17002
- # see structure
17003
- print(fleurs_asr)
17004
-
17005
- # load audio sample on the fly
17006
- audio_input = fleurs_asr["train"][0]["audio"] # first decoded audio sample
17007
- transcription = fleurs_asr["train"][0]["transcription"] # first transcription
17008
- # use `audio_input` and `transcription` to fine-tune your model for ASR
17009
-
17010
- # for analyses see language groups
17011
- all_language_groups = fleurs_asr["train"].features["lang_group_id"].names
17012
- lang_group_id = fleurs_asr["train"][0]["lang_group_id"]
17013
-
17014
- all_language_groups[lang_group_id]
17015
- ```
17016
-
17017
- ### 2. Language Identification
17018
-
17019
- LangID can often be a domain classification, but in the case of FLEURS-LangID, recordings are done in a similar setting across languages and the utterances correspond to n-way parallel sentences, in the exact same domain, making this task particularly relevant for evaluating LangID. The setting is simple, FLEURS-LangID is splitted in train/valid/test for each language. We simply create a single train/valid/test for LangID by merging all.
17020
-
17021
- ```py
17022
- from datasets import load_dataset
17023
-
17024
- fleurs_langID = load_dataset("google/fleurs", "all") # to download all data
17025
-
17026
- # see structure
17027
- print(fleurs_langID)
17028
 
17029
- # load audio sample on the fly
17030
- audio_input = fleurs_langID["train"][0]["audio"] # first decoded audio sample
17031
- language_class = fleurs_langID["train"][0]["lang_id"] # first id class
17032
- language = fleurs_langID["train"].features["lang_id"].names[language_class]
 
17033
 
17034
- # use audio_input and language_class to fine-tune your model for audio classification
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
17035
  ```
17036
 
17037
- ### 3. Retrieval
17038
 
17039
- Retrieval provides n-way parallel speech and text data. Similar to how XTREME for text leverages Tatoeba to evaluate bitext mining a.k.a sentence translation retrieval, we use Retrieval to evaluate the quality of fixed-size representations of speech utterances. Our goal is to incentivize the creation of fixed-size speech encoder for speech retrieval. The system has to retrieve the English "key" utterance corresponding to the speech translation of "queries" in 15 languages. Results have to be reported on the test sets of Retrieval whose utterances are used as queries (and keys for English). We augment the English keys with a large number of utterances to make the task more difficult.
17040
 
17041
- ```py
17042
- from datasets import load_dataset
17043
-
17044
- fleurs_retrieval = load_dataset("google/fleurs", "af_za") # for Afrikaans
17045
- # to download all data for multi-lingual fine-tuning uncomment following line
17046
- # fleurs_retrieval = load_dataset("google/fleurs", "all")
17047
-
17048
- # see structure
17049
- print(fleurs_retrieval)
17050
-
17051
- # load audio sample on the fly
17052
- audio_input = fleurs_retrieval["train"][0]["audio"] # decoded audio sample
17053
- text_sample_pos = fleurs_retrieval["train"][0]["transcription"] # positive text sample
17054
- text_sample_neg = fleurs_retrieval["train"][1:20]["transcription"] # negative text samples
17055
-
17056
- # use `audio_input`, `text_sample_pos`, and `text_sample_neg` to fine-tune your model for retrieval
17057
- ```
17058
-
17059
- Users can leverage the training (and dev) sets of FLEURS-Retrieval with a ranking loss to build better cross-lingual fixed-size representations of speech.
17060
-
17061
- ## Dataset Structure
17062
-
17063
- We show detailed information the example configurations `af_za` of the dataset.
17064
- All other configurations have the same structure.
17065
-
17066
- ### Data Instances
17067
-
17068
- **af_za**
17069
- - Size of downloaded dataset files: 1.47 GB
17070
- - Size of the generated dataset: 1 MB
17071
- - Total amount of disk used: 1.47 GB
17072
-
17073
- An example of a data instance of the config `af_za` looks as follows:
17074
-
17075
- ```
17076
- {'id': 91,
17077
- 'num_samples': 385920,
17078
- 'path': '/home/patrick/.cache/huggingface/datasets/downloads/extracted/310a663d52322700b3d3473cbc5af429bd92a23f9bc683594e70bc31232db39e/home/vaxelrod/FLEURS/oss2_obfuscated/af_za/audio/train/17797742076841560615.wav',
17079
- 'audio': {'path': '/home/patrick/.cache/huggingface/datasets/downloads/extracted/310a663d52322700b3d3473cbc5af429bd92a23f9bc683594e70bc31232db39e/home/vaxelrod/FLEURS/oss2_obfuscated/af_za/audio/train/17797742076841560615.wav',
17080
- 'array': array([ 0.0000000e+00, 0.0000000e+00, 0.0000000e+00, ...,
17081
- -1.1205673e-04, -8.4638596e-05, -1.2731552e-04], dtype=float32),
17082
- 'sampling_rate': 16000},
17083
- 'raw_transcription': 'Dit is nog nie huidiglik bekend watter aantygings gemaak sal word of wat owerhede na die seun gelei het nie maar jeugmisdaad-verrigtinge het in die federale hof begin',
17084
- 'transcription': 'dit is nog nie huidiglik bekend watter aantygings gemaak sal word of wat owerhede na die seun gelei het nie maar jeugmisdaad-verrigtinge het in die federale hof begin',
17085
- 'gender': 0,
17086
- 'lang_id': 0,
17087
- 'language': 'Afrikaans',
17088
- 'lang_group_id': 3}
17089
- ```
17090
-
17091
- ### Data Fields
17092
-
17093
- The data fields are the same among all splits.
17094
- - **id** (int): ID of audio sample
17095
- - **num_samples** (int): Number of float values
17096
- - **path** (str): Path to the audio file
17097
- - **audio** (dict): Audio object including loaded audio array, sampling rate and path ot audio
17098
- - **raw_transcription** (str): The non-normalized transcription of the audio file
17099
- - **transcription** (str): Transcription of the audio file
17100
- - **gender** (int): Class id of gender
17101
- - **lang_id** (int): Class id of language
17102
- - **lang_group_id** (int): Class id of language group
17103
-
17104
- ### Data Splits
17105
-
17106
- Every config only has the `"train"` split containing of *ca.* 1000 examples, and a `"validation"` and `"test"` split each containing of *ca.* 400 examples.
17107
-
17108
- ## Dataset Creation
17109
-
17110
- We collect between one and three recordings for each sentence (2.3 on average), and buildnew train-dev-test splits with 1509, 150 and 350 sentences for
17111
- train, dev and test respectively.
17112
-
17113
- ## Considerations for Using the Data
17114
-
17115
- ### Social Impact of Dataset
17116
-
17117
- This dataset is meant to encourage the development of speech technology in a lot more languages of the world. One of the goal is to give equal access to technologies like speech recognition or speech translation to everyone, meaning better dubbing or better access to content from the internet (like podcasts, streaming or videos).
17118
-
17119
- ### Discussion of Biases
17120
-
17121
- Most datasets have a fair distribution of gender utterances (e.g. the newly introduced FLEURS dataset). While many languages are covered from various regions of the world, the benchmark misses many languages that are all equally important. We believe technology built through FLEURS should generalize to all languages.
17122
-
17123
- ### Other Known Limitations
17124
-
17125
- The dataset has a particular focus on read-speech because common evaluation benchmarks like CoVoST-2 or LibriSpeech evaluate on this type of speech. There is sometimes a known mismatch between performance obtained in a read-speech setting and a more noisy setting (in production for instance). Given the big progress that remains to be made on many languages, we believe better performance on FLEURS should still correlate well with actual progress made for speech understanding.
17126
-
17127
- ## Additional Information
17128
-
17129
- All datasets are licensed under the [Creative Commons license (CC-BY)](https://creativecommons.org/licenses/).
17130
-
17131
- ### Citation Information
17132
 
17133
- You can access the FLEURS paper at https://arxiv.org/abs/2205.12446.
17134
- Please cite the paper when referencing the FLEURS corpus as:
 
17135
 
17136
- ```
17137
- @article{fleurs2022arxiv,
17138
- title = {FLEURS: Few-shot Learning Evaluation of Universal Representations of Speech},
17139
- author = {Conneau, Alexis and Ma, Min and Khanuja, Simran and Zhang, Yu and Axelrod, Vera and Dalmia, Siddharth and Riesa, Jason and Rivera, Clara and Bapna, Ankur},
17140
- journal={arXiv preprint arXiv:2205.12446},
17141
- url = {https://arxiv.org/abs/2205.12446},
17142
- year = {2022},
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
17143
  ```
17144
 
17145
- ### Contributions
17146
 
17147
- Thanks to [@patrickvonplaten](https://github.com/patrickvonplaten) and [@aconneau](https://github.com/aconneau) for adding this dataset.
 
109
  - yor
110
  - yue
111
  - zul
112
+ license: cc-by-sa-4.0
 
113
  multilinguality:
114
  - multilingual
115
  size_categories:
 
117
  task_categories:
118
  - automatic-speech-recognition
119
  task_ids: []
120
+ pretty_name: FLEURS (Lance)
 
 
 
 
121
  tags:
122
  - speech-recognition
123
+ - lance
124
  dataset_info:
125
  - config_name: af_za
126
  features:
 
16914
  path: parquet-data/zu_za/test-*
16915
  ---
16916
 
16917
+ # FLEURS in Lance
16918
 
16919
+ FLEURS is Google's Few-shot Learning Evaluation of Universal Representations of Speech benchmark. This release preserves 384,060 original recordings and transcripts across 102 language configurations. The original train, validation, and test counts are 271,798, 34,452, and 77,810. The `all` configuration is the union of the language configurations for each split. [Pinned original dataset](https://huggingface.co/datasets/google/fleurs/tree/70bb2e84b976b7e960aa89f1c648e09c59f894dd) · [FLEURS paper](https://arxiv.org/abs/2205.12446)
16920
 
16921
+ | Path | Contents |
16922
+ | --- | --- |
16923
+ | `lance/utterances.lance` | One row per recording, with the original sentence ID, transcript variants, language and speaker labels, original WAV filename, archive path, and attribution |
16924
+ | `lance/source-files.lance` | 1,004 original files and their checksums, exposed as range-readable Lance Blob v2 values |
16925
+ | `parquet-data/` | All 389 original prepared Parquet files used by Data Studio for the same 103 configurations and 309 split combinations |
16926
 
16927
+ Open the utterances table and filter by `lang_code` and `split` to select a language split. To select an `all` split, filter by `split` alone. The `path` column is the portable WAV filename. The original prepared Parquets also retain the upstream builder's serialized path and audio features. The 306 byte-identical source WAV archives are under `data/<language>/audio/`. [Split counts and release metadata](release-info.json) · [Full file inventory](source/inventory.jsonl) · [Data Studio](https://huggingface.co/datasets/lance-format/fleurs-lance/viewer/en_us/test)
 
16928
 
16929
+ ## Search transcripts and locate recordings
 
16930
 
16931
+ This release generates normalized 256-dimensional float32 vectors from each complete `raw_transcription` using the multilingual `minishlab/potion-multilingual-128M` checkpoint at revision `73908c3438cf03b6a01bcb9611d62b23d0726f08`. Recordings of the same transcript share the same vector. The table has a cosine IVF_PQ index for larger searches. The example computes exact cosine distances within the English test split. It prints the cosine similarity, the sentence ID, and the distinct recording filename for five matches. [Pinned query encoder](https://huggingface.co/minishlab/potion-multilingual-128M/tree/73908c3438cf03b6a01bcb9611d62b23d0726f08)
 
 
 
 
 
 
16932
 
16933
+ Install the dependencies with `python -m pip install "pylance==14.0.3" "model2vec==0.10.0" huggingface_hub scipy`.
16934
 
 
 
 
 
 
 
 
16935
  ```python
16936
+ import lance
16937
+ from huggingface_hub import HfApi, snapshot_download
16938
+ from model2vec import StaticModel
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
16939
 
16940
+ repo = "lance-format/fleurs-lance"
16941
+ revision = HfApi(token=False).dataset_info(repo, token=False).sha
16942
+ base = f"hf://datasets/{repo}"
16943
+ options = {"hf_revision": revision}
16944
+ utterances = lance.dataset(f"{base}/lance/utterances.lance", storage_options=options)
16945
 
16946
+ model_dir = snapshot_download(
16947
+ "minishlab/potion-multilingual-128M",
16948
+ revision="73908c3438cf03b6a01bcb9611d62b23d0726f08",
16949
+ allow_patterns=["config.json", "tokenizer.json", "model.safetensors"],
16950
+ token=False,
16951
+ )
16952
+ encoder = StaticModel.from_pretrained(model_dir, max_length=None)
16953
+ query = "Fashion styles in the west lagged for decades because communication was slow."
16954
+ vector = encoder.encode(query, max_length=None, normalize=True)
16955
+ matches = utterances.to_table(
16956
+ columns=["id", "lang_code", "split", "path", "raw_transcription", "text_source_url", "_distance"],
16957
+ filter="lang_code = 'en_us' AND split = 'test'",
16958
+ prefilter=True,
16959
+ nearest={"column": "embedding", "q": vector, "k": 5, "metric": "cosine", "use_index": False},
16960
+ ).to_pylist()
16961
+ for hit in matches:
16962
+ print(f"{1 - hit['_distance']:.4f} {hit['lang_code']}/{hit['split']} {hit['id']} {hit['path']} {hit['raw_transcription']}")
16963
  ```
16964
 
16965
+ ## Read an original WAV from Lance
16966
 
16967
+ The example reads a bounded prefix of the original English test archive as a Lance Blob v2 and exports the first WAV, one of the top matches above. For later members, stream the corresponding gzip archive and match the WAV filename in the utterance row.
16968
 
16969
+ ```python
16970
+ import hashlib
16971
+ import io
16972
+ import tarfile
16973
+ from pathlib import Path
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
16974
 
16975
+ import lance
16976
+ from huggingface_hub import HfApi
16977
+ from scipy.io import wavfile
16978
 
16979
+ repo = "lance-format/fleurs-lance"
16980
+ revision = HfApi(token=False).dataset_info(repo, token=False).sha
16981
+ base = f"hf://datasets/{repo}"
16982
+ options = {"hf_revision": revision}
16983
+ files = lance.dataset(
16984
+ f"{base}/lance/source-files.lance",
16985
+ storage_options=options,
16986
+ base_store_params={base: options},
16987
+ )
16988
+ entry, = files.to_table(
16989
+ columns=["source_path"],
16990
+ filter="source_path = 'data/en_us/audio/test.tar.gz'",
16991
+ with_row_id=True,
16992
+ ).to_pylist()
16993
+ with files.take_blobs("payload", ids=[entry["_rowid"]])[0] as audio_archive:
16994
+ prefix = audio_archive.read(768000)
16995
+ with tarfile.open(fileobj=io.BytesIO(prefix), mode="r|gz") as archive:
16996
+ member = next(item for item in archive if item.isfile())
16997
+ assert member.name == "test/1003119935936341070.wav"
16998
+ with archive.extractfile(member) as stream:
16999
+ wav = stream.read()
17000
+ assert hashlib.sha256(wav).hexdigest() == "33aca50159ec2e3cbcc894eb26faa916d6badb1b49fb75994973561540a7f012"
17001
+ sample_rate, samples = wavfile.read(io.BytesIO(wav))
17002
+ assert sample_rate == 16000
17003
+ print(f"{sample_rate} Hz, {len(samples)} samples")
17004
+ Path("1003119935936341070.wav").write_bytes(wav)
17005
  ```
17006
 
17007
+ ## Source licenses and attribution
17008
 
17009
+ Google and the FLEURS authors release the speech dataset under CC BY 4.0. The included text derives from Meta's FLORES-101 dev and devtest transcripts, which retain CC BY-SA 4.0. The native table credits the original Wikinews, Wikivoyage, or Wikibooks page on every row through `text_source_url`, matched against Meta's first-party metadata. The linked pages preserve source contributor and license history. This conversion adds Lance tables, range-access references, the provenance join, and search embeddings. Original WAVs, TSVs, and Parquets are byte-identical. [Original FLEURS card](source/README.md) · [CC BY 4.0 text](LICENSE-CC-BY-4.0.txt) · [FLORES-101 source and citation](source/flores101/README.md) · [FLORES-101 CC BY-SA 4.0 text](source/flores101/LICENSE.txt) · [Sentence-by-sentence attribution](source/flores101/utterance-attribution.tsv)
lance/source-files.lance/_indices/6ae3200d-209d-4cda-bfe2-08326d51c18d/page_data.lance ADDED
Binary file (16.9 kB). View file
 
lance/source-files.lance/_indices/6ae3200d-209d-4cda-bfe2-08326d51c18d/page_lookup.lance ADDED
Binary file (887 Bytes). View file
 
lance/source-files.lance/_transactions/0-be45164e-5288-456e-a449-fc4b334ee4b1.txn ADDED
Binary file (648 Bytes). View file
 
lance/source-files.lance/_transactions/1-b1cf49da-975e-496a-a525-044bccc2e022.txn ADDED
Binary file (199 Bytes). View file
 
lance/source-files.lance/_versions/18446744073709551613.manifest ADDED
Binary file (1.09 kB). View file
 
lance/source-files.lance/_versions/18446744073709551614.manifest ADDED
Binary file (1.38 kB). View file
 
lance/source-files.lance/_versions/latest_version_hint.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"version":2}
lance/source-files.lance/data/00000001001001010111111008f842429187a13312e8ddb985.lance ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:31aff761fac86ce53b10e3c74a3d8d22c1dc28bc86a6680632a408a415ad566a
3
+ size 136217
lance/utterances.lance/_indices/b35082e2-4aff-40b4-af2d-f2e5328dac51/auxiliary.idx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:84b5a333d4fff1a6ef30b8876e83d141c1408405dd99298951a55b63c971445a
3
+ size 8051625
lance/utterances.lance/_indices/b35082e2-4aff-40b4-af2d-f2e5328dac51/index.idx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ec41eeed8e2e37ec5b263f1a94f476fa487909bdea004f786045585a501f6054
3
+ size 132042
lance/utterances.lance/_transactions/0-9c3d9e31-1ce2-457d-ba4b-1040e040a18e.txn ADDED
Binary file (1.38 kB). View file
 
lance/utterances.lance/_transactions/1-af0da244-ea04-4e36-baa9-e68b6ecdc081.txn ADDED
Binary file (469 Bytes). View file
 
lance/utterances.lance/_versions/18446744073709551613.manifest ADDED
Binary file (2.36 kB). View file
 
lance/utterances.lance/_versions/18446744073709551614.manifest ADDED
Binary file (2.84 kB). View file
 
lance/utterances.lance/_versions/latest_version_hint.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"version":2}
lance/utterances.lance/data/001100101010000111101001c9d17a42cfbc54512f639b6677.lance ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:90532c53c831e56f8fef6dd24ae132f154c39d4cca90d517d5ff2af2735da3e9
3
+ size 189908024
lance/utterances.lance/data/001101111111001010001111e0c2a04bfdac12177e43fd528f.lance ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ea11dd0802297d5b7ba8b876476d5833097bf5d089d02d0fb3ac95c010fe7156
3
+ size 184250042
lance/utterances.lance/data/10001010011010111000011183cdbc4083a0f7e23d65a9922b.lance ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f45f9a4ec1d180d5766ea64a155bd442a2dcffcdbe0919994104106be6b8417a
3
+ size 105409
lance/utterances.lance/data/111111000010001001101101367f814e638d86680b59ebb1c3.lance ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b836ba01f817bd0ac2dc498da171b5162b6b5dac44b31c6c8388096a87ef256a
3
+ size 186494312
release-info.json ADDED
@@ -0,0 +1,538 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "source": "google/fleurs",
3
+ "source_revision": "70bb2e84b976b7e960aa89f1c648e09c59f894dd",
4
+ "source_file_counts": {
5
+ "metadata": 3,
6
+ "audio_tar_gz": 306,
7
+ "transcript_tsv": 306,
8
+ "prepared_parquet": 389
9
+ },
10
+ "original_files": 1004,
11
+ "original_bytes": 878377671348,
12
+ "source_recording_rows": 384060,
13
+ "source_split_counts_by_configuration": {
14
+ "af_za": {
15
+ "train": 1032,
16
+ "validation": 198,
17
+ "test": 264
18
+ },
19
+ "all": {
20
+ "train": 271798,
21
+ "validation": 34452,
22
+ "test": 77810
23
+ },
24
+ "am_et": {
25
+ "train": 3163,
26
+ "validation": 223,
27
+ "test": 516
28
+ },
29
+ "ar_eg": {
30
+ "train": 2104,
31
+ "validation": 295,
32
+ "test": 428
33
+ },
34
+ "as_in": {
35
+ "train": 2812,
36
+ "validation": 418,
37
+ "test": 984
38
+ },
39
+ "ast_es": {
40
+ "train": 2511,
41
+ "validation": 398,
42
+ "test": 946
43
+ },
44
+ "az_az": {
45
+ "train": 2665,
46
+ "validation": 400,
47
+ "test": 923
48
+ },
49
+ "be_by": {
50
+ "train": 2433,
51
+ "validation": 408,
52
+ "test": 967
53
+ },
54
+ "bg_bg": {
55
+ "train": 2973,
56
+ "validation": 395,
57
+ "test": 658
58
+ },
59
+ "bn_in": {
60
+ "train": 3006,
61
+ "validation": 402,
62
+ "test": 920
63
+ },
64
+ "bs_ba": {
65
+ "train": 3091,
66
+ "validation": 400,
67
+ "test": 925
68
+ },
69
+ "ca_es": {
70
+ "train": 2300,
71
+ "validation": 404,
72
+ "test": 940
73
+ },
74
+ "ceb_ph": {
75
+ "train": 3261,
76
+ "validation": 225,
77
+ "test": 541
78
+ },
79
+ "ckb_iq": {
80
+ "train": 3040,
81
+ "validation": 386,
82
+ "test": 922
83
+ },
84
+ "cmn_hans_cn": {
85
+ "train": 3246,
86
+ "validation": 409,
87
+ "test": 945
88
+ },
89
+ "cs_cz": {
90
+ "train": 2811,
91
+ "validation": 305,
92
+ "test": 723
93
+ },
94
+ "cy_gb": {
95
+ "train": 3427,
96
+ "validation": 447,
97
+ "test": 1021
98
+ },
99
+ "da_dk": {
100
+ "train": 2465,
101
+ "validation": 395,
102
+ "test": 930
103
+ },
104
+ "de_de": {
105
+ "train": 2987,
106
+ "validation": 363,
107
+ "test": 862
108
+ },
109
+ "el_gr": {
110
+ "train": 3215,
111
+ "validation": 271,
112
+ "test": 650
113
+ },
114
+ "en_us": {
115
+ "train": 2602,
116
+ "validation": 394,
117
+ "test": 647
118
+ },
119
+ "es_419": {
120
+ "train": 2796,
121
+ "validation": 408,
122
+ "test": 908
123
+ },
124
+ "et_ee": {
125
+ "train": 2501,
126
+ "validation": 387,
127
+ "test": 893
128
+ },
129
+ "fa_ir": {
130
+ "train": 3101,
131
+ "validation": 369,
132
+ "test": 871
133
+ },
134
+ "ff_sn": {
135
+ "train": 3235,
136
+ "validation": 273,
137
+ "test": 660
138
+ },
139
+ "fi_fi": {
140
+ "train": 2704,
141
+ "validation": 415,
142
+ "test": 918
143
+ },
144
+ "fil_ph": {
145
+ "train": 1884,
146
+ "validation": 418,
147
+ "test": 964
148
+ },
149
+ "fr_fr": {
150
+ "train": 3193,
151
+ "validation": 289,
152
+ "test": 676
153
+ },
154
+ "ga_ie": {
155
+ "train": 2845,
156
+ "validation": 369,
157
+ "test": 842
158
+ },
159
+ "gl_es": {
160
+ "train": 2175,
161
+ "validation": 395,
162
+ "test": 927
163
+ },
164
+ "gu_in": {
165
+ "train": 3145,
166
+ "validation": 432,
167
+ "test": 1000
168
+ },
169
+ "ha_ng": {
170
+ "train": 3259,
171
+ "validation": 296,
172
+ "test": 621
173
+ },
174
+ "he_il": {
175
+ "train": 3242,
176
+ "validation": 328,
177
+ "test": 792
178
+ },
179
+ "hi_in": {
180
+ "train": 2120,
181
+ "validation": 239,
182
+ "test": 418
183
+ },
184
+ "hr_hr": {
185
+ "train": 3461,
186
+ "validation": 377,
187
+ "test": 914
188
+ },
189
+ "hu_hu": {
190
+ "train": 3095,
191
+ "validation": 407,
192
+ "test": 905
193
+ },
194
+ "hy_am": {
195
+ "train": 3053,
196
+ "validation": 395,
197
+ "test": 932
198
+ },
199
+ "id_id": {
200
+ "train": 2579,
201
+ "validation": 350,
202
+ "test": 687
203
+ },
204
+ "ig_ng": {
205
+ "train": 2839,
206
+ "validation": 413,
207
+ "test": 969
208
+ },
209
+ "is_is": {
210
+ "train": 926,
211
+ "validation": 36,
212
+ "test": 46
213
+ },
214
+ "it_it": {
215
+ "train": 3030,
216
+ "validation": 391,
217
+ "test": 865
218
+ },
219
+ "ja_jp": {
220
+ "train": 2292,
221
+ "validation": 266,
222
+ "test": 650
223
+ },
224
+ "jv_id": {
225
+ "train": 3051,
226
+ "validation": 295,
227
+ "test": 728
228
+ },
229
+ "ka_ge": {
230
+ "train": 1491,
231
+ "validation": 409,
232
+ "test": 979
233
+ },
234
+ "kam_ke": {
235
+ "train": 3340,
236
+ "validation": 338,
237
+ "test": 827
238
+ },
239
+ "kea_cv": {
240
+ "train": 2715,
241
+ "validation": 366,
242
+ "test": 864
243
+ },
244
+ "kk_kz": {
245
+ "train": 3200,
246
+ "validation": 369,
247
+ "test": 856
248
+ },
249
+ "km_kh": {
250
+ "train": 1675,
251
+ "validation": 326,
252
+ "test": 771
253
+ },
254
+ "kn_in": {
255
+ "train": 2283,
256
+ "validation": 368,
257
+ "test": 838
258
+ },
259
+ "ko_kr": {
260
+ "train": 2307,
261
+ "validation": 226,
262
+ "test": 382
263
+ },
264
+ "ky_kg": {
265
+ "train": 2818,
266
+ "validation": 422,
267
+ "test": 977
268
+ },
269
+ "lb_lu": {
270
+ "train": 2502,
271
+ "validation": 408,
272
+ "test": 934
273
+ },
274
+ "lg_ug": {
275
+ "train": 2478,
276
+ "validation": 306,
277
+ "test": 723
278
+ },
279
+ "ln_cd": {
280
+ "train": 3350,
281
+ "validation": 209,
282
+ "test": 478
283
+ },
284
+ "lo_la": {
285
+ "train": 1809,
286
+ "validation": 191,
287
+ "test": 405
288
+ },
289
+ "lt_lt": {
290
+ "train": 2937,
291
+ "validation": 416,
292
+ "test": 986
293
+ },
294
+ "luo_ke": {
295
+ "train": 2384,
296
+ "validation": 102,
297
+ "test": 256
298
+ },
299
+ "lv_lv": {
300
+ "train": 2110,
301
+ "validation": 356,
302
+ "test": 851
303
+ },
304
+ "mi_nz": {
305
+ "train": 3249,
306
+ "validation": 429,
307
+ "test": 1008
308
+ },
309
+ "mk_mk": {
310
+ "train": 2337,
311
+ "validation": 415,
312
+ "test": 973
313
+ },
314
+ "ml_in": {
315
+ "train": 3043,
316
+ "validation": 418,
317
+ "test": 958
318
+ },
319
+ "mn_mn": {
320
+ "train": 3074,
321
+ "validation": 405,
322
+ "test": 949
323
+ },
324
+ "mr_in": {
325
+ "train": 3269,
326
+ "validation": 443,
327
+ "test": 1015
328
+ },
329
+ "ms_my": {
330
+ "train": 2667,
331
+ "validation": 324,
332
+ "test": 749
333
+ },
334
+ "mt_mt": {
335
+ "train": 2895,
336
+ "validation": 404,
337
+ "test": 926
338
+ },
339
+ "my_mm": {
340
+ "train": 3058,
341
+ "validation": 384,
342
+ "test": 880
343
+ },
344
+ "nb_no": {
345
+ "train": 3167,
346
+ "validation": 163,
347
+ "test": 357
348
+ },
349
+ "ne_np": {
350
+ "train": 3332,
351
+ "validation": 305,
352
+ "test": 726
353
+ },
354
+ "nl_nl": {
355
+ "train": 2918,
356
+ "validation": 171,
357
+ "test": 364
358
+ },
359
+ "nso_za": {
360
+ "train": 1990,
361
+ "validation": 363,
362
+ "test": 790
363
+ },
364
+ "ny_mw": {
365
+ "train": 2694,
366
+ "validation": 311,
367
+ "test": 761
368
+ },
369
+ "oc_fr": {
370
+ "train": 3379,
371
+ "validation": 427,
372
+ "test": 998
373
+ },
374
+ "om_et": {
375
+ "train": 1701,
376
+ "validation": 19,
377
+ "test": 41
378
+ },
379
+ "or_in": {
380
+ "train": 1081,
381
+ "validation": 392,
382
+ "test": 883
383
+ },
384
+ "pa_in": {
385
+ "train": 1923,
386
+ "validation": 251,
387
+ "test": 574
388
+ },
389
+ "pl_pl": {
390
+ "train": 2841,
391
+ "validation": 338,
392
+ "test": 758
393
+ },
394
+ "ps_af": {
395
+ "train": 2513,
396
+ "validation": 217,
397
+ "test": 512
398
+ },
399
+ "pt_br": {
400
+ "train": 2793,
401
+ "validation": 386,
402
+ "test": 919
403
+ },
404
+ "ro_ro": {
405
+ "train": 2891,
406
+ "validation": 387,
407
+ "test": 883
408
+ },
409
+ "ru_ru": {
410
+ "train": 2562,
411
+ "validation": 356,
412
+ "test": 775
413
+ },
414
+ "sd_in": {
415
+ "train": 3443,
416
+ "validation": 426,
417
+ "test": 980
418
+ },
419
+ "sk_sk": {
420
+ "train": 1957,
421
+ "validation": 352,
422
+ "test": 792
423
+ },
424
+ "sl_si": {
425
+ "train": 2512,
426
+ "validation": 349,
427
+ "test": 834
428
+ },
429
+ "sn_zw": {
430
+ "train": 2463,
431
+ "validation": 393,
432
+ "test": 925
433
+ },
434
+ "so_so": {
435
+ "train": 3149,
436
+ "validation": 432,
437
+ "test": 1019
438
+ },
439
+ "sr_rs": {
440
+ "train": 2944,
441
+ "validation": 290,
442
+ "test": 700
443
+ },
444
+ "sv_se": {
445
+ "train": 2385,
446
+ "validation": 330,
447
+ "test": 759
448
+ },
449
+ "sw_ke": {
450
+ "train": 3070,
451
+ "validation": 211,
452
+ "test": 487
453
+ },
454
+ "ta_in": {
455
+ "train": 2367,
456
+ "validation": 377,
457
+ "test": 591
458
+ },
459
+ "te_in": {
460
+ "train": 2302,
461
+ "validation": 311,
462
+ "test": 472
463
+ },
464
+ "tg_tj": {
465
+ "train": 2298,
466
+ "validation": 240,
467
+ "test": 600
468
+ },
469
+ "th_th": {
470
+ "train": 2602,
471
+ "validation": 439,
472
+ "test": 1021
473
+ },
474
+ "tr_tr": {
475
+ "train": 2526,
476
+ "validation": 338,
477
+ "test": 743
478
+ },
479
+ "uk_ua": {
480
+ "train": 2810,
481
+ "validation": 325,
482
+ "test": 750
483
+ },
484
+ "umb_ao": {
485
+ "train": 1597,
486
+ "validation": 135,
487
+ "test": 379
488
+ },
489
+ "ur_pk": {
490
+ "train": 2109,
491
+ "validation": 267,
492
+ "test": 299
493
+ },
494
+ "uz_uz": {
495
+ "train": 2943,
496
+ "validation": 363,
497
+ "test": 862
498
+ },
499
+ "vi_vn": {
500
+ "train": 2994,
501
+ "validation": 361,
502
+ "test": 857
503
+ },
504
+ "wo_sn": {
505
+ "train": 2279,
506
+ "validation": 169,
507
+ "test": 371
508
+ },
509
+ "xh_za": {
510
+ "train": 3466,
511
+ "validation": 446,
512
+ "test": 1041
513
+ },
514
+ "yo_ng": {
515
+ "train": 2339,
516
+ "validation": 378,
517
+ "test": 831
518
+ },
519
+ "yue_hant_hk": {
520
+ "train": 1939,
521
+ "validation": 362,
522
+ "test": 819
523
+ },
524
+ "zu_za": {
525
+ "train": 2858,
526
+ "validation": 354,
527
+ "test": 854
528
+ }
529
+ },
530
+ "source_audio_sample_hz": 16000,
531
+ "flores_aligned_ids": 2009,
532
+ "unique_embedded_transcripts": 189898,
533
+ "model": "minishlab/potion-multilingual-128M",
534
+ "model_revision": "73908c3438cf03b6a01bcb9611d62b23d0726f08",
535
+ "dimension": 256,
536
+ "metric": "cosine",
537
+ "working_representation": "native utterances with archive links and original assets as Lance Blob v2"
538
+ }
source/.gitattributes ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.7z filter=lfs diff=lfs merge=lfs -text
2
+ *.arrow filter=lfs diff=lfs merge=lfs -text
3
+ *.bin filter=lfs diff=lfs merge=lfs -text
4
+ *.bin.* filter=lfs diff=lfs merge=lfs -text
5
+ *.bz2 filter=lfs diff=lfs merge=lfs -text
6
+ *.ftz filter=lfs diff=lfs merge=lfs -text
7
+ *.gz filter=lfs diff=lfs merge=lfs -text
8
+ *.h5 filter=lfs diff=lfs merge=lfs -text
9
+ *.joblib filter=lfs diff=lfs merge=lfs -text
10
+ *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
+ *.model filter=lfs diff=lfs merge=lfs -text
12
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
13
+ *.onnx filter=lfs diff=lfs merge=lfs -text
14
+ *.ot filter=lfs diff=lfs merge=lfs -text
15
+ *.parquet filter=lfs diff=lfs merge=lfs -text
16
+ *.pb filter=lfs diff=lfs merge=lfs -text
17
+ *.pt filter=lfs diff=lfs merge=lfs -text
18
+ *.pth filter=lfs diff=lfs merge=lfs -text
19
+ *.rar filter=lfs diff=lfs merge=lfs -text
20
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
21
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
22
+ *.tflite filter=lfs diff=lfs merge=lfs -text
23
+ *.tgz filter=lfs diff=lfs merge=lfs -text
24
+ *.wasm filter=lfs diff=lfs merge=lfs -text
25
+ *.xz filter=lfs diff=lfs merge=lfs -text
26
+ *.zip filter=lfs diff=lfs merge=lfs -text
27
+ *.zstandard filter=lfs diff=lfs merge=lfs -text
28
+ *tfevents* filter=lfs diff=lfs merge=lfs -text
29
+ # Audio files - uncompressed
30
+ *.pcm filter=lfs diff=lfs merge=lfs -text
31
+ *.sam filter=lfs diff=lfs merge=lfs -text
32
+ *.raw filter=lfs diff=lfs merge=lfs -text
33
+ # Audio files - compressed
34
+ *.aac filter=lfs diff=lfs merge=lfs -text
35
+ *.flac filter=lfs diff=lfs merge=lfs -text
36
+ *.mp3 filter=lfs diff=lfs merge=lfs -text
37
+ *.ogg filter=lfs diff=lfs merge=lfs -text
38
+ *.wav filter=lfs diff=lfs merge=lfs -text
source/README.md ADDED
The diff for this file is too large to render. See raw diff
 
source/flores101/LICENSE.txt ADDED
@@ -0,0 +1,427 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Attribution-ShareAlike 4.0 International
2
+
3
+ =======================================================================
4
+
5
+ Creative Commons Corporation ("Creative Commons") is not a law firm and
6
+ does not provide legal services or legal advice. Distribution of
7
+ Creative Commons public licenses does not create a lawyer-client or
8
+ other relationship. Creative Commons makes its licenses and related
9
+ information available on an "as-is" basis. Creative Commons gives no
10
+ warranties regarding its licenses, any material licensed under their
11
+ terms and conditions, or any related information. Creative Commons
12
+ disclaims all liability for damages resulting from their use to the
13
+ fullest extent possible.
14
+
15
+ Using Creative Commons Public Licenses
16
+
17
+ Creative Commons public licenses provide a standard set of terms and
18
+ conditions that creators and other rights holders may use to share
19
+ original works of authorship and other material subject to copyright
20
+ and certain other rights specified in the public license below. The
21
+ following considerations are for informational purposes only, are not
22
+ exhaustive, and do not form part of our licenses.
23
+
24
+ Considerations for licensors: Our public licenses are
25
+ intended for use by those authorized to give the public
26
+ permission to use material in ways otherwise restricted by
27
+ copyright and certain other rights. Our licenses are
28
+ irrevocable. Licensors should read and understand the terms
29
+ and conditions of the license they choose before applying it.
30
+ Licensors should also secure all rights necessary before
31
+ applying our licenses so that the public can reuse the
32
+ material as expected. Licensors should clearly mark any
33
+ material not subject to the license. This includes other CC-
34
+ licensed material, or material used under an exception or
35
+ limitation to copyright. More considerations for licensors:
36
+ wiki.creativecommons.org/Considerations_for_licensors
37
+
38
+ Considerations for the public: By using one of our public
39
+ licenses, a licensor grants the public permission to use the
40
+ licensed material under specified terms and conditions. If
41
+ the licensor's permission is not necessary for any reason--for
42
+ example, because of any applicable exception or limitation to
43
+ copyright--then that use is not regulated by the license. Our
44
+ licenses grant only permissions under copyright and certain
45
+ other rights that a licensor has authority to grant. Use of
46
+ the licensed material may still be restricted for other
47
+ reasons, including because others have copyright or other
48
+ rights in the material. A licensor may make special requests,
49
+ such as asking that all changes be marked or described.
50
+ Although not required by our licenses, you are encouraged to
51
+ respect those requests where reasonable. More_considerations
52
+ for the public:
53
+ wiki.creativecommons.org/Considerations_for_licensees
54
+
55
+ =======================================================================
56
+
57
+ Creative Commons Attribution-ShareAlike 4.0 International Public
58
+ License
59
+
60
+ By exercising the Licensed Rights (defined below), You accept and agree
61
+ to be bound by the terms and conditions of this Creative Commons
62
+ Attribution-ShareAlike 4.0 International Public License ("Public
63
+ License"). To the extent this Public License may be interpreted as a
64
+ contract, You are granted the Licensed Rights in consideration of Your
65
+ acceptance of these terms and conditions, and the Licensor grants You
66
+ such rights in consideration of benefits the Licensor receives from
67
+ making the Licensed Material available under these terms and
68
+ conditions.
69
+
70
+
71
+ Section 1 -- Definitions.
72
+
73
+ a. Adapted Material means material subject to Copyright and Similar
74
+ Rights that is derived from or based upon the Licensed Material
75
+ and in which the Licensed Material is translated, altered,
76
+ arranged, transformed, or otherwise modified in a manner requiring
77
+ permission under the Copyright and Similar Rights held by the
78
+ Licensor. For purposes of this Public License, where the Licensed
79
+ Material is a musical work, performance, or sound recording,
80
+ Adapted Material is always produced where the Licensed Material is
81
+ synched in timed relation with a moving image.
82
+
83
+ b. Adapter's License means the license You apply to Your Copyright
84
+ and Similar Rights in Your contributions to Adapted Material in
85
+ accordance with the terms and conditions of this Public License.
86
+
87
+ c. BY-SA Compatible License means a license listed at
88
+ creativecommons.org/compatiblelicenses, approved by Creative
89
+ Commons as essentially the equivalent of this Public License.
90
+
91
+ d. Copyright and Similar Rights means copyright and/or similar rights
92
+ closely related to copyright including, without limitation,
93
+ performance, broadcast, sound recording, and Sui Generis Database
94
+ Rights, without regard to how the rights are labeled or
95
+ categorized. For purposes of this Public License, the rights
96
+ specified in Section 2(b)(1)-(2) are not Copyright and Similar
97
+ Rights.
98
+
99
+ e. Effective Technological Measures means those measures that, in the
100
+ absence of proper authority, may not be circumvented under laws
101
+ fulfilling obligations under Article 11 of the WIPO Copyright
102
+ Treaty adopted on December 20, 1996, and/or similar international
103
+ agreements.
104
+
105
+ f. Exceptions and Limitations means fair use, fair dealing, and/or
106
+ any other exception or limitation to Copyright and Similar Rights
107
+ that applies to Your use of the Licensed Material.
108
+
109
+ g. License Elements means the license attributes listed in the name
110
+ of a Creative Commons Public License. The License Elements of this
111
+ Public License are Attribution and ShareAlike.
112
+
113
+ h. Licensed Material means the artistic or literary work, database,
114
+ or other material to which the Licensor applied this Public
115
+ License.
116
+
117
+ i. Licensed Rights means the rights granted to You subject to the
118
+ terms and conditions of this Public License, which are limited to
119
+ all Copyright and Similar Rights that apply to Your use of the
120
+ Licensed Material and that the Licensor has authority to license.
121
+
122
+ j. Licensor means the individual(s) or entity(ies) granting rights
123
+ under this Public License.
124
+
125
+ k. Share means to provide material to the public by any means or
126
+ process that requires permission under the Licensed Rights, such
127
+ as reproduction, public display, public performance, distribution,
128
+ dissemination, communication, or importation, and to make material
129
+ available to the public including in ways that members of the
130
+ public may access the material from a place and at a time
131
+ individually chosen by them.
132
+
133
+ l. Sui Generis Database Rights means rights other than copyright
134
+ resulting from Directive 96/9/EC of the European Parliament and of
135
+ the Council of 11 March 1996 on the legal protection of databases,
136
+ as amended and/or succeeded, as well as other essentially
137
+ equivalent rights anywhere in the world.
138
+
139
+ m. You means the individual or entity exercising the Licensed Rights
140
+ under this Public License. Your has a corresponding meaning.
141
+
142
+
143
+ Section 2 -- Scope.
144
+
145
+ a. License grant.
146
+
147
+ 1. Subject to the terms and conditions of this Public License,
148
+ the Licensor hereby grants You a worldwide, royalty-free,
149
+ non-sublicensable, non-exclusive, irrevocable license to
150
+ exercise the Licensed Rights in the Licensed Material to:
151
+
152
+ a. reproduce and Share the Licensed Material, in whole or
153
+ in part; and
154
+
155
+ b. produce, reproduce, and Share Adapted Material.
156
+
157
+ 2. Exceptions and Limitations. For the avoidance of doubt, where
158
+ Exceptions and Limitations apply to Your use, this Public
159
+ License does not apply, and You do not need to comply with
160
+ its terms and conditions.
161
+
162
+ 3. Term. The term of this Public License is specified in Section
163
+ 6(a).
164
+
165
+ 4. Media and formats; technical modifications allowed. The
166
+ Licensor authorizes You to exercise the Licensed Rights in
167
+ all media and formats whether now known or hereafter created,
168
+ and to make technical modifications necessary to do so. The
169
+ Licensor waives and/or agrees not to assert any right or
170
+ authority to forbid You from making technical modifications
171
+ necessary to exercise the Licensed Rights, including
172
+ technical modifications necessary to circumvent Effective
173
+ Technological Measures. For purposes of this Public License,
174
+ simply making modifications authorized by this Section 2(a)
175
+ (4) never produces Adapted Material.
176
+
177
+ 5. Downstream recipients.
178
+
179
+ a. Offer from the Licensor -- Licensed Material. Every
180
+ recipient of the Licensed Material automatically
181
+ receives an offer from the Licensor to exercise the
182
+ Licensed Rights under the terms and conditions of this
183
+ Public License.
184
+
185
+ b. Additional offer from the Licensor -- Adapted Material.
186
+ Every recipient of Adapted Material from You
187
+ automatically receives an offer from the Licensor to
188
+ exercise the Licensed Rights in the Adapted Material
189
+ under the conditions of the Adapter's License You apply.
190
+
191
+ c. No downstream restrictions. You may not offer or impose
192
+ any additional or different terms or conditions on, or
193
+ apply any Effective Technological Measures to, the
194
+ Licensed Material if doing so restricts exercise of the
195
+ Licensed Rights by any recipient of the Licensed
196
+ Material.
197
+
198
+ 6. No endorsement. Nothing in this Public License constitutes or
199
+ may be construed as permission to assert or imply that You
200
+ are, or that Your use of the Licensed Material is, connected
201
+ with, or sponsored, endorsed, or granted official status by,
202
+ the Licensor or others designated to receive attribution as
203
+ provided in Section 3(a)(1)(A)(i).
204
+
205
+ b. Other rights.
206
+
207
+ 1. Moral rights, such as the right of integrity, are not
208
+ licensed under this Public License, nor are publicity,
209
+ privacy, and/or other similar personality rights; however, to
210
+ the extent possible, the Licensor waives and/or agrees not to
211
+ assert any such rights held by the Licensor to the limited
212
+ extent necessary to allow You to exercise the Licensed
213
+ Rights, but not otherwise.
214
+
215
+ 2. Patent and trademark rights are not licensed under this
216
+ Public License.
217
+
218
+ 3. To the extent possible, the Licensor waives any right to
219
+ collect royalties from You for the exercise of the Licensed
220
+ Rights, whether directly or through a collecting society
221
+ under any voluntary or waivable statutory or compulsory
222
+ licensing scheme. In all other cases the Licensor expressly
223
+ reserves any right to collect such royalties.
224
+
225
+
226
+ Section 3 -- License Conditions.
227
+
228
+ Your exercise of the Licensed Rights is expressly made subject to the
229
+ following conditions.
230
+
231
+ a. Attribution.
232
+
233
+ 1. If You Share the Licensed Material (including in modified
234
+ form), You must:
235
+
236
+ a. retain the following if it is supplied by the Licensor
237
+ with the Licensed Material:
238
+
239
+ i. identification of the creator(s) of the Licensed
240
+ Material and any others designated to receive
241
+ attribution, in any reasonable manner requested by
242
+ the Licensor (including by pseudonym if
243
+ designated);
244
+
245
+ ii. a copyright notice;
246
+
247
+ iii. a notice that refers to this Public License;
248
+
249
+ iv. a notice that refers to the disclaimer of
250
+ warranties;
251
+
252
+ v. a URI or hyperlink to the Licensed Material to the
253
+ extent reasonably practicable;
254
+
255
+ b. indicate if You modified the Licensed Material and
256
+ retain an indication of any previous modifications; and
257
+
258
+ c. indicate the Licensed Material is licensed under this
259
+ Public License, and include the text of, or the URI or
260
+ hyperlink to, this Public License.
261
+
262
+ 2. You may satisfy the conditions in Section 3(a)(1) in any
263
+ reasonable manner based on the medium, means, and context in
264
+ which You Share the Licensed Material. For example, it may be
265
+ reasonable to satisfy the conditions by providing a URI or
266
+ hyperlink to a resource that includes the required
267
+ information.
268
+
269
+ 3. If requested by the Licensor, You must remove any of the
270
+ information required by Section 3(a)(1)(A) to the extent
271
+ reasonably practicable.
272
+
273
+ b. ShareAlike.
274
+
275
+ In addition to the conditions in Section 3(a), if You Share
276
+ Adapted Material You produce, the following conditions also apply.
277
+
278
+ 1. The Adapter's License You apply must be a Creative Commons
279
+ license with the same License Elements, this version or
280
+ later, or a BY-SA Compatible License.
281
+
282
+ 2. You must include the text of, or the URI or hyperlink to, the
283
+ Adapter's License You apply. You may satisfy this condition
284
+ in any reasonable manner based on the medium, means, and
285
+ context in which You Share Adapted Material.
286
+
287
+ 3. You may not offer or impose any additional or different terms
288
+ or conditions on, or apply any Effective Technological
289
+ Measures to, Adapted Material that restrict exercise of the
290
+ rights granted under the Adapter's License You apply.
291
+
292
+
293
+ Section 4 -- Sui Generis Database Rights.
294
+
295
+ Where the Licensed Rights include Sui Generis Database Rights that
296
+ apply to Your use of the Licensed Material:
297
+
298
+ a. for the avoidance of doubt, Section 2(a)(1) grants You the right
299
+ to extract, reuse, reproduce, and Share all or a substantial
300
+ portion of the contents of the database;
301
+
302
+ b. if You include all or a substantial portion of the database
303
+ contents in a database in which You have Sui Generis Database
304
+ Rights, then the database in which You have Sui Generis Database
305
+ Rights (but not its individual contents) is Adapted Material,
306
+
307
+ including for purposes of Section 3(b); and
308
+ c. You must comply with the conditions in Section 3(a) if You Share
309
+ all or a substantial portion of the contents of the database.
310
+
311
+ For the avoidance of doubt, this Section 4 supplements and does not
312
+ replace Your obligations under this Public License where the Licensed
313
+ Rights include other Copyright and Similar Rights.
314
+
315
+
316
+ Section 5 -- Disclaimer of Warranties and Limitation of Liability.
317
+
318
+ a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE
319
+ EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS
320
+ AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF
321
+ ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS,
322
+ IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION,
323
+ WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR
324
+ PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS,
325
+ ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT
326
+ KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT
327
+ ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU.
328
+
329
+ b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE
330
+ TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION,
331
+ NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT,
332
+ INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES,
333
+ COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR
334
+ USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN
335
+ ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR
336
+ DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR
337
+ IN PART, THIS LIMITATION MAY NOT APPLY TO YOU.
338
+
339
+ c. The disclaimer of warranties and limitation of liability provided
340
+ above shall be interpreted in a manner that, to the extent
341
+ possible, most closely approximates an absolute disclaimer and
342
+ waiver of all liability.
343
+
344
+
345
+ Section 6 -- Term and Termination.
346
+
347
+ a. This Public License applies for the term of the Copyright and
348
+ Similar Rights licensed here. However, if You fail to comply with
349
+ this Public License, then Your rights under this Public License
350
+ terminate automatically.
351
+
352
+ b. Where Your right to use the Licensed Material has terminated under
353
+ Section 6(a), it reinstates:
354
+
355
+ 1. automatically as of the date the violation is cured, provided
356
+ it is cured within 30 days of Your discovery of the
357
+ violation; or
358
+
359
+ 2. upon express reinstatement by the Licensor.
360
+
361
+ For the avoidance of doubt, this Section 6(b) does not affect any
362
+ right the Licensor may have to seek remedies for Your violations
363
+ of this Public License.
364
+
365
+ c. For the avoidance of doubt, the Licensor may also offer the
366
+ Licensed Material under separate terms or conditions or stop
367
+ distributing the Licensed Material at any time; however, doing so
368
+ will not terminate this Public License.
369
+
370
+ d. Sections 1, 5, 6, 7, and 8 survive termination of this Public
371
+ License.
372
+
373
+
374
+ Section 7 -- Other Terms and Conditions.
375
+
376
+ a. The Licensor shall not be bound by any additional or different
377
+ terms or conditions communicated by You unless expressly agreed.
378
+
379
+ b. Any arrangements, understandings, or agreements regarding the
380
+ Licensed Material not stated herein are separate from and
381
+ independent of the terms and conditions of this Public License.
382
+
383
+
384
+ Section 8 -- Interpretation.
385
+
386
+ a. For the avoidance of doubt, this Public License does not, and
387
+ shall not be interpreted to, reduce, limit, restrict, or impose
388
+ conditions on any use of the Licensed Material that could lawfully
389
+ be made without permission under this Public License.
390
+
391
+ b. To the extent possible, if any provision of this Public License is
392
+ deemed unenforceable, it shall be automatically reformed to the
393
+ minimum extent necessary to make it enforceable. If the provision
394
+ cannot be reformed, it shall be severed from this Public License
395
+ without affecting the enforceability of the remaining terms and
396
+ conditions.
397
+
398
+ c. No term or condition of this Public License will be waived and no
399
+ failure to comply consented to unless expressly agreed to by the
400
+ Licensor.
401
+
402
+ d. Nothing in this Public License constitutes or may be interpreted
403
+ as a limitation upon, or waiver of, any privileges and immunities
404
+ that apply to the Licensor or You, including from the legal
405
+ processes of any jurisdiction or authority.
406
+
407
+
408
+ =======================================================================
409
+
410
+ Creative Commons is not a party to its public
411
+ licenses. Notwithstanding, Creative Commons may elect to apply one of
412
+ its public licenses to material it publishes and in those instances
413
+ will be considered the “Licensor.” The text of the Creative Commons
414
+ public licenses is dedicated to the public domain under the CC0 Public
415
+ Domain Dedication. Except for the limited purpose of indicating that
416
+ material is shared under a Creative Commons public license or as
417
+ otherwise permitted by the Creative Commons policies published at
418
+ creativecommons.org/policies, Creative Commons does not authorize the
419
+ use of the trademark "Creative Commons" or any other trademark or logo
420
+ of Creative Commons without its prior written consent including,
421
+ without limitation, in connection with any unauthorized modifications
422
+ to any of its public licenses or any other arrangements,
423
+ understandings, or agreements concerning use of licensed material. For
424
+ the avoidance of doubt, this paragraph does not form part of the
425
+ public licenses.
426
+
427
+ Creative Commons may be contacted at creativecommons.org.
source/flores101/README.md ADDED
@@ -0,0 +1,296 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <p align="center">
2
+ <img src="flores_logo.png" width="500">
3
+ </p>
4
+
5
+ --------------------------------------------------------------------------------
6
+
7
+ # The FLORES-101 Evaluation Benchmark for Low-Resource and Multilingual Machine Translation
8
+ `FLORES-101` is a Many-to-Many multilingual translation benchmark dataset for 101 languages.
9
+
10
+ * **Paper:** [The FLORES-101 Evaluation Benchmark for Low-Resource and Multilingual Machine Translation](https://ai.facebook.com/research/publications/the-flores-101-evaluation-benchmark-for-low-resource-and-multilingual-machine-translation).
11
+
12
+ * Download `FLORES-101` [**dataset**](https://dl.fbaipublicfiles.com/flores101/dataset/flores101_dataset.tar.gz) and the [WMT22 supplement](https://dl.fbaipublicfiles.com/flores101/dataset/flores_wmt22_supplement.tar.gz).
13
+
14
+ * Read the [**blogpost**](https://ai.facebook.com/blog/the-flores-101-data-set-helping-build-better-translation-systems-around-the-world) and [**paper**](https://ai.facebook.com/research/publications/the-flores-101-evaluation-benchmark-for-low-resource-and-multilingual-machine-translation).
15
+
16
+ * Evaluation server: [dynabench](https://dynabench.org/flores),
17
+ [Instructions to submit model](./dynalab/README.md)
18
+
19
+ Looking for FLORESv1, which included Nepali, Sinhala, Pashto, and Khmer? Click [here](floresv1/)
20
+
21
+ ## Learn More in This Intro Video
22
+ [![Explain Like I’m 5: FLoRes](https://img.youtube.com/vi/mq3keaYhzag/0.jpg)](https://www.youtube.com/watch?v=mq3keaYhzag)
23
+
24
+ ## Abstract
25
+ One of the biggest challenges hindering progress in low-resource and multilingual machine translation is the lack of good evaluation benchmarks.
26
+ Current evaluation benchmarks either lack good coverage of low-resource languages, consider only restricted domains, or are low quality because they are constructed using semi-automatic procedures. In this work, we introduce the FLORES evaluation benchmark, consisting of 3001 sentences extracted from English Wikipedia and covering a variety of different topics and domains. These sentences have been translated in 101 languages by professional translators through a carefully controlled process. The resulting dataset enables better assessment of model quality on the long tail of low-resource languages, including the evaluation of many-to-many multilingual translation systems, as all translations are multilingually aligned. By publicly releasing such a high-quality and high-coverage dataset, we hope to foster progress in the machine translation community and beyond.
27
+
28
+ ## Download FLORES-101 Dataset
29
+ The data can be downloaded from: [Here](https://dl.fbaipublicfiles.com/flores101/dataset/flores101_dataset.tar.gz).
30
+
31
+ A supplement to FLORES-101 was released for the WMT22 Shared Task on [Large-Scale Machine Translation Evaluation for African Languages](https://statmt.org/wmt22/large-scale-multilingual-translation-task.html) and can be downloaded from [here](https://dl.fbaipublicfiles.com/flores101/dataset/flores_wmt22_supplement.tar.gz).
32
+
33
+ ## Evaluation
34
+
35
+ ### SPM-BLEU
36
+ For evaluation, we use SentencePiece BLEU (spBLEU) which uses a SentencePiece (SPM) tokenizer with 256K tokens and then BLEU score is computed on the sentence-piece tokenized text. This requires installing sacrebleu using a specific branch:
37
+ ```bash
38
+ git clone --single-branch --branch adding_spm_tokenized_bleu https://github.com/ngoyal2707/sacrebleu.git
39
+ cd sacrebleu
40
+ python setup.py install
41
+ ```
42
+
43
+ ### Offline Evaluation
44
+
45
+ #### Download FLORES-101 dev and devtest dataset
46
+
47
+ ```bash
48
+ cd ~/
49
+ wget https://dl.fbaipublicfiles.com/flores101/dataset/flores101_dataset.tar.gz
50
+ tar -xvzf flores101_dataset.tar.gz
51
+ ```
52
+
53
+ #### Compute spBLEU
54
+
55
+ Instructions for computing spBLEU for detokenized translations generated by a model
56
+
57
+ ```bash
58
+ flores101_devtest=flores101_dataset/devtest
59
+
60
+ # Path to generated detokenized translations file
61
+ translation_file=/path/to/detok_trans.txt
62
+
63
+ # Set the target language (for this example, English)
64
+ trg_lang=eng
65
+
66
+ cat $translation_file | sacrebleu -tok spm $flores101_devtest/${trg_lang}.devtest
67
+ ```
68
+
69
+ ### Example walkthrough of Generation and Evaluation using a pre-trained model in fairseq
70
+
71
+ Following example walks shows evaluating released `M2M-124 615M` model on an example language pair of `Nyanja -> Swahili` on `FLORES-101` `devtest` which achieves `12.4` spBLEU.
72
+
73
+ #### Download model, sentencepiece vocab
74
+
75
+ ```bash
76
+ fairseq=/path/to/fairseq
77
+ cd $fairseq
78
+
79
+ # Download 615M param model.
80
+ wget https://dl.fbaipublicfiles.com/flores101/pretrained_models/flores101_mm100_615M.tar.gz
81
+
82
+ # Extract
83
+ tar -xvzf flores101_mm100_615M.tar.gz
84
+ ```
85
+
86
+ #### Encode using our SentencePiece Model
87
+ Note: Install SentencePiece from [here](https://github.com/google/sentencepiece)
88
+
89
+
90
+ ```bash
91
+ flores101_dataset=/path/to/flores_dataset
92
+ fairseq=/path/to/fairseq
93
+ cd $fairseq
94
+
95
+ # Example lang pair translation: Nyanja -> Swahili
96
+ # MM100 code for Nyanja and Swahili: ny, sw
97
+
98
+ SRC_LANG_CODE=nya
99
+ TRG_LANG_CODE=swh
100
+
101
+ SRC_MM100_LANG_CODE=ny
102
+ TRG_MM100_LANG_CODE=sw
103
+
104
+ python scripts/spm_encode.py \
105
+ --model flores101_mm100_615M/sentencepiece.bpe.model \
106
+ --output_format=piece \
107
+ --inputs=$flores101_dataset/devtest/${SRC_LANG_CODE}.devtest \
108
+ --outputs=spm.${SRC_MM100_LANG_CODE}-${TRG_MM100_LANG_CODE}.${SRC_MM100_LANG_CODE}
109
+
110
+ python scripts/spm_encode.py \
111
+ --model flores101_mm100_615M/sentencepiece.bpe.model \
112
+ --output_format=piece \
113
+ --inputs=$flores101_dataset/devtest/${TRG_LANG_CODE}.devtest \
114
+ --outputs=spm.${SRC_MM100_LANG_CODE}-${TRG_MM100_LANG_CODE}.${TRG_MM100_LANG_CODE}
115
+ ```
116
+
117
+ #### Binarization
118
+
119
+ ```bash
120
+ fairseq-preprocess \
121
+ --source-lang ${SRC_MM100_LANG_CODE} --target-lang ${TRG_MM100_LANG_CODE} \
122
+ --testpref spm.${SRC_MM100_LANG_CODE}-${TRG_MM100_LANG_CODE} \
123
+ --thresholdsrc 0 --thresholdtgt 0 \
124
+ --destdir data_bin_${SRC_MM100_LANG_CODE}_${TRG_MM100_LANG_CODE} \
125
+ --srcdict flores101_mm100_615M/dict.txt --tgtdict flores101_mm100_615M/dict.txt
126
+ ```
127
+
128
+ #### Generation
129
+
130
+
131
+ ```bash
132
+ fairseq-generate \
133
+ data_bin_${SRC_MM100_LANG_CODE}_${TRG_MM100_LANG_CODE} \
134
+ --batch-size 1 \
135
+ --path flores101_mm100_615M/model.pt \
136
+ --fixed-dictionary flores101_mm100_615M/dict.txt \
137
+ -s ${SRC_MM100_LANG_CODE} -t ${TRG_MM100_LANG_CODE} \
138
+ --remove-bpe 'sentencepiece' \
139
+ --beam 5 \
140
+ --task translation_multi_simple_epoch \
141
+ --lang-pairs flores101_mm100_615M/language_pairs.txt \
142
+ --decoder-langtok --encoder-langtok src \
143
+ --gen-subset test \
144
+ --fp16 \
145
+ --dataset-impl mmap \
146
+ --distributed-world-size 1 --distributed-no-spawn \
147
+ --results-path generation_${SRC_MM100_LANG_CODE}_${TRG_MM100_LANG_CODE}
148
+
149
+ # clean fairseq generated file to only create hypotheses file.
150
+ cat generation_${SRC_MM100_LANG_CODE}_${TRG_MM100_LANG_CODE}/generate-test.txt | grep -P '^H-' | cut -c 3- | sort -n -k 1 | awk -F "\t" '{print $NF}' > generation_${SRC_MM100_LANG_CODE}_${TRG_MM100_LANG_CODE}/sys.txt
151
+ ```
152
+
153
+ #### spBLEU Evaluation
154
+
155
+
156
+ ```bash
157
+ # Get score
158
+ sacrebleu flores101_dataset/devtest/${TRG_LANG_CODE}.devtest < generation_${SRC_MM100_LANG_CODE}_${TRG_MM100_LANG_CODE}/sys.txt --tokenize spm
159
+ # Expected Outcome:
160
+ # BLEU+case.mixed+numrefs.1+smooth.exp+tok.spm+version.1.5.0 = 12.4 34.9/15.8/8.7/4.9 (BP = 1.000 ratio = 1.007 hyp_len = 37247 ref_len = 36999)
161
+ ```
162
+
163
+ ## List of Languages
164
+
165
+ Language | FLORES-101 code | MM100 lang code
166
+ ---|---|---
167
+ Akrikaans | afr | af
168
+ Amharic | amh | am
169
+ Arabic | ara | ar
170
+ Armenian | hye | hy
171
+ Assamese | asm | as
172
+ Asturian | ast | ast
173
+ Azerbaijani | azj | az
174
+ Belarusian | bel | be
175
+ Bengali | ben | bn
176
+ Bosnian | bos | bs
177
+ Bulgarian | bul | bg
178
+ Burmese | mya | my
179
+ Catalan | cat | ca
180
+ Cebuano | ceb | ceb
181
+ Chinese Simpl | zho_simpl | zho
182
+ Chinese Trad | zho_trad | zho
183
+ Croatian | hrv | hr
184
+ Czech | ces | cs
185
+ Danish | dan | da
186
+ Dutch | nld | nl
187
+ English | eng | en
188
+ Estonian | est | et
189
+ Filipino (Tagalog) | tgl | tl
190
+ Finnish | fin | fi
191
+ French | fra | fr
192
+ Fulah | ful | ff
193
+ Galician | glg | gl
194
+ Ganda | lug | lg
195
+ Georgian | kat | ka
196
+ German | deu | de
197
+ Greek | ell | el
198
+ Gujarati | guj | gu
199
+ Hausa | hau | ha
200
+ Hebrew | heb | he
201
+ Hindi | hin | hi
202
+ Hungarian | hun | hu
203
+ Icelandic | isl | is
204
+ Igbo | ibo | ig
205
+ Indonesian | ind | id
206
+ Irish | gle | ga
207
+ Italian | ita | it
208
+ Japanese | jpn | ja
209
+ Javanese | jav | jv
210
+ Kabuverdianu | kea | kea
211
+ Kamba | kam | kam
212
+ Kannada | kan | kn
213
+ Kazakh | kaz | kk
214
+ Khmer | khm | km
215
+ Korean | kor | ko
216
+ Kyrgyz | kir | ky
217
+ Lao | lao | lo
218
+ Latvian | lav | lv
219
+ Lingala | lin | ln
220
+ Lithuanian | lit | lt
221
+ Luo | luo | luo
222
+ Luxembourgish | ltz | lb
223
+ Macedonian | mkd | mk
224
+ Malay | msa | ms
225
+ Malayalam | mal | ml
226
+ Maltese | mlt | mt
227
+ Maori | mri | mi
228
+ Marathi | mar | mr
229
+ Mongolian | mon | mn
230
+ Nepali | npi | ne
231
+ Northern Sotho | nso | ns
232
+ Norwegian | nob | no
233
+ Nyanja | nya | ny
234
+ Occitan | oci | oc
235
+ Oriya | ory | or
236
+ Oromo | orm | om
237
+ Pashto | pus | ps
238
+ Persian | fas | fa
239
+ Polish | pol | pl
240
+ Portuguese (Brazil) | por | pt
241
+ Punjabi | pan | pa
242
+ Romanian | ron | ro
243
+ Russian | rus | ru
244
+ Serbian | srp | sr
245
+ Shona | sna | sn
246
+ Sindhi | snd | sd
247
+ Slovak | slk | sk
248
+ Slovenian | slv | sl
249
+ Somali | som | so
250
+ Sorani Kurdish | ckb | ku
251
+ Spanish (Latin American) | spa | es
252
+ Swahili | swh | sw
253
+ Swedish | swe | sv
254
+ Tajik | tgk | tg
255
+ Tamil | tam | ta
256
+ Telugu | tel | te
257
+ Thai | tha | th
258
+ Turkish | tur | tr
259
+ Ukrainian | ukr | uk
260
+ Umbundu | umb | umb
261
+ Urdu | urd | ur
262
+ Uzbek | uzb | uz
263
+ Vietnamese | vie | vi
264
+ Welsh | cym | cy
265
+ Wolof | wol | wo
266
+ Xhosa | xho | xh
267
+ Yoruba | yor | yo
268
+ Zulu | zul | zu
269
+
270
+ ## WMT Task
271
+ The FLORES-101 dataset is being used for the WMT2021 Large-Scale Multilingual Machine Translation Shared Task. You can learn more about the task [HERE](http://www.statmt.org/wmt21/large-scale-multilingual-translation-task.html). We also provide two pretrained models, downloadable from the WMT task page.
272
+
273
+ ## Citation
274
+
275
+ If you use this data in your work, please cite:
276
+
277
+ ```bibtex
278
+ @inproceedings{,
279
+ title={The FLORES-101 Evaluation Benchmark for Low-Resource and Multilingual Machine Translation},
280
+ author={Goyal, Naman and Gao, Cynthia and Chaudhary, Vishrav and Chen, Peng-Jen and Wenzek, Guillaume and Ju, Da and Krishnan, Sanjana and Ranzato, Marc'Aurelio and Guzm\'{a}n, Francisco and Fan, Angela},
281
+ year={2021}
282
+ }
283
+
284
+ @inproceedings{,
285
+ title={Two New Evaluation Datasets for Low-Resource Machine Translation: Nepali-English and Sinhala-English},
286
+ author={Guzm\'{a}n, Francisco and Chen, Peng-Jen and Ott, Myle and Pino, Juan and Lample, Guillaume and Koehn, Philipp and Chaudhary, Vishrav and Ranzato, Marc'Aurelio},
287
+ journal={arXiv preprint arXiv:1902.01382},
288
+ year={2019}
289
+ }
290
+ ```
291
+
292
+ ## Changelog
293
+ - 2021-06-04: Released FLORES-101
294
+
295
+ ## License
296
+ The dataset is licenced under CC-BY-SA, see the LICENSE file for details.
source/flores101/metadata_dev.tsv ADDED
The diff for this file is too large to render. See raw diff
 
source/flores101/metadata_devtest.tsv ADDED
The diff for this file is too large to render. See raw diff
 
source/flores101/utterance-attribution.tsv ADDED
The diff for this file is too large to render. See raw diff
 
source/inventory.jsonl ADDED
The diff for this file is too large to render. See raw diff