add readme and dataset
Browse files- readme.md +168 -0
- wikipedia-persons-masked.jsonl.xz +3 -0
readme.md
ADDED
@@ -0,0 +1,168 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
annotations_creators:
|
3 |
+
- other
|
4 |
+
language_creators:
|
5 |
+
- found
|
6 |
+
language:
|
7 |
+
- en
|
8 |
+
license:
|
9 |
+
- cc-by-4.0
|
10 |
+
multilinguality:
|
11 |
+
- multilingual
|
12 |
+
paperswithcode_id: null
|
13 |
+
pretty_name: "wikipedia persons masked: A filtered version of the wikipedia dataset, with only pages of people."
|
14 |
+
size_categories:
|
15 |
+
- 10M<n<100M
|
16 |
+
source_datasets:
|
17 |
+
- original
|
18 |
+
task_categories:
|
19 |
+
- fill-mask
|
20 |
+
|
21 |
+
---
|
22 |
+
|
23 |
+
# wikipedia persons masked: A filtered version of the wikipedia dataset, with only pages of people
|
24 |
+
|
25 |
+
## Table of Contents
|
26 |
+
|
27 |
+
- [Table of Contents](#table-of-contents)
|
28 |
+
- [Dataset Description](#dataset-description)
|
29 |
+
- [Dataset Summary](#dataset-summary)
|
30 |
+
- [Supported Tasks and Leaderboards](#supported-tasks-and-leaderboards)
|
31 |
+
- [Languages](#languages)
|
32 |
+
- [Dataset Structure](#dataset-structure)
|
33 |
+
- [Data Fields](#data-fields)
|
34 |
+
- [Data Splits](#data-splits)
|
35 |
+
- [Dataset Creation](#dataset-creation)
|
36 |
+
- [Curation Rationale](#curation-rationale)
|
37 |
+
- [Source Data](#source-data)
|
38 |
+
- [Annotations](#annotations)
|
39 |
+
- [Personal and Sensitive Information](#personal-and-sensitive-information)
|
40 |
+
- [Considerations for Using the Data](#considerations-for-using-the-data)
|
41 |
+
- [Social Impact of Dataset](#social-impact-of-dataset)
|
42 |
+
- [Discussion of Biases](#discussion-of-biases)
|
43 |
+
- [Other Known Limitations](#other-known-limitations)
|
44 |
+
- [Additional Information](#additional-information)
|
45 |
+
- [Dataset Curators](#dataset-curators)
|
46 |
+
- [Licensing Information](#licensing-information)
|
47 |
+
- [Citation Information](#citation-information)
|
48 |
+
- [Contributions](#contributions)
|
49 |
+
|
50 |
+
## Dataset Description
|
51 |
+
|
52 |
+
- **Homepage:**
|
53 |
+
- **Repository:**
|
54 |
+
- **Paper:**
|
55 |
+
- **Leaderboard:**
|
56 |
+
- **Point of Contact:**
|
57 |
+
|
58 |
+
### Dataset Summary
|
59 |
+
|
60 |
+
Contains ~70k pages from wikipedia, each describing a person. For each page, the person described in the text
|
61 |
+
is masked with a <mask> token. The ground truth for every mask is provided.
|
62 |
+
|
63 |
+
### Supported Tasks and Leaderboards
|
64 |
+
|
65 |
+
The dataset supports the tasks of fill-mask, but can also be used for other tasks such as question answering,
|
66 |
+
e.g. "Who is <mask>?"
|
67 |
+
|
68 |
+
### Languages
|
69 |
+
|
70 |
+
*english only*
|
71 |
+
|
72 |
+
## Dataset Structure
|
73 |
+
|
74 |
+
There is one large dataset file (dataset.jsonl.xz), containing all data.
|
75 |
+
|
76 |
+
Use the dataset like this:
|
77 |
+
```python
|
78 |
+
from datasets import load_dataset
|
79 |
+
|
80 |
+
dataset = load_dataset('rcds/wikipedia-persons-masked')
|
81 |
+
```
|
82 |
+
|
83 |
+
### Data Fields
|
84 |
+
|
85 |
+
Columns are:
|
86 |
+
- id: the id in the original dataset
|
87 |
+
- url: the link to the wikipedia page
|
88 |
+
- title: the title of the wikipedia page
|
89 |
+
- text: the original wikipedia text
|
90 |
+
- sentences: text split to sentences
|
91 |
+
- paraphrased_sentences: text split to sentences, with each sentence paraphrased (e.g. mutated a bit)
|
92 |
+
- masked_text_original: original text with entity masked in every occurence (
|
93 |
+
- masked_entities_original: array of entities masked in masked_text_original
|
94 |
+
- masked_text_paraphrased: paraphrased text with entity masked in every occurence
|
95 |
+
- masked_entities_paraphrased: array of entities msked in masked_text_paraphrased
|
96 |
+
|
97 |
+
### Data Splits
|
98 |
+
|
99 |
+
There are no splits.
|
100 |
+
|
101 |
+
## Dataset Creation
|
102 |
+
|
103 |
+
This dataset was created by using the wikipedia dataset from huggingface and processing it from there.
|
104 |
+
People were queried via wikidata. The texts were split with nltk punkt, paraphrased with tuner007's pegasus.
|
105 |
+
The entity recognition was performed with bert-base-NER by dslim and recognized entities replaced with a mask token.
|
106 |
+
|
107 |
+
### Curation Rationale
|
108 |
+
|
109 |
+
[More Information Needed]
|
110 |
+
|
111 |
+
### Source Data
|
112 |
+
|
113 |
+
#### Initial Data Collection and Normalization
|
114 |
+
|
115 |
+
[More Information Needed]
|
116 |
+
|
117 |
+
#### Who are the source language producers?
|
118 |
+
|
119 |
+
[More Information Needed]
|
120 |
+
|
121 |
+
|
122 |
+
### Annotations
|
123 |
+
|
124 |
+
#### Annotation process
|
125 |
+
|
126 |
+
[More Information Needed]
|
127 |
+
|
128 |
+
#### Who are the annotators?
|
129 |
+
|
130 |
+
[More Information Needed]
|
131 |
+
|
132 |
+
### Personal and Sensitive Information
|
133 |
+
|
134 |
+
[More Information Needed]
|
135 |
+
|
136 |
+
## Considerations for Using the Data
|
137 |
+
|
138 |
+
### Social Impact of Dataset
|
139 |
+
|
140 |
+
[More Information Needed]
|
141 |
+
|
142 |
+
### Discussion of Biases
|
143 |
+
|
144 |
+
[More Information Needed]
|
145 |
+
|
146 |
+
### Other Known Limitations
|
147 |
+
|
148 |
+
[More Information Needed]
|
149 |
+
|
150 |
+
## Additional Information
|
151 |
+
|
152 |
+
### Dataset Curators
|
153 |
+
|
154 |
+
[More Information Needed]
|
155 |
+
|
156 |
+
### Licensing Information
|
157 |
+
|
158 |
+
[More Information Needed]
|
159 |
+
|
160 |
+
### Citation Information
|
161 |
+
|
162 |
+
```
|
163 |
+
TODO add citation
|
164 |
+
```
|
165 |
+
|
166 |
+
### Contributions
|
167 |
+
|
168 |
+
Thanks to [@skatinger](https://github.com/skatinger) for adding this dataset.
|
wikipedia-persons-masked.jsonl.xz
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3b28e84b15ca0bd282eeb0de3fcec2a616cea759cd00c32448575cbe51b45dc5
|
3 |
+
size 388725144
|