Datasets:

Modalities:
Audio
Text
Formats:
parquet
Size:
< 1K
ArXiv:
DOI:
Libraries:
Datasets
pandas
cifkao commited on
Commit
ccf8b20
1 Parent(s): 262602c

Clean up data loader script, add some metadata

Browse files
Files changed (1) hide show
  1. jam-alt.py +7 -10
jam-alt.py CHANGED
@@ -11,19 +11,18 @@ from typing import Optional
11
  import datasets
12
 
13
 
 
 
 
14
  # TODO: Add BibTeX citation
15
  _CITATION = """\
16
  """
17
 
18
- # TODO: Add description of the dataset here
19
  _DESCRIPTION = """\
 
20
  """
21
 
22
- # TODO: Add a link to an official homepage for the dataset here
23
- _HOMEPAGE = ""
24
-
25
- # TODO: Add the licence for the dataset here
26
- _LICENSE = ""
27
 
28
  _METADATA_FILENAME = "metadata.csv"
29
 
@@ -45,11 +44,10 @@ class JamAltBuilderConfig(datasets.BuilderConfig):
45
  mono: bool = True
46
 
47
 
48
- # TODO: Name of the dataset usually matches the script name with CamelCase instead of snake_case
49
  class JamAltDataset(datasets.GeneratorBasedBuilder):
50
- """TODO: Short description of my dataset."""
51
 
52
- VERSION = datasets.Version("0.0.0")
53
  BUILDER_CONFIG_CLASS = JamAltBuilderConfig
54
  BUILDER_CONFIGS = [JamAltBuilderConfig("all")] + [
55
  JamAltBuilderConfig(lang, language=lang)
@@ -76,7 +74,6 @@ class JamAltDataset(datasets.GeneratorBasedBuilder):
76
  features=datasets.Features(feat_dict),
77
  supervised_keys=("audio", "text") if "audio" in feat_dict else None,
78
  homepage=_HOMEPAGE,
79
- license=_LICENSE,
80
  citation=_CITATION,
81
  )
82
 
 
11
  import datasets
12
 
13
 
14
+ _VERSION = "0.0.0"
15
+
16
+
17
  # TODO: Add BibTeX citation
18
  _CITATION = """\
19
  """
20
 
 
21
  _DESCRIPTION = """\
22
+ Jam-ALT: A formatting-aware lyrics transcription benchmark.
23
  """
24
 
25
+ _HOMEPAGE = "https://audioshake.github.io/jam-alt"
 
 
 
 
26
 
27
  _METADATA_FILENAME = "metadata.csv"
28
 
 
44
  mono: bool = True
45
 
46
 
 
47
  class JamAltDataset(datasets.GeneratorBasedBuilder):
48
+ _DESCRIPTION
49
 
50
+ VERSION = datasets.Version(_VERSION)
51
  BUILDER_CONFIG_CLASS = JamAltBuilderConfig
52
  BUILDER_CONFIGS = [JamAltBuilderConfig("all")] + [
53
  JamAltBuilderConfig(lang, language=lang)
 
74
  features=datasets.Features(feat_dict),
75
  supervised_keys=("audio", "text") if "audio" in feat_dict else None,
76
  homepage=_HOMEPAGE,
 
77
  citation=_CITATION,
78
  )
79