cyanic-selkie commited on
Commit
651c686
0 Parent(s):

Initial commit.

Browse files
Files changed (5) hide show
  1. .gitattributes +54 -0
  2. README.md +131 -0
  3. test.parquet +3 -0
  4. train.parquet +3 -0
  5. validation.parquet +3 -0
.gitattributes ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.7z filter=lfs diff=lfs merge=lfs -text
2
+ *.arrow filter=lfs diff=lfs merge=lfs -text
3
+ *.bin filter=lfs diff=lfs merge=lfs -text
4
+ *.bz2 filter=lfs diff=lfs merge=lfs -text
5
+ *.ckpt filter=lfs diff=lfs merge=lfs -text
6
+ *.ftz filter=lfs diff=lfs merge=lfs -text
7
+ *.gz filter=lfs diff=lfs merge=lfs -text
8
+ *.h5 filter=lfs diff=lfs merge=lfs -text
9
+ *.joblib filter=lfs diff=lfs merge=lfs -text
10
+ *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
+ *.lz4 filter=lfs diff=lfs merge=lfs -text
12
+ *.mlmodel filter=lfs diff=lfs merge=lfs -text
13
+ *.model filter=lfs diff=lfs merge=lfs -text
14
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
15
+ *.npy filter=lfs diff=lfs merge=lfs -text
16
+ *.npz filter=lfs diff=lfs merge=lfs -text
17
+ *.onnx filter=lfs diff=lfs merge=lfs -text
18
+ *.ot filter=lfs diff=lfs merge=lfs -text
19
+ *.parquet filter=lfs diff=lfs merge=lfs -text
20
+ *.pb filter=lfs diff=lfs merge=lfs -text
21
+ *.pickle filter=lfs diff=lfs merge=lfs -text
22
+ *.pkl filter=lfs diff=lfs merge=lfs -text
23
+ *.pt filter=lfs diff=lfs merge=lfs -text
24
+ *.pth filter=lfs diff=lfs merge=lfs -text
25
+ *.rar filter=lfs diff=lfs merge=lfs -text
26
+ *.safetensors filter=lfs diff=lfs merge=lfs -text
27
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
28
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
29
+ *.tflite filter=lfs diff=lfs merge=lfs -text
30
+ *.tgz filter=lfs diff=lfs merge=lfs -text
31
+ *.wasm filter=lfs diff=lfs merge=lfs -text
32
+ *.xz filter=lfs diff=lfs merge=lfs -text
33
+ *.zip filter=lfs diff=lfs merge=lfs -text
34
+ *.zst filter=lfs diff=lfs merge=lfs -text
35
+ *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ # Audio files - uncompressed
37
+ *.pcm filter=lfs diff=lfs merge=lfs -text
38
+ *.sam filter=lfs diff=lfs merge=lfs -text
39
+ *.raw filter=lfs diff=lfs merge=lfs -text
40
+ # Audio files - compressed
41
+ *.aac filter=lfs diff=lfs merge=lfs -text
42
+ *.flac filter=lfs diff=lfs merge=lfs -text
43
+ *.mp3 filter=lfs diff=lfs merge=lfs -text
44
+ *.ogg filter=lfs diff=lfs merge=lfs -text
45
+ *.wav filter=lfs diff=lfs merge=lfs -text
46
+ # Image files - uncompressed
47
+ *.bmp filter=lfs diff=lfs merge=lfs -text
48
+ *.gif filter=lfs diff=lfs merge=lfs -text
49
+ *.png filter=lfs diff=lfs merge=lfs -text
50
+ *.tiff filter=lfs diff=lfs merge=lfs -text
51
+ # Image files - compressed
52
+ *.jpg filter=lfs diff=lfs merge=lfs -text
53
+ *.jpeg filter=lfs diff=lfs merge=lfs -text
54
+ *.webp filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,131 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:17fe278b04e6aea36f260f436f6651df4b50870ffa1fc159f521391e4a3d6d9a
3
+ size 219999
train.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0b27f30972cf7cd328a1e182dbf93911c3a0a3bb049ce20ecffdbb2163809574
3
+ size 888899
validation.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:673558acdcc069a5e929ade780f0c85c180a552675a861c4ce40253d36afa708
3
+ size 229941