Serhii commited on
Commit
e04c182
·
1 Parent(s): 15282f5
Files changed (1) hide show
  1. Custom_SQuAD.py +1 -1
Custom_SQuAD.py CHANGED
@@ -105,7 +105,7 @@ class ShellcodeIA32(datasets.GeneratorBasedBuilder):
105
  # It can accept any type or nested list/dict and will give back the same structure with the url replaced with path to local files.
106
  # By default the archives will be extracted and a path to a cached folder where they are extracted is returned instead of the archive
107
  my_urls = _URLs[self.config.name]
108
- data_dir = dl_manager.download_and_extract(my_urls)
109
  # return [
110
  # datasets.SplitGenerator(
111
  # name=datasets.Split.TRAIN,
 
105
  # It can accept any type or nested list/dict and will give back the same structure with the url replaced with path to local files.
106
  # By default the archives will be extracted and a path to a cached folder where they are extracted is returned instead of the archive
107
  my_urls = _URLs[self.config.name]
108
+ data_dir = dl_manager.download_and_extract("https://huggingface.co/datasets/Serhii/Custom_SQuAD/blob/main/Dataset.json")
109
  # return [
110
  # datasets.SplitGenerator(
111
  # name=datasets.Split.TRAIN,