Datasets:
Add files using upload-large-folder tool
Browse files- .gitattributes +1 -59
- LICENSE.txt +395 -0
- README.md +106 -0
- build_parquet.py +346 -0
- data/labels.parquet +3 -0
- data/test-00000-of-00040.parquet +3 -0
- data/test-00001-of-00040.parquet +3 -0
- data/test-00002-of-00040.parquet +3 -0
- data/test-00003-of-00040.parquet +3 -0
- data/test-00004-of-00040.parquet +3 -0
- data/test-00005-of-00040.parquet +3 -0
- data/test-00006-of-00040.parquet +3 -0
- data/test-00007-of-00040.parquet +3 -0
- data/test-00008-of-00040.parquet +3 -0
- data/test-00009-of-00040.parquet +3 -0
- data/test-00010-of-00040.parquet +3 -0
- data/test-00011-of-00040.parquet +3 -0
- data/test-00012-of-00040.parquet +3 -0
- data/test-00013-of-00040.parquet +3 -0
- data/test-00014-of-00040.parquet +3 -0
- data/test-00015-of-00040.parquet +3 -0
- data/test-00016-of-00040.parquet +3 -0
- data/test-00017-of-00040.parquet +3 -0
- data/test-00018-of-00040.parquet +3 -0
- data/test-00019-of-00040.parquet +3 -0
- data/test-00020-of-00040.parquet +3 -0
- data/test-00021-of-00040.parquet +3 -0
- data/test-00022-of-00040.parquet +3 -0
- data/test-00023-of-00040.parquet +3 -0
- data/test-00024-of-00040.parquet +3 -0
- data/test-00025-of-00040.parquet +3 -0
- data/test-00026-of-00040.parquet +3 -0
- data/test-00027-of-00040.parquet +3 -0
- data/test-00028-of-00040.parquet +3 -0
- data/test-00029-of-00040.parquet +3 -0
- data/test-00030-of-00040.parquet +3 -0
- data/test-00031-of-00040.parquet +3 -0
- data/test-00032-of-00040.parquet +3 -0
- data/test-00033-of-00040.parquet +3 -0
- data/test-00034-of-00040.parquet +3 -0
- data/test-00035-of-00040.parquet +3 -0
- data/test-00036-of-00040.parquet +3 -0
- data/test-00037-of-00040.parquet +3 -0
- data/test-00038-of-00040.parquet +3 -0
- data/test-00039-of-00040.parquet +3 -0
- eval.yaml +26 -0
- push.py +38 -0
- submissions/README.md +81 -0
- submissions/results_template.yaml +44 -0
.gitattributes
CHANGED
|
@@ -1,60 +1,2 @@
|
|
| 1 |
-
*.
|
| 2 |
-
*.arrow filter=lfs diff=lfs merge=lfs -text
|
| 3 |
-
*.avro 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 |
-
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
| 7 |
-
*.ftz filter=lfs diff=lfs merge=lfs -text
|
| 8 |
-
*.gz filter=lfs diff=lfs merge=lfs -text
|
| 9 |
-
*.h5 filter=lfs diff=lfs merge=lfs -text
|
| 10 |
-
*.joblib filter=lfs diff=lfs merge=lfs -text
|
| 11 |
-
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
| 12 |
-
*.lz4 filter=lfs diff=lfs merge=lfs -text
|
| 13 |
-
*.mds filter=lfs diff=lfs merge=lfs -text
|
| 14 |
-
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
| 15 |
-
*.model filter=lfs diff=lfs merge=lfs -text
|
| 16 |
-
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
| 17 |
-
*.npy filter=lfs diff=lfs merge=lfs -text
|
| 18 |
-
*.npz filter=lfs diff=lfs merge=lfs -text
|
| 19 |
-
*.onnx filter=lfs diff=lfs merge=lfs -text
|
| 20 |
-
*.ot filter=lfs diff=lfs merge=lfs -text
|
| 21 |
*.parquet filter=lfs diff=lfs merge=lfs -text
|
| 22 |
-
*.pb filter=lfs diff=lfs merge=lfs -text
|
| 23 |
-
*.pickle filter=lfs diff=lfs merge=lfs -text
|
| 24 |
-
*.pkl filter=lfs diff=lfs merge=lfs -text
|
| 25 |
-
*.pt filter=lfs diff=lfs merge=lfs -text
|
| 26 |
-
*.pth filter=lfs diff=lfs merge=lfs -text
|
| 27 |
-
*.rar filter=lfs diff=lfs merge=lfs -text
|
| 28 |
-
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 29 |
-
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
| 30 |
-
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
| 31 |
-
*.tar filter=lfs diff=lfs merge=lfs -text
|
| 32 |
-
*.tflite filter=lfs diff=lfs merge=lfs -text
|
| 33 |
-
*.tgz filter=lfs diff=lfs merge=lfs -text
|
| 34 |
-
*.wasm filter=lfs diff=lfs merge=lfs -text
|
| 35 |
-
*.xz filter=lfs diff=lfs merge=lfs -text
|
| 36 |
-
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 37 |
-
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 38 |
-
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 39 |
-
# Audio files - uncompressed
|
| 40 |
-
*.pcm filter=lfs diff=lfs merge=lfs -text
|
| 41 |
-
*.sam filter=lfs diff=lfs merge=lfs -text
|
| 42 |
-
*.raw filter=lfs diff=lfs merge=lfs -text
|
| 43 |
-
# Audio files - compressed
|
| 44 |
-
*.aac filter=lfs diff=lfs merge=lfs -text
|
| 45 |
-
*.flac filter=lfs diff=lfs merge=lfs -text
|
| 46 |
-
*.mp3 filter=lfs diff=lfs merge=lfs -text
|
| 47 |
-
*.ogg filter=lfs diff=lfs merge=lfs -text
|
| 48 |
-
*.wav filter=lfs diff=lfs merge=lfs -text
|
| 49 |
-
# Image files - uncompressed
|
| 50 |
-
*.bmp filter=lfs diff=lfs merge=lfs -text
|
| 51 |
-
*.gif filter=lfs diff=lfs merge=lfs -text
|
| 52 |
-
*.png filter=lfs diff=lfs merge=lfs -text
|
| 53 |
-
*.tiff filter=lfs diff=lfs merge=lfs -text
|
| 54 |
-
# Image files - compressed
|
| 55 |
-
*.jpg filter=lfs diff=lfs merge=lfs -text
|
| 56 |
-
*.jpeg filter=lfs diff=lfs merge=lfs -text
|
| 57 |
-
*.webp filter=lfs diff=lfs merge=lfs -text
|
| 58 |
-
# Video files - compressed
|
| 59 |
-
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 60 |
-
*.webm filter=lfs diff=lfs merge=lfs -text
|
|
|
|
| 1 |
+
*.tar.gz filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
*.parquet filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
LICENSE.txt
ADDED
|
@@ -0,0 +1,395 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 licenses.
|
| 379 |
+
Notwithstanding, Creative Commons may elect to apply one of its public
|
| 380 |
+
licenses to material it publishes and in those instances will be
|
| 381 |
+
considered the “Licensor.” The text of the Creative Commons public
|
| 382 |
+
licenses is dedicated to the public domain under the CC0 Public Domain
|
| 383 |
+
Dedication. Except for the limited purpose of indicating that material
|
| 384 |
+
is shared under a Creative Commons public license or as otherwise
|
| 385 |
+
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 public
|
| 393 |
+
licenses.
|
| 394 |
+
|
| 395 |
+
Creative Commons may be contacted at creativecommons.org.
|
README.md
ADDED
|
@@ -0,0 +1,106 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc-by-4.0
|
| 3 |
+
language:
|
| 4 |
+
- es
|
| 5 |
+
pretty_name: HABLA
|
| 6 |
+
task_categories:
|
| 7 |
+
- audio-classification
|
| 8 |
+
size_categories:
|
| 9 |
+
- 10K<n<100K
|
| 10 |
+
configs:
|
| 11 |
+
- config_name: default
|
| 12 |
+
data_files:
|
| 13 |
+
- split: test
|
| 14 |
+
path: "data/test-*.parquet"
|
| 15 |
+
tags:
|
| 16 |
+
- anti-spoofing
|
| 17 |
+
- audio-deepfake-detection
|
| 18 |
+
- speech
|
| 19 |
+
- benchmark
|
| 20 |
+
- arena-ready
|
| 21 |
+
arxiv:
|
| 22 |
+
- "10.21437/Interspeech.2023-2272"
|
| 23 |
+
---
|
| 24 |
+
|
| 25 |
+
# HABLA
|
| 26 |
+
|
| 27 |
+
Benchmark-ready packaging of **HABLA** — *HABLA: A Dataset of Latin American Spanish Accents for Voice Anti-spoofing* (Tamayo Flórez, Manrique & Pereira Nunes, Interspeech 2023). The first voice anti-spoofing collection in **Spanish**, covering five Latin-American accents (Argentina, Chile, Colombia, Peru, Venezuela).
|
| 28 |
+
|
| 29 |
+
## Overview
|
| 30 |
+
|
| 31 |
+
The task is binary classification: **bonafide** (genuine human Spanish speech) vs. **spoof** (synthetic / converted speech). Bonafide audio is real Latin-American Spanish; spoof audio is produced by several generators:
|
| 32 |
+
|
| 33 |
+
- **CycleGAN**, **Diff**(usion), **StarGAN** — voice-conversion across accent pairs (e.g. `Argentina-Chile`).
|
| 34 |
+
- **TTS** — text-to-speech.
|
| 35 |
+
- **TTS-Diff**, **TTS-StarGAN** — TTS output further passed through a Diff / StarGAN voice-conversion stage (the `TTS-VC` cascade).
|
| 36 |
+
|
| 37 |
+
## License & redistribution
|
| 38 |
+
|
| 39 |
+
Redistributed under the **Creative Commons Attribution 4.0 International (CC BY 4.0)** license — the upstream HABLA license. See `LICENSE.txt`. CC BY 4.0 permits redistribution and derivative works with attribution. Labels and the evaluation protocol are unmodified; audio is shipped as the **verbatim source 16 kHz mono PCM WAV** (no re-encode — a whole-set decode probe confirmed every clip is already 16 kHz mono).
|
| 40 |
+
|
| 41 |
+
## Schema
|
| 42 |
+
|
| 43 |
+
| Column | Type | Description |
|
| 44 |
+
|--------|------|-------------|
|
| 45 |
+
| `path` | `string` | source-relative path of the clip, unique |
|
| 46 |
+
| `audio` | `Audio(16000)` | 16 kHz mono |
|
| 47 |
+
| `label` | `ClassLabel` | `"bonafide"` (0) / `"spoof"` (1) |
|
| 48 |
+
| `notes` | `string` | JSON: `utterance_id`, `speaker_id`, `system`, `source_subdir` |
|
| 49 |
+
|
| 50 |
+
`utterance_id` is the on-disk filename stem (globally unique across all six dirs). `system` is the spoof generator (`CycleGAN` / `Diff` / `StarGAN` / `TTS` / `TTS-Diff` / `TTS-StarGAN`) or `real` for bonafide.
|
| 51 |
+
|
| 52 |
+
`notes` example:
|
| 53 |
+
```json
|
| 54 |
+
{"utterance_id": "CycleGAN-arf_00295_00101634363-arf_02121_002402", "speaker_id": "arf_00295", "system": "CycleGAN", "source_subdir": "CycleGAN/Argentina-Argentina/arf_00295-arf_02121"}
|
| 55 |
+
```
|
| 56 |
+
|
| 57 |
+
## Quick Start
|
| 58 |
+
|
| 59 |
+
```python
|
| 60 |
+
from datasets import load_dataset
|
| 61 |
+
|
| 62 |
+
ds = load_dataset("SpeechAntiSpoofingBenchmarks/HABLA", split="test")
|
| 63 |
+
print(ds[0])
|
| 64 |
+
```
|
| 65 |
+
|
| 66 |
+
## Stats
|
| 67 |
+
|
| 68 |
+
| Stat | Value |
|
| 69 |
+
|------|-------|
|
| 70 |
+
| Total trials | 80,816 |
|
| 71 |
+
| Bonafide | 22,816 |
|
| 72 |
+
| Spoof | 58,000 |
|
| 73 |
+
| CycleGAN | 16,000 |
|
| 74 |
+
| Diff | 16,000 |
|
| 75 |
+
| StarGAN | 16,000 |
|
| 76 |
+
| TTS | 5,000 |
|
| 77 |
+
| TTS-Diff | 2,500 |
|
| 78 |
+
| TTS-StarGAN | 2,500 |
|
| 79 |
+
|
| 80 |
+
## Source provenance
|
| 81 |
+
|
| 82 |
+
- Paper: https://www.isca-archive.org/interspeech_2023/tamayoflorez23_interspeech.html (DOI `10.21437/Interspeech.2023-2272`)
|
| 83 |
+
- Protocol: `protocol.txt` (format: `SPEAKER_ID AUDIO_FILE_ID - SYSTEM KEY`)
|
| 84 |
+
- Accents: Argentina, Chile, Colombia, Peru, Venezuela. Conversion systems operate across source→target accent pairs.
|
| 85 |
+
|
| 86 |
+
## Evaluation
|
| 87 |
+
|
| 88 |
+
For evaluation instructions and submission format, see [`submissions/README.md`](submissions/README.md).
|
| 89 |
+
|
| 90 |
+
## Citation
|
| 91 |
+
|
| 92 |
+
```bibtex
|
| 93 |
+
@inproceedings{tamayoflorez23_interspeech,
|
| 94 |
+
title = {{HABLA: A Dataset of Latin American Spanish Accents for Voice Anti-spoofing}},
|
| 95 |
+
author = {Pablo Andrés {Tamayo Flórez} and Rubén Manrique and Bernardo {Pereira Nunes}},
|
| 96 |
+
year = {2023},
|
| 97 |
+
booktitle = {{Interspeech 2023}},
|
| 98 |
+
pages = {1963--1967},
|
| 99 |
+
doi = {10.21437/Interspeech.2023-2272},
|
| 100 |
+
issn = {2958-1796},
|
| 101 |
+
}
|
| 102 |
+
```
|
| 103 |
+
|
| 104 |
+
## Maintainer
|
| 105 |
+
|
| 106 |
+
Contact: k.n.borodin@mtuci.ru
|
build_parquet.py
ADDED
|
@@ -0,0 +1,346 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Parquet build for the HABLA HF dataset repo.
|
| 2 |
+
|
| 3 |
+
HABLA — *HABLA: A Dataset of Latin American Spanish Accents for Voice
|
| 4 |
+
Anti-spoofing* (Tamayo Florez et al., Interspeech 2023). Bonafide Spanish speech
|
| 5 |
+
(5 Latin-American accents) + spoof generated by CycleGAN / Diff / StarGAN voice
|
| 6 |
+
conversion, TTS, and TTS->VC cascades.
|
| 7 |
+
|
| 8 |
+
Source layout: six top-level dirs under SRC_ROOT — Real/ (bonafide) and
|
| 9 |
+
CycleGAN/ Diff/ StarGAN/ TTS/ TTS-VC/ (spoof) — each holding nested .wav files.
|
| 10 |
+
A flat ASVspoof-style protocol.txt (`SPEAKER FILE_ID - SYSTEM KEY`) gives the
|
| 11 |
+
authoritative label + speaker. The on-disk filename stem is globally unique
|
| 12 |
+
(80,816 distinct) and is used as utterance_id.
|
| 13 |
+
|
| 14 |
+
Join caveat: the plain-TTS group is named `<stem>_TTS` in the protocol but
|
| 15 |
+
`TTS-<stem>` on disk. We normalize the disk key (`TTS-<x>` -> `<x>_TTS`, only
|
| 16 |
+
under the TTS/ top-dir) so the join is exact (0 orphans either way). The protocol
|
| 17 |
+
KEY also agrees with the top-level dir on every row, cross-checking the join.
|
| 18 |
+
|
| 19 |
+
A whole-set soundfile probe (run via `--probe`) confirmed every clip decodes and
|
| 20 |
+
is 16 kHz mono PCM, so this builder takes the CLEAN path: it embeds the raw
|
| 21 |
+
source WAV bytes directly (no decode/re-encode). A small sample probe still runs
|
| 22 |
+
as a safety gate at build time and aborts if the source has regressed.
|
| 23 |
+
|
| 24 |
+
Records are processed sorted by utterance_id for stable sharding.
|
| 25 |
+
|
| 26 |
+
Sample mode (--limit N): first N rows into a single shard, skipping the
|
| 27 |
+
full-count asserts -- used for the fast offline validate-dataset pass.
|
| 28 |
+
"""
|
| 29 |
+
|
| 30 |
+
import argparse
|
| 31 |
+
import io
|
| 32 |
+
import json
|
| 33 |
+
import os
|
| 34 |
+
import random
|
| 35 |
+
import tempfile
|
| 36 |
+
from concurrent.futures import ProcessPoolExecutor
|
| 37 |
+
from pathlib import Path
|
| 38 |
+
|
| 39 |
+
import datasets # noqa: E402
|
| 40 |
+
import pyarrow.parquet as pq # noqa: E402
|
| 41 |
+
import soundfile as sf # noqa: E402
|
| 42 |
+
from datasets import Audio, ClassLabel, Dataset, Features, Value # noqa: E402
|
| 43 |
+
from tqdm.auto import tqdm # noqa: E402
|
| 44 |
+
|
| 45 |
+
try:
|
| 46 |
+
datasets.disable_progress_bars()
|
| 47 |
+
except AttributeError:
|
| 48 |
+
from datasets.utils.logging import disable_progress_bar
|
| 49 |
+
|
| 50 |
+
disable_progress_bar()
|
| 51 |
+
|
| 52 |
+
REPO_ROOT = Path(__file__).resolve().parent
|
| 53 |
+
SRC_ROOT = Path("/home/kirill/mnt/users_4tb/datasets/LatinaVoice")
|
| 54 |
+
PROTOCOL = SRC_ROOT / "protocol.txt"
|
| 55 |
+
PARQUET_DIR = REPO_ROOT / "data"
|
| 56 |
+
TOP_DIRS = ("Real", "CycleGAN", "Diff", "StarGAN", "TTS", "TTS-VC")
|
| 57 |
+
NUM_SHARDS = 40
|
| 58 |
+
EXPECTED_ROWS = 80816
|
| 59 |
+
EXPECTED_BONAFIDE = 22816
|
| 60 |
+
EXPECTED_SPOOF = 58000
|
| 61 |
+
TARGET_SR = 16000
|
| 62 |
+
PROBE_SAMPLE = 3000
|
| 63 |
+
WORKERS = int(os.environ.get("HABLA_BUILD_WORKERS", "64"))
|
| 64 |
+
|
| 65 |
+
FEATURES = Features(
|
| 66 |
+
{
|
| 67 |
+
"path": Value("string"),
|
| 68 |
+
"audio": Audio(sampling_rate=16000),
|
| 69 |
+
"label": ClassLabel(names=["bonafide", "spoof"]),
|
| 70 |
+
"notes": Value("string"),
|
| 71 |
+
}
|
| 72 |
+
)
|
| 73 |
+
|
| 74 |
+
|
| 75 |
+
def _walk_disk():
|
| 76 |
+
"""Map normalized-protocol-key -> (relpath, stem, top_dir) for every .wav."""
|
| 77 |
+
disk = {}
|
| 78 |
+
for top in TOP_DIRS:
|
| 79 |
+
base = SRC_ROOT / top
|
| 80 |
+
for dirpath, _, files in os.walk(base):
|
| 81 |
+
for f in files:
|
| 82 |
+
if not f.endswith(".wav"):
|
| 83 |
+
continue
|
| 84 |
+
stem = f[:-4]
|
| 85 |
+
rel = os.path.relpath(os.path.join(dirpath, f), SRC_ROOT)
|
| 86 |
+
# plain-TTS group: disk `TTS-<x>` <-> protocol `<x>_TTS`
|
| 87 |
+
key = stem[4:] + "_TTS" if (top == "TTS" and stem.startswith("TTS-")) else stem
|
| 88 |
+
if key in disk:
|
| 89 |
+
raise ValueError(f"Duplicate join key {key!r}: {disk[key][0]} vs {rel}")
|
| 90 |
+
disk[key] = (rel, stem, top)
|
| 91 |
+
return disk
|
| 92 |
+
|
| 93 |
+
|
| 94 |
+
def build_catalogue():
|
| 95 |
+
"""Join protocol.txt against the on-disk wavs -> list of canonical records."""
|
| 96 |
+
disk = _walk_disk()
|
| 97 |
+
records = []
|
| 98 |
+
seen = set()
|
| 99 |
+
with open(PROTOCOL, encoding="utf-8") as fh:
|
| 100 |
+
for line in fh:
|
| 101 |
+
parts = line.split()
|
| 102 |
+
if not parts:
|
| 103 |
+
continue
|
| 104 |
+
if len(parts) != 5:
|
| 105 |
+
raise ValueError(f"Expected 5 columns, got {len(parts)}: {line!r}")
|
| 106 |
+
speaker, fid, _, sysid, key = parts
|
| 107 |
+
if fid not in disk:
|
| 108 |
+
raise KeyError(f"Protocol id {fid!r} has no matching audio file")
|
| 109 |
+
rel, stem, top = disk[fid]
|
| 110 |
+
expected_label = "bonafide" if top == "Real" else "spoof"
|
| 111 |
+
if key != expected_label:
|
| 112 |
+
raise ValueError(f"Label {key!r} != dir-implied {expected_label!r} for {rel}")
|
| 113 |
+
system = "real" if sysid == "-" else sysid
|
| 114 |
+
if stem in seen:
|
| 115 |
+
raise ValueError(f"Duplicate utterance_id {stem!r}")
|
| 116 |
+
seen.add(stem)
|
| 117 |
+
records.append(
|
| 118 |
+
{
|
| 119 |
+
"uid": stem,
|
| 120 |
+
"path": rel,
|
| 121 |
+
"label": key,
|
| 122 |
+
"speaker": speaker,
|
| 123 |
+
"system": system,
|
| 124 |
+
"source_subdir": os.path.dirname(rel),
|
| 125 |
+
}
|
| 126 |
+
)
|
| 127 |
+
return records
|
| 128 |
+
|
| 129 |
+
|
| 130 |
+
def build_notes(rec):
|
| 131 |
+
return json.dumps(
|
| 132 |
+
{
|
| 133 |
+
"utterance_id": rec["uid"],
|
| 134 |
+
"speaker_id": rec["speaker"],
|
| 135 |
+
"system": rec["system"],
|
| 136 |
+
"source_subdir": rec["source_subdir"],
|
| 137 |
+
}
|
| 138 |
+
)
|
| 139 |
+
|
| 140 |
+
|
| 141 |
+
def _probe_one(rel):
|
| 142 |
+
p = str(SRC_ROOT / rel)
|
| 143 |
+
try:
|
| 144 |
+
info = sf.info(p)
|
| 145 |
+
if info.frames == 0:
|
| 146 |
+
return f"{rel}: empty"
|
| 147 |
+
if info.samplerate != TARGET_SR:
|
| 148 |
+
return f"{rel}: sr={info.samplerate}"
|
| 149 |
+
if info.channels != 1:
|
| 150 |
+
return f"{rel}: channels={info.channels}"
|
| 151 |
+
return None
|
| 152 |
+
except Exception as e: # noqa: BLE001
|
| 153 |
+
return f"{rel}: {str(e).splitlines()[0][:100]}"
|
| 154 |
+
|
| 155 |
+
|
| 156 |
+
def probe_whole_set(records):
|
| 157 |
+
"""Decode-probe EVERY clip (sorted by path); assert decodable + 16k mono."""
|
| 158 |
+
rels = sorted(r["path"] for r in records)
|
| 159 |
+
failures = []
|
| 160 |
+
with ProcessPoolExecutor(max_workers=WORKERS) as ex:
|
| 161 |
+
for err in tqdm(
|
| 162 |
+
ex.map(_probe_one, rels, chunksize=64), total=len(rels), desc="probe", unit="clip"
|
| 163 |
+
):
|
| 164 |
+
if err:
|
| 165 |
+
failures.append(err)
|
| 166 |
+
print(f"Whole-set probe: {len(failures)}/{len(rels)} clips failed (decode / !=16k / !=mono)")
|
| 167 |
+
for f in failures[:20]:
|
| 168 |
+
print(f" {f}")
|
| 169 |
+
return failures
|
| 170 |
+
|
| 171 |
+
|
| 172 |
+
def probe_sample(records):
|
| 173 |
+
rng = random.Random(0)
|
| 174 |
+
sample = rng.sample(records, min(PROBE_SAMPLE, len(records)))
|
| 175 |
+
rels = [r["path"] for r in sample]
|
| 176 |
+
failures = []
|
| 177 |
+
with ProcessPoolExecutor(max_workers=WORKERS) as ex:
|
| 178 |
+
for err in ex.map(_probe_one, rels, chunksize=32):
|
| 179 |
+
if err:
|
| 180 |
+
failures.append(err)
|
| 181 |
+
print(f"Sample probe: {len(failures)}/{len(rels)} clips failed")
|
| 182 |
+
if failures:
|
| 183 |
+
for f in failures[:10]:
|
| 184 |
+
print(f" {f}")
|
| 185 |
+
raise RuntimeError(
|
| 186 |
+
"Source WAV no longer cleanly decodable/16k; the CLEAN raw-embed path "
|
| 187 |
+
"is unsafe. Re-introduce a re-encode stage (see ASVspoof2021_LA builder)."
|
| 188 |
+
)
|
| 189 |
+
|
| 190 |
+
|
| 191 |
+
def _clip_duration(rel):
|
| 192 |
+
info = sf.info(str(SRC_ROOT / rel))
|
| 193 |
+
return info.frames / info.samplerate
|
| 194 |
+
|
| 195 |
+
|
| 196 |
+
def _ensure_long_first_row(records):
|
| 197 |
+
"""Swap a clip with duration >= 1.0s to index 0 (validator D3 checks row 0)."""
|
| 198 |
+
for i in range(len(records)):
|
| 199 |
+
if _clip_duration(records[i]["path"]) >= 1.0:
|
| 200 |
+
if i != 0:
|
| 201 |
+
records[0], records[i] = records[i], records[0]
|
| 202 |
+
return
|
| 203 |
+
raise RuntimeError("No clip with duration >= 1.0s found")
|
| 204 |
+
|
| 205 |
+
|
| 206 |
+
def _build_shard(task):
|
| 207 |
+
"""Worker: build one shard parquet from its row slice. Resumable + atomic."""
|
| 208 |
+
shard_index, rows, num_shards = task
|
| 209 |
+
shard_name = f"test-{shard_index:05d}-of-{num_shards:05d}.parquet"
|
| 210 |
+
final = PARQUET_DIR / shard_name
|
| 211 |
+
if final.exists() and final.stat().st_size > 0:
|
| 212 |
+
return (shard_index, len(rows), "skipped")
|
| 213 |
+
|
| 214 |
+
def row_gen():
|
| 215 |
+
for rec in rows:
|
| 216 |
+
yield {
|
| 217 |
+
"path": rec["path"],
|
| 218 |
+
"audio": {
|
| 219 |
+
"bytes": (SRC_ROOT / rec["path"]).read_bytes(),
|
| 220 |
+
"path": rec["path"],
|
| 221 |
+
},
|
| 222 |
+
"label": rec["label"],
|
| 223 |
+
"notes": build_notes(rec),
|
| 224 |
+
}
|
| 225 |
+
|
| 226 |
+
with tempfile.TemporaryDirectory() as cache:
|
| 227 |
+
ds = Dataset.from_generator(row_gen, features=FEATURES, cache_dir=cache)
|
| 228 |
+
tmp = PARQUET_DIR / f".{shard_name}.tmp"
|
| 229 |
+
ds.to_parquet(str(tmp))
|
| 230 |
+
os.replace(tmp, final)
|
| 231 |
+
return (shard_index, len(rows), "built")
|
| 232 |
+
|
| 233 |
+
|
| 234 |
+
def _partition(records, num_shards):
|
| 235 |
+
n = len(records)
|
| 236 |
+
per = (n + num_shards - 1) // num_shards
|
| 237 |
+
out = []
|
| 238 |
+
for i in range(num_shards):
|
| 239 |
+
chunk = records[i * per : (i + 1) * per]
|
| 240 |
+
if chunk:
|
| 241 |
+
out.append(chunk)
|
| 242 |
+
return out
|
| 243 |
+
|
| 244 |
+
|
| 245 |
+
def build():
|
| 246 |
+
parser = argparse.ArgumentParser()
|
| 247 |
+
parser.add_argument("--limit", type=int, default=None)
|
| 248 |
+
parser.add_argument("--probe", action="store_true", help="whole-set decode probe, then exit")
|
| 249 |
+
args = parser.parse_args()
|
| 250 |
+
limit = args.limit
|
| 251 |
+
sample_mode = limit is not None
|
| 252 |
+
|
| 253 |
+
print("Building catalogue (walk disk + join protocol)...")
|
| 254 |
+
records = build_catalogue()
|
| 255 |
+
print(f"Catalogue: {len(records)} rows")
|
| 256 |
+
if not sample_mode and not args.probe:
|
| 257 |
+
assert len(records) == EXPECTED_ROWS, f"Expected {EXPECTED_ROWS}, got {len(records)}"
|
| 258 |
+
|
| 259 |
+
if args.probe:
|
| 260 |
+
failures = probe_whole_set(records)
|
| 261 |
+
if failures:
|
| 262 |
+
raise SystemExit(f"PROBE FAILED: {len(failures)} clips bad -> re-encode path needed")
|
| 263 |
+
print("PROBE OK: all clips decodable + 16k mono -> CLEAN raw-embed path")
|
| 264 |
+
return
|
| 265 |
+
|
| 266 |
+
records.sort(key=lambda r: r["uid"])
|
| 267 |
+
_ensure_long_first_row(records)
|
| 268 |
+
probe_sample(records)
|
| 269 |
+
|
| 270 |
+
if sample_mode:
|
| 271 |
+
records = records[:limit]
|
| 272 |
+
num_shards = 1
|
| 273 |
+
print(f"SAMPLE MODE: {len(records)} rows -> 1 shard")
|
| 274 |
+
else:
|
| 275 |
+
num_shards = NUM_SHARDS
|
| 276 |
+
|
| 277 |
+
bona = sum(1 for r in records if r["label"] == "bonafide")
|
| 278 |
+
spoof = sum(1 for r in records if r["label"] == "spoof")
|
| 279 |
+
print(f" bonafide={bona} spoof={spoof} total={len(records)}")
|
| 280 |
+
|
| 281 |
+
PARQUET_DIR.mkdir(parents=True, exist_ok=True)
|
| 282 |
+
keep_suffix = f"-of-{num_shards:05d}.parquet"
|
| 283 |
+
for stale in PARQUET_DIR.glob("test-*.parquet"):
|
| 284 |
+
if not stale.name.endswith(keep_suffix):
|
| 285 |
+
print(f"Removing stale shard {stale.name}")
|
| 286 |
+
stale.unlink()
|
| 287 |
+
shards = _partition(records, num_shards)
|
| 288 |
+
tasks = [(i, rows, num_shards) for i, rows in enumerate(shards)]
|
| 289 |
+
stage_workers = min(WORKERS, len(tasks))
|
| 290 |
+
print(f"Building {len(tasks)} shard(s) with {stage_workers} workers...")
|
| 291 |
+
built = skipped = 0
|
| 292 |
+
with ProcessPoolExecutor(max_workers=stage_workers) as ex:
|
| 293 |
+
for idx, n, status in tqdm(
|
| 294 |
+
ex.map(_build_shard, tasks), total=len(tasks), desc="shards", unit="shard"
|
| 295 |
+
):
|
| 296 |
+
if status == "built":
|
| 297 |
+
built += 1
|
| 298 |
+
elif status == "skipped":
|
| 299 |
+
skipped += 1
|
| 300 |
+
print(f"Done: {built} built, {skipped} skipped")
|
| 301 |
+
|
| 302 |
+
_verify(num_shards, sample_mode)
|
| 303 |
+
print("All verifications passed!")
|
| 304 |
+
|
| 305 |
+
if not sample_mode:
|
| 306 |
+
from speech_spoof_bench import labels
|
| 307 |
+
|
| 308 |
+
out = labels.emit_labels(REPO_ROOT)
|
| 309 |
+
print(f"Wrote {out}")
|
| 310 |
+
|
| 311 |
+
|
| 312 |
+
def _verify(num_shards, sample_mode):
|
| 313 |
+
shards = sorted(PARQUET_DIR.glob("test-*.parquet"))
|
| 314 |
+
total = sum(pq.read_metadata(str(f)).num_rows for f in shards)
|
| 315 |
+
uid_set, path_set, bona, spoof = set(), set(), 0, 0
|
| 316 |
+
for f in shards:
|
| 317 |
+
t = pq.read_table(str(f), columns=["path", "label", "notes"])
|
| 318 |
+
for p, lab, n in zip(
|
| 319 |
+
t.column("path").to_pylist(),
|
| 320 |
+
t.column("label").to_pylist(),
|
| 321 |
+
t.column("notes").to_pylist(),
|
| 322 |
+
):
|
| 323 |
+
path_set.add(p)
|
| 324 |
+
uid_set.add(json.loads(n)["utterance_id"])
|
| 325 |
+
if lab == 0:
|
| 326 |
+
bona += 1
|
| 327 |
+
elif lab == 1:
|
| 328 |
+
spoof += 1
|
| 329 |
+
assert len(uid_set) == total, "Duplicate utterance_ids"
|
| 330 |
+
assert len(path_set) == total, "Duplicate paths"
|
| 331 |
+
if not sample_mode:
|
| 332 |
+
assert total == EXPECTED_ROWS, f"{total} != {EXPECTED_ROWS}"
|
| 333 |
+
assert bona == EXPECTED_BONAFIDE, f"bonafide {bona} != {EXPECTED_BONAFIDE}"
|
| 334 |
+
assert spoof == EXPECTED_SPOOF, f"spoof {spoof} != {EXPECTED_SPOOF}"
|
| 335 |
+
t0 = pq.read_table(str(shards[0]))
|
| 336 |
+
assert set(t0.column_names) == {"path", "audio", "label", "notes"}, t0.column_names
|
| 337 |
+
audio0 = t0.column("audio")[0].as_py()
|
| 338 |
+
data, sr = sf.read(io.BytesIO(audio0["bytes"]))
|
| 339 |
+
dur = len(data) / sr
|
| 340 |
+
assert sr == 16000, f"row0 sr {sr} != 16000"
|
| 341 |
+
assert dur >= 1.0, f"row0 dur {dur:.2f}s < 1.0s"
|
| 342 |
+
print(f" verify: {total} rows, row0 {sr}Hz {dur:.2f}s decodable OK")
|
| 343 |
+
|
| 344 |
+
|
| 345 |
+
if __name__ == "__main__":
|
| 346 |
+
build()
|
data/labels.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7124b1f2b8b70005704d81547603eb2b5dfb22dde4cadb6471613271358161ab
|
| 3 |
+
size 1034759
|
data/test-00000-of-00040.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ad98128920656227e461167ce2d7a52ed1b4aca0ea42abbed32cb1f8c0c10774
|
| 3 |
+
size 257520440
|
data/test-00001-of-00040.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:244120139eadb13a371a841da076f6ff904f3f6bdafcba86213ce50cc6af86bc
|
| 3 |
+
size 301869596
|
data/test-00002-of-00040.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:50da969fb0ffdeb51a77149f5430d18830852c42f8c4e68b19d68d58d39f49ca
|
| 3 |
+
size 317892955
|
data/test-00003-of-00040.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:32c9b54324c9b10d3067090681ec10a8e51ba9e4cba12ce1a2699949538efebe
|
| 3 |
+
size 324935885
|
data/test-00004-of-00040.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:745d9a5b05ec543d539559b02536ce15df0eed8f4c16106e684be06250da903e
|
| 3 |
+
size 316063079
|
data/test-00005-of-00040.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b02a96cd5472d7f2096f1fa7b242e3b9a6ab1e7990fbfb5381e8edd4bae03f51
|
| 3 |
+
size 342075506
|
data/test-00006-of-00040.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:851434653f5b3d01438ee78ca45a5645953a360a66ac4df176e671da1e82c761
|
| 3 |
+
size 287551715
|
data/test-00007-of-00040.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:47b34f10ae3e11f814d3bea6c51fbbff415e9e7aa18cff43633608b055aa6808
|
| 3 |
+
size 246054416
|
data/test-00008-of-00040.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9ceef5838ee8a08729b3a2905bce68216f95fbc37591ead1e8c46e96aed3a426
|
| 3 |
+
size 278880985
|
data/test-00009-of-00040.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f7b6bbaa7ce7cddcc1bb58b2d93b1f9912695a22cae0edb91ec22549ebfa0b91
|
| 3 |
+
size 286349834
|
data/test-00010-of-00040.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0c2a8bc07c1839d7f98d920e024ecc104d7e162703788a8bbddd218ff6415e95
|
| 3 |
+
size 331276908
|
data/test-00011-of-00040.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b45602725225fadfcd7e3e8b1673264cc0064455273509a0dc693d91d1ee9b5e
|
| 3 |
+
size 327604382
|
data/test-00012-of-00040.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:60257ffc5dcef7287f30125227e008b59053f2eb90ac69e31d4dd0c630a60149
|
| 3 |
+
size 327045945
|
data/test-00013-of-00040.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:46872f407b676b227a0afba15aa26bed9a8b2bd1b6838a0631060a51d0e03f77
|
| 3 |
+
size 359316310
|
data/test-00014-of-00040.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f1d7d2680b65cffbc0605967b5c410f334c2497438ba35ee144da1421166ff8f
|
| 3 |
+
size 339273833
|
data/test-00015-of-00040.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4991f40088df14e6cc2273832a6a296fdfda84e44b8b10ad4b5ccd9c757a301e
|
| 3 |
+
size 300067537
|
data/test-00016-of-00040.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d18c05635950ed02fd4b84002be5e380f320df49f0d7161ee0170c64d3ad40a0
|
| 3 |
+
size 304134925
|
data/test-00017-of-00040.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:80aebea565ac4270c9823cbe8c852111ff1bf8715c9bacb79ea89a6fcba3880c
|
| 3 |
+
size 297281266
|
data/test-00018-of-00040.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fe5c1f372bb1bdac2413bf4dedff7bcb1c6d3193896438e29cad3086f4cb3592
|
| 3 |
+
size 327947293
|
data/test-00019-of-00040.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:042991e9fc7870be510ebcb350752327991e45b74719eec3e3a509dd233bbb4f
|
| 3 |
+
size 356996377
|
data/test-00020-of-00040.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1a152f17380c3f16c51f3ba87744e103666ffe58b524e9bb6b0ad28081522c99
|
| 3 |
+
size 320989238
|
data/test-00021-of-00040.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5aa9f21c77e296159bac634f09e4accaea59e8d3dd3c541c51c98924af41c291
|
| 3 |
+
size 327560413
|
data/test-00022-of-00040.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9e2623097a9df26769ee595a82358860595266ad230423bb461dc61ca98b6ce7
|
| 3 |
+
size 316464657
|
data/test-00023-of-00040.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3c8518a6cbbae2367d174e6b4c61fd46eca53df883d1b2e27669a27c93076a4a
|
| 3 |
+
size 281207680
|
data/test-00024-of-00040.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:43a729d5f54e3ab58fabfcd29c73751f2e7463aadaa198856255a34d0278c3ad
|
| 3 |
+
size 203419702
|
data/test-00025-of-00040.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bfd18a4f4e8e54c69924893064148425234d9a7a05dae48eb59ff441d0100bb2
|
| 3 |
+
size 220962232
|
data/test-00026-of-00040.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9f9dcc9208d219fcab48279ed6635f2e187ff3f4e8381424860124fb842417e2
|
| 3 |
+
size 194237380
|
data/test-00027-of-00040.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0d044f05afdb36d57adc54c0aebddc313dca70aa81f7a558bbbbead29b5e5f84
|
| 3 |
+
size 175755227
|
data/test-00028-of-00040.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5b2caa949f6950be4cd6d4e229e145404c20163d94c2b18bbf09f376d0a1a519
|
| 3 |
+
size 234665221
|
data/test-00029-of-00040.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e022d531986c7799046836dee16bafc8fd51de0d86006e13d5116b3207b905ef
|
| 3 |
+
size 286691444
|
data/test-00030-of-00040.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:43d6d84d5b89b940af94b8114ef083cb23fa2fa0b3850cb8e32cf8e37c375870
|
| 3 |
+
size 275927400
|
data/test-00031-of-00040.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:51841079859f6e2662cb3f3a57b849a13b71b524209874e14287e54c6aac6591
|
| 3 |
+
size 295893942
|
data/test-00032-of-00040.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:85600934a7a041952de36cfcd0bfef77654ca135b187a424b73ffbd9d0c0df2f
|
| 3 |
+
size 302689784
|
data/test-00033-of-00040.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5e2ec1e8e53734d1e19d3fbeac23768e1a9f44c50a9ce2a509822a0b3a4ba11e
|
| 3 |
+
size 296163747
|
data/test-00034-of-00040.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:77fc4c519d63c6175f2a71f5b9fd5deaccce7a75168e64f392c6a4c28dbd7de3
|
| 3 |
+
size 292623510
|
data/test-00035-of-00040.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:977ef20d25c5622ddebf0cf58c4f11989f6aa0cb66afec1636d464998fd1d267
|
| 3 |
+
size 304344094
|
data/test-00036-of-00040.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:39b43346cd0a638d5b91fb115382d4569e590137bbb6510984a618c97d393f4a
|
| 3 |
+
size 321708559
|
data/test-00037-of-00040.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:88a5f3fa3fc79098bd8de834c0e99fb1a045ab10dc7d5bf11fc706a45003ab30
|
| 3 |
+
size 304397074
|
data/test-00038-of-00040.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:32457b34b5c02df2b8864c7d68c7f731f09820eb76fd8d10f1fd902e39781681
|
| 3 |
+
size 316252406
|
data/test-00039-of-00040.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c9343c9547cfadb2f6c96c350c059eaa75483938b5274064494544e18fdce39a
|
| 3 |
+
size 255138371
|
eval.yaml
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: HABLA
|
| 2 |
+
description: >
|
| 3 |
+
HABLA — the first Spanish voice anti-spoofing dataset (Tamayo Flórez et al.,
|
| 4 |
+
Interspeech 2023). Binary classification: bonafide (genuine Latin-American
|
| 5 |
+
Spanish speech, five accents) vs. spoof (CycleGAN / Diff / StarGAN voice
|
| 6 |
+
conversion, TTS, and TTS->VC cascades). EER computed on the full protocol
|
| 7 |
+
(80,816 utterances).
|
| 8 |
+
evaluation_framework: inspect-ai
|
| 9 |
+
|
| 10 |
+
tasks:
|
| 11 |
+
- id: antispoofing_eval
|
| 12 |
+
config: default
|
| 13 |
+
split: test
|
| 14 |
+
|
| 15 |
+
field_spec:
|
| 16 |
+
input: audio
|
| 17 |
+
target: label
|
| 18 |
+
|
| 19 |
+
solvers:
|
| 20 |
+
- name: speech_spoof_bench_solver
|
| 21 |
+
|
| 22 |
+
scorers:
|
| 23 |
+
- name: speech_spoof_scorer
|
| 24 |
+
|
| 25 |
+
metrics:
|
| 26 |
+
- eer_percent
|
push.py
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Push the built HABLA dataset to the HF Hub (resumable, proxy-free).
|
| 2 |
+
|
| 3 |
+
Run with the network proxy unset for the >1 GB shard upload:
|
| 4 |
+
env -u HTTP_PROXY -u HTTPS_PROXY -u http_proxy -u https_proxy python push.py
|
| 5 |
+
"""
|
| 6 |
+
|
| 7 |
+
from pathlib import Path
|
| 8 |
+
|
| 9 |
+
from huggingface_hub import HfApi
|
| 10 |
+
|
| 11 |
+
REPO_ID = "SpeechAntiSpoofingBenchmarks/HABLA"
|
| 12 |
+
FOLDER = Path(__file__).resolve().parent
|
| 13 |
+
|
| 14 |
+
IGNORE = [
|
| 15 |
+
"_clean_flac/**",
|
| 16 |
+
"__pycache__/**",
|
| 17 |
+
"*.pyc",
|
| 18 |
+
".cache/**",
|
| 19 |
+
".git/**",
|
| 20 |
+
".gitignore",
|
| 21 |
+
]
|
| 22 |
+
|
| 23 |
+
|
| 24 |
+
def main():
|
| 25 |
+
api = HfApi()
|
| 26 |
+
api.create_repo(REPO_ID, repo_type="dataset", exist_ok=True)
|
| 27 |
+
api.upload_large_folder(
|
| 28 |
+
repo_id=REPO_ID,
|
| 29 |
+
repo_type="dataset",
|
| 30 |
+
folder_path=str(FOLDER),
|
| 31 |
+
ignore_patterns=IGNORE,
|
| 32 |
+
)
|
| 33 |
+
info = api.dataset_info(REPO_ID)
|
| 34 |
+
print("Pushed. Latest commit SHA:", info.sha)
|
| 35 |
+
|
| 36 |
+
|
| 37 |
+
if __name__ == "__main__":
|
| 38 |
+
main()
|
submissions/README.md
ADDED
|
@@ -0,0 +1,81 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Benchmark Submissions
|
| 2 |
+
|
| 3 |
+
To submit a result, you'll upload two files (no git clone required):
|
| 4 |
+
|
| 5 |
+
1. **`scores.txt`** to **your own HF model repo** under `.eval_results/SpeechAntiSpoofingBenchmarks/ASVspoof2019_LA/scores.txt`.
|
| 6 |
+
2. **`<your-slug>.yaml`** as a pull request to **this dataset repo** under `submissions/<your-slug>.yaml`.
|
| 7 |
+
|
| 8 |
+
The YAML in this repo carries a pinned URL pointing at your `scores.txt`, plus its sha256. Scores files do not live in this repo.
|
| 9 |
+
|
| 10 |
+
## Submitter workflow
|
| 11 |
+
|
| 12 |
+
### 1. Generate `scores.txt` locally
|
| 13 |
+
|
| 14 |
+
```bash
|
| 15 |
+
speech-spoof-bench run \
|
| 16 |
+
--model-module <your_package>:<YourModelClass> \
|
| 17 |
+
--datasets SpeechAntiSpoofingBenchmarks/ASVspoof2019_LA
|
| 18 |
+
```
|
| 19 |
+
|
| 20 |
+
Output: `results/ASVspoof2019_LA/scores.txt` (one line per utterance, `<utterance_id> <score>`, higher = more bonafide).
|
| 21 |
+
|
| 22 |
+
### 2. Upload `scores.txt` to your model repo
|
| 23 |
+
|
| 24 |
+
```bash
|
| 25 |
+
huggingface-cli upload <your-owner>/<your-model-repo> \
|
| 26 |
+
results/ASVspoof2019_LA/scores.txt \
|
| 27 |
+
.eval_results/SpeechAntiSpoofingBenchmarks/ASVspoof2019_LA/scores.txt \
|
| 28 |
+
--repo-type=model \
|
| 29 |
+
--commit-message="Add ASVspoof2019_LA scores"
|
| 30 |
+
```
|
| 31 |
+
|
| 32 |
+
**Note the commit sha** the CLI prints — you'll need it in the next step.
|
| 33 |
+
|
| 34 |
+
### 3. Fill in the submission YAML
|
| 35 |
+
|
| 36 |
+
Copy `results_template.yaml` to `<your-slug>.yaml` and fill in every field. The two most important fields:
|
| 37 |
+
|
| 38 |
+
- `artifact.scores_url`: the **pinned** URL to your uploaded scores file. Use the commit sha from step 2, not `main`:
|
| 39 |
+
```
|
| 40 |
+
https://huggingface.co/<your-owner>/<your-model-repo>/resolve/<commit-sha-from-step-2>/.eval_results/SpeechAntiSpoofingBenchmarks/ASVspoof2019_LA/scores.txt
|
| 41 |
+
```
|
| 42 |
+
URLs with `/resolve/main/` are rejected because they're mutable.
|
| 43 |
+
- `artifact.scores_sha256`: `sha256sum results/ASVspoof2019_LA/scores.txt | awk '{print $1}'`.
|
| 44 |
+
|
| 45 |
+
Leave the `reproduction:` block empty — the maintainer fills it in at merge time.
|
| 46 |
+
|
| 47 |
+
### 4. Open the PR via HF CLI
|
| 48 |
+
|
| 49 |
+
```bash
|
| 50 |
+
huggingface-cli upload \
|
| 51 |
+
SpeechAntiSpoofingBenchmarks/ASVspoof2019_LA \
|
| 52 |
+
<your-slug>.yaml submissions/<your-slug>.yaml \
|
| 53 |
+
--repo-type=dataset \
|
| 54 |
+
--create-pr \
|
| 55 |
+
--commit-message="Add <your-slug> submission"
|
| 56 |
+
```
|
| 57 |
+
|
| 58 |
+
The CLI prints a PR URL. That's it.
|
| 59 |
+
|
| 60 |
+
### 5. Wait for maintainer reproduction
|
| 61 |
+
|
| 62 |
+
A maintainer runs `speech-spoof-bench reproduce --scoring <PR-branch>`, which:
|
| 63 |
+
- Fetches `scores_url`.
|
| 64 |
+
- Verifies the sha256 against `artifact.scores_sha256`.
|
| 65 |
+
- Recomputes EER from the file.
|
| 66 |
+
- Compares to your claimed `scores.eer_percent` (must match within 1e-6).
|
| 67 |
+
|
| 68 |
+
If it passes, the maintainer fills in `reproduction:` and merges. If it fails, you get a comment on the PR explaining why.
|
| 69 |
+
|
| 70 |
+
## Verification levels
|
| 71 |
+
|
| 72 |
+
| Level | What the maintainer checks | Cost |
|
| 73 |
+
|---|---|---|
|
| 74 |
+
| `scoring` (default) | sha + recomputed EER from your `scores.txt`. | Seconds. |
|
| 75 |
+
| `inference` (optional, follow-up) | Re-runs your checkpoint end-to-end and regenerates `scores.txt`. Must match within 0.05% EER. | Expensive. |
|
| 76 |
+
|
| 77 |
+
Submissions without a `reproduction:` block never appear in the arena.
|
| 78 |
+
|
| 79 |
+
## What about git clone + push?
|
| 80 |
+
|
| 81 |
+
You can do it that way too, but for a single 2 KB YAML it's massively heavier. The HF CLI path is the documented one.
|
submissions/results_template.yaml
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
schema_version: 4
|
| 2 |
+
|
| 3 |
+
system:
|
| 4 |
+
name: ""
|
| 5 |
+
slug: ""
|
| 6 |
+
description: ""
|
| 7 |
+
code: ""
|
| 8 |
+
checkpoint: ""
|
| 9 |
+
paper:
|
| 10 |
+
arxiv_id: ""
|
| 11 |
+
url: ""
|
| 12 |
+
bibtex: |
|
| 13 |
+
@article{...}
|
| 14 |
+
|
| 15 |
+
dataset:
|
| 16 |
+
id: SpeechAntiSpoofingBenchmarks/ASVspoof2019_LA
|
| 17 |
+
revision: ""
|
| 18 |
+
split: test
|
| 19 |
+
|
| 20 |
+
scores:
|
| 21 |
+
eer_percent: 0.0
|
| 22 |
+
n_trials: 71237
|
| 23 |
+
n_skipped: 0
|
| 24 |
+
|
| 25 |
+
artifact:
|
| 26 |
+
# Must be pinned by commit sha. Pattern:
|
| 27 |
+
# https://huggingface.co/<owner>/<repo>/resolve/<commit-sha>/.eval_results/SpeechAntiSpoofingBenchmarks/ASVspoof2019_LA/scores.txt
|
| 28 |
+
scores_url: ""
|
| 29 |
+
scores_sha256: ""
|
| 30 |
+
bench_version: ""
|
| 31 |
+
|
| 32 |
+
# Leave this block empty — the maintainer fills it in at merge.
|
| 33 |
+
reproduction:
|
| 34 |
+
reproduced_by: ""
|
| 35 |
+
reproduced_at: ""
|
| 36 |
+
reproduced_bench_version: ""
|
| 37 |
+
match: ""
|
| 38 |
+
|
| 39 |
+
submitter:
|
| 40 |
+
hf_username: ""
|
| 41 |
+
contact: ""
|
| 42 |
+
|
| 43 |
+
submitted_at: ""
|
| 44 |
+
notes: ""
|