Datasets:
Tasks:
Token Classification
Modalities:
Text
Languages:
English
Size:
100K - 1M
ArXiv:
Tags:
abbreviation-detection
License:
dipteshkanojia
commited on
Commit
•
2079c27
1
Parent(s):
e7c2267
changes
Browse files- 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
|
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(
|
27 |
|
28 |
|
29 |
-
class
|
30 |
-
"""PLOD
|
31 |
|
32 |
BUILDER_CONFIGS = [
|
33 |
-
|
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-
|
87 |
_URLS = {
|
88 |
-
"train": _URL + "PLOS-train70-
|
89 |
-
"dev": _URL + "PLOS-val15-
|
90 |
-
"test": _URL + "PLOS-test15-
|
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]:
|