Update README.md
Browse files
README.md
CHANGED
@@ -89,4 +89,32 @@ configs:
|
|
89 |
path: train400k_val2k_test2k_sentence/val.csv
|
90 |
- split: test
|
91 |
path: train400k_val2k_test2k_sentence/test.csv
|
92 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
89 |
path: train400k_val2k_test2k_sentence/val.csv
|
90 |
- split: test
|
91 |
path: train400k_val2k_test2k_sentence/test.csv
|
92 |
+
---
|
93 |
+
# WikiEditBias Dataset
|
94 |
+
|
95 |
+
Wikipedia Editorial Bias Dataset. This dataset serves for the task of detecting biases in Wikipedia historical revisions. This dataset is generated by tracking Wikipedia revisions and corresponding editors' bias labels from the [MediaWiki Historical Dump](https://dumps.wikimedia.org/other/mediawiki_history/readme.html).
|
96 |
+
|
97 |
+
## Uses
|
98 |
+
|
99 |
+
### Direct Use
|
100 |
+
|
101 |
+
<!-- This section describes suitable use cases for the dataset. -->
|
102 |
+
|
103 |
+
```
|
104 |
+
from datasets import load_dataset
|
105 |
+
dataset = load_dataset("fgs218ok/WikiEditBias")
|
106 |
+
```
|
107 |
+
|
108 |
+
## Dataset Structure
|
109 |
+
|
110 |
+
<!-- This section provides a description of the dataset fields, and additional information about the dataset structure such as criteria used to create the splits, relationships between data points, etc. -->
|
111 |
+
The WikiEditBias Dataset has two data formats:
|
112 |
+
* Edit diff format: Contains by sentence pairs extracted from sentence-level differences of Wikipedia revisions. For each .csv file there are 3 fields:
|
113 |
+
* label: 0 refers to the non-biased/neutral edits and 1 refers to the biased edits.
|
114 |
+
* old_text: pre-edit sentence-level texts
|
115 |
+
* new_text: after-edit sentence-level texts
|
116 |
+
* Sentence format: Contains sentences extracted from the Wikipedia revisions. The fields are similar to the edit diff format:
|
117 |
+
* label: 0 refers to the non-biased/neutral edits and 1 refers to the biased edits.
|
118 |
+
* text: sentence-level texts of edits.
|
119 |
+
|
120 |
+
For each format there are five scales of data given: 10k, 50k, 100k, 200k, 400k
|