parquet-converter
commited on
Commit
·
af48af1
1
Parent(s):
651c686
Update parquet files
Browse files
README.md
DELETED
@@ -1,131 +0,0 @@
|
|
1 |
-
---
|
2 |
-
license: cc-by-sa-3.0
|
3 |
-
task_categories:
|
4 |
-
- token-classification
|
5 |
-
language:
|
6 |
-
- en
|
7 |
-
tags:
|
8 |
-
- wikidata
|
9 |
-
- wikipedia
|
10 |
-
- named-entity-linking
|
11 |
-
pretty_name: AIDA CoNLL-YAGO Wikidata
|
12 |
-
size_categories:
|
13 |
-
- 10K<n<100K
|
14 |
-
---
|
15 |
-
|
16 |
-
# Dataset Card for AIDA CoNLL-YAGO Wikidata
|
17 |
-
|
18 |
-
## Table of Contents
|
19 |
-
- [Dataset Description](#dataset-description)
|
20 |
-
- [Dataset Summary](#dataset-summary)
|
21 |
-
- [Supported Tasks](#supported-tasks)
|
22 |
-
- [Languages](#languages)
|
23 |
-
- [Dataset Structure](#dataset-structure)
|
24 |
-
- [Data Instances](#data-instances)
|
25 |
-
- [Data Fields](#data-fields)
|
26 |
-
- [Data Splits](#data-splits)
|
27 |
-
- [Additional Information](#additional-information)
|
28 |
-
- [Licensing Information](#licensing-information)
|
29 |
-
|
30 |
-
## Dataset Description
|
31 |
-
|
32 |
-
- **Repository:** [AIDA CoNLL-YAGO Wikidata repository](https://github.com/cyanic-selkie/aida-conll-yago-wikidata)
|
33 |
-
|
34 |
-
### Dataset Summary
|
35 |
-
|
36 |
-
The AIDA CoNLL-YAGO Wikidata dataset is the same as the original [AIDA CoNLL-YAGO](https://www.mpi-inf.mpg.de/departments/databases-and-information-systems/research/ambiverse-nlu/aida/downloads) dataset, but with Wikidata QIDs instead of Wikipedia titles as entity identifiers. They are automatically generated (with a few manual corrections) from Wikidata and Wikipedia dumps (March 1, 2023).
|
37 |
-
|
38 |
-
The code for generating the dataset can be found [here](https://github.com/cyanic-selkie/aida-conll-yago-wikidata).
|
39 |
-
|
40 |
-
### Supported Tasks
|
41 |
-
|
42 |
-
- `named-entity-linking`: The dataset can be used to train a model for Named Entity Linking.
|
43 |
-
|
44 |
-
### Languages
|
45 |
-
|
46 |
-
The text in the dataset is in English. The associated BCP-47 code is `en`.
|
47 |
-
|
48 |
-
## Dataset Structure
|
49 |
-
|
50 |
-
### Data Instances
|
51 |
-
|
52 |
-
A typical data point represents a sentence in a document (news article).
|
53 |
-
|
54 |
-
The `text` field contains the original text in an NFC normalized, UTF-8 encoded string.
|
55 |
-
|
56 |
-
The `entities` field contains a list of entities, each represented by a struct with the inclusive starting byte `start` field, exclusive ending byte `end` field, and a nullable `qid` field.
|
57 |
-
|
58 |
-
Additionally, each sentence has `document_id` and `sentence_index` fields to be able to determine the sentence's context.
|
59 |
-
|
60 |
-
Data points belonging to the same article appear next to each other in the dataset and are sorted in an ascending fashion by the `sentence_index` field.
|
61 |
-
|
62 |
-
An example from the AIDA CoNLL-YAGO Wikidata test set looks as follows:
|
63 |
-
|
64 |
-
```
|
65 |
-
{
|
66 |
-
"uuid": "f647d183-ed81-4513-b607-2c9cbc98930a"
|
67 |
-
"document_id": 1393,
|
68 |
-
"sentence_index": 9,
|
69 |
-
"text": "He guided Ireland to two successive World Cup finals tournaments and to the 1988 European championship finals in Germany , after the Irish beat a well-fancied England team 1-0 in their group qualifier .",
|
70 |
-
"entities": [
|
71 |
-
{
|
72 |
-
"start": 10,
|
73 |
-
"end": 17,
|
74 |
-
"qid": 163547
|
75 |
-
},
|
76 |
-
{
|
77 |
-
"start": 36,
|
78 |
-
"end": 45,
|
79 |
-
"qid": 19317
|
80 |
-
},
|
81 |
-
{
|
82 |
-
"start": 81,
|
83 |
-
"end": 89,
|
84 |
-
"qid": 46
|
85 |
-
},
|
86 |
-
{
|
87 |
-
"start": 113,
|
88 |
-
"end": 120,
|
89 |
-
"qid": 183
|
90 |
-
},
|
91 |
-
{
|
92 |
-
"start": 133,
|
93 |
-
"end": 138,
|
94 |
-
"qid": 163547
|
95 |
-
},
|
96 |
-
{
|
97 |
-
"start": 159,
|
98 |
-
"end": 166,
|
99 |
-
"qid": 47762
|
100 |
-
}
|
101 |
-
]
|
102 |
-
}
|
103 |
-
```
|
104 |
-
|
105 |
-
### Data Fields
|
106 |
-
|
107 |
-
- `uuid`: a UTF-8 encoded string representing a v4 UUID that uniquely identifies the example
|
108 |
-
- `document_id`: an integer that uniquely identifies the document this sentence belongs to
|
109 |
-
- `sentence_index`: an integer that uniquely identifies the position of the sentence in its original document
|
110 |
-
- `text`: an NFC normalized, UTF-8 encoded string representing the sentence
|
111 |
-
- `entities`: a list of structs representing entities, each entity has:
|
112 |
-
- `start`: an integer representing the inclusive starting UTF-8 code point of the entity
|
113 |
-
- `end`: an integer representing the exclusive ending UTF-8 code point of the entity
|
114 |
-
- `qid`: an integer representing the Wikidata QID this entity refers to; it can be null if the entity didn't exist in Wikidata at the time of the creation of the original dataset
|
115 |
-
|
116 |
-
### Data Splits
|
117 |
-
|
118 |
-
The data is split into training, validation and test sets; all of the sentences belonging to an article are in the same split. The final split sizes are as follows:
|
119 |
-
|
120 |
-
| | Train | Validation | Test |
|
121 |
-
| :----- | :------: | :-----: | :----: |
|
122 |
-
| AIDA CoNLL-YAGO Wikidata - documents | 946 | 216 | 231 |
|
123 |
-
| AIDA CoNLL-YAGO Wikidata - sentences | 13,938 | 3,225 | 3,421 |
|
124 |
-
| AIDA CoNLL-YAGO Wikidata - entities | 23,374 | 5,912 | 5,608 |
|
125 |
-
| AIDA CoNLL-YAGO Wikidata - entities with QIDs | 18,540 | 4,791 | 4,481 |
|
126 |
-
|
127 |
-
## Additional Information
|
128 |
-
|
129 |
-
### Licensing Information
|
130 |
-
|
131 |
-
The licensing status of the dataset is the same as the licensing status of the original [AIDA CoNLL-YAGO](https://www.mpi-inf.mpg.de/departments/databases-and-information-systems/research/ambiverse-nlu/aida/downloads) dataset which is under a [Creative Commons Attribution-ShareAlike 3.0 Unported License](http://creativecommons.org/licenses/by-sa/3.0/deed.en_US).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
test.parquet → cyanic-selkie--aida-conll-yago-wikidata/parquet-test.parquet
RENAMED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1dce3c2bd3a94ae85184396007e20aa2e38403b6f19fb5af2d1da6cb8a05d2cf
|
3 |
+
size 186090
|
train.parquet → cyanic-selkie--aida-conll-yago-wikidata/parquet-train.parquet
RENAMED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8cf2a147cec05b07d47d4df73676571711690c401055936ac9c8dacc9f63ca26
|
3 |
+
size 714125
|
validation.parquet → cyanic-selkie--aida-conll-yago-wikidata/parquet-validation.parquet
RENAMED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7a492f0c0eade01467a63d7cd926ac8f14b5fec47810234a3cb69ec702f3246a
|
3 |
+
size 221792
|