St4n commited on
Commit
8cd8603
·
1 Parent(s): 566eee0

Update self_dataset.py

Browse files
Files changed (1) hide show
  1. self_dataset.py +2 -4
self_dataset.py CHANGED
@@ -48,7 +48,7 @@ _DESCRIPTION = "Self Dataset is a dataset for the intent detection task with spo
48
 
49
  _HOMEPAGE_URL = "https://arxiv.org/abs/2104.08524"
50
 
51
- _DATA_URL = "https://www.dropbox.com/scl/fi/wr608qdxo5jnm0azwkbak/dataset.zip?rlkey=wktncggwoka8qdm46cjb41yac&dl=0"
52
 
53
 
54
  class ATCConfig(datasets.BuilderConfig):
@@ -88,8 +88,7 @@ class ATC(datasets.GeneratorBasedBuilder):
88
  features = datasets.Features(
89
  {
90
  "file_path": datasets.Value("string"),
91
- "reference": datasets.Value("string"),
92
-
93
  }
94
  )
95
 
@@ -137,7 +136,6 @@ class ATC(datasets.GeneratorBasedBuilder):
137
  next(csv_reader)
138
  for row in csv_reader:
139
  file_path, reference = row
140
-
141
  file_path = os.path.join(audio_path, *file_path.split("/"))
142
  yield key, {
143
  "file_path": file_path,
 
48
 
49
  _HOMEPAGE_URL = "https://arxiv.org/abs/2104.08524"
50
 
51
+ _DATA_URL = "https://www.dropbox.com/scl/fi/wr608qdxo5jnm0azwkbak/self_dataset.zip?rlkey=wktncggwoka8qdm46cjb41yac&dl=0"
52
 
53
 
54
  class ATCConfig(datasets.BuilderConfig):
 
88
  features = datasets.Features(
89
  {
90
  "file_path": datasets.Value("string"),
91
+ "reference": datasets.Value("string")
 
92
  }
93
  )
94
 
 
136
  next(csv_reader)
137
  for row in csv_reader:
138
  file_path, reference = row
 
139
  file_path = os.path.join(audio_path, *file_path.split("/"))
140
  yield key, {
141
  "file_path": file_path,