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 3 new columns ({'bbox', 'eval', 'content'}) and 1 missing columns ({'hint'}).
This happened while the csv dataset builder was generating data using
hf://datasets/QYWH/test/test_5.tsv (at revision 828a119fe54dc213dd96264242c59f988ae38236)
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
index: int64
image: string
question: string
answer: string
category: string
eval: string
bbox: string
content: string
-- schema metadata --
pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 1151
to
{'index': Value(dtype='int64', id=None), 'image': Value(dtype='string', id=None), 'question': Value(dtype='string', id=None), 'answer': Value(dtype='string', id=None), 'category': Value(dtype='string', id=None), 'hint': Value(dtype='string', 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 3 new columns ({'bbox', 'eval', 'content'}) and 1 missing columns ({'hint'}).
This happened while the csv dataset builder was generating data using
hf://datasets/QYWH/test/test_5.tsv (at revision 828a119fe54dc213dd96264242c59f988ae38236)
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.
index int64 | image string | question string | answer string | category string | hint null |
|---|---|---|---|---|---|
0 | /9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCAeABDgDASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIh... | What is the wrong answer 2? | ['enabled', 'on'] | APP agent en | null |
1 | "/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDA(...TRUNCATED) | "Which of the following options best matches the image? Here's some options: christmas, valentine, (...TRUNCATED) | ['wedding'] | ASCII art classification en | null |
2 | "/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDA(...TRUNCATED) | "从图中提取: 样品特征和状态, 主检, 检验类别, 审核, 样品名称, 并按json格(...TRUNCATED) | "[\"{'样品特征和状态': '外包装完好', '主检': '###', '检验类别': '省级专项抽(...TRUNCATED) | key information extraction cn | null |
3 | "/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDA(...TRUNCATED) | "Find out the value of 'Serving Size', 'Calories/Energy per serving', 'Total Fat per serving', 'Tota(...TRUNCATED) | "[\"{'SS': ['1/2 cup (122g)'], 'CE-PS': ['90'], 'TF-PS': ['0g'], 'TF-D': ['0%'], 'SO-PS': ['0mg'], '(...TRUNCATED) | key information extraction en | null |
4 | "/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDA(...TRUNCATED) | "According to the information in the image, please pair the corresponding keys and values below: Key(...TRUNCATED) | "[{'Calories/Energy per 100g/ml': ['49 kcal(206 kJ)'], 'Protein per serving': ['10.0 g'], 'Protein p(...TRUNCATED) | key information mapping en | null |
5 | "/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDA(...TRUNCATED) | "what is the brand of the fine whest ales? Output the answer with 'answer' and 'bbox'. 'bbox' refers(...TRUNCATED) | ['WILD BOAR'] | VQA with position en | null |
6 | "/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDA(...TRUNCATED) | Convert the key information in the chart into a nested python dict. | "[{'title': 'Medical breakthroughs and research funding', 'source': 'Data source: National Institute(...TRUNCATED) | chart parsing en | null |
7 | "/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDA(...TRUNCATED) | www.wlzq.cn是什么意思? | ['万联证券的网站'] | cognition VQA cn | null |
8 | "/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDA(...TRUNCATED) | How many meetings of the Audit committee were held in the financial year? | ['eight'] | cognition VQA en | null |
9 | "/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDA(...TRUNCATED) | What is the part that connects a leaf to a stem? blade, midrib, stipule, or petiole? | ['petiole'] | diagram QA en | null |
End of preview.
No dataset card yet
- Downloads last month
- 7