Datasets:
Tasks:
Token Classification
Modalities:
Text
Formats:
parquet
Sub-tasks:
named-entity-recognition
Languages:
English
Size:
100K - 1M
Tags:
structure-prediction
License:
File size: 16,507 Bytes
3e64812 6e12077 3e64812 6e12077 3e64812 2e3e727 3e64812 dbf9dd3 205f3e9 3e64812 2e3e727 3e64812 2e3e727 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 |
---
annotations_creators:
- expert-generated
language_creators:
- found
language:
- en
license:
- cc-by-sa-4.0
multilinguality:
- monolingual
size_categories:
- 100K<n<1M
source_datasets:
- extended|wikipedia
task_categories:
- token-classification
task_ids:
- named-entity-recognition
paperswithcode_id: few-nerd
pretty_name: Few-NERD
tags:
- structure-prediction
dataset_info:
- config_name: inter
features:
- name: id
dtype: string
- name: tokens
sequence: string
- name: ner_tags
sequence:
class_label:
names:
'0': O
'1': art
'2': building
'3': event
'4': location
'5': organization
'6': other
'7': person
'8': product
- name: fine_ner_tags
sequence:
class_label:
names:
'0': O
'1': art-broadcastprogram
'2': art-film
'3': art-music
'4': art-other
'5': art-painting
'6': art-writtenart
'7': building-airport
'8': building-hospital
'9': building-hotel
'10': building-library
'11': building-other
'12': building-restaurant
'13': building-sportsfacility
'14': building-theater
'15': event-attack/battle/war/militaryconflict
'16': event-disaster
'17': event-election
'18': event-other
'19': event-protest
'20': event-sportsevent
'21': location-GPE
'22': location-bodiesofwater
'23': location-island
'24': location-mountain
'25': location-other
'26': location-park
'27': location-road/railway/highway/transit
'28': organization-company
'29': organization-education
'30': organization-government/governmentagency
'31': organization-media/newspaper
'32': organization-other
'33': organization-politicalparty
'34': organization-religion
'35': organization-showorganization
'36': organization-sportsleague
'37': organization-sportsteam
'38': other-astronomything
'39': other-award
'40': other-biologything
'41': other-chemicalthing
'42': other-currency
'43': other-disease
'44': other-educationaldegree
'45': other-god
'46': other-language
'47': other-law
'48': other-livingthing
'49': other-medical
'50': person-actor
'51': person-artist/author
'52': person-athlete
'53': person-director
'54': person-other
'55': person-politician
'56': person-scholar
'57': person-soldier
'58': product-airplane
'59': product-car
'60': product-food
'61': product-game
'62': product-other
'63': product-ship
'64': product-software
'65': product-train
'66': product-weapon
splits:
- name: train
num_bytes: 87456461
num_examples: 130112
- name: validation
num_bytes: 10813084
num_examples: 18817
- name: test
num_bytes: 7920453
num_examples: 14007
download_size: 19914244
dataset_size: 106189998
- config_name: intra
features:
- name: id
dtype: string
- name: tokens
sequence: string
- name: ner_tags
sequence:
class_label:
names:
'0': O
'1': art
'2': building
'3': event
'4': location
'5': organization
'6': other
'7': person
'8': product
- name: fine_ner_tags
sequence:
class_label:
names:
'0': O
'1': art-broadcastprogram
'2': art-film
'3': art-music
'4': art-other
'5': art-painting
'6': art-writtenart
'7': building-airport
'8': building-hospital
'9': building-hotel
'10': building-library
'11': building-other
'12': building-restaurant
'13': building-sportsfacility
'14': building-theater
'15': event-attack/battle/war/militaryconflict
'16': event-disaster
'17': event-election
'18': event-other
'19': event-protest
'20': event-sportsevent
'21': location-GPE
'22': location-bodiesofwater
'23': location-island
'24': location-mountain
'25': location-other
'26': location-park
'27': location-road/railway/highway/transit
'28': organization-company
'29': organization-education
'30': organization-government/governmentagency
'31': organization-media/newspaper
'32': organization-other
'33': organization-politicalparty
'34': organization-religion
'35': organization-showorganization
'36': organization-sportsleague
'37': organization-sportsteam
'38': other-astronomything
'39': other-award
'40': other-biologything
'41': other-chemicalthing
'42': other-currency
'43': other-disease
'44': other-educationaldegree
'45': other-god
'46': other-language
'47': other-law
'48': other-livingthing
'49': other-medical
'50': person-actor
'51': person-artist/author
'52': person-athlete
'53': person-director
'54': person-other
'55': person-politician
'56': person-scholar
'57': person-soldier
'58': product-airplane
'59': product-car
'60': product-food
'61': product-game
'62': product-other
'63': product-ship
'64': product-software
'65': product-train
'66': product-weapon
splits:
- name: train
num_bytes: 67631522
num_examples: 99519
- name: validation
num_bytes: 12759787
num_examples: 19358
- name: test
num_bytes: 25768577
num_examples: 44059
download_size: 19616006
dataset_size: 106159886
- config_name: supervised
features:
- name: id
dtype: string
- name: tokens
sequence: string
- name: ner_tags
sequence:
class_label:
names:
'0': O
'1': art
'2': building
'3': event
'4': location
'5': organization
'6': other
'7': person
'8': product
- name: fine_ner_tags
sequence:
class_label:
names:
'0': O
'1': art-broadcastprogram
'2': art-film
'3': art-music
'4': art-other
'5': art-painting
'6': art-writtenart
'7': building-airport
'8': building-hospital
'9': building-hotel
'10': building-library
'11': building-other
'12': building-restaurant
'13': building-sportsfacility
'14': building-theater
'15': event-attack/battle/war/militaryconflict
'16': event-disaster
'17': event-election
'18': event-other
'19': event-protest
'20': event-sportsevent
'21': location-GPE
'22': location-bodiesofwater
'23': location-island
'24': location-mountain
'25': location-other
'26': location-park
'27': location-road/railway/highway/transit
'28': organization-company
'29': organization-education
'30': organization-government/governmentagency
'31': organization-media/newspaper
'32': organization-other
'33': organization-politicalparty
'34': organization-religion
'35': organization-showorganization
'36': organization-sportsleague
'37': organization-sportsteam
'38': other-astronomything
'39': other-award
'40': other-biologything
'41': other-chemicalthing
'42': other-currency
'43': other-disease
'44': other-educationaldegree
'45': other-god
'46': other-language
'47': other-law
'48': other-livingthing
'49': other-medical
'50': person-actor
'51': person-artist/author
'52': person-athlete
'53': person-director
'54': person-other
'55': person-politician
'56': person-scholar
'57': person-soldier
'58': product-airplane
'59': product-car
'60': product-food
'61': product-game
'62': product-other
'63': product-ship
'64': product-software
'65': product-train
'66': product-weapon
splits:
- name: train
num_bytes: 81848645
num_examples: 131767
- name: validation
num_bytes: 11731110
num_examples: 18824
- name: test
num_bytes: 23345314
num_examples: 37648
download_size: 24121858
dataset_size: 116925069
configs:
- config_name: inter
data_files:
- split: train
path: inter/train-*
- split: validation
path: inter/validation-*
- split: test
path: inter/test-*
- config_name: intra
data_files:
- split: train
path: intra/train-*
- split: validation
path: intra/validation-*
- split: test
path: intra/test-*
- config_name: supervised
data_files:
- split: train
path: supervised/train-*
- split: validation
path: supervised/validation-*
- split: test
path: supervised/test-*
---
# Dataset Card for "Few-NERD"
## Table of Contents
- [Dataset Description](
#dataset-description)
- [Dataset Summary](#dataset-summary)
- [Supported Tasks and Leaderboards](#supported-tasks-and-leaderboards)
- [Languages](#languages)
- [Dataset Structure](#dataset-structure)
- [Data Instances](#data-instances)
- [Data Fields](#data-fields)
- [Data Splits](#data-splits)
- [Dataset Creation](#dataset-creation)
- [Curation Rationale](#curation-rationale)
- [Source Data](#source-data)
- [Annotations](#annotations)
- [Personal and Sensitive Information](#personal-and-sensitive-information)
- [Considerations for Using the Data](#considerations-for-using-the-data)
- [Social Impact of Dataset](#social-impact-of-dataset)
- [Discussion of Biases](#discussion-of-biases)
- [Other Known Limitations](#other-known-limitations)
- [Additional Information](#additional-information)
- [Dataset Curators](#dataset-curators)
- [Licensing Information](#licensing-information)
- [Citation Information](#citation-information)
- [Contributions](#contributions)
## Dataset Description
- **Homepage:** [https://ningding97.github.io/fewnerd/](https://ningding97.github.io/fewnerd/)
- **Repository:** [https://github.com/thunlp/Few-NERD](https://github.com/thunlp/Few-NERD)
- **Paper:** [https://aclanthology.org/2021.acl-long.248/](https://aclanthology.org/2021.acl-long.248/)
- **Point of Contact:** See [https://ningding97.github.io/fewnerd/](https://ningding97.github.io/fewnerd/)
### Dataset Summary
This script is for loading the Few-NERD dataset from https://ningding97.github.io/fewnerd/.
Few-NERD is a large-scale, fine-grained manually annotated named entity recognition dataset, which contains 8 coarse-grained types, 66 fine-grained types, 188,200 sentences, 491,711 entities, and 4,601,223 tokens. Three benchmark tasks are built, one is supervised (Few-NERD (SUP)) and the other two are few-shot (Few-NERD (INTRA) and Few-NERD (INTER)).
NER tags use the `IO` tagging scheme. The original data uses a 2-column CoNLL-style format, with empty lines to separate sentences. DOCSTART information is not provided since the sentences are randomly ordered.
For more details see https://ningding97.github.io/fewnerd/ and https://aclanthology.org/2021.acl-long.248/.
### Supported Tasks and Leaderboards
- **Tasks:** Named Entity Recognition, Few-shot NER
- **Leaderboards:**
- https://ningding97.github.io/fewnerd/
- named-entity-recognition:https://paperswithcode.com/sota/named-entity-recognition-on-few-nerd-sup
- other-few-shot-ner:https://paperswithcode.com/sota/few-shot-ner-on-few-nerd-intra
- other-few-shot-ner:https://paperswithcode.com/sota/few-shot-ner-on-few-nerd-inter
### Languages
English
## Dataset Structure
### Data Instances
- **Size of downloaded dataset files:**
- `super`: 14.6 MB
- `intra`: 11.4 MB
- `inter`: 11.5 MB
- **Size of the generated dataset:**
- `super`: 116.9 MB
- `intra`: 106.2 MB
- `inter`: 106.2 MB
- **Total amount of disk used:** 366.8 MB
An example of 'train' looks as follows.
```json
{
'id': '1',
'tokens': ['It', 'starred', 'Hicks', "'s", 'wife', ',', 'Ellaline', 'Terriss', 'and', 'Edmund', 'Payne', '.'],
'ner_tags': [0, 0, 7, 0, 0, 0, 7, 7, 0, 7, 7, 0],
'fine_ner_tags': [0, 0, 51, 0, 0, 0, 50, 50, 0, 50, 50, 0]
}
```
### Data Fields
The data fields are the same among all splits.
- `id`: a `string` feature.
- `tokens`: a `list` of `string` features.
- `ner_tags`: a `list` of classification labels, with possible values including `O` (0), `art` (1), `building` (2), `event` (3), `location` (4), `organization` (5), `other`(6), `person` (7), `product` (8)
- `fine_ner_tags`: a `list` of fine-grained classification labels, with possible values including `O` (0), `art-broadcastprogram` (1), `art-film` (2), ...
### Data Splits
| Task | Train | Dev | Test |
| ----- | ------ | ----- | ---- |
| SUP | 131767 | 18824 | 37648 |
| INTRA | 99519 | 19358 | 44059 |
| INTER | 130112 | 18817 | 14007 |
## Dataset Creation
### Curation Rationale
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
### Source Data
#### Initial Data Collection and Normalization
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
#### Who are the source language producers?
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
### Annotations
#### Annotation process
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
#### Who are the annotators?
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
### Personal and Sensitive Information
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
## Considerations for Using the Data
### Social Impact of Dataset
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
### Discussion of Biases
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
### Other Known Limitations
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
## Additional Information
### Dataset Curators
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
### Licensing Information
[CC BY-SA 4.0 license](https://creativecommons.org/licenses/by-sa/4.0/)
### Citation Information
```
@inproceedings{ding-etal-2021-nerd,
title = "Few-{NERD}: A Few-shot Named Entity Recognition Dataset",
author = "Ding, Ning and
Xu, Guangwei and
Chen, Yulin and
Wang, Xiaobin and
Han, Xu and
Xie, Pengjun and
Zheng, Haitao and
Liu, Zhiyuan",
booktitle = "Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 1: Long Papers)",
month = aug,
year = "2021",
address = "Online",
publisher = "Association for Computational Linguistics",
url = "https://aclanthology.org/2021.acl-long.248",
doi = "10.18653/v1/2021.acl-long.248",
pages = "3198--3213",
}
```
### Contributions |