Update MELD_Audio.py
Browse files- MELD_Audio.py +2 -17
MELD_Audio.py
CHANGED
@@ -39,27 +39,12 @@ The audio is extracted from MELD mp4 files while the audio only has one channel
|
|
39 |
_LICENSE = "gpl-3.0"
|
40 |
|
41 |
|
42 |
-
class MELDAudioConfig(datasets.BuilderConfig):
|
43 |
-
"""BuilderConfig for MELD_Audio."""
|
44 |
-
|
45 |
-
def __init__(self, **kwargs):
|
46 |
-
"""
|
47 |
-
Args:
|
48 |
-
data_dir: `string`, the path to the folder containing the files in the
|
49 |
-
downloaded .tar
|
50 |
-
citation: `string`, citation for the data set
|
51 |
-
url: `string`, url for information about the data set
|
52 |
-
**kwargs: keyword arguments forwarded to super.
|
53 |
-
"""
|
54 |
-
super(MELDAudioConfig, self).__init__(version=datasets.Version("0.0.1", ""), **kwargs)
|
55 |
-
|
56 |
-
|
57 |
class MELD_Audio(datasets.GeneratorBasedBuilder):
|
58 |
|
59 |
DEFAULT_WRITER_BATCH_SIZE = 256
|
60 |
DEFAULT_CONFIG_NAME = "MELD_Audio"
|
61 |
-
BUILDER_CONFIGS = [
|
62 |
-
|
63 |
]
|
64 |
|
65 |
def _info(self):
|
|
|
39 |
_LICENSE = "gpl-3.0"
|
40 |
|
41 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
42 |
class MELD_Audio(datasets.GeneratorBasedBuilder):
|
43 |
|
44 |
DEFAULT_WRITER_BATCH_SIZE = 256
|
45 |
DEFAULT_CONFIG_NAME = "MELD_Audio"
|
46 |
+
BUILDER_CONFIGS = [ # noqa: RUF012
|
47 |
+
datasets.BuilderConfig(name="MELD_Audio", version=datasets.Version("0.0.1"), description="MELD audio"),
|
48 |
]
|
49 |
|
50 |
def _info(self):
|