Datasets:
Commit
·
7d571f9
1
Parent(s):
c692878
Update amazon_massive_scenario.py
Browse files
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 |
-
|
| 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 |
-
|
| 130 |
-
files = dl_manager.iter_archive(
|
| 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 |
+
_URL = "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(
|