Commit
·
31efe3c
1
Parent(s):
3a021c0
Update amazon_massive_intent.py
Browse files- amazon_massive_intent.py +3 -3
amazon_massive_intent.py
CHANGED
@@ -14,7 +14,7 @@ _DESCRIPTION = """\
|
|
14 |
Utterances span 60 intents and include 55 slot types. MASSIVE was created by localizing
|
15 |
the SLURP dataset, composed of general Intelligent Voice Assistant single-shot interactions.
|
16 |
"""
|
17 |
-
|
18 |
|
19 |
|
20 |
_LANGUAGES = {
|
@@ -169,8 +169,8 @@ class MASSIVE(datasets.GeneratorBasedBuilder):
|
|
169 |
def _split_generators(self, dl_manager):
|
170 |
|
171 |
# path = dl_manager.download_and_extract(_URL)
|
172 |
-
|
173 |
-
files = dl_manager.iter_archive(
|
174 |
|
175 |
return [
|
176 |
datasets.SplitGenerator(
|
|
|
14 |
Utterances span 60 intents and include 55 slot types. MASSIVE was created by localizing
|
15 |
the SLURP dataset, composed of general Intelligent Voice Assistant single-shot interactions.
|
16 |
"""
|
17 |
+
_URL = "amazon-massive-dataset-1.0.tar.gz"
|
18 |
|
19 |
|
20 |
_LANGUAGES = {
|
|
|
169 |
def _split_generators(self, dl_manager):
|
170 |
|
171 |
# path = dl_manager.download_and_extract(_URL)
|
172 |
+
archive_path = dl_manager.download(_URL)
|
173 |
+
files = dl_manager.iter_archive(archive_path)
|
174 |
|
175 |
return [
|
176 |
datasets.SplitGenerator(
|