Datasets:

Modalities:
Text
Languages:
English
ArXiv:
Libraries:
Datasets
License:
dipteshkanojia commited on
Commit
daeb3bd
1 Parent(s): fe2f1d0
Files changed (1) hide show
  1. PLOD-filtered.py +6 -6
PLOD-filtered.py CHANGED
@@ -14,9 +14,9 @@ This is the dataset repository for PLOD Dataset accepted to be published at LREC
14
  The dataset can help build sequence labelling models for the task Abbreviation Detection.
15
  """
16
 
17
- _TRAINING_FILE = "./data/PLOS-train70-filtered-pos_bio.json"
18
- _DEV_FILE = "./data/PLOS-val15-filtered-pos_bio.json"
19
- _TEST_FILE = "./data/PLOS-test15-filtered-pos_bio.json"
20
 
21
 
22
  class PLODfilteredConfig(datasets.BuilderConfig):
@@ -90,9 +90,9 @@ class PLODfilteredConfig(datasets.GeneratorBasedBuilder):
90
  def _split_generators(self, dl_manager):
91
  """Returns SplitGenerators."""
92
  data_files = {
93
- "train": os.path.join(_TRAINING_FILE),
94
- "dev": os.path.join(_DEV_FILE),
95
- "test": os.path.join(_TEST_FILE),
96
  }
97
 
98
  return [
 
14
  The dataset can help build sequence labelling models for the task Abbreviation Detection.
15
  """
16
 
17
+ _TRAINING_FILE = "data/PLOS-train70-filtered-pos_bio.json"
18
+ _DEV_FILE = "data/PLOS-val15-filtered-pos_bio.json"
19
+ _TEST_FILE = "data/PLOS-test15-filtered-pos_bio.json"
20
 
21
 
22
  class PLODfilteredConfig(datasets.BuilderConfig):
 
90
  def _split_generators(self, dl_manager):
91
  """Returns SplitGenerators."""
92
  data_files = {
93
+ "train": _TRAINING_FILE,
94
+ "dev": _DEV_FILE,
95
+ "test": _TEST_FILE,
96
  }
97
 
98
  return [