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 1 new columns ({'image_name'}) and 7 missing columns ({'option4', 'file_name', 'option1', 'type', 'image_id', 'option3', 'option2'}).
This happened while the csv dataset builder was generating data using
hf://datasets/OralGPT/MMOral-OPG-Bench/MMOral-OPG-Bench-Open-Ended.tsv (at revision 512cba7dc52e498ab0b3582245f9c73f71578117)
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.12/site-packages/datasets/builder.py", line 1831, in _prepare_split_single
writer.write_table(table)
File "/usr/local/lib/python3.12/site-packages/datasets/arrow_writer.py", line 714, in write_table
pa_table = table_cast(pa_table, self._schema)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2272, in table_cast
return cast_table_to_schema(table, schema)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2218, in cast_table_to_schema
raise CastError(
datasets.table.CastError: Couldn't cast
index: int64
image_name: string
image: string
question: string
answer: string
category: string
-- schema metadata --
pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 942
to
{'index': Value('int64'), 'image_id': Value('float64'), 'file_name': Value('string'), 'question': Value('string'), 'category': Value('string'), 'image': Value('string'), 'type': Value('string'), 'option1': Value('string'), 'option2': Value('string'), 'option3': Value('string'), 'option4': Value('string'), 'answer': Value('string')}
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 1455, 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 1054, in convert_to_parquet
builder.download_and_prepare(
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 894, in download_and_prepare
self._download_and_prepare(
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 970, in _download_and_prepare
self._prepare_split(split_generator, **prepare_split_kwargs)
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1702, in _prepare_split
for job_id, done, content in self._prepare_split_single(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1833, 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 1 new columns ({'image_name'}) and 7 missing columns ({'option4', 'file_name', 'option1', 'type', 'image_id', 'option3', 'option2'}).
This happened while the csv dataset builder was generating data using
hf://datasets/OralGPT/MMOral-OPG-Bench/MMOral-OPG-Bench-Open-Ended.tsv (at revision 512cba7dc52e498ab0b3582245f9c73f71578117)
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_id float64 | file_name string | question string | category string | image string | type string | option1 string | option2 string | option3 string | option4 string | answer string |
|---|---|---|---|---|---|---|---|---|---|---|---|
0 | 16,640 | 016640.jpg | Which of the following teeth is suspected to have caries? | Teeth,Patho | "/9j/4AAQSkZJRgABAQEBIgEiAAD/2wBDAAIBAQEBAQIBAQECAgICAgQDAgICAgUEBAMEBgUGBgYFBgYGBwkIBgcJBwYGCAsICQo(...TRUNCATED) | MCQ | #15 | #24 | #27 | #42 | A |
1 | 16,640 | 016640.jpg | How many natural teeth are visualized in the panoramic radiograph? | Teeth | "/9j/4AAQSkZJRgABAQEBIgEiAAD/2wBDAAIBAQEBAQIBAQECAgICAgQDAgICAgUEBAMEBgUGBgYFBgYGBwkIBgcJBwYGCAsICQo(...TRUNCATED) | MCQ | 28 | 31 | 32 | 34 | B |
2 | 16,640 | 016640.jpg | Which tooth shows signs of a periapical abscess? | Teeth,Patho | "/9j/4AAQSkZJRgABAQEBIgEiAAD/2wBDAAIBAQEBAQIBAQECAgICAgQDAgICAgUEBAMEBgUGBgYFBgYGBwkIBgcJBwYGCAsICQo(...TRUNCATED) | MCQ | #45 | #46 | #47 | #48 | B |
3 | 16,640 | 016640.jpg | Which of the following teeth has a crown and root canal treatment? | Teeth,HisT | "/9j/4AAQSkZJRgABAQEBIgEiAAD/2wBDAAIBAQEBAQIBAQECAgICAgQDAgICAgUEBAMEBgUGBgYFBgYGBwkIBgcJBwYGCAsICQo(...TRUNCATED) | MCQ | #15 | #15, and #16 | #26 | #31 | B |
4 | 16,640 | 016640.jpg | Which of the following is TRUE regarding the jaw-specific observations? | Jaw | "/9j/4AAQSkZJRgABAQEBIgEiAAD/2wBDAAIBAQEBAQIBAQECAgICAgQDAgICAgUEBAMEBgUGBgYFBgYGBwkIBgcJBwYGCAsICQo(...TRUNCATED) | MCQ | Apparent alveolar bone loss noted | Unilateral mandibular canals | No apparent bone loss | No mandibular canals visible | A |
5 | 16,641 | 016641.jpg | What is required for the periapical lesion at tooth 36? | Teeth,Patho | "/9j/4AAQSkZJRgABAQAAAQABAAD/4AAQSkZJRgABAAEA6wDrAAD//gAfTEVBRCBUZWNobm9sb2dpZXMgSW5jLiBWMS4wMQD/2wC(...TRUNCATED) | MCQ | Extraction | Filling | Crown restoration | Endodontic evaluation | D |
6 | 16,641 | 016641.jpg | Which structures are visible in the image? | HisT,Jaw | "/9j/4AAQSkZJRgABAQAAAQABAAD/4AAQSkZJRgABAAEA6wDrAAD//gAfTEVBRCBUZWNobm9sb2dpZXMgSW5jLiBWMS4wMQD/2wC(...TRUNCATED) | MCQ | Bilateral maxillary sinuses | Unilateral mandibular canal | Nasal cavity | Bilateral mandibular canals and bilateral maxillary sinuses | D |
7 | 16,641 | 016641.jpg | Which tooth exhibits imaging features suggestive of a periapical granuloma? | Teeth,Patho | "/9j/4AAQSkZJRgABAQAAAQABAAD/4AAQSkZJRgABAAEA6wDrAAD//gAfTEVBRCBUZWNobm9sb2dpZXMgSW5jLiBWMS4wMQD/2wC(...TRUNCATED) | MCQ | #34 | #35 | #36 | #37 | C |
8 | 16,641 | 016641.jpg | Which tooth is obvious for a filling? | Teeth,HisT,SumRec | "/9j/4AAQSkZJRgABAQAAAQABAAD/4AAQSkZJRgABAAEA6wDrAAD//gAfTEVBRCBUZWNobm9sb2dpZXMgSW5jLiBWMS4wMQD/2wC(...TRUNCATED) | MCQ | #35 | #37 | #38 | #39 | C |
9 | 16,642 | 016642.jpg | Is there any apparent bone loss in the image? | Jaw | "/9j/4AAQSkZJRgABAQAAAQABAAD/4AAQSkZJRgABAAEA6wDrAAD//gAfTEVBRCBUZWNobm9sb2dpZXMgSW5jLiBWMS4wMQD/2wC(...TRUNCATED) | MCQ | Yes | No | Unclear | Not mentioned | B |
End of preview.