cyanic-selkie commited on
Commit
577cd1a
1 Parent(s): fa19875

Changes the NER tags from integers to strings.

Browse files
Files changed (4) hide show
  1. README.md +21 -21
  2. test.parquet +2 -2
  3. train.parquet +2 -2
  4. validation.parquet +2 -2
README.md CHANGED
@@ -69,7 +69,7 @@ An example from the AIDA CoNLL-YAGO Wikidata test set looks as follows:
69
  {
70
  "start": 0,
71
  "end": 13,
72
- "tag": 3,
73
  "pageid": null,
74
  "qid": null,
75
  "title": null
@@ -77,7 +77,7 @@ An example from the AIDA CoNLL-YAGO Wikidata test set looks as follows:
77
  {
78
  "start": 43,
79
  "end": 52,
80
- "tag": 2,
81
  "pageid": 36877,
82
  "qid": 19660,
83
  "title": "Bucharest"
@@ -85,7 +85,7 @@ An example from the AIDA CoNLL-YAGO Wikidata test set looks as follows:
85
  {
86
  "start": 64,
87
  "end": 77,
88
- "tag": 3,
89
  "pageid": null,
90
  "qid": null,
91
  "title": null
@@ -93,7 +93,7 @@ An example from the AIDA CoNLL-YAGO Wikidata test set looks as follows:
93
  {
94
  "start": 101,
95
  "end": 122,
96
- "tag": 4,
97
  "pageid": null,
98
  "qid": null,
99
  "title": null
@@ -101,7 +101,7 @@ An example from the AIDA CoNLL-YAGO Wikidata test set looks as follows:
101
  {
102
  "start": 215,
103
  "end": 238,
104
- "tag": 3,
105
  "pageid": null,
106
  "qid": null,
107
  "title": null
@@ -109,7 +109,7 @@ An example from the AIDA CoNLL-YAGO Wikidata test set looks as follows:
109
  {
110
  "start": 247,
111
  "end": 273,
112
- "tag": 3,
113
  "pageid": null,
114
  "qid": null,
115
  "title": null
@@ -117,7 +117,7 @@ An example from the AIDA CoNLL-YAGO Wikidata test set looks as follows:
117
  {
118
  "start": 276,
119
  "end": 280,
120
- "tag": 3,
121
  "pageid": 49749134,
122
  "qid": 266582,
123
  "title": "Democratic_Union_of_Hungarians_in_Romania"
@@ -125,7 +125,7 @@ An example from the AIDA CoNLL-YAGO Wikidata test set looks as follows:
125
  {
126
  "start": 324,
127
  "end": 343,
128
- "tag": 1,
129
  "pageid": 393370,
130
  "qid": 299152,
131
  "title": "Emil_Constantinescu"
@@ -133,7 +133,7 @@ An example from the AIDA CoNLL-YAGO Wikidata test set looks as follows:
133
  {
134
  "start": 440,
135
  "end": 447,
136
- "tag": 2,
137
  "pageid": 25445,
138
  "qid": 218,
139
  "title": "Romania"
@@ -141,7 +141,7 @@ An example from the AIDA CoNLL-YAGO Wikidata test set looks as follows:
141
  {
142
  "start": 461,
143
  "end": 475,
144
- "tag": 1,
145
  "pageid": 393370,
146
  "qid": 299152,
147
  "title": "Emil_Constantinescu"
@@ -149,7 +149,7 @@ An example from the AIDA CoNLL-YAGO Wikidata test set looks as follows:
149
  {
150
  "start": 508,
151
  "end": 512,
152
- "tag": 3,
153
  "pageid": 49749134,
154
  "qid": 266582,
155
  "title": "Democratic_Union_of_Hungarians_in_Romania"
@@ -157,7 +157,7 @@ An example from the AIDA CoNLL-YAGO Wikidata test set looks as follows:
157
  {
158
  "start": 574,
159
  "end": 581,
160
- "tag": 2,
161
  "pageid": 25445,
162
  "qid": 218,
163
  "title": "Romania"
@@ -165,7 +165,7 @@ An example from the AIDA CoNLL-YAGO Wikidata test set looks as follows:
165
  {
166
  "start": 597,
167
  "end": 607,
168
- "tag": 1,
169
  "pageid": 1219345,
170
  "qid": 897108,
171
  "title": "Béla_Markó"
@@ -173,7 +173,7 @@ An example from the AIDA CoNLL-YAGO Wikidata test set looks as follows:
173
  {
174
  "start": 646,
175
  "end": 655,
176
- "tag": 2,
177
  "pageid": 33693389,
178
  "qid": 83404,
179
  "title": "Timişoara"
@@ -181,7 +181,7 @@ An example from the AIDA CoNLL-YAGO Wikidata test set looks as follows:
181
  {
182
  "start": 685,
183
  "end": 689,
184
- "tag": 2,
185
  "pageid": 22537901,
186
  "qid": 173591,
187
  "title": "Arad,_Romania"
@@ -189,7 +189,7 @@ An example from the AIDA CoNLL-YAGO Wikidata test set looks as follows:
189
  {
190
  "start": 692,
191
  "end": 698,
192
- "tag": 2,
193
  "pageid": 2024606,
194
  "qid": 2102332,
195
  "title": "Oradea_International_Airport"
@@ -197,7 +197,7 @@ An example from the AIDA CoNLL-YAGO Wikidata test set looks as follows:
197
  {
198
  "start": 703,
199
  "end": 708,
200
- "tag": 2,
201
  "pageid": 2384413,
202
  "qid": 946418,
203
  "title": "Sibiu_International_Airport"
@@ -205,7 +205,7 @@ An example from the AIDA CoNLL-YAGO Wikidata test set looks as follows:
205
  {
206
  "start": 737,
207
  "end": 755,
208
- "tag": 3,
209
  "pageid": null,
210
  "qid": null,
211
  "title": null
@@ -222,10 +222,10 @@ An example from the AIDA CoNLL-YAGO Wikidata test set looks as follows:
222
  - `entities`: a list of structs representing entities, each entity has:
223
  - `start`: an integer representing the inclusive starting UTF-8 code point of the entity
224
  - `end`: an integer representing the exclusive ending UTF-8 code point of the entity
225
- - `tag`: an integer representing the entity type (1 - person, 2 - location, 3 - organization, 4 - miscellaneous)
226
  - `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
227
- - `pageid`: an integer representing the Wikipedia pageID this entity refers to; it can be null if the entity didn't exist in Wikipedia at the time of the creation of the original dataset
228
- - `title`: an NFC normalized, UTF-8 encoded string representing the Wikipedia title this entity refers to; it can be null if the entity didn't exist in Wikipedia at the time of the creation of the original dataset
229
 
230
  ### Data Splits
231
 
 
69
  {
70
  "start": 0,
71
  "end": 13,
72
+ "tag": "ORG",
73
  "pageid": null,
74
  "qid": null,
75
  "title": null
 
77
  {
78
  "start": 43,
79
  "end": 52,
80
+ "tag": "LOC",
81
  "pageid": 36877,
82
  "qid": 19660,
83
  "title": "Bucharest"
 
85
  {
86
  "start": 64,
87
  "end": 77,
88
+ "tag": "ORG",
89
  "pageid": null,
90
  "qid": null,
91
  "title": null
 
93
  {
94
  "start": 101,
95
  "end": 122,
96
+ "tag": "MISC",
97
  "pageid": null,
98
  "qid": null,
99
  "title": null
 
101
  {
102
  "start": 215,
103
  "end": 238,
104
+ "tag": "ORG",
105
  "pageid": null,
106
  "qid": null,
107
  "title": null
 
109
  {
110
  "start": 247,
111
  "end": 273,
112
+ "tag": "ORG",
113
  "pageid": null,
114
  "qid": null,
115
  "title": null
 
117
  {
118
  "start": 276,
119
  "end": 280,
120
+ "tag": "ORG",
121
  "pageid": 49749134,
122
  "qid": 266582,
123
  "title": "Democratic_Union_of_Hungarians_in_Romania"
 
125
  {
126
  "start": 324,
127
  "end": 343,
128
+ "tag": "PER",
129
  "pageid": 393370,
130
  "qid": 299152,
131
  "title": "Emil_Constantinescu"
 
133
  {
134
  "start": 440,
135
  "end": 447,
136
+ "tag": "LOC",
137
  "pageid": 25445,
138
  "qid": 218,
139
  "title": "Romania"
 
141
  {
142
  "start": 461,
143
  "end": 475,
144
+ "tag": "PER",
145
  "pageid": 393370,
146
  "qid": 299152,
147
  "title": "Emil_Constantinescu"
 
149
  {
150
  "start": 508,
151
  "end": 512,
152
+ "tag": "ORG",
153
  "pageid": 49749134,
154
  "qid": 266582,
155
  "title": "Democratic_Union_of_Hungarians_in_Romania"
 
157
  {
158
  "start": 574,
159
  "end": 581,
160
+ "tag": "LOC",
161
  "pageid": 25445,
162
  "qid": 218,
163
  "title": "Romania"
 
165
  {
166
  "start": 597,
167
  "end": 607,
168
+ "tag": "PER",
169
  "pageid": 1219345,
170
  "qid": 897108,
171
  "title": "Béla_Markó"
 
173
  {
174
  "start": 646,
175
  "end": 655,
176
+ "tag": "LOC",
177
  "pageid": 33693389,
178
  "qid": 83404,
179
  "title": "Timişoara"
 
181
  {
182
  "start": 685,
183
  "end": 689,
184
+ "tag": "LOC",
185
  "pageid": 22537901,
186
  "qid": 173591,
187
  "title": "Arad,_Romania"
 
189
  {
190
  "start": 692,
191
  "end": 698,
192
+ "tag": "LOC",
193
  "pageid": 2024606,
194
  "qid": 2102332,
195
  "title": "Oradea_International_Airport"
 
197
  {
198
  "start": 703,
199
  "end": 708,
200
+ "tag": "LOC",
201
  "pageid": 2384413,
202
  "qid": 946418,
203
  "title": "Sibiu_International_Airport"
 
205
  {
206
  "start": 737,
207
  "end": 755,
208
+ "tag": "ORG",
209
  "pageid": null,
210
  "qid": null,
211
  "title": null
 
222
  - `entities`: a list of structs representing entities, each entity has:
223
  - `start`: an integer representing the inclusive starting UTF-8 code point of the entity
224
  - `end`: an integer representing the exclusive ending UTF-8 code point of the entity
225
+ - `tag`: a string representing the entity type (PER, LOC, ORG or MISC)
226
  - `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
227
+ - `pageid`: an integer representing the English Wikipedia's pageID this entity refers to; it can be null if the entity didn't exist in Wikipedia at the time of the creation of the original dataset
228
+ - `title`: an NFC normalized, UTF-8 encoded string representing the English Wikipedia's title this entity refers to; it can be null if the entity didn't exist in Wikipedia at the time of the creation of the original dataset
229
 
230
  ### Data Splits
231
 
test.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:79e6a21bda694e2d441cbfec70b6dee3043f10283cbf7fcef41599c2be7af766
3
- size 185093
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1dce3c2bd3a94ae85184396007e20aa2e38403b6f19fb5af2d1da6cb8a05d2cf
3
+ size 186090
train.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f7b1b5476ba743e780b9fdb05d4715e81832840924b69a8f0fde3ff52e7599aa
3
- size 709441
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8cf2a147cec05b07d47d4df73676571711690c401055936ac9c8dacc9f63ca26
3
+ size 714125
validation.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:73ff31cce3bcbac479425966e7829c304bd68120a8f6dcb1f3d02c9fdc8ff6e5
3
- size 220531
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7a492f0c0eade01467a63d7cd926ac8f14b5fec47810234a3cb69ec702f3246a
3
+ size 221792