bandoos commited on
Commit
0138ba0
·
1 Parent(s): f756014
README.md CHANGED
@@ -1 +1,112 @@
1
- # Mini conll dataset see https://huggingface.co/datasets/conll2003 for the original
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ dataset_info:
3
+ features:
4
+ - name: id
5
+ dtype: string
6
+ - name: tokens
7
+ sequence: string
8
+ - name: pos_tags
9
+ sequence:
10
+ class_label:
11
+ names:
12
+ '0': '"'
13
+ '1': ''''''
14
+ '2': '#'
15
+ '3': $
16
+ '4': (
17
+ '5': )
18
+ '6': ','
19
+ '7': .
20
+ '8': ':'
21
+ '9': '``'
22
+ '10': CC
23
+ '11': CD
24
+ '12': DT
25
+ '13': EX
26
+ '14': FW
27
+ '15': IN
28
+ '16': JJ
29
+ '17': JJR
30
+ '18': JJS
31
+ '19': LS
32
+ '20': MD
33
+ '21': NN
34
+ '22': NNP
35
+ '23': NNPS
36
+ '24': NNS
37
+ '25': NN|SYM
38
+ '26': PDT
39
+ '27': POS
40
+ '28': PRP
41
+ '29': PRP$
42
+ '30': RB
43
+ '31': RBR
44
+ '32': RBS
45
+ '33': RP
46
+ '34': SYM
47
+ '35': TO
48
+ '36': UH
49
+ '37': VB
50
+ '38': VBD
51
+ '39': VBG
52
+ '40': VBN
53
+ '41': VBP
54
+ '42': VBZ
55
+ '43': WDT
56
+ '44': WP
57
+ '45': WP$
58
+ '46': WRB
59
+ - name: chunk_tags
60
+ sequence:
61
+ class_label:
62
+ names:
63
+ '0': O
64
+ '1': B-ADJP
65
+ '2': I-ADJP
66
+ '3': B-ADVP
67
+ '4': I-ADVP
68
+ '5': B-CONJP
69
+ '6': I-CONJP
70
+ '7': B-INTJ
71
+ '8': I-INTJ
72
+ '9': B-LST
73
+ '10': I-LST
74
+ '11': B-NP
75
+ '12': I-NP
76
+ '13': B-PP
77
+ '14': I-PP
78
+ '15': B-PRT
79
+ '16': I-PRT
80
+ '17': B-SBAR
81
+ '18': I-SBAR
82
+ '19': B-UCP
83
+ '20': I-UCP
84
+ '21': B-VP
85
+ '22': I-VP
86
+ - name: ner_tags
87
+ sequence:
88
+ class_label:
89
+ names:
90
+ '0': O
91
+ '1': B-PER
92
+ '2': I-PER
93
+ '3': B-ORG
94
+ '4': I-ORG
95
+ '5': B-LOC
96
+ '6': I-LOC
97
+ '7': B-MISC
98
+ '8': I-MISC
99
+ config_name: conll2003-mini
100
+ splits:
101
+ - name: train
102
+ num_bytes: 8025
103
+ num_examples: 10
104
+ - name: validation
105
+ num_bytes: 9653
106
+ num_examples: 10
107
+ - name: test
108
+ num_bytes: 6638
109
+ num_examples: 10
110
+ download_size: 982975
111
+ dataset_size: 24316
112
+ ---
conll2003_mini.py → conll2003-mini.py RENAMED
@@ -80,9 +80,9 @@ class Conll2003(datasets.GeneratorBasedBuilder):
80
 
81
  BUILDER_CONFIGS = [
82
  Conll2003Config(
83
- name="conll2003",
84
  version=datasets.Version("1.0.0"),
85
- description="Conll2003 dataset",
86
  ),
87
  ]
88
 
 
80
 
81
  BUILDER_CONFIGS = [
82
  Conll2003Config(
83
+ name="conll2003-mini",
84
  version=datasets.Version("1.0.0"),
85
+ description="Conll2003 dataset (mini version 10 samples)",
86
  ),
87
  ]
88
 
dataset_info.json ADDED
@@ -0,0 +1,159 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "description": "\n!! forked version producing at most 10 items per split !!\n\nThe shared task of CoNLL-2003 concerns language-independent named entity recognition. We will concentrate on\nfour types of named entities: persons, locations, organizations and names of miscellaneous entities that do\nnot belong to the previous three groups.\n\nThe CoNLL-2003 shared task data files contain four columns separated by a single space. Each word has been put on\na separate line and there is an empty line after each sentence. The first item on each line is a word, the second\na part-of-speech (POS) tag, the third a syntactic chunk tag and the fourth the named entity tag. The chunk tags\nand the named entity tags have the format I-TYPE which means that the word is inside a phrase of type TYPE. Only\nif two phrases of the same type immediately follow each other, the first word of the second phrase will have tag\nB-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\ntagging scheme, whereas the original dataset uses IOB1.\n\nFor more details see https://www.clips.uantwerpen.be/conll2003/ner/ and https://www.aclweb.org/anthology/W03-0419\n",
3
+ "citation": "@inproceedings{tjong-kim-sang-de-meulder-2003-introduction,\n title = \"Introduction to the {C}o{NLL}-2003 Shared Task: Language-Independent Named Entity Recognition\",\n author = \"Tjong Kim Sang, Erik F. and\n De Meulder, Fien\",\n booktitle = \"Proceedings of the Seventh Conference on Natural Language Learning at {HLT}-{NAACL} 2003\",\n year = \"2003\",\n url = \"https://www.aclweb.org/anthology/W03-0419\",\n pages = \"142--147\",\n}\n",
4
+ "homepage": "https://www.aclweb.org/anthology/W03-0419/",
5
+ "license": "",
6
+ "features": {
7
+ "id": {
8
+ "dtype": "string",
9
+ "_type": "Value"
10
+ },
11
+ "tokens": {
12
+ "feature": {
13
+ "dtype": "string",
14
+ "_type": "Value"
15
+ },
16
+ "_type": "Sequence"
17
+ },
18
+ "pos_tags": {
19
+ "feature": {
20
+ "names": [
21
+ "\"",
22
+ "''",
23
+ "#",
24
+ "$",
25
+ "(",
26
+ ")",
27
+ ",",
28
+ ".",
29
+ ":",
30
+ "``",
31
+ "CC",
32
+ "CD",
33
+ "DT",
34
+ "EX",
35
+ "FW",
36
+ "IN",
37
+ "JJ",
38
+ "JJR",
39
+ "JJS",
40
+ "LS",
41
+ "MD",
42
+ "NN",
43
+ "NNP",
44
+ "NNPS",
45
+ "NNS",
46
+ "NN|SYM",
47
+ "PDT",
48
+ "POS",
49
+ "PRP",
50
+ "PRP$",
51
+ "RB",
52
+ "RBR",
53
+ "RBS",
54
+ "RP",
55
+ "SYM",
56
+ "TO",
57
+ "UH",
58
+ "VB",
59
+ "VBD",
60
+ "VBG",
61
+ "VBN",
62
+ "VBP",
63
+ "VBZ",
64
+ "WDT",
65
+ "WP",
66
+ "WP$",
67
+ "WRB"
68
+ ],
69
+ "_type": "ClassLabel"
70
+ },
71
+ "_type": "Sequence"
72
+ },
73
+ "chunk_tags": {
74
+ "feature": {
75
+ "names": [
76
+ "O",
77
+ "B-ADJP",
78
+ "I-ADJP",
79
+ "B-ADVP",
80
+ "I-ADVP",
81
+ "B-CONJP",
82
+ "I-CONJP",
83
+ "B-INTJ",
84
+ "I-INTJ",
85
+ "B-LST",
86
+ "I-LST",
87
+ "B-NP",
88
+ "I-NP",
89
+ "B-PP",
90
+ "I-PP",
91
+ "B-PRT",
92
+ "I-PRT",
93
+ "B-SBAR",
94
+ "I-SBAR",
95
+ "B-UCP",
96
+ "I-UCP",
97
+ "B-VP",
98
+ "I-VP"
99
+ ],
100
+ "_type": "ClassLabel"
101
+ },
102
+ "_type": "Sequence"
103
+ },
104
+ "ner_tags": {
105
+ "feature": {
106
+ "names": [
107
+ "O",
108
+ "B-PER",
109
+ "I-PER",
110
+ "B-ORG",
111
+ "I-ORG",
112
+ "B-LOC",
113
+ "I-LOC",
114
+ "B-MISC",
115
+ "I-MISC"
116
+ ],
117
+ "_type": "ClassLabel"
118
+ },
119
+ "_type": "Sequence"
120
+ }
121
+ },
122
+ "builder_name": "conll2003-mini",
123
+ "config_name": "conll2003-mini",
124
+ "version": {
125
+ "version_str": "1.0.0",
126
+ "major": 1,
127
+ "minor": 0,
128
+ "patch": 0
129
+ },
130
+ "splits": {
131
+ "train": {
132
+ "name": "train",
133
+ "num_bytes": 8025,
134
+ "num_examples": 10,
135
+ "dataset_name": "conll2003-mini"
136
+ },
137
+ "validation": {
138
+ "name": "validation",
139
+ "num_bytes": 9653,
140
+ "num_examples": 10,
141
+ "dataset_name": "conll2003-mini"
142
+ },
143
+ "test": {
144
+ "name": "test",
145
+ "num_bytes": 6638,
146
+ "num_examples": 10,
147
+ "dataset_name": "conll2003-mini"
148
+ }
149
+ },
150
+ "download_checksums": {
151
+ "https://data.deepai.org/conll2003.zip": {
152
+ "num_bytes": 982975,
153
+ "checksum": null
154
+ }
155
+ },
156
+ "download_size": 982975,
157
+ "dataset_size": 24316,
158
+ "size_in_bytes": 1007291
159
+ }