Datasets:
Tasks:
Token Classification
Modalities:
Text
Sub-tasks:
named-entity-recognition
Languages:
English
Size:
100K - 1M
Tags:
structure-prediction
License:
leonhardhennig
commited on
Commit
•
3e64812
1
Parent(s):
bb2457a
updated model card
Browse files
README.md
CHANGED
@@ -1 +1,207 @@
|
|
1 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
annotations_creators:
|
3 |
+
- expert-generated
|
4 |
+
language_creators:
|
5 |
+
- found
|
6 |
+
languages:
|
7 |
+
- en
|
8 |
+
licenses:
|
9 |
+
- cc-by-sa-4.0
|
10 |
+
multilinguality:
|
11 |
+
- monolingual
|
12 |
+
paperswithcode_id: few-nerd
|
13 |
+
pretty_name: Few-NERD
|
14 |
+
size_categories:
|
15 |
+
- 100K<n<1M
|
16 |
+
source_datasets:
|
17 |
+
- extended|wikipedia
|
18 |
+
task_categories:
|
19 |
+
- structure-prediction
|
20 |
+
task_ids:
|
21 |
+
- named-entity-recognition
|
22 |
+
---
|
23 |
+
|
24 |
+
# Dataset Card for "Few-NERD"
|
25 |
+
|
26 |
+
## Table of Contents
|
27 |
+
- [Dataset Description](#dataset-description)
|
28 |
+
- [Dataset Summary](#dataset-summary)
|
29 |
+
- [Supported Tasks and Leaderboards](#supported-tasks-and-leaderboards)
|
30 |
+
- [Languages](#languages)
|
31 |
+
- [Dataset Structure](#dataset-structure)
|
32 |
+
- [Data Instances](#data-instances)
|
33 |
+
- [Data Fields](#data-fields)
|
34 |
+
- [Data Splits](#data-splits)
|
35 |
+
- [Dataset Creation](#dataset-creation)
|
36 |
+
- [Curation Rationale](#curation-rationale)
|
37 |
+
- [Source Data](#source-data)
|
38 |
+
- [Annotations](#annotations)
|
39 |
+
- [Personal and Sensitive Information](#personal-and-sensitive-information)
|
40 |
+
- [Considerations for Using the Data](#considerations-for-using-the-data)
|
41 |
+
- [Social Impact of Dataset](#social-impact-of-dataset)
|
42 |
+
- [Discussion of Biases](#discussion-of-biases)
|
43 |
+
- [Other Known Limitations](#other-known-limitations)
|
44 |
+
- [Additional Information](#additional-information)
|
45 |
+
- [Dataset Curators](#dataset-curators)
|
46 |
+
- [Licensing Information](#licensing-information)
|
47 |
+
- [Citation Information](#citation-information)
|
48 |
+
- [Contributions](#contributions)
|
49 |
+
|
50 |
+
## Dataset Description
|
51 |
+
|
52 |
+
- **Homepage:** [https://ningding97.github.io/fewnerd/](https://ningding97.github.io/fewnerd/)
|
53 |
+
- **Repository:** [https://github.com/thunlp/Few-NERD](https://github.com/thunlp/Few-NERD)
|
54 |
+
- **Paper:** [https://aclanthology.org/2021.acl-long.248/](https://aclanthology.org/2021.acl-long.248/)
|
55 |
+
- **Point of Contact:** See [https://ningding97.github.io/fewnerd/](https://ningding97.github.io/fewnerd/)
|
56 |
+
|
57 |
+
### Dataset Summary
|
58 |
+
|
59 |
+
This script is for loading the Few-NERD dataset from https://ningding97.github.io/fewnerd/.
|
60 |
+
|
61 |
+
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)).
|
62 |
+
|
63 |
+
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.
|
64 |
+
|
65 |
+
For more details see https://ningding97.github.io/fewnerd/ and https://aclanthology.org/2021.acl-long.248/.
|
66 |
+
|
67 |
+
### Supported Tasks and Leaderboards
|
68 |
+
|
69 |
+
- **Tasks:** Named Entity Recognition, Few-shot NER
|
70 |
+
- **Leaderboards:**
|
71 |
+
- https://ningding97.github.io/fewnerd/
|
72 |
+
- named-entity-recognition:https://paperswithcode.com/sota/named-entity-recognition-on-few-nerd-sup
|
73 |
+
- other-few-shot-ner:https://paperswithcode.com/sota/few-shot-ner-on-few-nerd-intra
|
74 |
+
- other-few-shot-ner:https://paperswithcode.com/sota/few-shot-ner-on-few-nerd-inter
|
75 |
+
|
76 |
+
|
77 |
+
### Languages
|
78 |
+
|
79 |
+
English
|
80 |
+
|
81 |
+
## Dataset Structure
|
82 |
+
|
83 |
+
### Data Instances
|
84 |
+
|
85 |
+
- **Size of downloaded dataset files:**
|
86 |
+
- `super`: 14.6 MB
|
87 |
+
- `intra`: 11.4 MB
|
88 |
+
- `inter`: 11.5 MB
|
89 |
+
|
90 |
+
- **Size of the generated dataset:**
|
91 |
+
- `super`: 116.9 MB
|
92 |
+
- `intra`: 106.2 MB
|
93 |
+
- `inter`: 106.2 MB
|
94 |
+
|
95 |
+
- **Total amount of disk used:** 366.8 MB
|
96 |
+
|
97 |
+
|
98 |
+
An example of 'train' looks as follows.
|
99 |
+
|
100 |
+
```json
|
101 |
+
{
|
102 |
+
'id': '1',
|
103 |
+
'tokens': ['It', 'starred', 'Hicks', "'s", 'wife', ',', 'Ellaline', 'Terriss', 'and', 'Edmund', 'Payne', '.'],
|
104 |
+
'ner_tags': [0, 0, 7, 0, 0, 0, 7, 7, 0, 7, 7, 0],
|
105 |
+
'fine_ner_tags': [0, 0, 51, 0, 0, 0, 50, 50, 0, 50, 50, 0]
|
106 |
+
}
|
107 |
+
```
|
108 |
+
|
109 |
+
|
110 |
+
|
111 |
+
### Data Fields
|
112 |
+
|
113 |
+
The data fields are the same among all splits.
|
114 |
+
|
115 |
+
- `id`: a `string` feature.
|
116 |
+
- `tokens`: a `list` of `string` features.
|
117 |
+
- `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)
|
118 |
+
- `fine_ner_tags`: a `list` of fine-grained classification labels, with possible values including `O` (0), `art-broadcastprogram` (1), `art-film` (2), ...
|
119 |
+
|
120 |
+
### Data Splits
|
121 |
+
|
122 |
+
| Task | Train | Dev | Test |
|
123 |
+
| ----- | ------ | ----- | ---- |
|
124 |
+
| SUP | 131767 | 18824 | 37648 |
|
125 |
+
| INTRA | 99519 | 19358 | 44059 |
|
126 |
+
| INTER | 130112 | 18817 | 14007 |
|
127 |
+
|
128 |
+
## Dataset Creation
|
129 |
+
|
130 |
+
### Curation Rationale
|
131 |
+
|
132 |
+
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
133 |
+
|
134 |
+
### Source Data
|
135 |
+
|
136 |
+
#### Initial Data Collection and Normalization
|
137 |
+
|
138 |
+
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
139 |
+
|
140 |
+
#### Who are the source language producers?
|
141 |
+
|
142 |
+
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
143 |
+
|
144 |
+
### Annotations
|
145 |
+
|
146 |
+
#### Annotation process
|
147 |
+
|
148 |
+
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
149 |
+
|
150 |
+
#### Who are the annotators?
|
151 |
+
|
152 |
+
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
153 |
+
|
154 |
+
### Personal and Sensitive Information
|
155 |
+
|
156 |
+
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
157 |
+
|
158 |
+
## Considerations for Using the Data
|
159 |
+
|
160 |
+
### Social Impact of Dataset
|
161 |
+
|
162 |
+
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
163 |
+
|
164 |
+
### Discussion of Biases
|
165 |
+
|
166 |
+
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
167 |
+
|
168 |
+
### Other Known Limitations
|
169 |
+
|
170 |
+
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
171 |
+
|
172 |
+
## Additional Information
|
173 |
+
|
174 |
+
### Dataset Curators
|
175 |
+
|
176 |
+
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
177 |
+
|
178 |
+
### Licensing Information
|
179 |
+
|
180 |
+
[CC BY-SA 4.0 license](https://creativecommons.org/licenses/by-sa/4.0/)
|
181 |
+
|
182 |
+
### Citation Information
|
183 |
+
|
184 |
+
```
|
185 |
+
@inproceedings{ding-etal-2021-nerd,
|
186 |
+
title = "Few-{NERD}: A Few-shot Named Entity Recognition Dataset",
|
187 |
+
author = "Ding, Ning and
|
188 |
+
Xu, Guangwei and
|
189 |
+
Chen, Yulin and
|
190 |
+
Wang, Xiaobin and
|
191 |
+
Han, Xu and
|
192 |
+
Xie, Pengjun and
|
193 |
+
Zheng, Haitao and
|
194 |
+
Liu, Zhiyuan",
|
195 |
+
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)",
|
196 |
+
month = aug,
|
197 |
+
year = "2021",
|
198 |
+
address = "Online",
|
199 |
+
publisher = "Association for Computational Linguistics",
|
200 |
+
url = "https://aclanthology.org/2021.acl-long.248",
|
201 |
+
doi = "10.18653/v1/2021.acl-long.248",
|
202 |
+
pages = "3198--3213",
|
203 |
+
}
|
204 |
+
```
|
205 |
+
|
206 |
+
|
207 |
+
### Contributions
|