Dataset Viewer
Duplicate
The dataset viewer is not available for this split.
Cannot load the dataset split (in streaming mode) to extract the first rows.
Error code:   StreamingRowsError
Exception:    TypeError
Message:      Couldn't cast array of type
struct<01003865877f0d74f863d035905e8c96.png: struct<offset: int64, size: int64, md5: string, sha256: string>, 0100fc16cebe77d658117ed09fb12f7a.jpg: struct<offset: int64, size: int64, md5: string, sha256: string>, 010108bf7cbcfd2b730f2702a119e77c.jpg: struct<offset: int64, size: int64, md5: string, sha256: string>, 010115d4629068a38d38c548b5ea850c.jpg: struct<offset: int64, size: int64, md5: string, sha256: string>, 0101bf0669d2cbd017fb8a4f39d256db.jpg: struct<offset: int64, size: int64, md5: string, sha256: string>, 0101c8681df6292dffbd59e956666aca.png: struct<offset: int64, size: int64, md5: string, sha256: string>, 010243a8b55e7ea0c9d3ec1e351a7c2c.jpg: struct<offset: int64, size: int64, md5: string, sha256: string>, 010250b95ab85e744dbc47c059b7493b.jpg: struct<offset: int64, size: int64, md5: string, sha256: string>, 010273453e23093347fe649c52f0f098.jpg: struct<offset: int64, size: int64, md5: string, sha256: string>, 01028c3308a9b89ceba3d04bbf460585.jpg: struct<offset: int64, size: int64, md5: string, sha256: string>, 0102b017852a6a77c329a347ecfc7152.png: struct<offset: int64, size: int64, md5: string, sha256: string>, 010309173703ebf34158ff3ea8f80551.jpg: struct<offset: int64, size: int64, md5: string, sha256: string>, 0103499ce444f56f3c3c7446cb1e3771.png: struct<offset: int64, size: int64, md5: string, sha256: string>, 01035ee4373fe0f98c5a1c3eba521475.jpg: struct<offset: int64, size: int64, md5: string, sha256: string>, 01036636e834b0c806fb7a41ebe06434.jpg: struct<offset
...
<offset: int64, size: int64, md5: string, sha256: string>, 01fa88319e737c4833e66250f56d6c7f.jpg: struct<offset: int64, size: int64, md5: string, sha256: string>, 01faa3dde2f59088b24388421b2b7659.jpg: struct<offset: int64, size: int64, md5: string, sha256: string>, 01fadf760167b9c7baaf00e8502053f0.jpg: struct<offset: int64, size: int64, md5: string, sha256: string>, 01faf20a42c28647bf9bd6b4c945d27d.png: struct<offset: int64, size: int64, md5: string, sha256: string>, 01fb343536bcf66b9408f50a18e8f467.jpg: struct<offset: int64, size: int64, md5: string, sha256: string>, 01fbc7eedf3b3af4bba213f2d3057acd.png: struct<offset: int64, size: int64, md5: string, sha256: string>, 01fbf8f9fd45f00e1c2b9015ba2f54c9.jpg: struct<offset: int64, size: int64, md5: string, sha256: string>, 01fc64a3dc999d94588844a55871019c.jpg: struct<offset: int64, size: int64, md5: string, sha256: string>, 01fd3b9529c3bfebd244d37084eeaa9c.jpg: struct<offset: int64, size: int64, md5: string, sha256: string>, 01fe4fd662f960e9bcfe2c62e44c5066.png: struct<offset: int64, size: int64, md5: string, sha256: string>, 01fe6c4257fea13521d0a4ceaf52180f.jpg: struct<offset: int64, size: int64, md5: string, sha256: string>, 01ff41d2edfd3260399f694e6ddd7cae.jpg: struct<offset: int64, size: int64, md5: string, sha256: string>, 01ff97a41ba9404d75b0b923166907d0.png: struct<offset: int64, size: int64, md5: string, sha256: string>, 01ffd859ba072903976165f139abb010.jpg: struct<offset: int64, size: int64, md5: string, sha256: string>>
to
{'00001c45601ac9404a7c3219dadf96f4.jpg': {'offset': Value('int64'), 'size': Value('int64'), 'md5': Value('string'), 'sha256': Value('string')}, '000097d056d06037a8d626c1af2ba73f.jpg': {'offset': Value('int64'), 'size': Value('int64'), 'md5': Value('string'), 'sha256': Value('string')}, '00009a9413274d7c0581c7efdddb0e43.jpg': {'offset': Value('int64'), 'size': Value('int64'), 'md5': Value('string'), 'sha256': Value('string')}, '000130f6da1baaab65510fdc46a77648.jpg': {'offset': Value('int64'), 'size': Value('int64'), 'md5': Value('string'), 'sha256': Value('string')}, '00017bf86d9c125e76d4d4f43c9127f5.jpg': {'offset': Value('int64'), 'size': Value('int64'), 'md5': Value('string'), 'sha256': Value('string')}, '00021ef129fe2db8e387df2ddae11822.jpg': {'offset': Value('int64'), 'size': Value('int64'), 'md5': Value('string'), 'sha256': Value('string')}, '00026a529831fd675adb008511f0e92f.jpg': {'offset': Value('int64'), 'size': Value('int64'), 'md5': Value('string'), 'sha256': Value('string')}, '00027c3be1dc44f28fb20e6b12979b6d.jpg': {'offset': Value('int64'), 'size': Value('int64'), 'md5': Value('string'), 'sha256': Value('string')}, '00032ae3aa5099ca92f3ac25f6c4dfc3.jpg': {'offset': Value('int64'), 'size': Value('int64'), 'md5': Value('string'), 'sha256': Value('string')}, '00032da9f7b68282b8fc4f431c34ce6d.png': {'offset': Value('int64'), 'size': Value('int64'), 'md5': Value('string'), 'sha256': Value('string')}, '00033071079d751f6a122bac45c4a997.png': {'offset': Value('int64'), 's
...
': Value('int64'), 'md5': Value('string'), 'sha256': Value('string')}, '00fe0e77ad1ceb8d13d3292a664be2a4.jpg': {'offset': Value('int64'), 'size': Value('int64'), 'md5': Value('string'), 'sha256': Value('string')}, '00fe15e12b61328ba4bbc8af0a513ea4.jpg': {'offset': Value('int64'), 'size': Value('int64'), 'md5': Value('string'), 'sha256': Value('string')}, '00fe5f5c1985893bd6b2adf2fe049634.jpg': {'offset': Value('int64'), 'size': Value('int64'), 'md5': Value('string'), 'sha256': Value('string')}, '00fe605ecb3d34a047d5ce9bf43295b8.jpg': {'offset': Value('int64'), 'size': Value('int64'), 'md5': Value('string'), 'sha256': Value('string')}, '00fe74ea45e2ece9be1cfde49d9775c5.png': {'offset': Value('int64'), 'size': Value('int64'), 'md5': Value('string'), 'sha256': Value('string')}, '00ff058f38e1096b7832cb1905b52175.jpg': {'offset': Value('int64'), 'size': Value('int64'), 'md5': Value('string'), 'sha256': Value('string')}, '00ff20cf7bf171427e7e5529c4b1e80f.png': {'offset': Value('int64'), 'size': Value('int64'), 'md5': Value('string'), 'sha256': Value('string')}, '00ff3da5436f8839e9b11f44f6121576.jpg': {'offset': Value('int64'), 'size': Value('int64'), 'md5': Value('string'), 'sha256': Value('string')}, '00ff46f66503e7bfa0e09f42030a521c.jpg': {'offset': Value('int64'), 'size': Value('int64'), 'md5': Value('string'), 'sha256': Value('string')}, '00ffc99fd157a324b1e511a3e654ca26.jpg': {'offset': Value('int64'), 'size': Value('int64'), 'md5': Value('string'), 'sha256': 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 2951, in __iter__
                  for key, example in ex_iterable:
                                      ^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2461, in __iter__
                  for key, pa_table in self._iter_arrow():
                                       ~~~~~~~~~~~~~~~~^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2486, 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 547, in _iter_arrow
                  for key, pa_table in iterator:
                                       ^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 430, 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<01003865877f0d74f863d035905e8c96.png: struct<offset: int64, size: int64, md5: string, sha256: string>, 0100fc16cebe77d658117ed09fb12f7a.jpg: struct<offset: int64, size: int64, md5: string, sha256: string>, 010108bf7cbcfd2b730f2702a119e77c.jpg: struct<offset: int64, size: int64, md5: string, sha256: string>, 010115d4629068a38d38c548b5ea850c.jpg: struct<offset: int64, size: int64, md5: string, sha256: string>, 0101bf0669d2cbd017fb8a4f39d256db.jpg: struct<offset: int64, size: int64, md5: string, sha256: string>, 0101c8681df6292dffbd59e956666aca.png: struct<offset: int64, size: int64, md5: string, sha256: string>, 010243a8b55e7ea0c9d3ec1e351a7c2c.jpg: struct<offset: int64, size: int64, md5: string, sha256: string>, 010250b95ab85e744dbc47c059b7493b.jpg: struct<offset: int64, size: int64, md5: string, sha256: string>, 010273453e23093347fe649c52f0f098.jpg: struct<offset: int64, size: int64, md5: string, sha256: string>, 01028c3308a9b89ceba3d04bbf460585.jpg: struct<offset: int64, size: int64, md5: string, sha256: string>, 0102b017852a6a77c329a347ecfc7152.png: struct<offset: int64, size: int64, md5: string, sha256: string>, 010309173703ebf34158ff3ea8f80551.jpg: struct<offset: int64, size: int64, md5: string, sha256: string>, 0103499ce444f56f3c3c7446cb1e3771.png: struct<offset: int64, size: int64, md5: string, sha256: string>, 01035ee4373fe0f98c5a1c3eba521475.jpg: struct<offset: int64, size: int64, md5: string, sha256: string>, 01036636e834b0c806fb7a41ebe06434.jpg: struct<offset
              ...
              <offset: int64, size: int64, md5: string, sha256: string>, 01fa88319e737c4833e66250f56d6c7f.jpg: struct<offset: int64, size: int64, md5: string, sha256: string>, 01faa3dde2f59088b24388421b2b7659.jpg: struct<offset: int64, size: int64, md5: string, sha256: string>, 01fadf760167b9c7baaf00e8502053f0.jpg: struct<offset: int64, size: int64, md5: string, sha256: string>, 01faf20a42c28647bf9bd6b4c945d27d.png: struct<offset: int64, size: int64, md5: string, sha256: string>, 01fb343536bcf66b9408f50a18e8f467.jpg: struct<offset: int64, size: int64, md5: string, sha256: string>, 01fbc7eedf3b3af4bba213f2d3057acd.png: struct<offset: int64, size: int64, md5: string, sha256: string>, 01fbf8f9fd45f00e1c2b9015ba2f54c9.jpg: struct<offset: int64, size: int64, md5: string, sha256: string>, 01fc64a3dc999d94588844a55871019c.jpg: struct<offset: int64, size: int64, md5: string, sha256: string>, 01fd3b9529c3bfebd244d37084eeaa9c.jpg: struct<offset: int64, size: int64, md5: string, sha256: string>, 01fe4fd662f960e9bcfe2c62e44c5066.png: struct<offset: int64, size: int64, md5: string, sha256: string>, 01fe6c4257fea13521d0a4ceaf52180f.jpg: struct<offset: int64, size: int64, md5: string, sha256: string>, 01ff41d2edfd3260399f694e6ddd7cae.jpg: struct<offset: int64, size: int64, md5: string, sha256: string>, 01ff97a41ba9404d75b0b923166907d0.png: struct<offset: int64, size: int64, md5: string, sha256: string>, 01ffd859ba072903976165f139abb010.jpg: struct<offset: int64, size: int64, md5: string, sha256: string>>
              to
              {'00001c45601ac9404a7c3219dadf96f4.jpg': {'offset': Value('int64'), 'size': Value('int64'), 'md5': Value('string'), 'sha256': Value('string')}, '000097d056d06037a8d626c1af2ba73f.jpg': {'offset': Value('int64'), 'size': Value('int64'), 'md5': Value('string'), 'sha256': Value('string')}, '00009a9413274d7c0581c7efdddb0e43.jpg': {'offset': Value('int64'), 'size': Value('int64'), 'md5': Value('string'), 'sha256': Value('string')}, '000130f6da1baaab65510fdc46a77648.jpg': {'offset': Value('int64'), 'size': Value('int64'), 'md5': Value('string'), 'sha256': Value('string')}, '00017bf86d9c125e76d4d4f43c9127f5.jpg': {'offset': Value('int64'), 'size': Value('int64'), 'md5': Value('string'), 'sha256': Value('string')}, '00021ef129fe2db8e387df2ddae11822.jpg': {'offset': Value('int64'), 'size': Value('int64'), 'md5': Value('string'), 'sha256': Value('string')}, '00026a529831fd675adb008511f0e92f.jpg': {'offset': Value('int64'), 'size': Value('int64'), 'md5': Value('string'), 'sha256': Value('string')}, '00027c3be1dc44f28fb20e6b12979b6d.jpg': {'offset': Value('int64'), 'size': Value('int64'), 'md5': Value('string'), 'sha256': Value('string')}, '00032ae3aa5099ca92f3ac25f6c4dfc3.jpg': {'offset': Value('int64'), 'size': Value('int64'), 'md5': Value('string'), 'sha256': Value('string')}, '00032da9f7b68282b8fc4f431c34ce6d.png': {'offset': Value('int64'), 'size': Value('int64'), 'md5': Value('string'), 'sha256': Value('string')}, '00033071079d751f6a122bac45c4a997.png': {'offset': Value('int64'), 's
              ...
              ': Value('int64'), 'md5': Value('string'), 'sha256': Value('string')}, '00fe0e77ad1ceb8d13d3292a664be2a4.jpg': {'offset': Value('int64'), 'size': Value('int64'), 'md5': Value('string'), 'sha256': Value('string')}, '00fe15e12b61328ba4bbc8af0a513ea4.jpg': {'offset': Value('int64'), 'size': Value('int64'), 'md5': Value('string'), 'sha256': Value('string')}, '00fe5f5c1985893bd6b2adf2fe049634.jpg': {'offset': Value('int64'), 'size': Value('int64'), 'md5': Value('string'), 'sha256': Value('string')}, '00fe605ecb3d34a047d5ce9bf43295b8.jpg': {'offset': Value('int64'), 'size': Value('int64'), 'md5': Value('string'), 'sha256': Value('string')}, '00fe74ea45e2ece9be1cfde49d9775c5.png': {'offset': Value('int64'), 'size': Value('int64'), 'md5': Value('string'), 'sha256': Value('string')}, '00ff058f38e1096b7832cb1905b52175.jpg': {'offset': Value('int64'), 'size': Value('int64'), 'md5': Value('string'), 'sha256': Value('string')}, '00ff20cf7bf171427e7e5529c4b1e80f.png': {'offset': Value('int64'), 'size': Value('int64'), 'md5': Value('string'), 'sha256': Value('string')}, '00ff3da5436f8839e9b11f44f6121576.jpg': {'offset': Value('int64'), 'size': Value('int64'), 'md5': Value('string'), 'sha256': Value('string')}, '00ff46f66503e7bfa0e09f42030a521c.jpg': {'offset': Value('int64'), 'size': Value('int64'), 'md5': Value('string'), 'sha256': Value('string')}, '00ffc99fd157a324b1e511a3e654ca26.jpg': {'offset': Value('int64'), 'size': Value('int64'), 'md5': Value('string'), 'sha256': 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.

Image mirror for lodestones/booru-essence-v2.

Dataset selection and annotations are by lodestones the original author. This repository provides the image files. All credit for creating and curating the dataset goes to him (and for giving me the few images I was missing <3).

This redistribution follows the original dataset’s CC BY-NC-SA 4.0 license.

This upload contains all the dataset. The danbooru subset is roughly ~356.8 GiB, and the e621 is ~433.0 GiB. For a total size of 789.8 GiB.

It is packaged as uncompressed, indexed tar archives. For both easy bulk downloads and individual-image retrieval.

Repository layout

Images are grouped by the first two characters of their MD5 hash, then split into numbered archives.

<subset>/
├── manifest.json              # Archive metadata, image counts, sizes, and SHA-256 checksums
└── images/
    ├── 00-00000.tar           # Image archive
    ├── 00-00000.json          # Image index (offsets, sizes, MD5, SHA-256)
    ├── 01-00000.tar
    ├── 01-00000.json
    ├── ...
    ├── ff-00000.tar
    └── ff-00000.json

Each image inside the TAR is named <md5>.<extension>.

Retrieving individual images

Offsets point directly to the image data within the uncompressed tar.

You can retrieve an image without downloading or extracting its entire archive:

  1. Take the image_md5 from the booru-essence-v2 parquet.
  2. Find the matching two-character prefix in manifest.json.
  3. Search that prefix’s archive JSON indexes for the matching MD5.
  4. Request the image’s byte range from the corresponding tar file with Range: bytes=<offset>-<offset + size - 1>

Example request:

To download this image:

// danbooru/images/10-00000.json
{
  "filesize": 1638383104,
  "hash_lfs": "f9481cebbdbcc5d4304ccb11d8d2bd904c9b7ba56f018926de4cfa9a44645bc8",
  "files": {
    // ...
    "1004f20da299e7277d0c8e16be2a1fc3.jpg": {
      "offset": 44211712,
      "size": 186721,
      "md5": "1004f20da299e7277d0c8e16be2a1fc3",
      "sha256": "3a6828e6cf186cb6b1f254109d66cff6029c79e8c8ed1f7f3ba1a1c42cb877f9"
    },
    // ...
  }
}

You can run the following curl request:

offset=44211712
size=186721
range="$offset-$((offset + size - 1))"

curl --fail --location --dump-header - \
    --header "Range: bytes=$range" \
    --output comrade.jpg \
    "https://huggingface.co/datasets/NerissG/booru-essence-v2/resolve/main/danbooru/images/10-00000.tar"

This should respond with 206 Partial Content, with a Content-Range header matching the requested range. And correctly save the image to your disk.


Booru Essence v2

A highly condensed, diversity-maximized image dataset distilled from booru-style image boards — now with 25 representatives per tag and full Qwen3.8-27B caption annotations.

the images can be obtained here (WIP — not uploaded yet) Clybius/booru-essence-v2-images

Overview

Booru Essence v2 scales up the original Booru Essence coverage-first strategy. Where v1 selected a single image per tag greedily, v2 keeps up to 25 samples per tag — 516,964 images spanning 170,925 unique booru tags, evenly drawn from Danbooru and e621, cleaned and with sketches excluded.

Every image is annotated by Qwen3.8-27B at maximum reasoning effort (xhigh), producing a four-level caption chain, a structured scene breakdown, and the full reasoning trace — built for distillation into smaller captioning models.

Key Properties

Property Value
Total images 516,964
Unique booru tags covered 170,925
Selection strategy Maximum variance, 25 samples per tag (v1: 1)
Sources Danbooru (258,558) + e621 (258,406)
Caption model Qwen3.8-27B, xhigh reasoning effort
Annotation success 99.9% (516,287 / 516,964)
License CC BY-NC-SA 4.0

Annotation Schema

Each row carries four captions of decreasing fidelity, plus structured scene data:

Column Content
cap_long_caption Single-paragraph description, 200–350 words
cap_midjourney_style_summary Midjourney-style prompt, 50–85 words
cap_brief_summary Brief summary, 35–55 words
cap_10_word_summary Exactly 10 words
cap_scene_json Structured scene: subjects, characters, species, setting, composition
reasoning The model's full reasoning trace (a deliverable, for distillation)
image_md5 Content hash of the source image (joins to the image archive)
status ok for 99.9% of rows; filter status == 'ok' to drop truncated/refused

The caption bands are disjoint and enforced monotonic (long > midjourney > brief > 10-word) on 99.7% of rows. Original booru metadata (tags, rating, fav_count, artist/character/species weights, …) is preserved alongside.

Curation Methodology

Same coverage-first principle as v1, deepened rather than broadened:

  • Every tag keeps up to 25 representative images instead of 1, giving each concept enough samples to train on rather than merely be present
  • Selection still maximizes diversity across the tag space
  • Cleaned and de-sketched upstream (tag_samples_clean_nosketch_25)

Intended Use

  • Caption-model distillation (four granularities + reasoning traces per image)
  • Research on furry & anime/illustration style recognition and diffusion training
  • Tag classification and multi-label learning
  • Concept coverage benchmarking

License

This dataset is released under CC BY-NC-SA 4.0.

  • ✅ Free for non-commercial use
  • ✅ Modifications and derivatives allowed
  • ✅ Attribution required
  • ❌ Commercial use not permitted
  • 🔁 Derivatives must carry the same license
Downloads last month
676