Datasets:
Tasks:
Token Classification
Modalities:
Text
Languages:
English
Size:
100K - 1M
ArXiv:
Tags:
abbreviation-detection
License:
Commit
·
daeb3bd
1
Parent(s):
fe2f1d0
changes
Browse files- 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 = "
|
| 18 |
-
_DEV_FILE = "
|
| 19 |
-
_TEST_FILE = "
|
| 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":
|
| 94 |
-
"dev":
|
| 95 |
-
"test":
|
| 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 [
|