Datasets:
Commit ·
d8f3d3a
1
Parent(s): 817d923
Update amazon_massive_intent.py
Browse files- amazon_massive_intent.py +3 -3
amazon_massive_intent.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 = {
|
|
@@ -168,8 +168,8 @@ class MASSIVE(datasets.GeneratorBasedBuilder):
|
|
| 168 |
def _split_generators(self, dl_manager):
|
| 169 |
|
| 170 |
# path = dl_manager.download_and_extract(_URL)
|
| 171 |
-
archive_path = dl_manager.download(_URL)
|
| 172 |
-
files = dl_manager.iter_archive(
|
| 173 |
|
| 174 |
return [
|
| 175 |
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 = {
|
|
|
|
| 168 |
def _split_generators(self, dl_manager):
|
| 169 |
|
| 170 |
# path = dl_manager.download_and_extract(_URL)
|
| 171 |
+
# archive_path = dl_manager.download(_URL)
|
| 172 |
+
files = dl_manager.iter_archive(ARCHIVE_PATH)
|
| 173 |
|
| 174 |
return [
|
| 175 |
datasets.SplitGenerator(
|