Dataset Preview
Full Screen
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 11 new columns ({'img_name', 'content_type', 'img_id', 'question', 'modality', 'answer', 'location', 'q_lang', 'base_type', 'triple', 'qid'}) and 3 missing columns ({'image', 'id', 'conversations'}).

This happened while the json dataset builder was generating data using

hf://datasets/khanhduong/SLAKE_en/validation.json (at revision 676045908e3df875d660dc633900699dad59a637)

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 1869, in _prepare_split_single
                  writer.write_table(table)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 580, 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 2292, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2240, in cast_table_to_schema
                  raise CastError(
              datasets.table.CastError: Couldn't cast
              img_id: int64
              img_name: string
              question: string
              answer: string
              q_lang: string
              location: string
              modality: string
              answer_type: string
              base_type: string
              triple: list<item: string>
                child 0, item: string
              qid: int64
              content_type: string
              -- schema metadata --
              pandas: '{"index_columns": [], "column_indexes": [], "columns": [{"name":' + 1556
              to
              {'id': Value(dtype='int64', id=None), 'image': Value(dtype='string', id=None), 'conversations': [{'from': Value(dtype='string', id=None), 'value': Value(dtype='string', id=None)}], 'answer_type': 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 1392, 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 1041, in convert_to_parquet
                  builder.download_and_prepare(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 924, in download_and_prepare
                  self._download_and_prepare(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 999, 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 1740, 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 1871, 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 11 new columns ({'img_name', 'content_type', 'img_id', 'question', 'modality', 'answer', 'location', 'q_lang', 'base_type', 'triple', 'qid'}) and 3 missing columns ({'image', 'id', 'conversations'}).
              
              This happened while the json dataset builder was generating data using
              
              hf://datasets/khanhduong/SLAKE_en/validation.json (at revision 676045908e3df875d660dc633900699dad59a637)
              
              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.

id
int64
image
string
conversations
list
answer_type
string
151
xmlab120/source.jpg
[ { "from": "human", "value": "<image>\nWhat modality is used to take this image?" }, { "from": "gpt", "value": "X-Ray" } ]
OPEN
152
xmlab120/source.jpg
[ { "from": "human", "value": "<image>\nWhich part of the body does this image belong to?" }, { "from": "gpt", "value": "Chest" } ]
OPEN
153
xmlab120/source.jpg
[ { "from": "human", "value": "<image>\nAre there abnormalities in this image?" }, { "from": "gpt", "value": "Yes" } ]
CLOSED
154
xmlab120/source.jpg
[ { "from": "human", "value": "<image>\nWhat is the largest organ in the picture?" }, { "from": "gpt", "value": "Lung" } ]
OPEN
155
xmlab120/source.jpg
[ { "from": "human", "value": "<image>\nWhat diseases are included in the picture?" }, { "from": "gpt", "value": "Effusion" } ]
OPEN
156
xmlab120/source.jpg
[ { "from": "human", "value": "<image>\nWhere is/are the abnormality located?" }, { "from": "gpt", "value": "Right Lung, Lower Left" } ]
OPEN
157
xmlab120/source.jpg
[ { "from": "human", "value": "<image>\nIs the lung healthy?" }, { "from": "gpt", "value": "No" } ]
CLOSED
158
xmlab122/source.jpg
[ { "from": "human", "value": "<image>\nWhat modality is used to take this image?" }, { "from": "gpt", "value": "X-Ray" } ]
OPEN
159
xmlab122/source.jpg
[ { "from": "human", "value": "<image>\nWhich part of the body does this image belong to?" }, { "from": "gpt", "value": "Chest" } ]
OPEN
160
xmlab122/source.jpg
[ { "from": "human", "value": "<image>\nAre there abnormalities in this image?" }, { "from": "gpt", "value": "Yes" } ]
CLOSED
161
xmlab122/source.jpg
[ { "from": "human", "value": "<image>\nWhat is the largest organ in the picture?" }, { "from": "gpt", "value": "Lung" } ]
OPEN
162
xmlab122/source.jpg
[ { "from": "human", "value": "<image>\nWhat diseases are included in the picture?" }, { "from": "gpt", "value": "Noudle" } ]
OPEN
163
xmlab122/source.jpg
[ { "from": "human", "value": "<image>\nWhere is/are the abnormality located?" }, { "from": "gpt", "value": "Left Lung, Upper Right" } ]
OPEN
164
xmlab122/source.jpg
[ { "from": "human", "value": "<image>\nIs the lung healthy?" }, { "from": "gpt", "value": "No" } ]
CLOSED
165
xmlab123/source.jpg
[ { "from": "human", "value": "<image>\nWhat modality is used to take this image?" }, { "from": "gpt", "value": "X-Ray" } ]
OPEN
166
xmlab123/source.jpg
[ { "from": "human", "value": "<image>\nWhich part of the body does this image belong to?" }, { "from": "gpt", "value": "Chest" } ]
OPEN
167
xmlab123/source.jpg
[ { "from": "human", "value": "<image>\nAre there abnormalities in this image?" }, { "from": "gpt", "value": "Yes" } ]
CLOSED
168
xmlab123/source.jpg
[ { "from": "human", "value": "<image>\nWhat is the largest organ in the picture?" }, { "from": "gpt", "value": "Lung" } ]
OPEN
169
xmlab123/source.jpg
[ { "from": "human", "value": "<image>\nWhat diseases are included in the picture?" }, { "from": "gpt", "value": "Cardiomegaly, Pneumothorax" } ]
OPEN
170
xmlab123/source.jpg
[ { "from": "human", "value": "<image>\nWhere is/are the abnormality located?" }, { "from": "gpt", "value": "Center, Left Lung" } ]
OPEN
171
xmlab123/source.jpg
[ { "from": "human", "value": "<image>\nIs the lung healthy?" }, { "from": "gpt", "value": "No" } ]
CLOSED
172
xmlab123/source.jpg
[ { "from": "human", "value": "<image>\nWhich organ is abnormal, heart or lung?" }, { "from": "gpt", "value": "Both" } ]
CLOSED
173
xmlab125/source.jpg
[ { "from": "human", "value": "<image>\nWhat modality is used to take this image?" }, { "from": "gpt", "value": "X-Ray" } ]
OPEN
174
xmlab125/source.jpg
[ { "from": "human", "value": "<image>\nWhich part of the body does this image belong to?" }, { "from": "gpt", "value": "Chest" } ]
OPEN
175
xmlab125/source.jpg
[ { "from": "human", "value": "<image>\nDoes this image look abnormal?" }, { "from": "gpt", "value": "Yes" } ]
CLOSED
176
xmlab125/source.jpg
[ { "from": "human", "value": "<image>\nWhat is the largest organ in the picture?" }, { "from": "gpt", "value": "Lung" } ]
OPEN
177
xmlab125/source.jpg
[ { "from": "human", "value": "<image>\nWhat diseases are included in the picture?" }, { "from": "gpt", "value": "Nodule" } ]
OPEN
178
xmlab125/source.jpg
[ { "from": "human", "value": "<image>\nWhere is/are the abnormality located?" }, { "from": "gpt", "value": "Left Lung, Lower Right" } ]
OPEN
179
xmlab125/source.jpg
[ { "from": "human", "value": "<image>\nIs the lung healthy?" }, { "from": "gpt", "value": "No" } ]
CLOSED
180
xmlab126/source.jpg
[ { "from": "human", "value": "<image>\nWhat modality is used to take this image?" }, { "from": "gpt", "value": "X-Ray" } ]
OPEN
181
xmlab126/source.jpg
[ { "from": "human", "value": "<image>\nWhich part of the body does this image belong to?" }, { "from": "gpt", "value": "Chest" } ]
OPEN
182
xmlab126/source.jpg
[ { "from": "human", "value": "<image>\nWhat is the largest organ in the picture?" }, { "from": "gpt", "value": "Lung" } ]
OPEN
183
xmlab126/source.jpg
[ { "from": "human", "value": "<image>\nWhat diseases are included in the picture?" }, { "from": "gpt", "value": "Atelectasis" } ]
OPEN
184
xmlab126/source.jpg
[ { "from": "human", "value": "<image>\nWhere is/are the abnormality located?" }, { "from": "gpt", "value": "Right Lung, Left" } ]
OPEN
185
xmlab126/source.jpg
[ { "from": "human", "value": "<image>\nAre there abnormalities in this image?" }, { "from": "gpt", "value": "Yes" } ]
CLOSED
186
xmlab126/source.jpg
[ { "from": "human", "value": "<image>\nDoes the lung look healthy?" }, { "from": "gpt", "value": "No" } ]
CLOSED
187
xmlab131/source.jpg
[ { "from": "human", "value": "<image>\nWhat modality is used to take this image?" }, { "from": "gpt", "value": "X-Ray" } ]
OPEN
188
xmlab131/source.jpg
[ { "from": "human", "value": "<image>\nWhich part of the body does this image belong to?" }, { "from": "gpt", "value": "Chest" } ]
OPEN
189
xmlab131/source.jpg
[ { "from": "human", "value": "<image>\nAre there abnormalities in this image?" }, { "from": "gpt", "value": "Yes" } ]
CLOSED
190
xmlab131/source.jpg
[ { "from": "human", "value": "<image>\nWhat is the largest organ in the picture?" }, { "from": "gpt", "value": "Lung" } ]
OPEN
191
xmlab131/source.jpg
[ { "from": "human", "value": "<image>\nWhat diseases are included in the picture?" }, { "from": "gpt", "value": "Atelectasis" } ]
OPEN
192
xmlab131/source.jpg
[ { "from": "human", "value": "<image>\nWhere is/are the abnormality located?" }, { "from": "gpt", "value": "Right Lung, Lower Left" } ]
OPEN
193
xmlab131/source.jpg
[ { "from": "human", "value": "<image>\nIs the lung healthy?" }, { "from": "gpt", "value": "No" } ]
CLOSED
194
xmlab132/source.jpg
[ { "from": "human", "value": "<image>\nWhat modality is used to take this image?" }, { "from": "gpt", "value": "X-Ray" } ]
OPEN
195
xmlab132/source.jpg
[ { "from": "human", "value": "<image>\nWhich part of the body does this image belong to?" }, { "from": "gpt", "value": "Chest" } ]
OPEN
196
xmlab132/source.jpg
[ { "from": "human", "value": "<image>\nAre there abnormalities in this image?" }, { "from": "gpt", "value": "Yes" } ]
CLOSED
197
xmlab132/source.jpg
[ { "from": "human", "value": "<image>\nWhat is the largest organ in the picture?" }, { "from": "gpt", "value": "Lung" } ]
OPEN
198
xmlab132/source.jpg
[ { "from": "human", "value": "<image>\nWhat diseases are included in the picture?" }, { "from": "gpt", "value": "Cardiomegal" } ]
OPEN
199
xmlab132/source.jpg
[ { "from": "human", "value": "<image>\nWhere is/are the abnormality located?" }, { "from": "gpt", "value": "Center" } ]
OPEN
200
xmlab132/source.jpg
[ { "from": "human", "value": "<image>\nWhich organ is abnormal, heart or lung?" }, { "from": "gpt", "value": "Heart" } ]
CLOSED
201
xmlab133/source.jpg
[ { "from": "human", "value": "<image>\nWhat modality is used to take this image?" }, { "from": "gpt", "value": "X-Ray" } ]
OPEN
202
xmlab133/source.jpg
[ { "from": "human", "value": "<image>\nWhich part of the body does this image belong to?" }, { "from": "gpt", "value": "Chest" } ]
OPEN
203
xmlab133/source.jpg
[ { "from": "human", "value": "<image>\nAre there abnormalities in this image?" }, { "from": "gpt", "value": "Yes" } ]
CLOSED
204
xmlab133/source.jpg
[ { "from": "human", "value": "<image>\nWhat is the largest organ in the picture?" }, { "from": "gpt", "value": "Lung" } ]
OPEN
205
xmlab133/source.jpg
[ { "from": "human", "value": "<image>\nWhat diseases are included in the picture?" }, { "from": "gpt", "value": "Pneumonia" } ]
OPEN
206
xmlab133/source.jpg
[ { "from": "human", "value": "<image>\nWhere is/are the abnormality located?" }, { "from": "gpt", "value": "Left Lung, Right" } ]
OPEN
207
xmlab133/source.jpg
[ { "from": "human", "value": "<image>\nIs the lung healthy?" }, { "from": "gpt", "value": "No" } ]
CLOSED
208
xmlab133/source.jpg
[ { "from": "human", "value": "<image>\nWhich organ is abnormal, heart or lung?" }, { "from": "gpt", "value": "Lung" } ]
CLOSED
209
xmlab134/source.jpg
[ { "from": "human", "value": "<image>\nWhat modality is used to take this image?" }, { "from": "gpt", "value": "X-Ray" } ]
OPEN
210
xmlab134/source.jpg
[ { "from": "human", "value": "<image>\nWhich part of the body does this image belong to?" }, { "from": "gpt", "value": "Chest" } ]
OPEN
211
xmlab134/source.jpg
[ { "from": "human", "value": "<image>\nAre there abnormalities in this image?" }, { "from": "gpt", "value": "Yes" } ]
CLOSED
212
xmlab134/source.jpg
[ { "from": "human", "value": "<image>\nWhat is the largest organ in the picture?" }, { "from": "gpt", "value": "Lung" } ]
OPEN
213
xmlab134/source.jpg
[ { "from": "human", "value": "<image>\nWhat diseases are included in the picture?" }, { "from": "gpt", "value": "Cardiomega" } ]
OPEN
214
xmlab134/source.jpg
[ { "from": "human", "value": "<image>\nWhere is/are the abnormality located?" }, { "from": "gpt", "value": "Center" } ]
OPEN
215
xmlab134/source.jpg
[ { "from": "human", "value": "<image>\nWhich organ is abnormal, heart or lung?" }, { "from": "gpt", "value": "Heart" } ]
CLOSED
216
xmlab136/source.jpg
[ { "from": "human", "value": "<image>\nWhat modality is used to take this image?" }, { "from": "gpt", "value": "X-Ray" } ]
OPEN
217
xmlab136/source.jpg
[ { "from": "human", "value": "<image>\nWhich part of the body does this image belong to?" }, { "from": "gpt", "value": "Chest" } ]
OPEN
218
xmlab136/source.jpg
[ { "from": "human", "value": "<image>\nWhat is the largest organ in the picture?" }, { "from": "gpt", "value": "Lung" } ]
OPEN
219
xmlab136/source.jpg
[ { "from": "human", "value": "<image>\nWhat diseases are included in the picture?" }, { "from": "gpt", "value": "Atelectasis" } ]
OPEN
220
xmlab136/source.jpg
[ { "from": "human", "value": "<image>\nWhere is/are the abnormality located?" }, { "from": "gpt", "value": "Left Lung, Right" } ]
OPEN
221
xmlab136/source.jpg
[ { "from": "human", "value": "<image>\nAre there abnormalities in this image?" }, { "from": "gpt", "value": "Yes" } ]
CLOSED
222
xmlab136/source.jpg
[ { "from": "human", "value": "<image>\nDoes the lung look abnormal?" }, { "from": "gpt", "value": "Yes" } ]
CLOSED
223
xmlab136/source.jpg
[ { "from": "human", "value": "<image>\nWhich organ is abnormal, heart or lung?" }, { "from": "gpt", "value": "Lung" } ]
CLOSED
224
xmlab137/source.jpg
[ { "from": "human", "value": "<image>\nWhat modality is used to take this image?" }, { "from": "gpt", "value": "X-Ray" } ]
OPEN
225
xmlab137/source.jpg
[ { "from": "human", "value": "<image>\nWhich part of the body does this image belong to?" }, { "from": "gpt", "value": "Chest" } ]
OPEN
226
xmlab137/source.jpg
[ { "from": "human", "value": "<image>\nAre there abnormalities in this image?" }, { "from": "gpt", "value": "Yes" } ]
CLOSED
227
xmlab137/source.jpg
[ { "from": "human", "value": "<image>\nWhat is the largest organ in the picture?" }, { "from": "gpt", "value": "Lung" } ]
OPEN
228
xmlab137/source.jpg
[ { "from": "human", "value": "<image>\nWhat diseases are included in the picture?" }, { "from": "gpt", "value": "Mass, Atelectasis" } ]
OPEN
229
xmlab137/source.jpg
[ { "from": "human", "value": "<image>\nWhere is/are the abnormality located?" }, { "from": "gpt", "value": "Both Lung" } ]
OPEN
230
xmlab137/source.jpg
[ { "from": "human", "value": "<image>\nIs the lung healthy?" }, { "from": "gpt", "value": "No" } ]
CLOSED
231
xmlab137/source.jpg
[ { "from": "human", "value": "<image>\nWhich organ is abnormal, heart or lung?" }, { "from": "gpt", "value": "Lung" } ]
CLOSED
232
xmlab138/source.jpg
[ { "from": "human", "value": "<image>\nWhat modality is used to take this image?" }, { "from": "gpt", "value": "X-Ray" } ]
OPEN
233
xmlab138/source.jpg
[ { "from": "human", "value": "<image>\nWhich part of the body does this image belong to?" }, { "from": "gpt", "value": "Chest" } ]
OPEN
234
xmlab138/source.jpg
[ { "from": "human", "value": "<image>\nWhat is the largest organ in the picture?" }, { "from": "gpt", "value": "Lung" } ]
OPEN
235
xmlab138/source.jpg
[ { "from": "human", "value": "<image>\nWhat diseases are included in the picture?" }, { "from": "gpt", "value": "Cardiomegaly" } ]
OPEN
236
xmlab138/source.jpg
[ { "from": "human", "value": "<image>\nWhere is/are the abnormality located?" }, { "from": "gpt", "value": "Center" } ]
OPEN
237
xmlab138/source.jpg
[ { "from": "human", "value": "<image>\nAre there abnormalities in this image?" }, { "from": "gpt", "value": "Yes" } ]
CLOSED
238
xmlab138/source.jpg
[ { "from": "human", "value": "<image>\nWhich organ is abnormal, heart or lung?" }, { "from": "gpt", "value": "Heart" } ]
CLOSED
247
xmlab140/source.jpg
[ { "from": "human", "value": "<image>\nWhat modality is used to take this image?" }, { "from": "gpt", "value": "X-Ray" } ]
OPEN
248
xmlab140/source.jpg
[ { "from": "human", "value": "<image>\nWhich part of the body does this image belong to?" }, { "from": "gpt", "value": "Chest" } ]
OPEN
249
xmlab140/source.jpg
[ { "from": "human", "value": "<image>\nWhat is the largest organ in the picture?" }, { "from": "gpt", "value": "Lung" } ]
OPEN
250
xmlab140/source.jpg
[ { "from": "human", "value": "<image>\nWhat diseases are included in the picture?" }, { "from": "gpt", "value": "Infiltration" } ]
OPEN
251
xmlab140/source.jpg
[ { "from": "human", "value": "<image>\nWhere is/are the abnormality located?" }, { "from": "gpt", "value": "Left Lung, Right" } ]
OPEN
252
xmlab140/source.jpg
[ { "from": "human", "value": "<image>\nAre there abnormalities in this image?" }, { "from": "gpt", "value": "Yes" } ]
CLOSED
253
xmlab140/source.jpg
[ { "from": "human", "value": "<image>\nIs the lung healthy?" }, { "from": "gpt", "value": "No" } ]
CLOSED
254
xmlab140/source.jpg
[ { "from": "human", "value": "<image>\nWhich organ is abnormal, heart or lung?" }, { "from": "gpt", "value": "Lung" } ]
CLOSED
255
xmlab141/source.jpg
[ { "from": "human", "value": "<image>\nWhat modality is used to take this image?" }, { "from": "gpt", "value": "X-Ray" } ]
OPEN
256
xmlab141/source.jpg
[ { "from": "human", "value": "<image>\nWhich part of the body does this image belong to?" }, { "from": "gpt", "value": "Chest" } ]
OPEN
257
xmlab141/source.jpg
[ { "from": "human", "value": "<image>\nWhat is the largest organ in the picture?" }, { "from": "gpt", "value": "Lung" } ]
OPEN
258
xmlab141/source.jpg
[ { "from": "human", "value": "<image>\nWhat diseases are included in the picture?" }, { "from": "gpt", "value": "Mass" } ]
OPEN
End of preview.

No dataset card yet

Downloads last month
6