ignatius/cyT5-small
Text2Text Generation
•
Updated
•
3
Error code: DatasetGenerationError Exception: TypeError Message: Couldn't cast array of type struct<1163: string, 1164: string, 1167: string, 1169: string, 1170: string, 1172: string, 1174: string, 1180: string, 1183: string, 1188: string, 1189: string, 1191: string, 1195: string, 1199: string, 1200: string, 1205: string, 1206: string, 1207: string, 1208: string, 1209: string, 1217: string, 1219: string, 1222: string, 1224: string, 1226: string, 1227: string, 1228: string, 1229: string, 1230: string, 1231: string, 1235: string, 1238: string, 1239: string, 1242: string, 1243: string, 1244: string, 1246: string, 1247: string, 1250: string, 1252: string, 1253: string, 1256: string, 1257: string, 1258: string, 1262: string, 1263: string, 1267: string, 1268: string, 1270: string, 1273: string, 1275: string, 1279: string, 1280: string, 1281: string, 1282: string, 1283: string, 1288: string, 1289: string, 1290: string, 1292: string, 1293: string, 1297: string, 1298: string, 1300: string, 1302: string, 1304: string, 1305: string, 1308: string, 1309: string, 1315: string, 1316: string, 1317: string, 1319: string, 1325: string, 1326: string, 1328: string, 1330: string, 1333: string, 1334: string, 1336: string, 1339: string, 1340: string, 1342: string, 1346: string, 1347: string, 1349: string, 1350: string, 1351: string, 1352: string, 1355: string, 1356: string, 1357: string, 1358: string, 1359: string, 1360: string, 1362: string, 1363: string, 1364: string, 1365: string, 1366: string> to {'000': Value(dtype='string', id=None), '001': Value(dtype='string', id=None), '004': Value(dtype='string', id=None), '006': Value(dtype='string', id=None), '007': Value(dtype='string', id=None), '011': Value(dtype='string', id=None), '012': Value(dtype='string', id=None), '016': Value(dtype='string', id=None), '017': Value(dtype='string', id=None), '020': Value(dtype='string', id=None), '021': Value(dtype='string', id=None), '022': Value(dtype='string', id=None), '023': Value(dtype='string', id=None), '025': Value(dtype='string', id=None), '027': Value(dtype='string', id=None), '029': Value(dtype='string', id=None), '035': Value(dtype='string', id=None), '039': Value(dtype='string', id=None), '045': Value(dtype='string', id=None), '047': Value(dtype='string', id=None), '051': Value(dtype='string', id=None), '053': Value(dtype='string', id=None), '054': Value(dtype='string', id=None), '055': Value(dtype='string', id=None), '059': Value(dtype='string', id=None), '060': Value(dtype='string', id=None), '061': Value(dtype='string', id=None), '062': Value(dtype='string', id=None), '063': Value(dtype='string', id=None), '064': Value(dtype='string', id=None), '067': Value(dtype='string', id=None), '068': Value(dtype='string', id=None), '069': Value(dtype='string', id=None), '070': Value(dtype='string', id=None), '073': Value(dtype='string', id=None), '075': Value(dtype='string', id=None), '077': Value(dtype='string', id=None), '078': Value(dtype='string', id=None), '080': Value(dtyp ... ='string', id=None), '1094': Value(dtype='string', id=None), '1095': Value(dtype='string', id=None), '1098': Value(dtype='string', id=None), '1099': Value(dtype='string', id=None), '1102': Value(dtype='string', id=None), '1103': Value(dtype='string', id=None), '1105': Value(dtype='string', id=None), '1108': Value(dtype='string', id=None), '1109': Value(dtype='string', id=None), '1110': Value(dtype='string', id=None), '1115': Value(dtype='string', id=None), '1118': Value(dtype='string', id=None), '1120': Value(dtype='string', id=None), '1121': Value(dtype='string', id=None), '1122': Value(dtype='string', id=None), '1123': Value(dtype='string', id=None), '1127': Value(dtype='string', id=None), '1131': Value(dtype='string', id=None), '1133': Value(dtype='string', id=None), '1135': Value(dtype='string', id=None), '1136': Value(dtype='string', id=None), '1137': Value(dtype='string', id=None), '1139': Value(dtype='string', id=None), '1140': Value(dtype='string', id=None), '1141': Value(dtype='string', id=None), '1142': Value(dtype='string', id=None), '1143': Value(dtype='string', id=None), '1145': Value(dtype='string', id=None), '1146': Value(dtype='string', id=None), '1149': Value(dtype='string', id=None), '1151': Value(dtype='string', id=None), '1152': Value(dtype='string', id=None), '1154': Value(dtype='string', id=None), '1155': Value(dtype='string', id=None), '1156': Value(dtype='string', id=None), '1158': Value(dtype='string', id=None), '1161': Value(dtype='string', id=None)} Traceback: Traceback (most recent call last): File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 2011, in _prepare_split_single writer.write_table(table) File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 585, 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 2302, in table_cast return cast_table_to_schema(table, schema) File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2261, in cast_table_to_schema arrays = [cast_array_to_feature(table[name], feature) for name, feature in features.items()] File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2261, in <listcomp> arrays = [cast_array_to_feature(table[name], feature) for name, feature in features.items()] File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 1802, in wrapper return pa.chunked_array([func(chunk, *args, **kwargs) for chunk in array.chunks]) File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 1802, in <listcomp> return pa.chunked_array([func(chunk, *args, **kwargs) for chunk in array.chunks]) File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2122, in cast_array_to_feature raise TypeError(f"Couldn't cast array of type\n{_short_str(array.type)}\nto\n{_short_str(feature)}") TypeError: Couldn't cast array of type struct<1163: string, 1164: string, 1167: string, 1169: string, 1170: string, 1172: string, 1174: string, 1180: string, 1183: string, 1188: string, 1189: string, 1191: string, 1195: string, 1199: string, 1200: string, 1205: string, 1206: string, 1207: string, 1208: string, 1209: string, 1217: string, 1219: string, 1222: string, 1224: string, 1226: string, 1227: string, 1228: string, 1229: string, 1230: string, 1231: string, 1235: string, 1238: string, 1239: string, 1242: string, 1243: string, 1244: string, 1246: string, 1247: string, 1250: string, 1252: string, 1253: string, 1256: string, 1257: string, 1258: string, 1262: string, 1263: string, 1267: string, 1268: string, 1270: string, 1273: string, 1275: string, 1279: string, 1280: string, 1281: string, 1282: string, 1283: string, 1288: string, 1289: string, 1290: string, 1292: string, 1293: string, 1297: string, 1298: string, 1300: string, 1302: string, 1304: string, 1305: string, 1308: string, 1309: string, 1315: string, 1316: string, 1317: string, 1319: string, 1325: string, 1326: string, 1328: string, 1330: string, 1333: string, 1334: string, 1336: string, 1339: string, 1340: string, 1342: string, 1346: string, 1347: string, 1349: string, 1350: string, 1351: string, 1352: string, 1355: string, 1356: string, 1357: string, 1358: string, 1359: string, 1360: string, 1362: string, 1363: string, 1364: string, 1365: string, 1366: string> to {'000': Value(dtype='string', id=None), '001': Value(dtype='string', id=None), '004': Value(dtype='string', id=None), '006': Value(dtype='string', id=None), '007': Value(dtype='string', id=None), '011': Value(dtype='string', id=None), '012': Value(dtype='string', id=None), '016': Value(dtype='string', id=None), '017': Value(dtype='string', id=None), '020': Value(dtype='string', id=None), '021': Value(dtype='string', id=None), '022': Value(dtype='string', id=None), '023': Value(dtype='string', id=None), '025': Value(dtype='string', id=None), '027': Value(dtype='string', id=None), '029': Value(dtype='string', id=None), '035': Value(dtype='string', id=None), '039': Value(dtype='string', id=None), '045': Value(dtype='string', id=None), '047': Value(dtype='string', id=None), '051': Value(dtype='string', id=None), '053': Value(dtype='string', id=None), '054': Value(dtype='string', id=None), '055': Value(dtype='string', id=None), '059': Value(dtype='string', id=None), '060': Value(dtype='string', id=None), '061': Value(dtype='string', id=None), '062': Value(dtype='string', id=None), '063': Value(dtype='string', id=None), '064': Value(dtype='string', id=None), '067': Value(dtype='string', id=None), '068': Value(dtype='string', id=None), '069': Value(dtype='string', id=None), '070': Value(dtype='string', id=None), '073': Value(dtype='string', id=None), '075': Value(dtype='string', id=None), '077': Value(dtype='string', id=None), '078': Value(dtype='string', id=None), '080': Value(dtyp ... ='string', id=None), '1094': Value(dtype='string', id=None), '1095': Value(dtype='string', id=None), '1098': Value(dtype='string', id=None), '1099': Value(dtype='string', id=None), '1102': Value(dtype='string', id=None), '1103': Value(dtype='string', id=None), '1105': Value(dtype='string', id=None), '1108': Value(dtype='string', id=None), '1109': Value(dtype='string', id=None), '1110': Value(dtype='string', id=None), '1115': Value(dtype='string', id=None), '1118': Value(dtype='string', id=None), '1120': Value(dtype='string', id=None), '1121': Value(dtype='string', id=None), '1122': Value(dtype='string', id=None), '1123': Value(dtype='string', id=None), '1127': Value(dtype='string', id=None), '1131': Value(dtype='string', id=None), '1133': Value(dtype='string', id=None), '1135': Value(dtype='string', id=None), '1136': Value(dtype='string', id=None), '1137': Value(dtype='string', id=None), '1139': Value(dtype='string', id=None), '1140': Value(dtype='string', id=None), '1141': Value(dtype='string', id=None), '1142': Value(dtype='string', id=None), '1143': Value(dtype='string', id=None), '1145': Value(dtype='string', id=None), '1146': Value(dtype='string', id=None), '1149': Value(dtype='string', id=None), '1151': Value(dtype='string', id=None), '1152': Value(dtype='string', id=None), '1154': Value(dtype='string', id=None), '1155': Value(dtype='string', id=None), '1156': Value(dtype='string', id=None), '1158': Value(dtype='string', id=None), '1161': Value(dtype='string', id=None)} The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1529, 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 1154, in convert_to_parquet builder.download_and_prepare( File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1027, in download_and_prepare self._download_and_prepare( File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1122, 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 1882, 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 2038, in _prepare_split_single raise DatasetGenerationError("An error occurred while generating the dataset") from e datasets.exceptions.DatasetGenerationError: An error occurred while generating the dataset
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.
article
dict | human_summary
dict |
---|---|
{"000":"Roedd Andy Warhol (6 Awst 1928 – 22 Chwefror 1987) yn arlunydd Americaniad, y cymeriad mwy(...TRUNCATED) | {"000":"Roedd Andy Warhol (6 Awst 1928 22 Chwefror 1987) yn arlunydd Americanaidd ac ef oedd y ff(...TRUNCATED) |