Datasets:
rcds
/

Modalities:
Text
Formats:
json
Languages:
English
Libraries:
Datasets
pandas
License:
id
stringlengths
3
8
url
stringlengths
33
129
title
stringlengths
3
83
text
stringlengths
6k
181k
sentences
sequence
paraphrased_sentences
sequence
masked_text_original
stringlengths
144
181k
masked_entities_original
sequence
masked_text_paraphrased
stringlengths
105
123k
masked_entities_paraphrased
sequence
307
https://en.wikipedia.org/wiki/Abraham%20Lincoln
Abraham Lincoln
"Abraham Lincoln (; February 12, 1809 – April 15, 1865) was an American lawyer and statesman who s(...TRUNCATED)
["Abraham Lincoln (; February 12, 1809 – April 15, 1865) was an American lawyer and statesman who (...TRUNCATED)
["The 16th president of the United States, Abraham Lincoln, was assassinated in 1865.","Lincoln led (...TRUNCATED)
"<mask> (; February 12, 1809 – April 15, 1865) was an American lawyer and statesman who served as (...TRUNCATED)
["Abraham Lincoln","Lincoln","Lincoln","Lincoln","Lincoln","Lincoln","Lincoln","Lincoln","Lincoln","(...TRUNCATED)
"The 16th president of the United States, <mask>, was assassinated in 1865. <mask> led the nation th(...TRUNCATED)
["Abraham Lincoln","Lincoln","Lincoln","Lincoln","Lincoln","Lincoln","Lincoln","Lincoln","Lincoln","(...TRUNCATED)
11195016
https://en.wikipedia.org/wiki/Alfie%20Hale
Alfie Hale
"Alfred \"Alfie\" Hale (born 28 August 1939 in Waterford, Republic of Ireland) is a former Irish foo(...TRUNCATED)
["Alfred \"Alfie\" Hale (born 28 August 1939 in Waterford, Republic of Ireland) is a former Irish fo(...TRUNCATED)
["Alfred \"Alfie\" Hale is a former Irish footballer and manager who played for several clubs in bot(...TRUNCATED)
"Alfred \"<mask><mask> (born 28 August 1939 in Waterford, Republic of Ireland) is a former Irish foo(...TRUNCATED)
["Alfie","\" Hale","Hale","Hale","Hale","Hale","Hale","Hale","Hale","Hale","Hale","Hale","Hale","Hal(...TRUNCATED)
"Alfred \"<mask><mask> is a former Irish footballer and manager who played for several clubs in both(...TRUNCATED)
["Alfie","\" Hale","Hale","Hale","Hale","Hale","Hale","Hale","Hale","Hale","Hale","Hale","Hale","Hal(...TRUNCATED)
142241
https://en.wikipedia.org/wiki/Gene%20Simmons
Gene Simmons
"Gene Simmons (born Chaim Witz August 25, 1949) is an Israeli-American musician, singer and songwrit(...TRUNCATED)
["Gene Simmons (born Chaim Witz August 25, 1949) is an Israeli-American musician, singer and songwri(...TRUNCATED)
["Gene Simmons was born Chaim Witz August 25, 1949.","He is the bassist and co-lead singer of Kiss, (...TRUNCATED)
"<mask> (born Chaim Witz August 25, 1949) is an Israeli-American musician, singer and songwriter. Al(...TRUNCATED)
["Gene Simmons","Simmons","Simmons","Simmons","Gene Klein","Gene Simmons","Simmons","Simmons","Simmo(...TRUNCATED)
"<mask> was born Chaim Witz August 25, 1949. He is the bassist and co-lead singer of Kiss, a band he(...TRUNCATED)
["Gene Simmons","Simmons","Simmons","Simmons","Gene Klein","Gene Simmons","Simmons","Kiss Simmons","(...TRUNCATED)
13569918
https://en.wikipedia.org/wiki/Charles%20Frac%C3%A9
Charles Fracé
"{{Infobox artist\n| name = Charles Fracé\n| image = Cover_of_Nature's_Window.jpg\n| caption = Natu(...TRUNCATED)
["{{Infobox artist\n| name = Charles Fracé\n| image = Cover_of_Nature's_Window.jpg\n| caption = Nat(...TRUNCATED)
["The cover of Nature's Window is a 1992 profile of Charles Fracé.","The painting on the cover was (...TRUNCATED)
"{{Infobox artist\n| name = <mask>\n| image = Cover_of_Nature's_Window.jpg\n| caption = Nature's Win(...TRUNCATED)
["Charles Fracé","Charles Fracé","Charles Fracé","Charles Fracé","Fracé","Charles","Charles Fra(...TRUNCATED)
"The cover of Nature's Window is a 1992 profile of <mask>. The painting on the cover was painted in (...TRUNCATED)
[ "Charles Fracé" ]
255405
https://en.wikipedia.org/wiki/Bruce%20Dickinson
Bruce Dickinson
"Paul Bruce Dickinson (born 7 August 1958) is an English musician who has been the lead singer of th(...TRUNCATED)
["Paul Bruce Dickinson (born 7 August 1958) is an English musician who has been the lead singer of t(...TRUNCATED)
["The lead singer of the heavy metal band Iron Maiden is an English musician named Paul Bruce Dickin(...TRUNCATED)
"<mask> (born 7 August 1958) is an English musician who has been the lead singer of the heavy metal (...TRUNCATED)
["Paul Bruce Dickinson","Dickinson","Bruce Bruce","Dickinson","Rob Dickinson","Dickinson","Dickinson(...TRUNCATED)
"The lead singer of the heavy metal band Iron Maiden is an English musician named <mask>. <mask> beg(...TRUNCATED)
["Paul Bruce Dickinson","Dickinson","Bruce Bruce","Dickinson","Austin Dickinson","Rob Dickinson","Di(...TRUNCATED)
16600023
https://en.wikipedia.org/wiki/Bart%20Mendoza
Bart Mendoza
"Bart Mendoza (born September 5, 1962) is an American journalist, musician and songwriter.\n\n1980(...TRUNCATED)
["Bart Mendoza (born September 5, 1962) is an American journalist, musician and songwriter.","1980(...TRUNCATED)
["Bart Mendoza was born on September 5, 1962, in the United States.","In 1977 and 1980, Mendoza play(...TRUNCATED)
"<mask> (born September 5, 1962) is an American journalist, musician and songwriter. 1980–1990: Ba(...TRUNCATED)
["Bart Mendoza","Mendoza","Mendoza","Mendoza","Mendoza","Mendoza","Mendoza","Mendoza","Mendoza","Men(...TRUNCATED)
"<mask> was born on September 5, 1962, in the United States. In 1977 and 1980, <mask> played in seve(...TRUNCATED)
["Bart Mendoza","Mendoza","Mendoza","Mendoza","Mendoza","Mendoza","Mendoza","Mendoza","Mendoza","Bar(...TRUNCATED)
404665
https://en.wikipedia.org/wiki/Austin%20Healey
Austin Healey
"Austin Sean Healey (born 26 October 1973 in Wallasey (now part of Merseyside, formerly Cheshire), i(...TRUNCATED)
["Austin Sean Healey (born 26 October 1973 in Wallasey (now part of Merseyside, formerly Cheshire), (...TRUNCATED)
["Austin Sean Healey is a former English rugby union player who played for both England and the Brit(...TRUNCATED)
"<mask> (born 26 October 1973 in Wallasey (now part of Merseyside, formerly Cheshire), is a former E(...TRUNCATED)
["Austin Sean Healey","Austin","Healey","Healey","Healey","Healey","Healey","Healey","Healey","Heale(...TRUNCATED)
"<mask> is a former English rugby union player who played for both England and the British and Irish(...TRUNCATED)
["Austin Sean Healey","Austin","Healey","Healey","Healey","Healey","Healey","Healey","Healey","Heale(...TRUNCATED)
19619419
https://en.wikipedia.org/wiki/Tony%20Singh%20%28chef%29
Tony Singh (chef)
"Rajinder Tony Singh Kusbia , (born 15 May 1971) is a Scottish celebrity chef and restaurateur. He i(...TRUNCATED)
["Rajinder Tony Singh Kusbia , (born 15 May 1971) is a Scottish celebrity chef and restaurateur.","H(...TRUNCATED)
["Rajinder Tony Singh Kusbia was born in 1971 and is a Scottish celebrity chef.","He combines Scotti(...TRUNCATED)
"<mask> , (born 15 May 1971) is a Scottish celebrity chef and restaurateur. He is best known for com(...TRUNCATED)
["Rajinder Tony Singh Kusbia","Singh","Singh","Singh","Singh","Singh Kusbia","Singh","Singh","Singh"(...TRUNCATED)
"<mask> was born in 1971 and is a Scottish celebrity chef. He combines Scottish produce with an arty(...TRUNCATED)
["Rajinder Tony Singh Kusbia","Singh","Singh","Singh","Singh","Singh","Singh","Singh","Singh","Singh(...TRUNCATED)
602779
https://en.wikipedia.org/wiki/Larry%20McDonald
Larry McDonald
"Lawrence Patton McDonald (April 1, 1935 – September 1, 1983) was an American politician and a mem(...TRUNCATED)
["Lawrence Patton McDonald (April 1, 1935 – September 1, 1983) was an American politician and a me(...TRUNCATED)
["An American politician and a member of the United States House of Representatives from 1975 until (...TRUNCATED)
"<mask> (April 1, 1935 – September 1, 1983) was an American politician and a member of the United (...TRUNCATED)
["Lawrence Patton McDonald","McDonald","Larry McDonald","McDonald","McDonald","McDonald","McDonald",(...TRUNCATED)
"An American politician and a member of the United States House of Representatives from 1975 until h(...TRUNCATED)
["Lawrence McDonald","McDonald","Larry McDonald","McDonald","McDonald","McDonald","McDonald","McDona(...TRUNCATED)
22612764
https://en.wikipedia.org/wiki/Ken%20Gill
Ken Gill
"Ken Gill (30 August 1927 – 23 May 2009) was a British trade union leader. He was the General Secr(...TRUNCATED)
["Ken Gill (30 August 1927 – 23 May 2009) was a British trade union leader.","He was the General S(...TRUNCATED)
["Ken Gill was a British trade union leader.","When the Manufacturing, Science and Finance Union (MS(...TRUNCATED)
"<mask> (30 August 1927 – 23 May 2009) was a British trade union leader. He was the General Secret(...TRUNCATED)
["Ken Gill","Ken Gill","Gill","Gill","Gill","Gill","Gill","Ken","Gill","Gill","Gill","Gill","Gill","(...TRUNCATED)
"<mask> was a British trade union leader. When the Manufacturing, Science and Finance Union (MSF) wa(...TRUNCATED)
["Ken Gill","Ken Gill","Gill","Gill","Gill","Gill","Gill","Ken","Gill","Gill","Gill","Gill","Gill","(...TRUNCATED)

wikipedia persons masked: A filtered version of the wikipedia dataset, with only pages of people

Dataset Summary

Contains ~70k pages from wikipedia, each describing a person. For each page, the person described in the text is masked with a

Supported Tasks and Leaderboards

The dataset supports the tasks of fill-mask, but can also be used for other tasks such as question answering, e.g. "Who is

Languages

english only

Dataset Structure

There is one large dataset file (dataset.jsonl.xz), containing all data.

Use the dataset like this:

from datasets import load_dataset

dataset = load_dataset('rcds/wikipedia-persons-masked')

Data Fields

Columns are:

  • id: the id in the original dataset
  • url: the link to the wikipedia page
  • title: the title of the wikipedia page
  • text: the original wikipedia text
  • sentences: text split to sentences
  • paraphrased_sentences: text split to sentences, with each sentence paraphrased (e.g. mutated a bit)
  • masked_text_original: original text with entity masked in every occurence (
  • masked_entities_original: array of entities masked in masked_text_original
  • masked_text_paraphrased: paraphrased text with entity masked in every occurence
  • masked_entities_paraphrased: array of entities msked in masked_text_paraphrased

Data Splits

There are no splits.

Dataset Creation

This dataset was created by using the wikipedia dataset from huggingface and processing it from there. People were queried via wikidata. The texts were split with nltk punkt, paraphrased with tuner007's pegasus. The entity recognition was performed with bert-base-NER by dslim and recognized entities replaced with a mask token.

Curation Rationale

[More Information Needed]

Source Data

Initial Data Collection and Normalization

[More Information Needed]

Who are the source language producers?

[More Information Needed]

Annotations

Annotation process

[More Information Needed]

Who are the annotators?

[More Information Needed]

Personal and Sensitive Information

[More Information Needed]

Considerations for Using the Data

Social Impact of Dataset

[More Information Needed]

Discussion of Biases

[More Information Needed]

Other Known Limitations

[More Information Needed]

Additional Information

Dataset Curators

[More Information Needed]

Licensing Information

[More Information Needed]

Citation Information

TODO add citation

Contributions

Thanks to @skatinger for adding this dataset.

Downloads last month
95
Edit dataset card