Datasets:
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -1,865 +1,144 @@
|
|
| 1 |
---
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
size_categories:
|
| 6 |
- 1M<n<10M
|
| 7 |
-
task_ids:
|
| 8 |
-
- language-modeling
|
| 9 |
-
- masked-language-modeling
|
| 10 |
-
language:
|
| 11 |
-
- en
|
| 12 |
-
- fr
|
| 13 |
configs:
|
| 14 |
-
- config_name:
|
| 15 |
data_files:
|
| 16 |
- split: train
|
| 17 |
-
path: data/
|
| 18 |
-
dataset_info:
|
| 19 |
-
- config_name: default
|
| 20 |
-
features:
|
| 21 |
-
- name: name
|
| 22 |
-
dtype: string
|
| 23 |
-
- name: identifier
|
| 24 |
-
dtype: int64
|
| 25 |
-
- name: abstract
|
| 26 |
-
dtype: string
|
| 27 |
-
- name: version
|
| 28 |
-
struct:
|
| 29 |
-
- name: identifier
|
| 30 |
-
dtype: int64
|
| 31 |
-
- name: comment
|
| 32 |
-
dtype: string
|
| 33 |
-
- name: tags
|
| 34 |
-
sequence: string
|
| 35 |
-
- name: is_minor_edit
|
| 36 |
-
dtype: bool
|
| 37 |
-
- name: is_flagged_stable
|
| 38 |
-
dtype: bool
|
| 39 |
-
- name: has_tag_needs_citation
|
| 40 |
-
dtype: bool
|
| 41 |
-
- name: scores
|
| 42 |
-
struct:
|
| 43 |
-
- name: damaging
|
| 44 |
-
struct:
|
| 45 |
-
- name: prediction
|
| 46 |
-
dtype: bool
|
| 47 |
-
- name: probability
|
| 48 |
-
struct:
|
| 49 |
-
- name: 'false'
|
| 50 |
-
dtype: float64
|
| 51 |
-
- name: 'true'
|
| 52 |
-
dtype: float64
|
| 53 |
-
- name: goodfaith
|
| 54 |
-
struct:
|
| 55 |
-
- name: prediction
|
| 56 |
-
dtype: bool
|
| 57 |
-
- name: probability
|
| 58 |
-
struct:
|
| 59 |
-
- name: 'false'
|
| 60 |
-
dtype: float64
|
| 61 |
-
- name: 'true'
|
| 62 |
-
dtype: float64
|
| 63 |
-
- name: revertrisk
|
| 64 |
-
struct:
|
| 65 |
-
- name: prediction
|
| 66 |
-
dtype: bool
|
| 67 |
-
- name: probability
|
| 68 |
-
struct:
|
| 69 |
-
- name: 'false'
|
| 70 |
-
dtype: float64
|
| 71 |
-
- name: 'true'
|
| 72 |
-
dtype: float64
|
| 73 |
-
- name: editor
|
| 74 |
-
struct:
|
| 75 |
-
- name: identifier
|
| 76 |
-
dtype: int64
|
| 77 |
-
- name: name
|
| 78 |
-
dtype: string
|
| 79 |
-
- name: edit_count
|
| 80 |
-
dtype: int64
|
| 81 |
-
- name: groups
|
| 82 |
-
sequence: string
|
| 83 |
-
- name: is_bot
|
| 84 |
-
dtype: bool
|
| 85 |
-
- name: is_anonymous
|
| 86 |
-
dtype: bool
|
| 87 |
-
- name: is_admin
|
| 88 |
-
dtype: bool
|
| 89 |
-
- name: is_patroller
|
| 90 |
-
dtype: bool
|
| 91 |
-
- name: has_advanced_rights
|
| 92 |
-
dtype: bool
|
| 93 |
-
- name: date_started
|
| 94 |
-
dtype: string
|
| 95 |
-
- name: number_of_characters
|
| 96 |
-
dtype: int64
|
| 97 |
-
- name: size
|
| 98 |
-
struct:
|
| 99 |
-
- name: value
|
| 100 |
-
dtype: float64
|
| 101 |
-
- name: unit_text
|
| 102 |
-
dtype: string
|
| 103 |
-
- name: event
|
| 104 |
-
struct:
|
| 105 |
-
- name: identifier
|
| 106 |
-
dtype: string
|
| 107 |
-
- name: type
|
| 108 |
-
dtype: string
|
| 109 |
-
- name: date_created
|
| 110 |
-
dtype: string
|
| 111 |
-
- name: is_breaking_news
|
| 112 |
-
dtype: bool
|
| 113 |
-
- name: noindex
|
| 114 |
-
dtype: bool
|
| 115 |
-
- name: maintenance_tags
|
| 116 |
-
struct:
|
| 117 |
-
- name: citation_needed_count
|
| 118 |
-
dtype: int64
|
| 119 |
-
- name: pov_count
|
| 120 |
-
dtype: int64
|
| 121 |
-
- name: clarification_needed_count
|
| 122 |
-
dtype: int64
|
| 123 |
-
- name: update_count
|
| 124 |
-
dtype: int64
|
| 125 |
-
- name: event
|
| 126 |
-
struct:
|
| 127 |
-
- name: identifier
|
| 128 |
-
dtype: string
|
| 129 |
-
- name: type
|
| 130 |
-
dtype: string
|
| 131 |
-
- name: date_created
|
| 132 |
-
dtype: string
|
| 133 |
-
- name: date_published
|
| 134 |
-
dtype: string
|
| 135 |
-
- name: url
|
| 136 |
-
dtype: string
|
| 137 |
-
- name: date_created
|
| 138 |
-
dtype: string
|
| 139 |
-
- name: date_modified
|
| 140 |
-
dtype: string
|
| 141 |
-
- name: is_part_of
|
| 142 |
-
struct:
|
| 143 |
-
- name: name
|
| 144 |
-
dtype: string
|
| 145 |
-
- name: identifier
|
| 146 |
-
dtype: string
|
| 147 |
-
- name: url
|
| 148 |
-
dtype: string
|
| 149 |
-
- name: version
|
| 150 |
-
dtype: string
|
| 151 |
-
- name: additional_type
|
| 152 |
-
dtype: string
|
| 153 |
-
- name: code
|
| 154 |
-
dtype: string
|
| 155 |
-
- name: namespace
|
| 156 |
-
struct:
|
| 157 |
-
- name: name
|
| 158 |
-
dtype: string
|
| 159 |
-
- name: identifier
|
| 160 |
-
dtype: int64
|
| 161 |
-
- name: alternate_name
|
| 162 |
-
dtype: string
|
| 163 |
-
- name: description
|
| 164 |
-
dtype: string
|
| 165 |
-
- name: event
|
| 166 |
-
struct:
|
| 167 |
-
- name: identifier
|
| 168 |
-
dtype: string
|
| 169 |
-
- name: type
|
| 170 |
-
dtype: string
|
| 171 |
-
- name: date_created
|
| 172 |
-
dtype: string
|
| 173 |
-
- name: date_modified
|
| 174 |
-
dtype: string
|
| 175 |
-
- name: in_language
|
| 176 |
-
struct:
|
| 177 |
-
- name: identifier
|
| 178 |
-
dtype: string
|
| 179 |
-
- name: name
|
| 180 |
-
dtype: string
|
| 181 |
-
- name: alternate_name
|
| 182 |
-
dtype: string
|
| 183 |
-
- name: direction
|
| 184 |
-
dtype: string
|
| 185 |
-
- name: event
|
| 186 |
-
struct:
|
| 187 |
-
- name: identifier
|
| 188 |
-
dtype: string
|
| 189 |
-
- name: type
|
| 190 |
-
dtype: string
|
| 191 |
-
- name: date_created
|
| 192 |
-
dtype: string
|
| 193 |
-
- name: size
|
| 194 |
-
struct:
|
| 195 |
-
- name: value
|
| 196 |
-
dtype: float64
|
| 197 |
-
- name: unit_text
|
| 198 |
-
dtype: string
|
| 199 |
-
- name: event
|
| 200 |
-
struct:
|
| 201 |
-
- name: identifier
|
| 202 |
-
dtype: string
|
| 203 |
-
- name: type
|
| 204 |
-
dtype: string
|
| 205 |
-
- name: date_created
|
| 206 |
-
dtype: string
|
| 207 |
-
- name: in_language
|
| 208 |
-
struct:
|
| 209 |
-
- name: identifier
|
| 210 |
-
dtype: string
|
| 211 |
-
- name: name
|
| 212 |
-
dtype: string
|
| 213 |
-
- name: alternate_name
|
| 214 |
-
dtype: string
|
| 215 |
-
- name: direction
|
| 216 |
-
dtype: string
|
| 217 |
-
- name: event
|
| 218 |
-
struct:
|
| 219 |
-
- name: identifier
|
| 220 |
-
dtype: string
|
| 221 |
-
- name: type
|
| 222 |
-
dtype: string
|
| 223 |
-
- name: date_created
|
| 224 |
-
dtype: string
|
| 225 |
-
- name: license
|
| 226 |
-
list:
|
| 227 |
-
- name: name
|
| 228 |
-
dtype: string
|
| 229 |
-
- name: identifier
|
| 230 |
-
dtype: string
|
| 231 |
-
- name: url
|
| 232 |
-
dtype: string
|
| 233 |
-
- name: in_language
|
| 234 |
-
struct:
|
| 235 |
-
- name: identifier
|
| 236 |
-
dtype: string
|
| 237 |
-
- name: name
|
| 238 |
-
dtype: string
|
| 239 |
-
- name: alternate_name
|
| 240 |
-
dtype: string
|
| 241 |
-
- name: direction
|
| 242 |
-
dtype: string
|
| 243 |
-
- name: event
|
| 244 |
-
struct:
|
| 245 |
-
- name: identifier
|
| 246 |
-
dtype: string
|
| 247 |
-
- name: type
|
| 248 |
-
dtype: string
|
| 249 |
-
- name: date_created
|
| 250 |
-
dtype: string
|
| 251 |
-
- name: description
|
| 252 |
-
dtype: string
|
| 253 |
-
- name: sections
|
| 254 |
-
list:
|
| 255 |
-
- name: type
|
| 256 |
-
dtype: string
|
| 257 |
-
- name: name
|
| 258 |
-
dtype: string
|
| 259 |
-
- name: has_parts
|
| 260 |
-
list:
|
| 261 |
-
- name: type
|
| 262 |
-
dtype: string
|
| 263 |
-
- name: value
|
| 264 |
-
dtype: string
|
| 265 |
-
- name: links
|
| 266 |
-
list:
|
| 267 |
-
- name: url
|
| 268 |
-
dtype: string
|
| 269 |
-
- name: text
|
| 270 |
-
dtype: string
|
| 271 |
-
- name: images
|
| 272 |
-
list:
|
| 273 |
-
- name: content_url
|
| 274 |
-
dtype: string
|
| 275 |
-
- name: width
|
| 276 |
-
dtype: int64
|
| 277 |
-
- name: height
|
| 278 |
-
dtype: int64
|
| 279 |
-
- name: alternative_text
|
| 280 |
-
dtype: string
|
| 281 |
-
- name: name
|
| 282 |
-
dtype: string
|
| 283 |
-
- name: has_parts
|
| 284 |
-
list:
|
| 285 |
-
- name: type
|
| 286 |
-
dtype: string
|
| 287 |
-
- name: value
|
| 288 |
-
dtype: string
|
| 289 |
-
- name: links
|
| 290 |
-
list:
|
| 291 |
-
- name: url
|
| 292 |
-
dtype: string
|
| 293 |
-
- name: text
|
| 294 |
-
dtype: string
|
| 295 |
-
- name: images
|
| 296 |
-
list:
|
| 297 |
-
- name: content_url
|
| 298 |
-
dtype: string
|
| 299 |
-
- name: width
|
| 300 |
-
dtype: int64
|
| 301 |
-
- name: height
|
| 302 |
-
dtype: int64
|
| 303 |
-
- name: alternative_text
|
| 304 |
-
dtype: string
|
| 305 |
-
- name: has_parts
|
| 306 |
-
list:
|
| 307 |
-
- name: type
|
| 308 |
-
dtype: string
|
| 309 |
-
- name: value
|
| 310 |
-
dtype: string
|
| 311 |
-
- name: links
|
| 312 |
-
list:
|
| 313 |
-
- name: url
|
| 314 |
-
dtype: string
|
| 315 |
-
- name: text
|
| 316 |
-
dtype: string
|
| 317 |
-
- name: images
|
| 318 |
-
list:
|
| 319 |
-
- name: content_url
|
| 320 |
-
dtype: string
|
| 321 |
-
- name: width
|
| 322 |
-
dtype: int64
|
| 323 |
-
- name: height
|
| 324 |
-
dtype: int64
|
| 325 |
-
- name: alternative_text
|
| 326 |
-
dtype: string
|
| 327 |
-
- name: has_parts
|
| 328 |
-
list:
|
| 329 |
-
- name: type
|
| 330 |
-
dtype: string
|
| 331 |
-
- name: value
|
| 332 |
-
dtype: string
|
| 333 |
-
- name: links
|
| 334 |
-
list:
|
| 335 |
-
- name: url
|
| 336 |
-
dtype: string
|
| 337 |
-
- name: text
|
| 338 |
-
dtype: string
|
| 339 |
-
- name: images
|
| 340 |
-
list:
|
| 341 |
-
- name: content_url
|
| 342 |
-
dtype: string
|
| 343 |
-
- name: width
|
| 344 |
-
dtype: int64
|
| 345 |
-
- name: height
|
| 346 |
-
dtype: int64
|
| 347 |
-
- name: alternative_text
|
| 348 |
-
dtype: string
|
| 349 |
-
- name: has_parts
|
| 350 |
-
list:
|
| 351 |
-
- name: type
|
| 352 |
-
dtype: string
|
| 353 |
-
- name: value
|
| 354 |
-
dtype: string
|
| 355 |
-
- name: links
|
| 356 |
-
list:
|
| 357 |
-
- name: url
|
| 358 |
-
dtype: string
|
| 359 |
-
- name: text
|
| 360 |
-
dtype: string
|
| 361 |
-
- name: name
|
| 362 |
-
dtype: string
|
| 363 |
-
- name: name
|
| 364 |
-
dtype: string
|
| 365 |
-
- name: infoboxes
|
| 366 |
-
list:
|
| 367 |
-
- name: type
|
| 368 |
-
dtype: string
|
| 369 |
-
- name: name
|
| 370 |
-
dtype: string
|
| 371 |
-
- name: has_parts
|
| 372 |
-
list:
|
| 373 |
-
- name: type
|
| 374 |
-
dtype: string
|
| 375 |
-
- name: name
|
| 376 |
-
dtype: string
|
| 377 |
-
- name: has_parts
|
| 378 |
-
list:
|
| 379 |
-
- name: type
|
| 380 |
-
dtype: string
|
| 381 |
-
- name: name
|
| 382 |
-
dtype: string
|
| 383 |
-
- name: value
|
| 384 |
-
dtype: string
|
| 385 |
-
- name: links
|
| 386 |
-
list:
|
| 387 |
-
- name: url
|
| 388 |
-
dtype: string
|
| 389 |
-
- name: text
|
| 390 |
-
dtype: string
|
| 391 |
-
- name: images
|
| 392 |
-
list:
|
| 393 |
-
- name: content_url
|
| 394 |
-
dtype: string
|
| 395 |
-
- name: width
|
| 396 |
-
dtype: int64
|
| 397 |
-
- name: height
|
| 398 |
-
dtype: int64
|
| 399 |
-
- name: alternative_text
|
| 400 |
-
dtype: string
|
| 401 |
-
- name: values
|
| 402 |
-
sequence: string
|
| 403 |
-
- name: images
|
| 404 |
-
list:
|
| 405 |
-
- name: content_url
|
| 406 |
-
dtype: string
|
| 407 |
-
- name: width
|
| 408 |
-
dtype: int64
|
| 409 |
-
- name: height
|
| 410 |
-
dtype: int64
|
| 411 |
-
- name: alternative_text
|
| 412 |
-
dtype: string
|
| 413 |
-
- name: caption
|
| 414 |
-
dtype: string
|
| 415 |
-
- name: main_entity
|
| 416 |
-
struct:
|
| 417 |
-
- name: identifier
|
| 418 |
-
dtype: string
|
| 419 |
-
- name: url
|
| 420 |
-
dtype: string
|
| 421 |
-
- name: additional_entities
|
| 422 |
-
list:
|
| 423 |
-
- name: identifier
|
| 424 |
-
dtype: string
|
| 425 |
-
- name: url
|
| 426 |
-
dtype: string
|
| 427 |
-
- name: aspects
|
| 428 |
-
sequence: string
|
| 429 |
-
- name: image
|
| 430 |
-
struct:
|
| 431 |
-
- name: content_url
|
| 432 |
-
dtype: string
|
| 433 |
-
- name: width
|
| 434 |
-
dtype: int64
|
| 435 |
-
- name: height
|
| 436 |
-
dtype: int64
|
| 437 |
-
- name: alternate_text
|
| 438 |
-
dtype: string
|
| 439 |
-
- name: caption
|
| 440 |
-
dtype: string
|
| 441 |
-
- config_name: 20240916.fr
|
| 442 |
-
features:
|
| 443 |
-
- name: name
|
| 444 |
-
dtype: string
|
| 445 |
-
- name: identifier
|
| 446 |
-
dtype: int64
|
| 447 |
-
- name: abstract
|
| 448 |
-
dtype: string
|
| 449 |
-
- name: version
|
| 450 |
-
struct:
|
| 451 |
-
- name: identifier
|
| 452 |
-
dtype: int64
|
| 453 |
-
- name: comment
|
| 454 |
-
dtype: string
|
| 455 |
-
- name: tags
|
| 456 |
-
sequence: string
|
| 457 |
-
- name: is_minor_edit
|
| 458 |
-
dtype: bool
|
| 459 |
-
- name: is_flagged_stable
|
| 460 |
-
dtype: bool
|
| 461 |
-
- name: has_tag_needs_citation
|
| 462 |
-
dtype: bool
|
| 463 |
-
- name: scores
|
| 464 |
-
struct:
|
| 465 |
-
- name: damaging
|
| 466 |
-
struct:
|
| 467 |
-
- name: prediction
|
| 468 |
-
dtype: bool
|
| 469 |
-
- name: probability
|
| 470 |
-
struct:
|
| 471 |
-
- name: 'false'
|
| 472 |
-
dtype: float64
|
| 473 |
-
- name: 'true'
|
| 474 |
-
dtype: float64
|
| 475 |
-
- name: goodfaith
|
| 476 |
-
struct:
|
| 477 |
-
- name: prediction
|
| 478 |
-
dtype: bool
|
| 479 |
-
- name: probability
|
| 480 |
-
struct:
|
| 481 |
-
- name: 'false'
|
| 482 |
-
dtype: float64
|
| 483 |
-
- name: 'true'
|
| 484 |
-
dtype: float64
|
| 485 |
-
- name: revertrisk
|
| 486 |
-
struct:
|
| 487 |
-
- name: prediction
|
| 488 |
-
dtype: bool
|
| 489 |
-
- name: probability
|
| 490 |
-
struct:
|
| 491 |
-
- name: 'false'
|
| 492 |
-
dtype: float64
|
| 493 |
-
- name: 'true'
|
| 494 |
-
dtype: float64
|
| 495 |
-
- name: editor
|
| 496 |
-
struct:
|
| 497 |
-
- name: identifier
|
| 498 |
-
dtype: int64
|
| 499 |
-
- name: name
|
| 500 |
-
dtype: string
|
| 501 |
-
- name: edit_count
|
| 502 |
-
dtype: int64
|
| 503 |
-
- name: groups
|
| 504 |
-
sequence: string
|
| 505 |
-
- name: is_bot
|
| 506 |
-
dtype: bool
|
| 507 |
-
- name: is_anonymous
|
| 508 |
-
dtype: bool
|
| 509 |
-
- name: is_admin
|
| 510 |
-
dtype: bool
|
| 511 |
-
- name: is_patroller
|
| 512 |
-
dtype: bool
|
| 513 |
-
- name: has_advanced_rights
|
| 514 |
-
dtype: bool
|
| 515 |
-
- name: date_started
|
| 516 |
-
dtype: string
|
| 517 |
-
- name: number_of_characters
|
| 518 |
-
dtype: int64
|
| 519 |
-
- name: size
|
| 520 |
-
struct:
|
| 521 |
-
- name: value
|
| 522 |
-
dtype: float64
|
| 523 |
-
- name: unit_text
|
| 524 |
-
dtype: string
|
| 525 |
-
- name: event
|
| 526 |
-
struct:
|
| 527 |
-
- name: identifier
|
| 528 |
-
dtype: string
|
| 529 |
-
- name: type
|
| 530 |
-
dtype: string
|
| 531 |
-
- name: date_created
|
| 532 |
-
dtype: string
|
| 533 |
-
- name: is_breaking_news
|
| 534 |
-
dtype: bool
|
| 535 |
-
- name: noindex
|
| 536 |
-
dtype: bool
|
| 537 |
-
- name: maintenance_tags
|
| 538 |
-
struct:
|
| 539 |
-
- name: citation_needed_count
|
| 540 |
-
dtype: int64
|
| 541 |
-
- name: pov_count
|
| 542 |
-
dtype: int64
|
| 543 |
-
- name: clarification_needed_count
|
| 544 |
-
dtype: int64
|
| 545 |
-
- name: update_count
|
| 546 |
-
dtype: int64
|
| 547 |
-
- name: event
|
| 548 |
-
struct:
|
| 549 |
-
- name: identifier
|
| 550 |
-
dtype: string
|
| 551 |
-
- name: type
|
| 552 |
-
dtype: string
|
| 553 |
-
- name: date_created
|
| 554 |
-
dtype: string
|
| 555 |
-
- name: date_published
|
| 556 |
-
dtype: string
|
| 557 |
-
- name: url
|
| 558 |
-
dtype: string
|
| 559 |
-
- name: date_created
|
| 560 |
-
dtype: string
|
| 561 |
-
- name: date_modified
|
| 562 |
-
dtype: string
|
| 563 |
-
- name: is_part_of
|
| 564 |
-
struct:
|
| 565 |
-
- name: name
|
| 566 |
-
dtype: string
|
| 567 |
-
- name: identifier
|
| 568 |
-
dtype: string
|
| 569 |
-
- name: url
|
| 570 |
-
dtype: string
|
| 571 |
-
- name: version
|
| 572 |
-
dtype: string
|
| 573 |
-
- name: additional_type
|
| 574 |
-
dtype: string
|
| 575 |
-
- name: code
|
| 576 |
-
dtype: string
|
| 577 |
-
- name: namespace
|
| 578 |
-
struct:
|
| 579 |
-
- name: name
|
| 580 |
-
dtype: string
|
| 581 |
-
- name: identifier
|
| 582 |
-
dtype: int64
|
| 583 |
-
- name: alternate_name
|
| 584 |
-
dtype: string
|
| 585 |
-
- name: description
|
| 586 |
-
dtype: string
|
| 587 |
-
- name: event
|
| 588 |
-
struct:
|
| 589 |
-
- name: identifier
|
| 590 |
-
dtype: string
|
| 591 |
-
- name: type
|
| 592 |
-
dtype: string
|
| 593 |
-
- name: date_created
|
| 594 |
-
dtype: string
|
| 595 |
-
- name: date_modified
|
| 596 |
-
dtype: string
|
| 597 |
-
- name: in_language
|
| 598 |
-
struct:
|
| 599 |
-
- name: identifier
|
| 600 |
-
dtype: string
|
| 601 |
-
- name: name
|
| 602 |
-
dtype: string
|
| 603 |
-
- name: alternate_name
|
| 604 |
-
dtype: string
|
| 605 |
-
- name: direction
|
| 606 |
-
dtype: string
|
| 607 |
-
- name: event
|
| 608 |
-
struct:
|
| 609 |
-
- name: identifier
|
| 610 |
-
dtype: string
|
| 611 |
-
- name: type
|
| 612 |
-
dtype: string
|
| 613 |
-
- name: date_created
|
| 614 |
-
dtype: string
|
| 615 |
-
- name: size
|
| 616 |
-
struct:
|
| 617 |
-
- name: value
|
| 618 |
-
dtype: float64
|
| 619 |
-
- name: unit_text
|
| 620 |
-
dtype: string
|
| 621 |
-
- name: event
|
| 622 |
-
struct:
|
| 623 |
-
- name: identifier
|
| 624 |
-
dtype: string
|
| 625 |
-
- name: type
|
| 626 |
-
dtype: string
|
| 627 |
-
- name: date_created
|
| 628 |
-
dtype: string
|
| 629 |
-
- name: in_language
|
| 630 |
-
struct:
|
| 631 |
-
- name: identifier
|
| 632 |
-
dtype: string
|
| 633 |
-
- name: name
|
| 634 |
-
dtype: string
|
| 635 |
-
- name: alternate_name
|
| 636 |
-
dtype: string
|
| 637 |
-
- name: direction
|
| 638 |
-
dtype: string
|
| 639 |
-
- name: event
|
| 640 |
-
struct:
|
| 641 |
-
- name: identifier
|
| 642 |
-
dtype: string
|
| 643 |
-
- name: type
|
| 644 |
-
dtype: string
|
| 645 |
-
- name: date_created
|
| 646 |
-
dtype: string
|
| 647 |
-
- name: license
|
| 648 |
-
list:
|
| 649 |
-
- name: name
|
| 650 |
-
dtype: string
|
| 651 |
-
- name: identifier
|
| 652 |
-
dtype: string
|
| 653 |
-
- name: url
|
| 654 |
-
dtype: string
|
| 655 |
-
- name: in_language
|
| 656 |
-
struct:
|
| 657 |
-
- name: identifier
|
| 658 |
-
dtype: string
|
| 659 |
-
- name: name
|
| 660 |
-
dtype: string
|
| 661 |
-
- name: alternate_name
|
| 662 |
-
dtype: string
|
| 663 |
-
- name: direction
|
| 664 |
-
dtype: string
|
| 665 |
-
- name: event
|
| 666 |
-
struct:
|
| 667 |
-
- name: identifier
|
| 668 |
-
dtype: string
|
| 669 |
-
- name: type
|
| 670 |
-
dtype: string
|
| 671 |
-
- name: date_created
|
| 672 |
-
dtype: string
|
| 673 |
-
- name: description
|
| 674 |
-
dtype: string
|
| 675 |
-
- name: sections
|
| 676 |
-
list:
|
| 677 |
-
- name: type
|
| 678 |
-
dtype: string
|
| 679 |
-
- name: name
|
| 680 |
-
dtype: string
|
| 681 |
-
- name: has_parts
|
| 682 |
-
list:
|
| 683 |
-
- name: type
|
| 684 |
-
dtype: string
|
| 685 |
-
- name: value
|
| 686 |
-
dtype: string
|
| 687 |
-
- name: links
|
| 688 |
-
list:
|
| 689 |
-
- name: url
|
| 690 |
-
dtype: string
|
| 691 |
-
- name: text
|
| 692 |
-
dtype: string
|
| 693 |
-
- name: images
|
| 694 |
-
list:
|
| 695 |
-
- name: content_url
|
| 696 |
-
dtype: string
|
| 697 |
-
- name: width
|
| 698 |
-
dtype: int64
|
| 699 |
-
- name: height
|
| 700 |
-
dtype: int64
|
| 701 |
-
- name: alternative_text
|
| 702 |
-
dtype: string
|
| 703 |
-
- name: name
|
| 704 |
-
dtype: string
|
| 705 |
-
- name: has_parts
|
| 706 |
-
list:
|
| 707 |
-
- name: type
|
| 708 |
-
dtype: string
|
| 709 |
-
- name: value
|
| 710 |
-
dtype: string
|
| 711 |
-
- name: links
|
| 712 |
-
list:
|
| 713 |
-
- name: url
|
| 714 |
-
dtype: string
|
| 715 |
-
- name: text
|
| 716 |
-
dtype: string
|
| 717 |
-
- name: images
|
| 718 |
-
list:
|
| 719 |
-
- name: content_url
|
| 720 |
-
dtype: string
|
| 721 |
-
- name: width
|
| 722 |
-
dtype: int64
|
| 723 |
-
- name: height
|
| 724 |
-
dtype: int64
|
| 725 |
-
- name: alternative_text
|
| 726 |
-
dtype: string
|
| 727 |
-
- name: has_parts
|
| 728 |
-
list:
|
| 729 |
-
- name: type
|
| 730 |
-
dtype: string
|
| 731 |
-
- name: value
|
| 732 |
-
dtype: string
|
| 733 |
-
- name: links
|
| 734 |
-
list:
|
| 735 |
-
- name: url
|
| 736 |
-
dtype: string
|
| 737 |
-
- name: text
|
| 738 |
-
dtype: string
|
| 739 |
-
- name: images
|
| 740 |
-
list:
|
| 741 |
-
- name: content_url
|
| 742 |
-
dtype: string
|
| 743 |
-
- name: width
|
| 744 |
-
dtype: int64
|
| 745 |
-
- name: height
|
| 746 |
-
dtype: int64
|
| 747 |
-
- name: alternative_text
|
| 748 |
-
dtype: string
|
| 749 |
-
- name: has_parts
|
| 750 |
-
list:
|
| 751 |
-
- name: type
|
| 752 |
-
dtype: string
|
| 753 |
-
- name: value
|
| 754 |
-
dtype: string
|
| 755 |
-
- name: links
|
| 756 |
-
list:
|
| 757 |
-
- name: url
|
| 758 |
-
dtype: string
|
| 759 |
-
- name: text
|
| 760 |
-
dtype: string
|
| 761 |
-
- name: images
|
| 762 |
-
list:
|
| 763 |
-
- name: content_url
|
| 764 |
-
dtype: string
|
| 765 |
-
- name: width
|
| 766 |
-
dtype: int64
|
| 767 |
-
- name: height
|
| 768 |
-
dtype: int64
|
| 769 |
-
- name: alternative_text
|
| 770 |
-
dtype: string
|
| 771 |
-
- name: has_parts
|
| 772 |
-
list:
|
| 773 |
-
- name: type
|
| 774 |
-
dtype: string
|
| 775 |
-
- name: value
|
| 776 |
-
dtype: string
|
| 777 |
-
- name: links
|
| 778 |
-
list:
|
| 779 |
-
- name: url
|
| 780 |
-
dtype: string
|
| 781 |
-
- name: text
|
| 782 |
-
dtype: string
|
| 783 |
-
- name: name
|
| 784 |
-
dtype: string
|
| 785 |
-
- name: name
|
| 786 |
-
dtype: string
|
| 787 |
-
- name: infoboxes
|
| 788 |
-
list:
|
| 789 |
-
- name: type
|
| 790 |
-
dtype: string
|
| 791 |
-
- name: name
|
| 792 |
-
dtype: string
|
| 793 |
-
- name: has_parts
|
| 794 |
-
list:
|
| 795 |
-
- name: type
|
| 796 |
-
dtype: string
|
| 797 |
-
- name: name
|
| 798 |
-
dtype: string
|
| 799 |
-
- name: has_parts
|
| 800 |
-
list:
|
| 801 |
-
- name: type
|
| 802 |
-
dtype: string
|
| 803 |
-
- name: name
|
| 804 |
-
dtype: string
|
| 805 |
-
- name: value
|
| 806 |
-
dtype: string
|
| 807 |
-
- name: links
|
| 808 |
-
list:
|
| 809 |
-
- name: url
|
| 810 |
-
dtype: string
|
| 811 |
-
- name: text
|
| 812 |
-
dtype: string
|
| 813 |
-
- name: images
|
| 814 |
-
list:
|
| 815 |
-
- name: content_url
|
| 816 |
-
dtype: string
|
| 817 |
-
- name: width
|
| 818 |
-
dtype: int64
|
| 819 |
-
- name: height
|
| 820 |
-
dtype: int64
|
| 821 |
-
- name: alternative_text
|
| 822 |
-
dtype: string
|
| 823 |
-
- name: values
|
| 824 |
-
sequence: string
|
| 825 |
-
- name: images
|
| 826 |
-
list:
|
| 827 |
-
- name: content_url
|
| 828 |
-
dtype: string
|
| 829 |
-
- name: width
|
| 830 |
-
dtype: int64
|
| 831 |
-
- name: height
|
| 832 |
-
dtype: int64
|
| 833 |
-
- name: alternative_text
|
| 834 |
-
dtype: string
|
| 835 |
-
- name: caption
|
| 836 |
-
dtype: string
|
| 837 |
-
- name: main_entity
|
| 838 |
-
struct:
|
| 839 |
-
- name: identifier
|
| 840 |
-
dtype: string
|
| 841 |
-
- name: url
|
| 842 |
-
dtype: string
|
| 843 |
-
- name: additional_entities
|
| 844 |
-
list:
|
| 845 |
-
- name: identifier
|
| 846 |
-
dtype: string
|
| 847 |
-
- name: url
|
| 848 |
-
dtype: string
|
| 849 |
-
- name: aspects
|
| 850 |
-
sequence: string
|
| 851 |
-
- name: image
|
| 852 |
-
struct:
|
| 853 |
-
- name: content_url
|
| 854 |
-
dtype: string
|
| 855 |
-
- name: width
|
| 856 |
-
dtype: int64
|
| 857 |
-
- name: height
|
| 858 |
-
dtype: int64
|
| 859 |
-
- name: alternate_text
|
| 860 |
-
dtype: string
|
| 861 |
-
- name: caption
|
| 862 |
-
dtype: string
|
| 863 |
---
|
| 864 |
|
| 865 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
pretty_name: Wikimedia Enterprise Structured Contents — cywiki_namespace_0
|
| 3 |
+
language:
|
| 4 |
+
- cy
|
| 5 |
+
license: cc-by-sa-4.0
|
| 6 |
+
task_categories:
|
| 7 |
+
- text-generation
|
| 8 |
+
- question-answering
|
| 9 |
+
- text-retrieval
|
| 10 |
+
tags:
|
| 11 |
+
- wikipedia
|
| 12 |
+
- wikimedia-enterprise
|
| 13 |
+
- structured-contents
|
| 14 |
size_categories:
|
| 15 |
- 1M<n<10M
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
configs:
|
| 17 |
+
- config_name: default
|
| 18 |
data_files:
|
| 19 |
- split: train
|
| 20 |
+
path: data/*.parquet
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
---
|
| 22 |
|
| 23 |
+
# cywiki_namespace_0
|
| 24 |
+
|
| 25 |
+
Structured Contents snapshot of `cywiki_namespace_0` from the
|
| 26 |
+
[Wikimedia Enterprise API](https://enterprise.wikimedia.com/docs/snapshot/),
|
| 27 |
+
repackaged as Parquet with a pinned schema.
|
| 28 |
+
|
| 29 |
+
The upstream Wikimedia Foundation dataset
|
| 30 |
+
([`wikimedia/structured-wikipedia`](https://huggingface.co/datasets/wikimedia/structured-wikipedia))
|
| 31 |
+
ships NDJSON which has known issues loading via
|
| 32 |
+
`datasets.load_dataset()` — see discussions
|
| 33 |
+
[#5](https://huggingface.co/datasets/wikimedia/structured-wikipedia/discussions/5),
|
| 34 |
+
[#15](https://huggingface.co/datasets/wikimedia/structured-wikipedia/discussions/15),
|
| 35 |
+
[#16](https://huggingface.co/datasets/wikimedia/structured-wikipedia/discussions/16).
|
| 36 |
+
This dataset is the same upstream content, normalised so
|
| 37 |
+
`load_dataset(...)` works without specifying a `Features` override.
|
| 38 |
+
|
| 39 |
+
## Source
|
| 40 |
+
|
| 41 |
+
- Upstream: [Wikimedia Enterprise Structured Contents API](https://enterprise.wikimedia.com/docs/snapshot/#structured-contents-snapshot-download-beta)
|
| 42 |
+
- Snapshot identifier: `cywiki_namespace_0`
|
| 43 |
+
- Format at source: `.tar.gz` containing sharded `.ndjson`
|
| 44 |
+
- Shards in this release: 1
|
| 45 |
+
|
| 46 |
+
## File layout
|
| 47 |
+
|
| 48 |
+
```
|
| 49 |
+
README.md ← this file
|
| 50 |
+
schema.json ← pinned Arrow schema (IPC + field-name index)
|
| 51 |
+
data/
|
| 52 |
+
cywiki_namespace_0_0.parquet
|
| 53 |
+
cywiki_namespace_0_1.parquet
|
| 54 |
+
... (1 files total)
|
| 55 |
+
```
|
| 56 |
+
|
| 57 |
+
One Parquet file per upstream NDJSON shard. Files are independently
|
| 58 |
+
downloadable, so consumers can parallelise downloads or pull only the
|
| 59 |
+
subset they need rather than the whole dataset.
|
| 60 |
+
|
| 61 |
+
## Loading the dataset
|
| 62 |
+
|
| 63 |
+
Every shard has a byte-identical embedded schema (alphabetised
|
| 64 |
+
recursively so struct field order is stable across shards). All of
|
| 65 |
+
these load without extra config:
|
| 66 |
+
|
| 67 |
+
```python
|
| 68 |
+
# Hugging Face datasets
|
| 69 |
+
from datasets import load_dataset
|
| 70 |
+
ds = load_dataset("VoeTheDon/testing-wiki-structured", split="train", streaming=True)
|
| 71 |
+
|
| 72 |
+
# Polars
|
| 73 |
+
import polars as pl
|
| 74 |
+
df = pl.read_parquet("hf://datasets/VoeTheDon/testing-wiki-structured/data/*.parquet")
|
| 75 |
+
|
| 76 |
+
# DuckDB
|
| 77 |
+
import duckdb
|
| 78 |
+
duckdb.sql(
|
| 79 |
+
"SELECT name, url FROM 'hf://datasets/VoeTheDon/testing-wiki-structured/data/*.parquet' LIMIT 10"
|
| 80 |
+
)
|
| 81 |
+
|
| 82 |
+
# pyarrow
|
| 83 |
+
import pyarrow.dataset as pads
|
| 84 |
+
table = pads.dataset("hf://datasets/VoeTheDon/testing-wiki-structured/data/", format="parquet").to_table()
|
| 85 |
+
```
|
| 86 |
+
|
| 87 |
+
Four columns are stored as JSON-encoded strings (see *Schema notes*
|
| 88 |
+
below). Decode on read:
|
| 89 |
+
|
| 90 |
+
```python
|
| 91 |
+
import json
|
| 92 |
+
|
| 93 |
+
row = next(iter(ds))
|
| 94 |
+
sections = json.loads(row["sections"]) # list[dict]
|
| 95 |
+
infoboxes = json.loads(row["infoboxes"]) # list[dict]
|
| 96 |
+
tables = json.loads(row["tables"]) # list[dict]
|
| 97 |
+
for ref in row["references"]:
|
| 98 |
+
ref_meta = json.loads(ref["metadata"]) # dict
|
| 99 |
+
```
|
| 100 |
+
|
| 101 |
+
If you need the canonical Arrow schema explicitly (e.g. for a
|
| 102 |
+
validation step in a downstream pipeline), it's published as
|
| 103 |
+
`schema.json` at the repo root in Arrow IPC format:
|
| 104 |
+
|
| 105 |
+
```python
|
| 106 |
+
import json, pyarrow as pa
|
| 107 |
+
payload = json.loads(open("schema.json").read())
|
| 108 |
+
schema = pa.ipc.read_schema(pa.py_buffer(bytes.fromhex(payload["arrow_ipc_hex"])))
|
| 109 |
+
```
|
| 110 |
+
|
| 111 |
+
## Schema notes
|
| 112 |
+
|
| 113 |
+
Four fields are JSON-encoded rather than stored as native Arrow structs:
|
| 114 |
+
|
| 115 |
+
| Field | Why |
|
| 116 |
+
|---|---|
|
| 117 |
+
| `sections` | Recursive `has_parts[].has_parts[]…` nesting reaches depth ~100 in real articles. Apache Arrow's C Data Interface caps struct recursion at 64 levels; `datasets.load_dataset()` round-trips schemas through that interface and rejects deeper structures. |
|
| 118 |
+
| `infoboxes` | Same recursive shape as `sections`. |
|
| 119 |
+
| `tables` | Shallower today but the same recursive structure — pre-emptively encoded so future upstream changes don't break the schema. |
|
| 120 |
+
| `references[].metadata` | Open dict of Wikipedia citation-template parameters (`rft.jtitle`, `chapter-url`, `first1`, positional `"1"`, …). Hundreds of ad-hoc keys appear across articles, producing a different inferred Arrow `struct` per shard, which breaks cross-shard schema unification. |
|
| 121 |
+
|
| 122 |
+
All other fields (`name`, `url`, `abstract`, `event`, `license[]`,
|
| 123 |
+
`version`, `image`, `main_entity`, `references[]` excluding metadata,
|
| 124 |
+
etc.) retain native Arrow struct/list types and are queryable without
|
| 125 |
+
decoding.
|
| 126 |
+
|
| 127 |
+
Struct field order is alphabetised recursively so every shard has a
|
| 128 |
+
byte-identical embedded schema — pyarrow's JSON inference otherwise
|
| 129 |
+
captures keys in encounter order, which makes Arrow treat
|
| 130 |
+
`struct<a, b>` and `struct<b, a>` as different types.
|
| 131 |
+
|
| 132 |
+
## Known limitations
|
| 133 |
+
|
| 134 |
+
- **Article categories are not included.** The upstream Structured
|
| 135 |
+
Contents snapshot does not expose categories. If you need them,
|
| 136 |
+
query the regular [WME Snapshots API](https://enterprise.wikimedia.com/docs/snapshot/)
|
| 137 |
+
or the [MediaWiki API:Categories](https://www.mediawiki.org/wiki/API:Categories)
|
| 138 |
+
endpoint.
|
| 139 |
+
- License passes through the upstream Wikipedia license
|
| 140 |
+
(CC-BY-SA-4.0) for article text.
|
| 141 |
+
- This is a Beta-tier upstream snapshot — schema can change between
|
| 142 |
+
WME releases. Each version of this dataset re-pins `schema.json`;
|
| 143 |
+
consumers who want a stable contract should pin to a specific
|
| 144 |
+
dataset revision.
|