ajyy commited on
Commit
9fbe3f8
1 Parent(s): 474147a

Rename MELD_Audio.py to MELD_audio.py

Browse files
Files changed (1) hide show
  1. MELD_Audio.py → MELD_audio.py +5 -5
MELD_Audio.py → MELD_audio.py RENAMED
@@ -39,12 +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 MELD_Audio(datasets.GeneratorBasedBuilder):
43
  """TODO: Short description of my dataset."""
44
 
45
  VERSION = datasets.Version("0.0.1")
46
  BUILDER_CONFIGS = [ # noqa: RUF012
47
- datasets.BuilderConfig(name="MELD_Audio", version=VERSION, description="MELD audio"),
48
  ]
49
 
50
  def _info(self):
@@ -88,7 +88,7 @@ class MELD_Audio(datasets.GeneratorBasedBuilder):
88
 
89
  return [
90
  datasets.SplitGenerator(
91
- name="train",
92
  gen_kwargs={
93
  "filepath": metadata_dir["train"],
94
  "split": "train",
@@ -97,7 +97,7 @@ class MELD_Audio(datasets.GeneratorBasedBuilder):
97
  },
98
  ),
99
  datasets.SplitGenerator(
100
- name="dev",
101
  gen_kwargs={
102
  "filepath": metadata_dir["dev"],
103
  "split": "dev",
@@ -106,7 +106,7 @@ class MELD_Audio(datasets.GeneratorBasedBuilder):
106
  },
107
  ),
108
  datasets.SplitGenerator(
109
- name="test",
110
  gen_kwargs={
111
  "filepath": metadata_dir["test"],
112
  "split": "test",
 
39
  _LICENSE = "gpl-3.0"
40
 
41
 
42
+ class MELD_audio(datasets.GeneratorBasedBuilder):
43
  """TODO: Short description of my dataset."""
44
 
45
  VERSION = datasets.Version("0.0.1")
46
  BUILDER_CONFIGS = [ # noqa: RUF012
47
+ datasets.BuilderConfig(name="MELD_audio", version=VERSION, description="MELD audio"),
48
  ]
49
 
50
  def _info(self):
 
88
 
89
  return [
90
  datasets.SplitGenerator(
91
+ name=datasets.Split.TRAIN,
92
  gen_kwargs={
93
  "filepath": metadata_dir["train"],
94
  "split": "train",
 
97
  },
98
  ),
99
  datasets.SplitGenerator(
100
+ name=datasets.Split.VALIDATION,
101
  gen_kwargs={
102
  "filepath": metadata_dir["dev"],
103
  "split": "dev",
 
106
  },
107
  ),
108
  datasets.SplitGenerator(
109
+ name=datasets.Split.TEST,
110
  gen_kwargs={
111
  "filepath": metadata_dir["test"],
112
  "split": "test",