Datasets:

Languages:
English
ArXiv:
License:
dfki-nlp commited on
Commit
631667a
1 Parent(s): 4bbc35b

Update tacred.py

Browse files
Files changed (1) hide show
  1. tacred.py +2 -2
tacred.py CHANGED
@@ -170,7 +170,7 @@ class Tacred(datasets.GeneratorBasedBuilder):
170
  "To use TACRED you have to download it manually. "
171
  "It is available via the LDC at https://catalog.ldc.upenn.edu/LDC2018T24"
172
  "Please extract all files in one folder and load the dataset with: "
173
- "`datasets.load_dataset('tacred', data_dir='path/to/folder/folder_name')`"
174
  )
175
 
176
  def _info(self):
@@ -225,7 +225,7 @@ class Tacred(datasets.GeneratorBasedBuilder):
225
 
226
  if not os.path.exists(data_dir):
227
  raise FileNotFoundError(
228
- "{} does not exist. Make sure you insert a manual dir via `datasets.load_dataset('tacred', data_dir=...)` that includes the unzipped files from the TACRED_LDC zip. Manual download instructions: {}".format(
229
  data_dir, self.manual_download_instructions
230
  )
231
  )
 
170
  "To use TACRED you have to download it manually. "
171
  "It is available via the LDC at https://catalog.ldc.upenn.edu/LDC2018T24"
172
  "Please extract all files in one folder and load the dataset with: "
173
+ "`datasets.load_dataset('DFKI-SLT/tacred', data_dir='path/to/folder/folder_name')`"
174
  )
175
 
176
  def _info(self):
 
225
 
226
  if not os.path.exists(data_dir):
227
  raise FileNotFoundError(
228
+ "{} does not exist. Make sure you insert a manual dir via `datasets.load_dataset('DFKI-SLT/tacred', data_dir=...)` that includes the unzipped files from the TACRED_LDC zip. Manual download instructions: {}".format(
229
  data_dir, self.manual_download_instructions
230
  )
231
  )