nouamanetazi HF staff commited on
Commit
603cfa6
1 Parent(s): 54c2829

Update amazon_massive_intent.py

Browse files
Files changed (1) hide show
  1. amazon_massive_intent.py +2 -1
amazon_massive_intent.py CHANGED
@@ -4,6 +4,7 @@
4
 
5
  import json
6
  import datasets
 
7
 
8
  logger = datasets.logging.get_logger(__name__)
9
 
@@ -13,7 +14,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
- ARCHIVE_PATH = "./amazon-massive-dataset-1.0.tar.gz"
17
 
18
 
19
  _LANGUAGES = {
 
4
 
5
  import json
6
  import datasets
7
+ import os
8
 
9
  logger = datasets.logging.get_logger(__name__)
10
 
 
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
+ ARCHIVE_PATH = f"{os.path.dirname(__file__)}/amazon-massive-dataset-1.0.tar.gz"
18
 
19
 
20
  _LANGUAGES = {