asahi417 commited on
Commit
49ec5f0
1 Parent(s): 6f10e21
Files changed (1) hide show
  1. README.md +19 -147
README.md CHANGED
@@ -16,75 +16,18 @@ pretty_name: CoNLL-2003
16
 
17
  # Dataset Card for "tner/conll2003"
18
 
19
- ## Table of Contents
20
- - [Dataset Description](#dataset-description)
21
- - [Dataset Summary](#dataset-summary)
22
- - [Supported Tasks and Leaderboards](#supported-tasks-and-leaderboards)
23
- - [Languages](#languages)
24
- - [Dataset Structure](#dataset-structure)
25
- - [Data Instances](#data-instances)
26
- - [Data Fields](#data-fields)
27
- - [Data Splits](#data-splits)
28
- - [Dataset Creation](#dataset-creation)
29
- - [Curation Rationale](#curation-rationale)
30
- - [Source Data](#source-data)
31
- - [Annotations](#annotations)
32
- - [Personal and Sensitive Information](#personal-and-sensitive-information)
33
- - [Considerations for Using the Data](#considerations-for-using-the-data)
34
- - [Social Impact of Dataset](#social-impact-of-dataset)
35
- - [Discussion of Biases](#discussion-of-biases)
36
- - [Other Known Limitations](#other-known-limitations)
37
- - [Additional Information](#additional-information)
38
- - [Dataset Curators](#dataset-curators)
39
- - [Licensing Information](#licensing-information)
40
- - [Citation Information](#citation-information)
41
- - [Contributions](#contributions)
42
-
43
  ## Dataset Description
44
 
45
- - **Homepage:** [https://www.aclweb.org/anthology/W03-0419/](https://www.aclweb.org/anthology/W03-0419/)
46
- - **Repository:** [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
47
- - **Paper:** [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
48
- - **Point of Contact:** [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
49
- - **Size of downloaded dataset files:** 4.63 MB
50
- - **Size of the generated dataset:** 9.78 MB
51
- - **Total amount of disk used:** 14.41 MB
52
 
53
  ### Dataset Summary
54
-
55
- The shared task of CoNLL-2003 concerns language-independent named entity recognition. We will concentrate on
56
- four types of named entities: persons, locations, organizations and names of miscellaneous entities that do
57
- not belong to the previous three groups.
58
-
59
- The CoNLL-2003 shared task data files contain four columns separated by a single space. Each word has been put on
60
- a separate line and there is an empty line after each sentence. The first item on each line is a word, the second
61
- a part-of-speech (POS) tag, the third a syntactic chunk tag and the fourth the named entity tag. The chunk tags
62
- and the named entity tags have the format I-TYPE which means that the word is inside a phrase of type TYPE. Only
63
- if two phrases of the same type immediately follow each other, the first word of the second phrase will have tag
64
- B-TYPE to show that it starts a new phrase. A word with tag O is not part of a phrase. Note the dataset uses IOB2
65
- tagging scheme, whereas the original dataset uses IOB1.
66
-
67
- For more details see https://www.clips.uantwerpen.be/conll2003/ner/ and https://www.aclweb.org/anthology/W03-0419
68
-
69
- ### Supported Tasks and Leaderboards
70
-
71
- [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
72
-
73
- ### Languages
74
-
75
- [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
76
 
77
  ## Dataset Structure
78
 
79
  ### Data Instances
80
-
81
- #### conll2003
82
-
83
- - **Size of downloaded dataset files:** 4.63 MB
84
- - **Size of the generated dataset:** 9.78 MB
85
- - **Total amount of disk used:** 14.41 MB
86
-
87
- An example of 'train' looks as follows.
88
 
89
  ```
90
  {
@@ -92,35 +35,21 @@ An example of 'train' looks as follows.
92
  'tokens': [0, 0, 5, 0, 0, 0, 0, 3, 0, 0, 0, 0]
93
  }
94
  ```
95
- ### Data Fields
96
-
97
- The data fields are the same among all splits.
98
-
99
- #### conll2003
100
- - `id`: a `string` feature.
101
- - `tokens`: a `list` of `string` features.
102
- - `pos_tags`: a `list` of classification labels (`int`). Full tagset with indices:
103
 
 
 
104
  ```python
105
- {'"': 0, "''": 1, '#': 2, '$': 3, '(': 4, ')': 5, ',': 6, '.': 7, ':': 8, '``': 9, 'CC': 10, 'CD': 11, 'DT': 12,
106
- 'EX': 13, 'FW': 14, 'IN': 15, 'JJ': 16, 'JJR': 17, 'JJS': 18, 'LS': 19, 'MD': 20, 'NN': 21, 'NNP': 22, 'NNPS': 23,
107
- 'NNS': 24, 'NN|SYM': 25, 'PDT': 26, 'POS': 27, 'PRP': 28, 'PRP$': 29, 'RB': 30, 'RBR': 31, 'RBS': 32, 'RP': 33,
108
- 'SYM': 34, 'TO': 35, 'UH': 36, 'VB': 37, 'VBD': 38, 'VBG': 39, 'VBN': 40, 'VBP': 41, 'VBZ': 42, 'WDT': 43,
109
- 'WP': 44, 'WP$': 45, 'WRB': 46}
110
- ```
111
-
112
- - `chunk_tags`: a `list` of classification labels (`int`). Full tagset with indices:
113
-
114
- ```python
115
- {'O': 0, 'B-ADJP': 1, 'I-ADJP': 2, 'B-ADVP': 3, 'I-ADVP': 4, 'B-CONJP': 5, 'I-CONJP': 6, 'B-INTJ': 7, 'I-INTJ': 8,
116
- 'B-LST': 9, 'I-LST': 10, 'B-NP': 11, 'I-NP': 12, 'B-PP': 13, 'I-PP': 14, 'B-PRT': 15, 'I-PRT': 16, 'B-SBAR': 17,
117
- 'I-SBAR': 18, 'B-UCP': 19, 'I-UCP': 20, 'B-VP': 21, 'I-VP': 22}
118
- ```
119
-
120
- - `ner_tags`: a `list` of classification labels (`int`). Full tagset with indices:
121
-
122
- ```python
123
- {'O': 0, 'B-PER': 1, 'I-PER': 2, 'B-ORG': 3, 'I-ORG': 4, 'B-LOC': 5, 'I-LOC': 6, 'B-MISC': 7, 'I-MISC': 8}
124
  ```
125
 
126
  ### Data Splits
@@ -129,56 +58,6 @@ The data fields are the same among all splits.
129
  |---------|----:|---------:|---:|
130
  |conll2003|14041| 3250|3453|
131
 
132
- ## Dataset Creation
133
-
134
- ### Curation Rationale
135
-
136
- [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
137
-
138
- ### Source Data
139
-
140
- #### Initial Data Collection and Normalization
141
-
142
- [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
143
-
144
- #### Who are the source language producers?
145
-
146
- [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
147
-
148
- ### Annotations
149
-
150
- #### Annotation process
151
-
152
- [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
153
-
154
- #### Who are the annotators?
155
-
156
- [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
157
-
158
- ### Personal and Sensitive Information
159
-
160
- [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
161
-
162
- ## Considerations for Using the Data
163
-
164
- ### Social Impact of Dataset
165
-
166
- [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
167
-
168
- ### Discussion of Biases
169
-
170
- [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
171
-
172
- ### Other Known Limitations
173
-
174
- [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
175
-
176
- ## Additional Information
177
-
178
- ### Dataset Curators
179
-
180
- [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
181
-
182
  ### Licensing Information
183
 
184
  From the [CoNLL2003 shared task](https://www.clips.uantwerpen.be/conll2003/ner/) page:
@@ -202,17 +81,10 @@ The copyrights are defined below, from the [Reuters Corpus page](https://trec.ni
202
  ```
203
  @inproceedings{tjong-kim-sang-de-meulder-2003-introduction,
204
  title = "Introduction to the {C}o{NLL}-2003 Shared Task: Language-Independent Named Entity Recognition",
205
- author = "Tjong Kim Sang, Erik F. and
206
- De Meulder, Fien",
207
  booktitle = "Proceedings of the Seventh Conference on Natural Language Learning at {HLT}-{NAACL} 2003",
208
  year = "2003",
209
  url = "https://www.aclweb.org/anthology/W03-0419",
210
  pages = "142--147",
211
  }
212
-
213
- ```
214
-
215
-
216
- ### Contributions
217
-
218
- Thanks to [@jplu](https://github.com/jplu), [@vblagoje](https://github.com/vblagoje), [@lhoestq](https://github.com/lhoestq) for adding this dataset.
 
16
 
17
  # Dataset Card for "tner/conll2003"
18
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
  ## Dataset Description
20
 
21
+ - **Repository:** [T-NER](https://github.com/asahi417/tner)
22
+ - **Paper:** [https://www.aclweb.org/anthology/W03-0419/](https://www.aclweb.org/anthology/W03-0419/)
 
 
 
 
 
23
 
24
  ### Dataset Summary
25
+ CoNLL-2003 NER dataset formatted in a part of [TNER](https://github.com/asahi417/tner) project.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
26
 
27
  ## Dataset Structure
28
 
29
  ### Data Instances
30
+ An example of `train` looks as follows.
 
 
 
 
 
 
 
31
 
32
  ```
33
  {
 
35
  'tokens': [0, 0, 5, 0, 0, 0, 0, 3, 0, 0, 0, 0]
36
  }
37
  ```
 
 
 
 
 
 
 
 
38
 
39
+ ### Label ID
40
+ The label2id dictionary can be found at [here](https://huggingface.co/datasets/tner/conll2003/raw/main/dataset/label.json).
41
  ```python
42
+ {
43
+ "O": 0,
44
+ "B-ORG": 1,
45
+ "B-MISC": 2,
46
+ "B-PER": 3,
47
+ "I-PER": 4,
48
+ "B-LOC": 5,
49
+ "I-ORG": 6,
50
+ "I-MISC": 7,
51
+ "I-LOC": 8
52
+ }
 
 
 
 
 
 
 
 
53
  ```
54
 
55
  ### Data Splits
 
58
  |---------|----:|---------:|---:|
59
  |conll2003|14041| 3250|3453|
60
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
61
  ### Licensing Information
62
 
63
  From the [CoNLL2003 shared task](https://www.clips.uantwerpen.be/conll2003/ner/) page:
 
81
  ```
82
  @inproceedings{tjong-kim-sang-de-meulder-2003-introduction,
83
  title = "Introduction to the {C}o{NLL}-2003 Shared Task: Language-Independent Named Entity Recognition",
84
+ author = "Tjong Kim Sang, Erik F. and De Meulder, Fien",
 
85
  booktitle = "Proceedings of the Seventh Conference on Natural Language Learning at {HLT}-{NAACL} 2003",
86
  year = "2003",
87
  url = "https://www.aclweb.org/anthology/W03-0419",
88
  pages = "142--147",
89
  }
90
+ ```