LDKP: A Dataset for Identifying Keyphrases from Long Scientific Documents
Paper
• 2203.15349 • Published
id stringlengths 2 9 | sections sequence | sec_text sequence | extractive_keyphrases sequence | abstractive_keyphrases sequence | sec_bio_tags sequence |
|---|---|---|---|---|---|
18980258 | [
"visual sleep staging is still the most widely used procedure to analyze sleep. it allows one",
"sleep stages",
"subjects and procedures",
"eeg parameter = (frequency time portion) sum of all time portions",
"statistical analysis",
"results",
"discussion",
"heterogeneity of sleep stages",
"spatial r... | [
[
"TO",
"SUBDIVIDE",
"SLEEP",
"RECORDINGS",
"INTO",
"discrete",
"states",
"or",
"stages,",
"defined",
"by",
"coherent",
"and",
"recurrent",
"patterns",
"of",
"one",
"1",
"or",
"more",
"2",
"electrophysiologic",
"signals.",
... | [
"classification"
] | [
"sleep wake cycle",
"electrodiagnosis",
"electrophysiology",
"electroencephalography"
] | [
[
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",... |
18980511 | [
"introduction",
"materials",
"preparation of supported lipid membranes",
"measurement of mol% cholesterol",
"afm imaging of lipid membranes",
"high-resolution sims analysis",
"determination of lipid composition within lipid phases",
"results",
"cholesterol-free phase-separated supported lipid membra... | [
[
"Lateral",
"variations",
"in",
"component",
"distribution",
"within",
"the",
"plasma",
"membrane",
"are",
"required",
"to",
"coordinate",
"membrane-mediated",
"cellular",
"functions",
"[1]",
"[2]",
"[3]",
".",
"The",
"nonrando... | [
"phase separation",
"room temperature",
"atomic force microscopy",
"secondary ion mass spectrometry",
"microstructures"
] | [
"high resolution",
"lipid raft"
] | [
[
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",... |
18982235 | [
"",
"title",
"abstract"
] | [
[
"The",
"temperature",
"equation",
"diagnostic",
"terms",
"in",
"°C/second",
"along",
"the",
"glider",
"track",
"from",
"ESPreSSO",
"ROMS",
"model.",
"(A)",
"Temperature",
"rate",
"of",
"change,",
"(B)",
"Vertical",
"diffus... | [] | [
"oceanography",
"atmospheric science",
"earth sciences"
] | [
[
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",... |
18983838 | [
"introduction",
"charged thin shell wormholes",
"stability",
"case",
"conclusion",
"title",
"abstract"
] | [
[
"Lorentzian",
"wormholes",
"were",
"originally",
"found",
"as",
"solutions",
"of",
"the",
"Einstein",
"field",
"equations",
"with",
"nontrivial",
"topology.",
"In",
"their",
"more",
"simple",
"examples",
"they",
"present",
... | [
"exotic matter",
"equation of state",
"lorentzian wormholes"
] | [
"einstein-maxwell spacetimes",
"linear stability"
] | [
[
"B",
"I",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",
"O",... |
18985550 | ["background","identifying existing guidelines search strategy","selection criteria","quality apprai(...TRUNCATED) | [["Populations","in","crisis","settings","such","as","those","resulting","from","natural","disasters(...TRUNCATED) | [
"health care",
"disasters"
] | ["occupational safety","epidemiology","environmental health","systematic review","injury prevention"(...TRUNCATED) | [["O","O","O","O","O","O","O","O","O","O","B","O","O","O","O","O","O","O","O","O","B","O","O","O","O(...TRUNCATED) |
2870460 | ["introduction","wind dynamics","ejecta dynamics and line emission","continuum emission","detected?"(...TRUNCATED) | [["Studies","of","nearby","clusters","have","revealed","a","population","of","intergalactic","stars.(...TRUNCATED) | [
"galaxy clusters",
"interstellar medium"
] | [] | [["O","O","O","O","O","O","O","O","O","O","O","O","O","O","O","O","O","O","O","O","O","O","O","O","O(...TRUNCATED) |
2870734 | ["introduction","the generation of a q set or 'item sampling'","3","the participant group","statisti(...TRUNCATED) | [["This","paper","has","a","marked","practical","aspect.","We","wish","to","encourage","and","facili(...TRUNCATED) | ["qualitative research","william stephenson","eigenvalues","q methodology","factor rotation","factor(...TRUNCATED) | [
"factor inter- pretation"
] | [["O","O","O","O","O","O","O","O","O","O","O","O","O","O","O","O","B","I","O","O","O","O","B","I","O(...TRUNCATED) |
2870808 | ["introduction","remark 2.3","remark 2.4","a priori estimates","estimate on","estimate on ||u","proo(...TRUNCATED) | [["The","scope","of","this","work","is","the","discretization","by","the","cell-centered","finite","(...TRUNCATED) | ["noncoercive elliptic equation","weak solution","numerical experiment","convection-diffusion equati(...TRUNCATED) | [
"weak regularity assumption",
"space dimension"
] | [["O","O","O","O","O","O","O","O","O","O","O","B","I","O","O","O","O","O","O","O","O","O","O","O","O(...TRUNCATED) |
2871302 | ["","participants and task","fmri acquisition and analysis","variance components analysis","fmri act(...TRUNCATED) | [["MULTISITE","STUDIES","may","remediate","some","of","the","limitations","in","current","functional(...TRUNCATED) | ["fmri","variance components analysis","region of interest","multisite studies","motor task","total (...TRUNCATED) | [
"reproducibility of re- sults"
] | [["B","I","O","O","O","O","O","O","O","O","O","O","O","O","B","O","O","O","O","O","O","O","O","O","O(...TRUNCATED) |
2873973 | [
"background",
"case presentation",
"conclusion",
"consent",
"title",
"abstract"
] | [["Peritoneal","lymphomatosis","is","an","extremely","rare","presentation","of","lymphoma.","It","re(...TRUNCATED) | ["tuberculous peritonitis","tumor lysis syndrome","continuous renal replacement therapy","bone marro(...TRUNCATED) | [] | [["O","O","O","O","O","O","O","O","O","O","O","O","O","O","O","B","I","O","O","O","O","O","O","O","O(...TRUNCATED) |
YAML Metadata Warning: empty or missing yaml metadata in repo card
Check out the documentation for more information.
A dataset for benchmarking keyphrase extraction and generation techniques from long document English scientific papers. For more details about the dataset please refer the original paper - .
| Split | #datapoints |
|---|---|
| Train-Small | 20,000 |
| Train-Medium | 50,000 |
| Train-Large | 1,296,613 |
| Test | 10,000 |
| Validation | 10,000 |
from datasets import load_dataset
# get small dataset
dataset = load_dataset("midas/ldkp10k", "small")
def order_sections(sample):
"""
corrects the order in which different sections appear in the document.
resulting order is: title, abstract, other sections in the body
"""
sections = []
sec_text = []
sec_bio_tags = []
if "title" in sample["sections"]:
title_idx = sample["sections"].index("title")
sections.append(sample["sections"].pop(title_idx))
sec_text.append(sample["sec_text"].pop(title_idx))
sec_bio_tags.append(sample["sec_bio_tags"].pop(title_idx))
if "abstract" in sample["sections"]:
abstract_idx = sample["sections"].index("abstract")
sections.append(sample["sections"].pop(abstract_idx))
sec_text.append(sample["sec_text"].pop(abstract_idx))
sec_bio_tags.append(sample["sec_bio_tags"].pop(abstract_idx))
sections += sample["sections"]
sec_text += sample["sec_text"]
sec_bio_tags += sample["sec_bio_tags"]
return sections, sec_text, sec_bio_tags
# sample from the train split
print("Sample from train data split")
train_sample = dataset["train"][0]
sections, sec_text, sec_bio_tags = order_sections(train_sample)
print("Fields in the sample: ", [key for key in train_sample.keys()])
print("Section names: ", sections)
print("Tokenized Document: ", sec_text)
print("Document BIO Tags: ", sec_bio_tags)
print("Extractive/present Keyphrases: ", train_sample["extractive_keyphrases"])
print("Abstractive/absent Keyphrases: ", train_sample["abstractive_keyphrases"])
print("\n-----------\n")
# sample from the validation split
print("Sample from validation data split")
validation_sample = dataset["validation"][0]
sections, sec_text, sec_bio_tags = order_sections(validation_sample)
print("Fields in the sample: ", [key for key in validation_sample.keys()])
print("Section names: ", sections)
print("Tokenized Document: ", sec_text)
print("Document BIO Tags: ", sec_bio_tags)
print("Extractive/present Keyphrases: ", validation_sample["extractive_keyphrases"])
print("Abstractive/absent Keyphrases: ", validation_sample["abstractive_keyphrases"])
print("\n-----------\n")
# sample from the test split
print("Sample from test data split")
test_sample = dataset["test"][0]
sections, sec_text, sec_bio_tags = order_sections(test_sample)
print("Fields in the sample: ", [key for key in test_sample.keys()])
print("Section names: ", sections)
print("Tokenized Document: ", sec_text)
print("Document BIO Tags: ", sec_bio_tags)
print("Extractive/present Keyphrases: ", test_sample["extractive_keyphrases"])
print("Abstractive/absent Keyphrases: ", test_sample["abstractive_keyphrases"])
print("\n-----------\n")
Output
from datasets import load_dataset
# get medium dataset
dataset = load_dataset("midas/ldkp10k", "medium")
from datasets import load_dataset
# get large dataset
dataset = load_dataset("midas/ldkp10k", "large")
Please cite the works below if you use this dataset in your work.
@article{mahata2022ldkp,
title={LDKP: A Dataset for Identifying Keyphrases from Long Scientific Documents},
author={Mahata, Debanjan and Agarwal, Naveen and Gautam, Dibya and Kumar, Amardeep and Parekh, Swapnil and Singla, Yaman Kumar and Acharya, Anish and Shah, Rajiv Ratn},
journal={arXiv preprint arXiv:2203.15349},
year={2022}
}
@article{lo2019s2orc,
title={S2ORC: The semantic scholar open research corpus},
author={Lo, Kyle and Wang, Lucy Lu and Neumann, Mark and Kinney, Rodney and Weld, Dan S},
journal={arXiv preprint arXiv:1911.02782},
year={2019}
}
@inproceedings{ccano2019keyphrase,
title={Keyphrase generation: A multi-aspect survey},
author={{\c{C}}ano, Erion and Bojar, Ond{\v{r}}ej},
booktitle={2019 25th Conference of Open Innovations Association (FRUCT)},
pages={85--94},
year={2019},
organization={IEEE}
}
@article{meng2017deep,
title={Deep keyphrase generation},
author={Meng, Rui and Zhao, Sanqiang and Han, Shuguang and He, Daqing and Brusilovsky, Peter and Chi, Yu},
journal={arXiv preprint arXiv:1704.06879},
year={2017}
}
Thanks to @debanjanbhucs, @dibyaaaaax, @UmaGunturi and @ad6398 for adding this dataset