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 8 new columns ({'id', 'domain', 'source_lang', 'split', 'dataset', 'source_text', 'target_lang', 'target_text'}) and 3 missing columns ({'avg_source_length', 'unique_domains', 'total_records'}).
This happened while the csv dataset builder was generating data using
hf://datasets/LughaGen2/kenyan-languages-corpus-engine/kenyan_multilingual_dataset.csv (at revision 2b320526d5d221b4c8f96f0239076f25730646f5), ['hf://datasets/LughaGen2/kenyan-languages-corpus-engine@2b320526d5d221b4c8f96f0239076f25730646f5/dataset_statistics.csv', 'hf://datasets/LughaGen2/kenyan-languages-corpus-engine@2b320526d5d221b4c8f96f0239076f25730646f5/kenyan_multilingual_dataset.csv']
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 "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1837, in _prepare_split_single
writer.write_table(table)
~~~~~~~~~~~~~~~~~~^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 765, in write_table
self._write_table(pa_table, writer_batch_size=writer_batch_size)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 773, in _write_table
pa_table = table_cast(pa_table, self._schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2369, in table_cast
return cast_table_to_schema(table, schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2297, in cast_table_to_schema
raise CastError(
...<3 lines>...
)
datasets.table.CastError: Couldn't cast
id: int64
source_text: string
target_text: string
source_lang: string
target_lang: string
language_pair: string
domain: string
dataset: string
split: string
-- schema metadata --
pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 1332
to
{'language_pair': Value('string'), 'total_records': Value('int64'), 'unique_domains': Value('int64'), 'avg_source_length': Value('float64')}
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 1369, in compute_config_parquet_and_info_response
parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
~~~~~~~~~~~~~~~~~~~~~~~~~^
builder, max_dataset_size_bytes=max_dataset_size_bytes
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 948, in stream_convert_to_parquet
builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1683, in _prepare_split
for job_id, done, content in self._prepare_split_single(
~~~~~~~~~~~~~~~~~~~~~~~~~~^
gen_kwargs=gen_kwargs, job_id=job_id, **_prepare_split_args
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
):
^
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1839, in _prepare_split_single
raise DatasetGenerationCastError.from_cast_error(
...<4 lines>...
)
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 8 new columns ({'id', 'domain', 'source_lang', 'split', 'dataset', 'source_text', 'target_lang', 'target_text'}) and 3 missing columns ({'avg_source_length', 'unique_domains', 'total_records'}).
This happened while the csv dataset builder was generating data using
hf://datasets/LughaGen2/kenyan-languages-corpus-engine/kenyan_multilingual_dataset.csv (at revision 2b320526d5d221b4c8f96f0239076f25730646f5), ['hf://datasets/LughaGen2/kenyan-languages-corpus-engine@2b320526d5d221b4c8f96f0239076f25730646f5/dataset_statistics.csv', 'hf://datasets/LughaGen2/kenyan-languages-corpus-engine@2b320526d5d221b4c8f96f0239076f25730646f5/kenyan_multilingual_dataset.csv']
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.
language_pair string | total_records int64 | unique_domains int64 | avg_source_length float64 |
|---|---|---|---|
eng-kam | 1,679,956 | 1 | 43.919339 |
eng-kik | 2,200,684 | 1 | 47.877177 |
eng-luo | 40,422 | 1 | 130.720152 |
kam-kik | 18,710 | 1 | 47.132229 |
kam-swa | 223,350 | 1 | 49.367293 |
kik-swa | 219,495 | 1 | 49.210356 |
luo-eng | 1,470,655 | 1 | 51.975834 |
swa-eng | 203,321 | 1 | 48.917628 |
swa-kal | 131,960 | 1 | 50.52015 |
swa-shg | 1,567 | 1 | 50.583918 |
luo-eng | null | null | null |
eng-kam | null | null | null |
eng-kam | null | null | null |
eng-kam | null | null | null |
eng-kik | null | null | null |
kam-swa | null | null | null |
eng-kam | null | null | null |
eng-kam | null | null | null |
luo-eng | null | null | null |
luo-eng | null | null | null |
eng-kam | null | null | null |
eng-kik | null | null | null |
eng-kam | null | null | null |
eng-kam | null | null | null |
eng-kam | null | null | null |
luo-eng | null | null | null |
eng-kik | null | null | null |
eng-kam | null | null | null |
eng-kam | null | null | null |
eng-kam | null | null | null |
kik-swa | null | null | null |
kam-swa | null | null | null |
eng-kik | null | null | null |
luo-eng | null | null | null |
luo-eng | null | null | null |
luo-eng | null | null | null |
luo-eng | null | null | null |
eng-kik | null | null | null |
eng-kam | null | null | null |
eng-kik | null | null | null |
eng-kik | null | null | null |
eng-kam | null | null | null |
eng-kam | null | null | null |
luo-eng | null | null | null |
eng-kam | null | null | null |
eng-luo | null | null | null |
eng-kik | null | null | null |
eng-kik | null | null | null |
eng-kam | null | null | null |
luo-eng | null | null | null |
eng-kik | null | null | null |
eng-kam | null | null | null |
eng-kam | null | null | null |
luo-eng | null | null | null |
eng-kam | null | null | null |
eng-kam | null | null | null |
eng-kam | null | null | null |
eng-kik | null | null | null |
eng-kam | null | null | null |
eng-kik | null | null | null |
swa-eng | null | null | null |
luo-eng | null | null | null |
luo-eng | null | null | null |
eng-kam | null | null | null |
eng-kik | null | null | null |
luo-eng | null | null | null |
eng-kik | null | null | null |
swa-eng | null | null | null |
luo-eng | null | null | null |
swa-eng | null | null | null |
eng-kik | null | null | null |
luo-eng | null | null | null |
luo-eng | null | null | null |
luo-eng | null | null | null |
luo-eng | null | null | null |
eng-kik | null | null | null |
eng-kik | null | null | null |
luo-eng | null | null | null |
kik-swa | null | null | null |
luo-eng | null | null | null |
eng-kam | null | null | null |
eng-kam | null | null | null |
eng-kik | null | null | null |
eng-kam | null | null | null |
luo-eng | null | null | null |
eng-kik | null | null | null |
eng-kik | null | null | null |
luo-eng | null | null | null |
luo-eng | null | null | null |
eng-kam | null | null | null |
luo-eng | null | null | null |
luo-eng | null | null | null |
swa-kal | null | null | null |
eng-kik | null | null | null |
eng-kik | null | null | null |
eng-kik | null | null | null |
eng-kik | null | null | null |
eng-kik | null | null | null |
eng-kik | null | null | null |
luo-eng | null | null | null |
End of preview.
No dataset card yet
- Downloads last month
- 28