--- dataset_info: features: - name: id dtype: string - name: tokens sequence: string - name: pos_tags sequence: class_label: names: '0': '"' '1': '''''' '2': '#' '3': $ '4': ( '5': ) '6': ',' '7': . '8': ':' '9': '``' '10': CC '11': CD '12': DT '13': EX '14': FW '15': IN '16': JJ '17': JJR '18': JJS '19': LS '20': MD '21': NN '22': NNP '23': NNPS '24': NNS '25': NN|SYM '26': PDT '27': POS '28': PRP '29': PRP$ '30': RB '31': RBR '32': RBS '33': RP '34': SYM '35': TO '36': UH '37': VB '38': VBD '39': VBG '40': VBN '41': VBP '42': VBZ '43': WDT '44': WP '45': WP$ '46': WRB - name: chunk_tags sequence: class_label: names: '0': O '1': B-ADJP '2': I-ADJP '3': B-ADVP '4': I-ADVP '5': B-CONJP '6': I-CONJP '7': B-INTJ '8': I-INTJ '9': B-LST '10': I-LST '11': B-NP '12': I-NP '13': B-PP '14': I-PP '15': B-PRT '16': I-PRT '17': B-SBAR '18': I-SBAR '19': B-UCP '20': I-UCP '21': B-VP '22': I-VP - name: ner_tags sequence: class_label: names: '0': O '1': B-PER '2': I-PER '3': B-ORG '4': I-ORG '5': B-LOC '6': I-LOC '7': B-MISC '8': I-MISC splits: - name: train num_bytes: 6931345 num_examples: 14041 - name: validation num_bytes: 1739223 num_examples: 3250 - name: test num_bytes: 1582054 num_examples: 3453 download_size: 1808472 dataset_size: 10252622 configs: - config_name: default data_files: - split: train path: data/train-* - split: validation path: data/validation-* - split: test path: data/test-* language: - en pretty_name: CoNLL-2003 task_ids: - named-entity-recognition - part-of-speech license: other task_categories: - token-classification --- # CoNLL-2003 (English NER) Copy of [`eriktks/conll2003`](https://huggingface.co/datasets/eriktks/conll2003), generated with its original loading script and stored as Parquet so it loads with current `datasets` versions (which no longer run loading scripts). ```python from datasets import load_dataset ds = load_dataset("ashaba1in/conll2003") ner_names = ds["train"].features["ner_tags"].feature.names ``` | split | sentences | |---|---:| | train | 14,041 | | validation | 3,250 | | test | 3,453 | Columns: `id`, `tokens`, `pos_tags`, `chunk_tags`, `ner_tags` (all tag columns are `ClassLabel` sequences). NER tags use IOB2 (the original files use IOB1), and the `-DOCSTART-` document separators are removed. ## License / source The English data is a collection of newswire articles from the Reuters Corpus, annotated at the University of Antwerp. The stories are under the copyright of Reuters Ltd and/or Thomson Reuters; see the [CoNLL-2003 shared task page](https://www.clips.uantwerpen.be/conll2003/ner/) and the [NIST Reuters Corpora page](https://trec.nist.gov/data/reuters/reuters.html). ## Citation ```bibtex @inproceedings{tjong-kim-sang-de-meulder-2003-introduction, title = "Introduction to the {C}o{NLL}-2003 Shared Task: Language-Independent Named Entity Recognition", author = "Tjong Kim Sang, Erik F. and De Meulder, Fien", booktitle = "Proceedings of the Seventh Conference on Natural Language Learning at {HLT}-{NAACL} 2003", year = "2003", pages = "142--147", url = "https://aclanthology.org/W03-0419", } ```