Datasets:

Modalities:
Text
Languages:
English
ArXiv:
Libraries:
Datasets
License:
dipteshkanojia commited on
Commit
2079c27
1 Parent(s): e7c2267
Files changed (1) hide show
  1. PLOD-unfiltered.py +9 -9
PLOD-unfiltered.py CHANGED
@@ -15,7 +15,7 @@ This is the dataset repository for PLOD Dataset accepted to be published at LREC
15
  The dataset can help build sequence labelling models for the task Abbreviation Detection.
16
  """
17
 
18
- class PLODfilteredConfig(datasets.BuilderConfig):
19
  """BuilderConfig for Conll2003"""
20
 
21
  def __init__(self, **kwargs):
@@ -23,14 +23,14 @@ class PLODfilteredConfig(datasets.BuilderConfig):
23
  Args:
24
  **kwargs: keyword arguments forwarded to super.
25
  """
26
- super(PLODfilteredConfig, self).__init__(**kwargs)
27
 
28
 
29
- class PLODfilteredConfig(datasets.GeneratorBasedBuilder):
30
- """PLOD Filtered dataset."""
31
 
32
  BUILDER_CONFIGS = [
33
- PLODfilteredConfig(name="PLODfiltered", version=datasets.Version("0.0.2"), description="PLOD filtered dataset"),
34
  ]
35
 
36
  def _info(self):
@@ -83,11 +83,11 @@ class PLODfilteredConfig(datasets.GeneratorBasedBuilder):
83
  citation=_CITATION,
84
  )
85
 
86
- _URL = "https://huggingface.co/datasets/surrey-nlp/PLOD-filtered/resolve/main/data/"
87
  _URLS = {
88
- "train": _URL + "PLOS-train70-filtered-pos_bio.json",
89
- "dev": _URL + "PLOS-val15-filtered-pos_bio.json",
90
- "test": _URL + "PLOS-test15-filtered-pos_bio.json"
91
  }
92
 
93
  def _split_generators(self, dl_manager: datasets.DownloadManager) -> List[datasets.SplitGenerator]:
 
15
  The dataset can help build sequence labelling models for the task Abbreviation Detection.
16
  """
17
 
18
+ class PLODunfilteredConfig(datasets.BuilderConfig):
19
  """BuilderConfig for Conll2003"""
20
 
21
  def __init__(self, **kwargs):
 
23
  Args:
24
  **kwargs: keyword arguments forwarded to super.
25
  """
26
+ super(PLODunfilteredConfig, self).__init__(**kwargs)
27
 
28
 
29
+ class PLODunfilteredConfig(datasets.GeneratorBasedBuilder):
30
+ """PLOD Unfiltered dataset."""
31
 
32
  BUILDER_CONFIGS = [
33
+ PLODunfilteredConfig(name="PLODunfiltered", version=datasets.Version("0.0.2"), description="PLOD unfiltered dataset"),
34
  ]
35
 
36
  def _info(self):
 
83
  citation=_CITATION,
84
  )
85
 
86
+ _URL = "https://huggingface.co/datasets/surrey-nlp/PLOD-unfiltered/resolve/main/data/"
87
  _URLS = {
88
+ "train": _URL + "PLOS-train70-unfiltered-pos_bio.json",
89
+ "dev": _URL + "PLOS-val15-unfiltered-pos_bio.json",
90
+ "test": _URL + "PLOS-test15-unfiltered-pos_bio.json"
91
  }
92
 
93
  def _split_generators(self, dl_manager: datasets.DownloadManager) -> List[datasets.SplitGenerator]: