Dataset Preview
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed because of a cast error
Error code: DatasetGenerationCastError
Exception: DatasetGenerationCastError
Message: An error occurred while generating the dataset
All the data files must have the same columns, but at some point there are 5 new columns ({'bleu', 'original_filename', 'tgt_index', 'filename', 'page_idx'})
This happened while the json dataset builder was generating data using
zip://dev/dataset-dev-s2s-text-m1.json::/tmp/hf-datasets-cache/medium/datasets/13612433264688-config-parquet-and-info-hantian-ReadingBank-76879877/hub/datasets--hantian--ReadingBank/snapshots/e227b06c57d7beeb46c94f4bfb72d3c2fd310319/ReadingBank.zip
Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)
Traceback: Traceback (most recent call last):
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1871, in _prepare_split_single
writer.write_table(table)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 643, in write_table
pa_table = table_cast(pa_table, self._schema)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2293, in table_cast
return cast_table_to_schema(table, schema)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2241, in cast_table_to_schema
raise CastError(
datasets.table.CastError: Couldn't cast
src: string
tgt: string
bleu: double
tgt_index: list<item: int64>
child 0, item: int64
original_filename: string
filename: string
page_idx: int64
to
{'src': Sequence(feature=Sequence(feature=Value(dtype='int64', id=None), length=-1, id=None), length=-1, id=None), 'tgt': Sequence(feature=Sequence(feature=Value(dtype='int64', id=None), length=-1, id=None), length=-1, id=None)}
because column names don't match
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1436, in compute_config_parquet_and_info_response
parquet_operations = convert_to_parquet(builder)
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1053, in convert_to_parquet
builder.download_and_prepare(
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 925, in download_and_prepare
self._download_and_prepare(
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1001, in _download_and_prepare
self._prepare_split(split_generator, **prepare_split_kwargs)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1742, in _prepare_split
for job_id, done, content in self._prepare_split_single(
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1873, in _prepare_split_single
raise DatasetGenerationCastError.from_cast_error(
datasets.exceptions.DatasetGenerationCastError: An error occurred while generating the dataset
All the data files must have the same columns, but at some point there are 5 new columns ({'bleu', 'original_filename', 'tgt_index', 'filename', 'page_idx'})
This happened while the json dataset builder was generating data using
zip://dev/dataset-dev-s2s-text-m1.json::/tmp/hf-datasets-cache/medium/datasets/13612433264688-config-parquet-and-info-hantian-ReadingBank-76879877/hub/datasets--hantian--ReadingBank/snapshots/e227b06c57d7beeb46c94f4bfb72d3c2fd310319/ReadingBank.zip
Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
src sequence | tgt sequence |
|---|---|
[
[
120,
104,
148,
121
],
[
154,
104,
191,
121
],
[
197,
104,
313,
121
],
[
319,
104,
350,
121
],
[
356,
104,
378,
121
],
[
384,
104,
495,
121
],
[
501,
104,
569,
121
],
[
57... | [
[
120,
104,
148,
121
],
[
154,
104,
191,
121
],
[
197,
104,
313,
121
],
[
319,
104,
350,
121
],
[
356,
104,
378,
121
],
[
384,
104,
495,
121
],
[
501,
104,
569,
121
],
[
57... |
[
[
200,
158,
267,
182
],
[
270,
158,
278,
182
],
[
281,
158,
324,
182
],
[
328,
158,
381,
182
],
[
385,
158,
400,
182
],
[
404,
158,
432,
182
],
[
768,
158,
815,
182
],
[
81... | [
[
41,
473,
60,
450
],
[
41,
430,
60,
420
],
[
41,
400,
60,
380
],
[
88,
159,
95,
182
],
[
109,
159,
155,
182
],
[
109,
182,
116,
205
],
[
120,
182,
147,
205
],
[
109,
2... |
[
[
95,
89,
179,
104
],
[
184,
89,
209,
104
],
[
214,
89,
296,
104
],
[
366,
118,
449,
134
],
[
454,
118,
560,
134
],
[
565,
118,
632,
134
],
[
419,
135,
456,
151
],
[
462,
... | [
[
95,
89,
179,
104
],
[
184,
89,
209,
104
],
[
214,
89,
296,
104
],
[
366,
118,
449,
134
],
[
454,
118,
560,
134
],
[
565,
118,
632,
134
],
[
419,
135,
456,
151
],
[
462,
... |
[
[
580,
145,
645,
171
],
[
662,
145,
711,
171
],
[
649,
148,
658,
170
],
[
580,
167,
610,
194
],
[
614,
167,
670,
194
],
[
674,
167,
696,
194
],
[
580,
190,
651,
217
],
[
65... | [
[
580,
145,
645,
171
],
[
649,
148,
658,
170
],
[
662,
145,
711,
171
],
[
580,
167,
610,
194
],
[
614,
167,
670,
194
],
[
674,
167,
696,
194
],
[
580,
190,
651,
217
],
[
65... |
[
[
117,
89,
156,
106
],
[
161,
89,
207,
106
],
[
211,
89,
243,
106
],
[
248,
89,
252,
106
],
[
257,
89,
313,
106
],
[
318,
89,
448,
106
],
[
453,
89,
467,
106
],
[
472,
... | [
[
117,
89,
156,
106
],
[
161,
89,
207,
106
],
[
211,
89,
243,
106
],
[
248,
89,
252,
106
],
[
257,
89,
313,
106
],
[
318,
89,
448,
106
],
[
453,
89,
467,
106
],
[
472,
... |
[
[
149,
85,
215,
97
],
[
218,
85,
261,
97
],
[
547,
97,
587,
110
],
[
591,
97,
628,
110
],
[
319,
110,
360,
122
],
[
363,
110,
385,
122
],
[
389,
110,
457,
122
],
[
149,
... | [
[
149,
85,
215,
97
],
[
218,
85,
261,
97
],
[
149,
122,
196,
134
],
[
200,
122,
250,
134
],
[
149,
159,
182,
171
],
[
185,
159,
228,
171
],
[
149,
195,
199,
208
],
[
202,
... |
[
[
130,
126,
151,
141
],
[
175,
126,
238,
141
],
[
242,
126,
256,
141
],
[
261,
126,
320,
141
],
[
353,
126,
380,
141
],
[
385,
126,
399,
141
],
[
461,
126,
504,
141
],
[
54... | [
[
130,
126,
151,
141
],
[
175,
126,
238,
141
],
[
242,
126,
256,
141
],
[
261,
126,
320,
141
],
[
175,
143,
220,
158
],
[
224,
143,
247,
158
],
[
251,
143,
304,
158
],
[
17... |
[
[
130,
126,
150,
140
],
[
175,
126,
245,
140
],
[
461,
126,
501,
140
],
[
544,
126,
613,
140
],
[
651,
126,
700,
140
],
[
722,
126,
775,
140
],
[
806,
126,
886,
140
],
[
38... | [
[
130,
126,
150,
140
],
[
175,
126,
245,
140
],
[
382,
143,
416,
157
],
[
461,
126,
501,
140
],
[
544,
126,
613,
140
],
[
544,
143,
560,
157
],
[
564,
143,
619,
157
],
[
65... |
[
[
130,
126,
151,
141
],
[
175,
126,
238,
141
],
[
242,
126,
256,
141
],
[
353,
126,
442,
141
],
[
461,
126,
504,
141
],
[
544,
126,
583,
141
],
[
722,
126,
738,
141
],
[
74... | [
[
130,
126,
151,
141
],
[
175,
126,
238,
141
],
[
242,
126,
256,
141
],
[
175,
143,
263,
158
],
[
268,
143,
282,
158
],
[
175,
160,
249,
174
],
[
254,
160,
313,
174
],
[
17... |
[
[
117,
93,
174,
109
],
[
180,
93,
206,
109
],
[
212,
93,
324,
109
],
[
330,
93,
366,
109
],
[
371,
93,
409,
109
],
[
415,
93,
471,
109
],
[
476,
93,
552,
109
],
[
558,
... | [
[
117,
93,
174,
109
],
[
180,
93,
206,
109
],
[
212,
93,
324,
109
],
[
330,
93,
366,
109
],
[
371,
93,
409,
109
],
[
415,
93,
471,
109
],
[
476,
93,
552,
109
],
[
558,
... |
[
[
120,
61,
178,
75
],
[
183,
61,
210,
75
],
[
215,
61,
253,
75
],
[
257,
61,
333,
75
],
[
337,
61,
374,
75
],
[
378,
61,
402,
75
],
[
407,
61,
455,
75
],
[
460,
61,
... | [
[
120,
61,
178,
75
],
[
183,
61,
210,
75
],
[
215,
61,
253,
75
],
[
257,
61,
333,
75
],
[
337,
61,
374,
75
],
[
378,
61,
402,
75
],
[
407,
61,
455,
75
],
[
460,
61,
... |
[
[
589,
118,
606,
139
],
[
610,
118,
660,
139
],
[
729,
118,
745,
139
],
[
755,
118,
805,
139
],
[
589,
136,
664,
156
],
[
669,
136,
701,
156
],
[
729,
136,
830,
156
],
[
83... | [
[
97,
169,
129,
187
],
[
134,
169,
159,
187
],
[
164,
169,
170,
187
],
[
174,
169,
207,
187
],
[
211,
169,
237,
187
],
[
97,
185,
160,
203
],
[
164,
185,
172,
203
],
[
177,... |
[
[
358,
54,
484,
75
],
[
490,
54,
641,
75
],
[
88,
74,
382,
95
],
[
598,
74,
794,
95
],
[
88,
91,
227,
112
],
[
595,
91,
626,
112
],
[
631,
91,
701,
112
],
[
88,
126,
... | [
[
358,
54,
484,
75
],
[
490,
54,
641,
75
],
[
88,
74,
382,
95
],
[
598,
74,
794,
95
],
[
88,
91,
227,
112
],
[
595,
91,
626,
112
],
[
631,
91,
701,
112
],
[
88,
126,
... |
[
[
152,
89,
215,
107
],
[
220,
89,
259,
107
],
[
263,
89,
304,
107
],
[
309,
89,
370,
107
],
[
374,
89,
462,
107
],
[
467,
89,
484,
107
],
[
488,
89,
569,
107
],
[
574,
... | [
[
152,
89,
215,
107
],
[
220,
89,
259,
107
],
[
263,
89,
304,
107
],
[
309,
89,
370,
107
],
[
374,
89,
462,
107
],
[
467,
89,
484,
107
],
[
488,
89,
569,
107
],
[
574,
... |
[
[
111,
243,
173,
257
],
[
178,
243,
217,
257
],
[
222,
243,
285,
257
],
[
290,
243,
301,
257
],
[
306,
243,
332,
257
],
[
337,
243,
359,
257
],
[
364,
243,
413,
257
],
[
41... | [
[
111,
243,
173,
257
],
[
178,
243,
217,
257
],
[
222,
243,
285,
257
],
[
290,
243,
301,
257
],
[
306,
243,
332,
257
],
[
337,
243,
359,
257
],
[
364,
243,
413,
257
],
[
41... |
[
[
252,
83,
287,
102
],
[
323,
83,
343,
102
],
[
348,
83,
393,
102
],
[
398,
83,
462,
102
],
[
467,
83,
491,
102
],
[
496,
83,
548,
102
],
[
553,
83,
582,
102
],
[
587,
... | [
[
211,
86,
247,
101
],
[
252,
83,
287,
102
],
[
292,
86,
318,
101
],
[
323,
83,
343,
102
],
[
348,
83,
393,
102
],
[
398,
83,
462,
102
],
[
467,
83,
491,
102
],
[
496,
... |
[
[
151,
83,
187,
102
],
[
192,
83,
215,
102
],
[
220,
83,
256,
102
],
[
261,
83,
281,
102
],
[
286,
83,
303,
102
],
[
313,
83,
341,
102
],
[
346,
83,
384,
102
],
[
389,
... | [
[
151,
83,
187,
102
],
[
192,
83,
215,
102
],
[
220,
83,
256,
102
],
[
261,
83,
281,
102
],
[
286,
83,
303,
102
],
[
313,
83,
341,
102
],
[
346,
83,
384,
102
],
[
389,
... |
[
[
201,
83,
268,
102
],
[
273,
83,
349,
102
],
[
355,
83,
370,
102
],
[
376,
83,
424,
102
],
[
429,
83,
496,
102
],
[
501,
83,
518,
102
],
[
523,
83,
549,
102
],
[
559,
... | [
[
151,
86,
196,
101
],
[
201,
83,
268,
102
],
[
273,
83,
349,
102
],
[
355,
83,
370,
102
],
[
376,
83,
424,
102
],
[
429,
83,
496,
102
],
[
501,
83,
518,
102
],
[
523,
... |
[
[
184,
89,
199,
109
],
[
203,
89,
293,
109
],
[
298,
89,
368,
109
],
[
374,
89,
429,
109
],
[
434,
89,
503,
109
],
[
508,
89,
536,
109
],
[
541,
89,
635,
109
],
[
770,
... | [
[
110,
91,
179,
108
],
[
184,
89,
199,
109
],
[
203,
89,
293,
109
],
[
298,
89,
368,
109
],
[
374,
89,
429,
109
],
[
434,
89,
503,
109
],
[
508,
89,
536,
109
],
[
541,
... |
[
[
143,
137,
196,
151
],
[
143,
168,
167,
182
],
[
171,
168,
254,
182
],
[
258,
168,
327,
182
],
[
332,
168,
367,
182
],
[
372,
168,
402,
182
],
[
406,
168,
434,
182
],
[
43... | [
[
143,
137,
196,
151
],
[
143,
168,
167,
182
],
[
171,
168,
254,
182
],
[
258,
168,
327,
182
],
[
332,
168,
367,
182
],
[
372,
168,
402,
182
],
[
406,
168,
434,
182
],
[
43... |
[
[
330,
119,
399,
142
],
[
403,
119,
412,
142
],
[
415,
119,
422,
142
],
[
465,
119,
511,
142
],
[
572,
119,
603,
142
],
[
607,
119,
644,
142
],
[
648,
119,
687,
142
],
[
69... | [
[
56,
660,
123,
683
],
[
56,
679,
107,
702
],
[
56,
699,
105,
722
],
[
56,
718,
95,
741
],
[
330,
119,
399,
142
],
[
403,
119,
412,
142
],
[
415,
119,
422,
142
],
[
425,
... |
[
[
190,
132,
253,
151
],
[
261,
132,
286,
151
],
[
294,
132,
349,
151
],
[
358,
132,
375,
151
],
[
383,
132,
439,
151
],
[
448,
132,
509,
151
],
[
517,
132,
542,
151
],
[
55... | [
[
190,
132,
253,
151
],
[
261,
132,
286,
151
],
[
294,
132,
349,
151
],
[
358,
132,
375,
151
],
[
383,
132,
439,
151
],
[
448,
132,
509,
151
],
[
517,
132,
542,
151
],
[
55... |
[
[
117,
116,
145,
133
],
[
150,
116,
214,
133
],
[
219,
116,
267,
133
],
[
272,
116,
294,
133
],
[
299,
116,
323,
133
],
[
328,
116,
358,
133
],
[
363,
116,
398,
133
],
[
40... | [
[
117,
116,
145,
133
],
[
150,
116,
214,
133
],
[
219,
116,
267,
133
],
[
272,
116,
294,
133
],
[
299,
116,
323,
133
],
[
328,
116,
358,
133
],
[
363,
116,
398,
133
],
[
40... |
[
[
327,
201,
375,
222
],
[
380,
201,
397,
222
],
[
402,
201,
499,
222
],
[
504,
201,
575,
222
],
[
580,
201,
672,
222
],
[
288,
220,
322,
237
],
[
327,
220,
339,
237
],
[
36... | [
[
327,
201,
375,
222
],
[
380,
201,
397,
222
],
[
402,
201,
499,
222
],
[
504,
201,
575,
222
],
[
580,
201,
672,
222
],
[
288,
220,
322,
237
],
[
327,
220,
339,
237
],
[
28... |
[
[
115,
159,
213,
176
],
[
211,
159,
279,
176
],
[
276,
159,
300,
176
],
[
297,
159,
398,
176
],
[
117,
229,
171,
246
],
[
175,
229,
194,
246
],
[
764,
229,
807,
246
],
[
81... | [
[
115,
159,
213,
176
],
[
211,
159,
279,
176
],
[
276,
159,
300,
176
],
[
297,
159,
398,
176
],
[
117,
229,
171,
246
],
[
175,
229,
194,
246
],
[
764,
229,
807,
246
],
[
81... |
End of preview.
Please refer to https://github.com/doc-analysis/ReadingBank
- Downloads last month
- 26