Convert dataset to Parquet

#1
by ygorg - opened
README.md ADDED
@@ -0,0 +1,186 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ dataset_info:
3
+ - config_name: cls
4
+ features:
5
+ - name: id
6
+ dtype: string
7
+ - name: document_id
8
+ dtype: string
9
+ - name: tokens
10
+ list: string
11
+ - name: label
12
+ dtype:
13
+ class_label:
14
+ names:
15
+ '0': negation_speculation
16
+ '1': negation
17
+ '2': neutral
18
+ '3': speculation
19
+ splits:
20
+ - name: train
21
+ num_bytes: 1173011
22
+ num_examples: 5073
23
+ - name: validation
24
+ num_bytes: 171520
25
+ num_examples: 725
26
+ - name: test
27
+ num_bytes: 334459
28
+ num_examples: 1450
29
+ download_size: 501672
30
+ dataset_size: 1678990
31
+ - config_name: ner_neg
32
+ features:
33
+ - name: id
34
+ dtype: string
35
+ - name: document_id
36
+ dtype: string
37
+ - name: tokens
38
+ list: string
39
+ - name: lemmas
40
+ list: string
41
+ - name: ner_tags
42
+ list:
43
+ class_label:
44
+ names:
45
+ '0': O
46
+ '1': B_cue_neg
47
+ '2': B_scope_neg
48
+ '3': I_scope_neg
49
+ splits:
50
+ - name: train
51
+ num_bytes: 3131389
52
+ num_examples: 5072
53
+ - name: validation
54
+ num_bytes: 432558
55
+ num_examples: 725
56
+ - name: test
57
+ num_bytes: 890383
58
+ num_examples: 1450
59
+ download_size: 905108
60
+ dataset_size: 4454330
61
+ - config_name: ner_spec
62
+ features:
63
+ - name: id
64
+ dtype: string
65
+ - name: document_id
66
+ dtype: string
67
+ - name: tokens
68
+ list: string
69
+ - name: lemmas
70
+ list: string
71
+ - name: ner_tags
72
+ list:
73
+ class_label:
74
+ names:
75
+ '0': O
76
+ '1': B_cue_spec
77
+ '2': B_scope_spec
78
+ '3': I_scope_spec
79
+ splits:
80
+ - name: train
81
+ num_bytes: 2860677
82
+ num_examples: 4620
83
+ - name: validation
84
+ num_bytes: 424113
85
+ num_examples: 660
86
+ - name: test
87
+ num_bytes: 829468
88
+ num_examples: 1321
89
+ download_size: 817513
90
+ dataset_size: 4114258
91
+ - config_name: pos
92
+ features:
93
+ - name: id
94
+ dtype: string
95
+ - name: document_id
96
+ dtype: string
97
+ - name: tokens
98
+ list: string
99
+ - name: lemmas
100
+ list: string
101
+ - name: pos_tags
102
+ list:
103
+ class_label:
104
+ names:
105
+ '0': B-ABR
106
+ '1': B-ADJ
107
+ '2': B-ADV
108
+ '3': B-DET:ART
109
+ '4': B-DET:POS
110
+ '5': B-INT
111
+ '6': B-KON
112
+ '7': B-NAM
113
+ '8': B-NN
114
+ '9': B-NOM
115
+ '10': B-NUM
116
+ '11': B-PREF
117
+ '12': B-PRO
118
+ '13': B-PRO:DEM
119
+ '14': B-PRO:IND
120
+ '15': B-PRO:PER
121
+ '16': B-PRO:POS
122
+ '17': B-PRO:REL
123
+ '18': B-PRP
124
+ '19': B-PRP:det
125
+ '20': B-PUN
126
+ '21': B-PUN:cit
127
+ '22': B-SENT
128
+ '23': B-SYM
129
+ '24': 'B-VER:'
130
+ '25': B-VER:cond
131
+ '26': B-VER:futu
132
+ '27': B-VER:impf
133
+ '28': B-VER:infi
134
+ '29': B-VER:pper
135
+ '30': B-VER:ppre
136
+ '31': B-VER:pres
137
+ '32': B-VER:simp
138
+ '33': B-VER:subi
139
+ '34': B-VER:subp
140
+ splits:
141
+ - name: train
142
+ num_bytes: 3131421
143
+ num_examples: 5072
144
+ - name: validation
145
+ num_bytes: 432558
146
+ num_examples: 725
147
+ - name: test
148
+ num_bytes: 890383
149
+ num_examples: 1450
150
+ download_size: 1003785
151
+ dataset_size: 4454362
152
+ configs:
153
+ - config_name: cls
154
+ data_files:
155
+ - split: train
156
+ path: cls/train-*
157
+ - split: validation
158
+ path: cls/validation-*
159
+ - split: test
160
+ path: cls/test-*
161
+ - config_name: ner_neg
162
+ data_files:
163
+ - split: train
164
+ path: ner_neg/train-*
165
+ - split: validation
166
+ path: ner_neg/validation-*
167
+ - split: test
168
+ path: ner_neg/test-*
169
+ - config_name: ner_spec
170
+ data_files:
171
+ - split: train
172
+ path: ner_spec/train-*
173
+ - split: validation
174
+ path: ner_spec/validation-*
175
+ - split: test
176
+ path: ner_spec/test-*
177
+ - config_name: pos
178
+ data_files:
179
+ - split: train
180
+ path: pos/train-*
181
+ - split: validation
182
+ path: pos/validation-*
183
+ - split: test
184
+ path: pos/test-*
185
+ default: true
186
+ ---
ESSAI.py → _attic/ESSAI.py RENAMED
File without changes
data.zip → _attic/data.zip RENAMED
File without changes
cls/test-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1f7a5fa1aed64f8a1abf22cef5c21da558c1bf7f57bde2e05355ca8dea794498
3
+ size 107588
cls/train-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2c98c342d2745694f39283ab73919bca6c0a1a9f6b648ecb092ae432dd96814a
3
+ size 337987
cls/validation-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7c769e1fd8a89db881323a2f789f799188c68a619bc73c64975a40bcb7277fc1
3
+ size 56097
ner_neg/test-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1b6365d6ccf3aa376f25bd0d788d6ac6a567c9e0931c9a2da55c2e48f3773be6
3
+ size 192990
ner_neg/train-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d77f1c6ec954e5f941a5c938a550a7d4ca9d65d0678703ba99ac045583fd331c
3
+ size 614271
ner_neg/validation-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3e1b92df0f19cf5dd1ffdefac8887dbb2410bd23c0958b7edfcdb16db2940e1f
3
+ size 97847
ner_spec/test-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:90ce9964fd657e99bd217d331031a55b9a83166aa56f72f6f5c5c8a9c9fb58cc
3
+ size 176037
ner_spec/train-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:07b310e981169bab368a5b0a073a6491f6aba3a580add64b4e21c372558132ab
3
+ size 547756
ner_spec/validation-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d87891e643f1d9ca85131be249daeec484bae0ee144dd26303735ae0acf17d1e
3
+ size 93720
pos/test-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2400357af12ccc2c8910c604d96c1f33e86c56d40ac0efe003aced504a572a05
3
+ size 213426
pos/train-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2608457c559ea0680c13ba7a1ee074786629209006858237caca8fb081ab2170
3
+ size 682130
pos/validation-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3042bacb319c96f11c8f314a6985226da1194a8ee68cd85222b51c07846caa65
3
+ size 108229