Duy1332002 commited on
Commit
8e52119
·
verified ·
1 Parent(s): 140f1b5

Update instruct500k_vi.py

Browse files
Files changed (1) hide show
  1. instruct500k_vi.py +4 -5
instruct500k_vi.py CHANGED
@@ -30,10 +30,11 @@ if fs.exists(_REPO_ID + "/images"):
30
  ])
31
 
32
  class Instruct500k_ViConfig(datasets.BuilderConfig):
33
- """BuilderConfig for Vast2M_Vi."""
34
 
35
  def __init__(self, name, **kwargs):
36
  """
 
37
  :param kwargs: Arguments.
38
  """
39
  super().__init__(
@@ -45,7 +46,7 @@ class Instruct500k_ViConfig(datasets.BuilderConfig):
45
 
46
 
47
  class Instruck500k_Vi(datasets.GeneratorBasedBuilder):
48
- """Vast2M Vi dataset."""
49
  BUILDER_CONFIGS = [Instruct500k_ViConfig(name) for name in _CONFIGS]
50
 
51
  def _info(self) -> datasets.DatasetInfo:
@@ -119,9 +120,7 @@ class Instruck500k_Vi(datasets.GeneratorBasedBuilder):
119
  """
120
  Generate examples.
121
  :param split: Split.
122
- :param visual_dict: Paths to directory containing visual files.
123
- :param audio_dict: Paths to directory containing audio files.
124
- :param transcript_dict: Paths to directory containing transcripts.
125
  :return: Example.
126
  """
127
  for i, sample in enumerate(split):
 
30
  ])
31
 
32
  class Instruct500k_ViConfig(datasets.BuilderConfig):
33
+ """BuilderConfig for Instruct500k_ViConfig."""
34
 
35
  def __init__(self, name, **kwargs):
36
  """
37
+ :param name: Name of subset.
38
  :param kwargs: Arguments.
39
  """
40
  super().__init__(
 
46
 
47
 
48
  class Instruck500k_Vi(datasets.GeneratorBasedBuilder):
49
+ """Instruct500k Vi dataset."""
50
  BUILDER_CONFIGS = [Instruct500k_ViConfig(name) for name in _CONFIGS]
51
 
52
  def _info(self) -> datasets.DatasetInfo:
 
120
  """
121
  Generate examples.
122
  :param split: Split.
123
+ :param image_dict: Paths to directory containing image files.
 
 
124
  :return: Example.
125
  """
126
  for i, sample in enumerate(split):