Datasets:
Update files from the datasets library (from 1.4.0)
Browse filesRelease notes: https://github.com/huggingface/datasets/releases/tag/1.4.0
- README.md +21 -21
- conll2003.py +4 -3
README.md
CHANGED
@@ -46,7 +46,7 @@ task_ids:
|
|
46 |
- [Citation Information](#citation-information)
|
47 |
- [Contributions](#contributions)
|
48 |
|
49 |
-
##
|
50 |
|
51 |
- **Homepage:** [https://www.aclweb.org/anthology/W03-0419/](https://www.aclweb.org/anthology/W03-0419/)
|
52 |
- **Repository:** [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
@@ -56,7 +56,7 @@ task_ids:
|
|
56 |
- **Size of the generated dataset:** 9.78 MB
|
57 |
- **Total amount of disk used:** 14.41 MB
|
58 |
|
59 |
-
###
|
60 |
|
61 |
The shared task of CoNLL-2003 concerns language-independent named entity recognition. We will concentrate on
|
62 |
four types of named entities: persons, locations, organizations and names of miscellaneous entities that do
|
@@ -72,19 +72,19 @@ tagging scheme, whereas the original dataset uses IOB1.
|
|
72 |
|
73 |
For more details see https://www.clips.uantwerpen.be/conll2003/ner/ and https://www.aclweb.org/anthology/W03-0419
|
74 |
|
75 |
-
###
|
76 |
|
77 |
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
78 |
|
79 |
-
###
|
80 |
|
81 |
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
82 |
|
83 |
-
##
|
84 |
|
85 |
We show detailed information for up to 5 configurations of the dataset.
|
86 |
|
87 |
-
###
|
88 |
|
89 |
#### conll2003
|
90 |
|
@@ -105,7 +105,7 @@ This example was too long and was cropped:
|
|
105 |
}
|
106 |
```
|
107 |
|
108 |
-
###
|
109 |
|
110 |
The data fields are the same among all splits.
|
111 |
|
@@ -116,55 +116,55 @@ The data fields are the same among all splits.
|
|
116 |
- `chunk_tags`: a `list` of classification labels, with possible values including `O` (0), `B-ADJP` (1), `I-ADJP` (2), `B-ADVP` (3), `I-ADVP` (4).
|
117 |
- `ner_tags`: a `list` of classification labels, with possible values including `O` (0), `B-PER` (1), `I-PER` (2), `B-ORG` (3), `I-ORG` (4).
|
118 |
|
119 |
-
###
|
120 |
|
121 |
| name |train|validation|test|
|
122 |
|---------|----:|---------:|---:|
|
123 |
|conll2003|14041| 3250|3453|
|
124 |
|
125 |
-
##
|
126 |
|
127 |
-
###
|
128 |
|
129 |
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
130 |
|
131 |
-
###
|
132 |
|
133 |
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
134 |
|
135 |
-
###
|
136 |
|
137 |
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
138 |
|
139 |
-
###
|
140 |
|
141 |
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
142 |
|
143 |
-
##
|
144 |
|
145 |
-
###
|
146 |
|
147 |
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
148 |
|
149 |
-
###
|
150 |
|
151 |
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
152 |
|
153 |
-
###
|
154 |
|
155 |
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
156 |
|
157 |
-
##
|
158 |
|
159 |
-
###
|
160 |
|
161 |
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
162 |
|
163 |
-
###
|
164 |
|
165 |
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
166 |
|
167 |
-
###
|
168 |
|
169 |
```
|
170 |
@inproceedings{tjong-kim-sang-de-meulder-2003-introduction,
|
|
|
46 |
- [Citation Information](#citation-information)
|
47 |
- [Contributions](#contributions)
|
48 |
|
49 |
+
## Dataset Description
|
50 |
|
51 |
- **Homepage:** [https://www.aclweb.org/anthology/W03-0419/](https://www.aclweb.org/anthology/W03-0419/)
|
52 |
- **Repository:** [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
|
|
56 |
- **Size of the generated dataset:** 9.78 MB
|
57 |
- **Total amount of disk used:** 14.41 MB
|
58 |
|
59 |
+
### Dataset Summary
|
60 |
|
61 |
The shared task of CoNLL-2003 concerns language-independent named entity recognition. We will concentrate on
|
62 |
four types of named entities: persons, locations, organizations and names of miscellaneous entities that do
|
|
|
72 |
|
73 |
For more details see https://www.clips.uantwerpen.be/conll2003/ner/ and https://www.aclweb.org/anthology/W03-0419
|
74 |
|
75 |
+
### Supported Tasks
|
76 |
|
77 |
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
78 |
|
79 |
+
### Languages
|
80 |
|
81 |
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
82 |
|
83 |
+
## Dataset Structure
|
84 |
|
85 |
We show detailed information for up to 5 configurations of the dataset.
|
86 |
|
87 |
+
### Data Instances
|
88 |
|
89 |
#### conll2003
|
90 |
|
|
|
105 |
}
|
106 |
```
|
107 |
|
108 |
+
### Data Fields
|
109 |
|
110 |
The data fields are the same among all splits.
|
111 |
|
|
|
116 |
- `chunk_tags`: a `list` of classification labels, with possible values including `O` (0), `B-ADJP` (1), `I-ADJP` (2), `B-ADVP` (3), `I-ADVP` (4).
|
117 |
- `ner_tags`: a `list` of classification labels, with possible values including `O` (0), `B-PER` (1), `I-PER` (2), `B-ORG` (3), `I-ORG` (4).
|
118 |
|
119 |
+
### Data Splits Sample Size
|
120 |
|
121 |
| name |train|validation|test|
|
122 |
|---------|----:|---------:|---:|
|
123 |
|conll2003|14041| 3250|3453|
|
124 |
|
125 |
+
## Dataset Creation
|
126 |
|
127 |
+
### Curation Rationale
|
128 |
|
129 |
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
130 |
|
131 |
+
### Source Data
|
132 |
|
133 |
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
134 |
|
135 |
+
### Annotations
|
136 |
|
137 |
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
138 |
|
139 |
+
### Personal and Sensitive Information
|
140 |
|
141 |
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
142 |
|
143 |
+
## Considerations for Using the Data
|
144 |
|
145 |
+
### Social Impact of Dataset
|
146 |
|
147 |
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
148 |
|
149 |
+
### Discussion of Biases
|
150 |
|
151 |
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
152 |
|
153 |
+
### Other Known Limitations
|
154 |
|
155 |
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
156 |
|
157 |
+
## Additional Information
|
158 |
|
159 |
+
### Dataset Curators
|
160 |
|
161 |
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
162 |
|
163 |
+
### Licensing Information
|
164 |
|
165 |
[More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
|
166 |
|
167 |
+
### Citation Information
|
168 |
|
169 |
```
|
170 |
@inproceedings{tjong-kim-sang-de-meulder-2003-introduction,
|
conll2003.py
CHANGED
@@ -16,11 +16,12 @@
|
|
16 |
# Lint as: python3
|
17 |
"""Introduction to the CoNLL-2003 Shared Task: Language-Independent Named Entity Recognition"""
|
18 |
|
19 |
-
import logging
|
20 |
-
|
21 |
import datasets
|
22 |
|
23 |
|
|
|
|
|
|
|
24 |
_CITATION = """\
|
25 |
@inproceedings{tjong-kim-sang-de-meulder-2003-introduction,
|
26 |
title = "Introduction to the {C}o{NLL}-2003 Shared Task: Language-Independent Named Entity Recognition",
|
@@ -201,7 +202,7 @@ class Conll2003(datasets.GeneratorBasedBuilder):
|
|
201 |
]
|
202 |
|
203 |
def _generate_examples(self, filepath):
|
204 |
-
|
205 |
with open(filepath, encoding="utf-8") as f:
|
206 |
guid = 0
|
207 |
tokens = []
|
|
|
16 |
# Lint as: python3
|
17 |
"""Introduction to the CoNLL-2003 Shared Task: Language-Independent Named Entity Recognition"""
|
18 |
|
|
|
|
|
19 |
import datasets
|
20 |
|
21 |
|
22 |
+
logger = datasets.logging.get_logger(__name__)
|
23 |
+
|
24 |
+
|
25 |
_CITATION = """\
|
26 |
@inproceedings{tjong-kim-sang-de-meulder-2003-introduction,
|
27 |
title = "Introduction to the {C}o{NLL}-2003 Shared Task: Language-Independent Named Entity Recognition",
|
|
|
202 |
]
|
203 |
|
204 |
def _generate_examples(self, filepath):
|
205 |
+
logger.info("⏳ Generating examples from = %s", filepath)
|
206 |
with open(filepath, encoding="utf-8") as f:
|
207 |
guid = 0
|
208 |
tokens = []
|