Datasets:

Languages:
English
Size:
< 1K
ArXiv:
Libraries:
Datasets
License:
asahi417 commited on
Commit
5005827
1 Parent(s): 43c22bf
Files changed (1) hide show
  1. relentless.py +2 -2
relentless.py CHANGED
@@ -9,7 +9,7 @@ import datasets
9
  logger = datasets.logging.get_logger(__name__)
10
  _DESCRIPTION = """ Named-entities Relation Ranking. """
11
  _NAME = "relentless"
12
- _VERSION = "0.2.3"
13
  _CITATION = """TBA"""
14
  _HOME_PAGE = "https://huggingface.co/datasets/cardiffnlp/relentless"
15
  _URL = f'https://huggingface.co/datasets/cardiffnlp/{_NAME}/raw/main'
@@ -39,7 +39,7 @@ class Relentless(datasets.GeneratorBasedBuilder):
39
  # downloaded_file = dl_manager.download_and_extract(_URLS[self.config.name])
40
  downloaded_file = dl_manager.download_and_extract(_URLS)
41
  return [datasets.SplitGenerator(name=i, gen_kwargs={"filepaths": downloaded_file[str(i)]})
42
- for i in [datasets.Split.VALIDATION]]
43
 
44
  def _generate_examples(self, filepaths):
45
  _key = 0
 
9
  logger = datasets.logging.get_logger(__name__)
10
  _DESCRIPTION = """ Named-entities Relation Ranking. """
11
  _NAME = "relentless"
12
+ _VERSION = "0.2.4"
13
  _CITATION = """TBA"""
14
  _HOME_PAGE = "https://huggingface.co/datasets/cardiffnlp/relentless"
15
  _URL = f'https://huggingface.co/datasets/cardiffnlp/{_NAME}/raw/main'
 
39
  # downloaded_file = dl_manager.download_and_extract(_URLS[self.config.name])
40
  downloaded_file = dl_manager.download_and_extract(_URLS)
41
  return [datasets.SplitGenerator(name=i, gen_kwargs={"filepaths": downloaded_file[str(i)]})
42
+ for i in [datasets.Split.VALIDATION, datasets.Split.TEST]]
43
 
44
  def _generate_examples(self, filepaths):
45
  _key = 0