Datasets:
The dataset viewer is not available for this split.
Error code: StreamingRowsError
Exception: TypeError
Message: Couldn't cast array of type
struct<train_0000/the_image_features_a_young_woman_with_curly_hair_posing_next_to_a_lightbox_sign_that_reads_make_your_choice_she_is_wearing_a_black_and_white_top_with_a_vote_pin_on_its.png: struct<path: string, offset: int64, length: int64, width: int64, height: int64, aspect: double, captions: string>, train_0000/pink_background_with_a_textured_surface_that_has_the_word_think_embossed_on_its.png: struct<path: string, offset: int64, length: int64, width: int64, height: int64, aspect: double, captions: string>, train_0000/the_image_displays_wooden_tiles_arranged_to_spell_facebook_on_a_textured_surfaces.png: struct<path: string, offset: int64, length: int64, width: int64, height: int64, aspect: double, captions: string>, train_0000/purple_cart_with_a_sign_that_reads_support_your_local_farmers_and_an_illustration_of_a_tractor_carrying_sunflowers_there_are_also_baskets_filled_with_various_produce_including_watermelons_and_green_vegetabless.png: struct<path: string, offset: int64, length: int64, width: int64, height: int64, aspect: double, captions: string>, train_0000/green_electrical_box_with_a_danger_high_voltage_sign_attached_to_its.png: struct<path: string, offset: int64, length: int64, width: int64, height: int64, aspect: double, captions: string>, train_0000/a_woman_with_curly_hair_sits_outside_a_cafe_holding_a_coffee_cup_with_a_bicycle_parked_beside_hers.png: struct<path: string, offset: int64, length: int64, width: int64, height: int64, aspect: double, captions: string>,
...
ements_for_a_captions_21.png: struct<path: string, offset: int64, length: int64, width: int64, height: int64, aspect: double, captions: string>, train_0000/the_image_displays_a_sign_with_a_wheelchair_symbol_and_the_text_blue_badge_holders_onlys_1.png: struct<path: string, offset: int64, length: int64, width: int64, height: int64, aspect: double, captions: string>, train_0000/the_image_shows_a_sign_that_reads_caution_bridge_closed_ahead_placed_on_a_wooden_post_in_a_snowy_landscape_with_a_bridge_in_the_backgrounds.png: struct<path: string, offset: int64, length: int64, width: int64, height: int64, aspect: double, captions: string>, train_0000/the_image_shows_a_street_sign_with_the_text_push_button_to_turn_on_warning_lights_and_an_illustration_of_a_hand_pushing_a_button_there_is_also_a_small_yellow_button_attached_to_the_poles.png: struct<path: string, offset: int64, length: int64, width: int64, height: int64, aspect: double, captions: string>, train_0000/the_image_contains_the_text_vintage_is_the_new_news.png: struct<path: string, offset: int64, length: int64, width: int64, height: int64, aspect: double, captions: string>, train_0000/vibrant_alleyway_in_japan_adorned_with_traditional_lanterns_cherry_blossoms_and_various_signboards_in_japanese_script_people_can_be_seen_walking_and_there_are_various_establishments_possibly_restaurants_or_bars_with_their_names_di.png: struct<path: string, offset: int64, length: int64, width: int64, height: int64, aspect: double, captions: string>>
to
{'train_0000/weathered_wall_with_patches_of_peeling_paint_and_cracks_there_is_a_handwritten_message_in_cyrillic_script_on_the_walls.png': {'path': Value('string'), 'offset': Value('int64'), 'length': Value('int64'), 'width': Value('int64'), 'height': Value('int64'), 'aspect': Value('float64'), 'captions': Value('string')}, 'train_0000/two_men_in_vibrant_attire_pose_for_a_photo_in_a_colorful_tents.png': {'path': Value('string'), 'offset': Value('int64'), 'length': Value('int64'), 'width': Value('int64'), 'height': Value('int64'), 'aspect': Value('float64'), 'captions': Value('string')}, 'train_0000/the_image_shows_a_persons_hands_against_a_white_background_on_the_left_hand_the_word_yes_is_written_and_on_the_right_hand_the_word_no_is_writtens_1.png': {'path': Value('string'), 'offset': Value('int64'), 'length': Value('int64'), 'width': Value('int64'), 'height': Value('int64'), 'aspect': Value('float64'), 'captions': Value('string')}, 'train_0000/the_image_contains_the_following_text_black_lives_matter_and_love_not_wars.png': {'path': Value('string'), 'offset': Value('int64'), 'length': Value('int64'), 'width': Value('int64'), 'height': Value('int64'), 'aspect': Value('float64'), 'captions': Value('string')}, 'train_0000/a_person_is_writing_happy_easter_on_a_blackboards.png': {'path': Value('string'), 'offset': Value('int64'), 'length': Value('int64'), 'width': Value('int64'), 'height': Value('int64'), 'aspect': Value('float64'), 'captions': Value('string')}, 'train_0000/paper_c
...
set': Value('int64'), 'length': Value('int64'), 'width': Value('int64'), 'height': Value('int64'), 'aspect': Value('float64'), 'captions': Value('string')}, 'train_0000/the_image_displays_a_message_i_love_you_composed_of_individual_letter_tiles_against_a_pink_backgrounds.png': {'path': Value('string'), 'offset': Value('int64'), 'length': Value('int64'), 'width': Value('int64'), 'height': Value('int64'), 'aspect': Value('float64'), 'captions': Value('string')}, 'train_0000/the_image_is_a_collage_of_various_papers_images_and_textual_elements_some_of_the_discernible_text_includes_picture_open_and_fabulouss.png': {'path': Value('string'), 'offset': Value('int64'), 'length': Value('int64'), 'captions': Value('string')}, 'train_0000/the_dog_is_holding_a_sign_that_reads_best_dad_evers.png': {'path': Value('string'), 'offset': Value('int64'), 'length': Value('int64'), 'width': Value('int64'), 'height': Value('int64'), 'aspect': Value('float64'), 'captions': Value('string')}, 'train_0000/the_image_contains_the_word_cozy_written_on_a_labels.png': {'path': Value('string'), 'offset': Value('int64'), 'length': Value('int64'), 'width': Value('int64'), 'height': Value('int64'), 'aspect': Value('float64'), 'captions': Value('string')}, 'train_0000/subway_sign_with_the_word_subway_prominently_displayeds.png': {'path': Value('string'), 'offset': Value('int64'), 'length': Value('int64'), 'width': Value('int64'), 'height': Value('int64'), 'aspect': Value('float64'), 'captions': Value('string')}}
Traceback: Traceback (most recent call last):
File "/src/services/worker/src/worker/utils.py", line 147, in get_rows_or_raise
return get_rows(
dataset=dataset,
...<4 lines>...
column_names=column_names,
)
File "/src/libs/libcommon/src/libcommon/utils.py", line 272, in decorator
return func(*args, **kwargs)
File "/src/services/worker/src/worker/utils.py", line 127, in get_rows
rows_plus_one = list(itertools.islice(safe_iter(ds, dataset=dataset), rows_max_number + 1))
File "/src/services/worker/src/worker/utils.py", line 483, in safe_iter
yield from ds.decode(False) if ds.features else ds
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2840, in __iter__
for key, example in ex_iterable:
^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2373, in __iter__
for key, pa_table in self._iter_arrow():
~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2398, in _iter_arrow
for key, pa_table in self.ex_iterable._iter_arrow():
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 536, in _iter_arrow
for key, pa_table in iterator:
^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 419, in _iter_arrow
for key, pa_table in self.generate_tables_fn(**gen_kwags):
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 343, in _generate_tables
self._cast_table(pa_table, json_field_paths=json_field_paths),
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 132, in _cast_table
pa_table = table_cast(pa_table, self.info.features.arrow_schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2378, in table_cast
return cast_table_to_schema(table, schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2312, in cast_table_to_schema
cast_array_to_feature(
~~~~~~~~~~~~~~~~~~~~~^
table[name] if name in table_column_names else pa.array([None] * len(table), type=schema.field(name).type),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
feature,
^^^^^^^^
)
^
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 1861, in wrapper
return pa.chunked_array([func(chunk, *args, **kwargs) for chunk in array.chunks])
~~~~^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2158, in cast_array_to_feature
raise TypeError(f"Couldn't cast array of type\n{_short_str(array.type)}\nto\n{_short_str(feature)}")
TypeError: Couldn't cast array of type
struct<train_0000/the_image_features_a_young_woman_with_curly_hair_posing_next_to_a_lightbox_sign_that_reads_make_your_choice_she_is_wearing_a_black_and_white_top_with_a_vote_pin_on_its.png: struct<path: string, offset: int64, length: int64, width: int64, height: int64, aspect: double, captions: string>, train_0000/pink_background_with_a_textured_surface_that_has_the_word_think_embossed_on_its.png: struct<path: string, offset: int64, length: int64, width: int64, height: int64, aspect: double, captions: string>, train_0000/the_image_displays_wooden_tiles_arranged_to_spell_facebook_on_a_textured_surfaces.png: struct<path: string, offset: int64, length: int64, width: int64, height: int64, aspect: double, captions: string>, train_0000/purple_cart_with_a_sign_that_reads_support_your_local_farmers_and_an_illustration_of_a_tractor_carrying_sunflowers_there_are_also_baskets_filled_with_various_produce_including_watermelons_and_green_vegetabless.png: struct<path: string, offset: int64, length: int64, width: int64, height: int64, aspect: double, captions: string>, train_0000/green_electrical_box_with_a_danger_high_voltage_sign_attached_to_its.png: struct<path: string, offset: int64, length: int64, width: int64, height: int64, aspect: double, captions: string>, train_0000/a_woman_with_curly_hair_sits_outside_a_cafe_holding_a_coffee_cup_with_a_bicycle_parked_beside_hers.png: struct<path: string, offset: int64, length: int64, width: int64, height: int64, aspect: double, captions: string>,
...
ements_for_a_captions_21.png: struct<path: string, offset: int64, length: int64, width: int64, height: int64, aspect: double, captions: string>, train_0000/the_image_displays_a_sign_with_a_wheelchair_symbol_and_the_text_blue_badge_holders_onlys_1.png: struct<path: string, offset: int64, length: int64, width: int64, height: int64, aspect: double, captions: string>, train_0000/the_image_shows_a_sign_that_reads_caution_bridge_closed_ahead_placed_on_a_wooden_post_in_a_snowy_landscape_with_a_bridge_in_the_backgrounds.png: struct<path: string, offset: int64, length: int64, width: int64, height: int64, aspect: double, captions: string>, train_0000/the_image_shows_a_street_sign_with_the_text_push_button_to_turn_on_warning_lights_and_an_illustration_of_a_hand_pushing_a_button_there_is_also_a_small_yellow_button_attached_to_the_poles.png: struct<path: string, offset: int64, length: int64, width: int64, height: int64, aspect: double, captions: string>, train_0000/the_image_contains_the_text_vintage_is_the_new_news.png: struct<path: string, offset: int64, length: int64, width: int64, height: int64, aspect: double, captions: string>, train_0000/vibrant_alleyway_in_japan_adorned_with_traditional_lanterns_cherry_blossoms_and_various_signboards_in_japanese_script_people_can_be_seen_walking_and_there_are_various_establishments_possibly_restaurants_or_bars_with_their_names_di.png: struct<path: string, offset: int64, length: int64, width: int64, height: int64, aspect: double, captions: string>>
to
{'train_0000/weathered_wall_with_patches_of_peeling_paint_and_cracks_there_is_a_handwritten_message_in_cyrillic_script_on_the_walls.png': {'path': Value('string'), 'offset': Value('int64'), 'length': Value('int64'), 'width': Value('int64'), 'height': Value('int64'), 'aspect': Value('float64'), 'captions': Value('string')}, 'train_0000/two_men_in_vibrant_attire_pose_for_a_photo_in_a_colorful_tents.png': {'path': Value('string'), 'offset': Value('int64'), 'length': Value('int64'), 'width': Value('int64'), 'height': Value('int64'), 'aspect': Value('float64'), 'captions': Value('string')}, 'train_0000/the_image_shows_a_persons_hands_against_a_white_background_on_the_left_hand_the_word_yes_is_written_and_on_the_right_hand_the_word_no_is_writtens_1.png': {'path': Value('string'), 'offset': Value('int64'), 'length': Value('int64'), 'width': Value('int64'), 'height': Value('int64'), 'aspect': Value('float64'), 'captions': Value('string')}, 'train_0000/the_image_contains_the_following_text_black_lives_matter_and_love_not_wars.png': {'path': Value('string'), 'offset': Value('int64'), 'length': Value('int64'), 'width': Value('int64'), 'height': Value('int64'), 'aspect': Value('float64'), 'captions': Value('string')}, 'train_0000/a_person_is_writing_happy_easter_on_a_blackboards.png': {'path': Value('string'), 'offset': Value('int64'), 'length': Value('int64'), 'width': Value('int64'), 'height': Value('int64'), 'aspect': Value('float64'), 'captions': Value('string')}, 'train_0000/paper_c
...
set': Value('int64'), 'length': Value('int64'), 'width': Value('int64'), 'height': Value('int64'), 'aspect': Value('float64'), 'captions': Value('string')}, 'train_0000/the_image_displays_a_message_i_love_you_composed_of_individual_letter_tiles_against_a_pink_backgrounds.png': {'path': Value('string'), 'offset': Value('int64'), 'length': Value('int64'), 'width': Value('int64'), 'height': Value('int64'), 'aspect': Value('float64'), 'captions': Value('string')}, 'train_0000/the_image_is_a_collage_of_various_papers_images_and_textual_elements_some_of_the_discernible_text_includes_picture_open_and_fabulouss.png': {'path': Value('string'), 'offset': Value('int64'), 'length': Value('int64'), 'captions': Value('string')}, 'train_0000/the_dog_is_holding_a_sign_that_reads_best_dad_evers.png': {'path': Value('string'), 'offset': Value('int64'), 'length': Value('int64'), 'width': Value('int64'), 'height': Value('int64'), 'aspect': Value('float64'), 'captions': Value('string')}, 'train_0000/the_image_contains_the_word_cozy_written_on_a_labels.png': {'path': Value('string'), 'offset': Value('int64'), 'length': Value('int64'), 'width': Value('int64'), 'height': Value('int64'), 'aspect': Value('float64'), 'captions': Value('string')}, 'train_0000/subway_sign_with_the_word_subway_prominently_displayeds.png': {'path': Value('string'), 'offset': Value('int64'), 'length': Value('int64'), 'width': Value('int64'), 'height': Value('int64'), 'aspect': Value('float64'), 'captions': Value('string')}}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.
Photo Typography — Webshart
This is the canonical, maintained location for the former terminusresearch/photo-typography dataset. The migration completed on August 19, 2026, with 13,167 captioned image samples repackaged into 209 indexed Webshart shards.
The legacy repository now contains only a relocation notice. Its original tar archives, parquet file, and prior history were removed after this copy was validated, avoiding a duplicate of roughly 222 GB. Existing users should update their dataset ID to webshart/terminusresearch-photo-typography and use subfolder="webshart".
The source photographs were collected from Pexels in 2023 and captioned with CogVLM. The collection primarily contains photographs with visible text. Conversion and publication were performed by bghira from Terminus Research. The dataset is licensed MIT.
Each webshart/shard-NNNNN.tar has a paired JSON index containing byte offsets, image geometry, and its filename-derived caption. Underscores in legacy filenames were converted to spaces. The completed migration record is stored in webshart/.webshart-optimize-state.json.
SimpleTuner example
Add this object to your multidatabackend configuration:
{
"id": "photo-typography-webshart",
"type": "webshart",
"dataset_type": "image",
"source": "webshart/terminusresearch-photo-typography",
"subfolder": "webshart",
"caption_strategy": "webshart",
"metadata_backend": "webshart",
"webshart": {
"cache_dir": "cache/webshart/photo-typography",
"shard_cache_gb": 25,
"parallel_downloads": 4
}
}
Set shard_cache_gb to 0 to use indexed HTTP range reads without whole-shard caching.
Webshart Python example
import webshart
dataset = webshart.discover_dataset(
"webshart/terminusresearch-photo-typography",
subfolder="webshart",
)
print(dataset.num_shards, dataset.total_files)
print(dataset.probe_caption_layout(max_shards=8))
loader = webshart.TarDataLoader(dataset)
sample_ref = dataset.list_samples_in_shard(0)[0]
sample = loader.load_sample(0, sample_ref["sample_idx"])
print(sample.path, sample.captions, sample.width, sample.height)
- Downloads last month
- 169