nouamanetazi HF staff commited on
Commit
6524d0d
1 Parent(s): 146e924

Update amazon_massive_scenario.py

Browse files
Files changed (1) hide show
  1. amazon_massive_scenario.py +3 -3
amazon_massive_scenario.py CHANGED
@@ -13,7 +13,7 @@ _DESCRIPTION = """\
13
  Utterances span 60 intents and include 55 slot types. MASSIVE was created by localizing
14
  the SLURP dataset, composed of general Intelligent Voice Assistant single-shot interactions.
15
  """
16
- _URL = "https://amazon-massive-nlu-dataset.s3.amazonaws.com/amazon-massive-dataset-1.0.tar.gz"
17
 
18
 
19
  _LANGUAGES = {
@@ -126,8 +126,8 @@ class MASSIVE(datasets.GeneratorBasedBuilder):
126
  def _split_generators(self, dl_manager):
127
 
128
  # path = dl_manager.download_and_extract(_URL)
129
- archive_path = dl_manager.download(_URL)
130
- files = dl_manager.iter_archive(archive_path)
131
 
132
  return [
133
  datasets.SplitGenerator(
 
13
  Utterances span 60 intents and include 55 slot types. MASSIVE was created by localizing
14
  the SLURP dataset, composed of general Intelligent Voice Assistant single-shot interactions.
15
  """
16
+ ARCHIVE_PATH = "amazon-massive-dataset-1.0.tar.gz"
17
 
18
 
19
  _LANGUAGES = {
 
126
  def _split_generators(self, dl_manager):
127
 
128
  # path = dl_manager.download_and_extract(_URL)
129
+ # archive_path = dl_manager.download(_URL)
130
+ files = dl_manager.iter_archive(ARCHIVE_PATH)
131
 
132
  return [
133
  datasets.SplitGenerator(