Datasets:

License:
Leyo commited on
Commit
02998a1
1 Parent(s): 1b9b4f8

add manual download instructions

Browse files
Files changed (1) hide show
  1. SNLI-VE.py +10 -0
SNLI-VE.py CHANGED
@@ -75,6 +75,16 @@ _FEATURES = datasets.Features(
75
  class SNLIVE(datasets.GeneratorBasedBuilder):
76
  """SNLIVE."""
77
 
 
 
 
 
 
 
 
 
 
 
78
  _LOCAL_IMAGE_FOLDER_NAME = "flickr30k-images"
79
  def _info(self):
80
  return datasets.DatasetInfo(
 
75
  class SNLIVE(datasets.GeneratorBasedBuilder):
76
  """SNLIVE."""
77
 
78
+ @property
79
+ def manual_download_instructions(self):
80
+ return """\
81
+ You need to go to http://shannon.cs.illinois.edu/DenotationGraph/data/index.html,
82
+ and manually download the dataset ("Flickr 30k images."). Once it is completed,
83
+ a file named `flickr30k-images.tar.gz` will appear in your Downloads folder
84
+ or whichever folder your browser chooses to save files to.
85
+ Then, the dataset can be loaded using the following command `datasets.load_dataset("HuggingFaceM4/SNLI-VE", data_dir="<path/to/folder>")`.
86
+ """
87
+
88
  _LOCAL_IMAGE_FOLDER_NAME = "flickr30k-images"
89
  def _info(self):
90
  return datasets.DatasetInfo(