Dataset Preview
Viewer
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 6 missing columns ({'docId', 'ucsf_document_page_no', 'ucsf_document_id', 'split', 'image_path', 'question_types'})

This happened while the csv dataset builder was generating data using

hf://datasets/lhndzn/TextVQA_val/TextVQA_VAL.tsv (at revision 45976791ec303770a440f18109858d80e3f54050)

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 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 2256, in cast_table_to_schema
                  raise CastError(
              datasets.table.CastError: Couldn't cast
              index: int64
              image: string
              question: string
              answer: string
              -- schema metadata --
              pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 707
              to
              {'question': Value(dtype='string', id=None), 'question_types': Value(dtype='string', id=None), 'image': Value(dtype='string', id=None), 'docId': Value(dtype='int64', id=None), 'ucsf_document_id': Value(dtype='string', id=None), 'ucsf_document_page_no': Value(dtype='int64', id=None), 'answer': Value(dtype='string', id=None), 'split': Value(dtype='string', id=None), 'image_path': Value(dtype='string', id=None), 'index': Value(dtype='int64', 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 1321, 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 935, 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 2013, 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 6 missing columns ({'docId', 'ucsf_document_page_no', 'ucsf_document_id', 'split', 'image_path', 'question_types'})
              
              This happened while the csv dataset builder was generating data using
              
              hf://datasets/lhndzn/TextVQA_val/TextVQA_VAL.tsv (at revision 45976791ec303770a440f18109858d80e3f54050)
              
              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? Open a discussion for direct support.

question
string
question_types
string
image
string
docId
int64
ucsf_document_id
string
ucsf_document_page_no
int64
answer
string
split
string
image_path
string
index
int64
What is the ‘actual’ value per 1000, during the year 1975?
['figure/diagram']
"/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDA(...TRUNCATED)
14,465
pybv0228
81
['0.28']
val
pybv0228_p80.jpg
49,153
What is name of university?
['others']
"/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDA(...TRUNCATED)
7,027
nkbl0226
1
['university of california', 'University of California', 'university of california, san diego']
val
nkbl0226_p0.jpg
24,580
What is the name of the company?
['layout']
"/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDA(...TRUNCATED)
4,733
snbx0223
22
['itc limited', 'ITC Limited']
val
snbx0223_p21.jpg
57,349
Where is the university located ?
['others']
24580
7,027
nkbl0226
1
['san diego', 'San Diego']
val
nkbl0226_p0.jpg
24,581
To whom is the document sent?
['handwritten', 'form']
24580
7,027
nkbl0226
1
['Paul']
val
nkbl0226_p0.jpg
24,582
What the location address of NSDA?
['layout']
"/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDA(...TRUNCATED)
11,190
qqvf0227
1
"['1128 SIXTEENTH ST., N. W., WASHINGTON, D. C. 20036', '1128 sixteenth st., N. W., washington, D. C(...TRUNCATED)
val
qqvf0227_p0.jpg
39,079
What is ITC's brand of Atta featured in the advertisement?
['Image/Photo']
57349
4,733
snbx0223
22
['aashirvaad', 'Aashirvaad']
val
snbx0223_p21.jpg
57,357
What is the name of foundation?
['layout']
"/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDA(...TRUNCATED)
6,982
zxfk0226
13
['The Robert A. Welch Foundation']
val
zxfk0226_p12.jpg
24,426
What time is the ‘coffee break’?
['table/list']
"/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDA(...TRUNCATED)
14,281
txpp0227
10
['11:14 to 11:39 a.m.', '11.14 to 11.39 a.m.']
val
txpp0227_p9.jpg
49,168
According to budget request summary what is total amount of other expenses??
['form', 'table/list']
24426
6,982
zxfk0226
13
['$975.00', '975.00']
val
zxfk0226_p12.jpg
24,423
End of preview.
README.md exists but content is empty. Use the Edit dataset card button to edit it.
Downloads last month
0
Edit dataset card