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:    CastError
Message:      Couldn't cast
id: string
seed: int64
tier: string
shape: list<item: int64>
  child 0, item: int64
scroll_shape: list<item: int64>
  child 0, item: int64
box: struct<z0: int64, y0: int64, x0: int64>
  child 0, z0: int64
  child 1, y0: int64
  child 2, x0: int64
axis_xy: list<item: list<item: double>>
  child 0, item: list<item: double>
      child 0, item: double
params: struct<supersample: int64, voxel_um: double, scan: string, library: string, phase_mm: double, nps: l (... 257 chars omitted)
  child 0, supersample: int64
  child 1, voxel_um: double
  child 2, scan: string
  child 3, library: string
  child 4, phase_mm: double
  child 5, nps: list<item: double>
      child 0, item: double
  child 6, ink_um: double
  child 7, ink_depth_um: double
  child 8, ink_tex: double
  child 9, ink_letter: double
  child 10, ink_line: double
  child 11, ink_margin: double
  child 12, ink_col: double
  child 13, ink_gap: double
  child 14, ink_glyphs: string
  child 15, ink_off: int64
  child 16, seed: int64
  child 17, shape: list<item: int64>
      child 0, item: int64
  child 18, ink_rho: double
counts: struct<not sheet: int64, ink: int64, same sheet near ink: int64, other sheet near ink: int64, sheet  (... 17 chars omitted)
  child 0, not sheet: int64
  child 1, ink: int64
  child 2, same sheet near ink: int64
  child 3, other sheet near ink: int64
  child 4, sheet elsewhere: int64
ct_mean: double
sha256: struct<ct: string, ink: string, labels: string, classes: string>
  child 0, ct: string
  child
...
(... 17 chars omitted)
          child 0, not sheet: int64
          child 1, ink: int64
          child 2, same sheet near ink: int64
          child 3, other sheet near ink: int64
          child 4, sheet elsewhere: int64
      child 5, ct_mean: double
      child 6, sha256: struct<ct: string, ink: string, labels: string, classes: string>
          child 0, ct: string
          child 1, ink: string
          child 2, labels: string
          child 3, classes: string
  child 11, r0012: struct<seed: int64, tier: string, shape: list<item: int64>, box: struct<z0: int64, y0: int64, x0: in (... 223 chars omitted)
      child 0, seed: int64
      child 1, tier: string
      child 2, shape: list<item: int64>
          child 0, item: int64
      child 3, box: struct<z0: int64, y0: int64, x0: int64>
          child 0, z0: int64
          child 1, y0: int64
          child 2, x0: int64
      child 4, counts: struct<not sheet: int64, ink: int64, same sheet near ink: int64, other sheet near ink: int64, sheet  (... 17 chars omitted)
          child 0, not sheet: int64
          child 1, ink: int64
          child 2, same sheet near ink: int64
          child 3, other sheet near ink: int64
          child 4, sheet elsewhere: int64
      child 5, ct_mean: double
      child 6, sha256: struct<ct: string, ink: string, labels: string, classes: string>
          child 0, ct: string
          child 1, ink: string
          child 2, labels: string
          child 3, classes: string
split: string
to
{'benchmark': Value('string'), 'split': Value('string'), 'code_sha256': Value('string'), 'crops': {'r0001': {'seed': Value('int64'), 'tier': Value('string'), 'shape': List(Value('int64')), 'box': {'z0': Value('int64'), 'y0': Value('int64'), 'x0': Value('int64')}, 'counts': {'not sheet': Value('int64'), 'ink': Value('int64'), 'same sheet near ink': Value('int64'), 'other sheet near ink': Value('int64'), 'sheet elsewhere': Value('int64')}, 'ct_mean': Value('float64'), 'sha256': {'ct': Value('string'), 'ink': Value('string'), 'labels': Value('string'), 'classes': Value('string')}}, 'r0002': {'seed': Value('int64'), 'tier': Value('string'), 'shape': List(Value('int64')), 'box': {'z0': Value('int64'), 'y0': Value('int64'), 'x0': Value('int64')}, 'counts': {'not sheet': Value('int64'), 'ink': Value('int64'), 'same sheet near ink': Value('int64'), 'other sheet near ink': Value('int64'), 'sheet elsewhere': Value('int64')}, 'ct_mean': Value('float64'), 'sha256': {'ct': Value('string'), 'ink': Value('string'), 'labels': Value('string'), 'classes': Value('string')}}, 'r0003': {'seed': Value('int64'), 'tier': Value('string'), 'shape': List(Value('int64')), 'box': {'z0': Value('int64'), 'y0': Value('int64'), 'x0': Value('int64')}, 'counts': {'not sheet': Value('int64'), 'ink': Value('int64'), 'same sheet near ink': Value('int64'), 'other sheet near ink': Value('int64'), 'sheet elsewhere': Value('int64')}, 'ct_mean': Value('float64'), 'sha256': {'ct': Value('string'), 'ink': Value('string'
...
tring'), 'classes': Value('string')}}, 'r0010': {'seed': Value('int64'), 'tier': Value('string'), 'shape': List(Value('int64')), 'box': {'z0': Value('int64'), 'y0': Value('int64'), 'x0': Value('int64')}, 'counts': {'not sheet': Value('int64'), 'ink': Value('int64'), 'same sheet near ink': Value('int64'), 'other sheet near ink': Value('int64'), 'sheet elsewhere': Value('int64')}, 'ct_mean': Value('float64'), 'sha256': {'ct': Value('string'), 'ink': Value('string'), 'labels': Value('string'), 'classes': Value('string')}}, 'r0011': {'seed': Value('int64'), 'tier': Value('string'), 'shape': List(Value('int64')), 'box': {'z0': Value('int64'), 'y0': Value('int64'), 'x0': Value('int64')}, 'counts': {'not sheet': Value('int64'), 'ink': Value('int64'), 'same sheet near ink': Value('int64'), 'other sheet near ink': Value('int64'), 'sheet elsewhere': Value('int64')}, 'ct_mean': Value('float64'), 'sha256': {'ct': Value('string'), 'ink': Value('string'), 'labels': Value('string'), 'classes': Value('string')}}, 'r0012': {'seed': Value('int64'), 'tier': Value('string'), 'shape': List(Value('int64')), 'box': {'z0': Value('int64'), 'y0': Value('int64'), 'x0': Value('int64')}, 'counts': {'not sheet': Value('int64'), 'ink': Value('int64'), 'same sheet near ink': Value('int64'), 'other sheet near ink': Value('int64'), 'sheet elsewhere': Value('int64')}, 'ct_mean': Value('float64'), 'sha256': {'ct': Value('string'), 'ink': Value('string'), 'labels': Value('string'), 'classes': Value('string')}}}}
because column names don't match
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/src/worker/utils.py", line 151, 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 274, in decorator
                  return func(*args, **kwargs)
                File "/src/services/worker/src/worker/utils.py", line 131, 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 574, 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 3074, in __iter__
                  for key, example in ex_iterable:
                                      ^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2578, in __iter__
                  for key, pa_table in self._iter_arrow():
                                       ~~~~~~~~~~~~~~~~^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2603, 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 577, in _iter_arrow
                  for key, pa_table in iterator:
                                       ^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 459, 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 373, 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 2394, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2322, in cast_table_to_schema
                  raise CastError(
                  ...<3 lines>...
                  )
              datasets.table.CastError: Couldn't cast
              id: string
              seed: int64
              tier: string
              shape: list<item: int64>
                child 0, item: int64
              scroll_shape: list<item: int64>
                child 0, item: int64
              box: struct<z0: int64, y0: int64, x0: int64>
                child 0, z0: int64
                child 1, y0: int64
                child 2, x0: int64
              axis_xy: list<item: list<item: double>>
                child 0, item: list<item: double>
                    child 0, item: double
              params: struct<supersample: int64, voxel_um: double, scan: string, library: string, phase_mm: double, nps: l (... 257 chars omitted)
                child 0, supersample: int64
                child 1, voxel_um: double
                child 2, scan: string
                child 3, library: string
                child 4, phase_mm: double
                child 5, nps: list<item: double>
                    child 0, item: double
                child 6, ink_um: double
                child 7, ink_depth_um: double
                child 8, ink_tex: double
                child 9, ink_letter: double
                child 10, ink_line: double
                child 11, ink_margin: double
                child 12, ink_col: double
                child 13, ink_gap: double
                child 14, ink_glyphs: string
                child 15, ink_off: int64
                child 16, seed: int64
                child 17, shape: list<item: int64>
                    child 0, item: int64
                child 18, ink_rho: double
              counts: struct<not sheet: int64, ink: int64, same sheet near ink: int64, other sheet near ink: int64, sheet  (... 17 chars omitted)
                child 0, not sheet: int64
                child 1, ink: int64
                child 2, same sheet near ink: int64
                child 3, other sheet near ink: int64
                child 4, sheet elsewhere: int64
              ct_mean: double
              sha256: struct<ct: string, ink: string, labels: string, classes: string>
                child 0, ct: string
                child
              ...
              (... 17 chars omitted)
                        child 0, not sheet: int64
                        child 1, ink: int64
                        child 2, same sheet near ink: int64
                        child 3, other sheet near ink: int64
                        child 4, sheet elsewhere: int64
                    child 5, ct_mean: double
                    child 6, sha256: struct<ct: string, ink: string, labels: string, classes: string>
                        child 0, ct: string
                        child 1, ink: string
                        child 2, labels: string
                        child 3, classes: string
                child 11, r0012: struct<seed: int64, tier: string, shape: list<item: int64>, box: struct<z0: int64, y0: int64, x0: in (... 223 chars omitted)
                    child 0, seed: int64
                    child 1, tier: string
                    child 2, shape: list<item: int64>
                        child 0, item: int64
                    child 3, box: struct<z0: int64, y0: int64, x0: int64>
                        child 0, z0: int64
                        child 1, y0: int64
                        child 2, x0: int64
                    child 4, counts: struct<not sheet: int64, ink: int64, same sheet near ink: int64, other sheet near ink: int64, sheet  (... 17 chars omitted)
                        child 0, not sheet: int64
                        child 1, ink: int64
                        child 2, same sheet near ink: int64
                        child 3, other sheet near ink: int64
                        child 4, sheet elsewhere: int64
                    child 5, ct_mean: double
                    child 6, sha256: struct<ct: string, ink: string, labels: string, classes: string>
                        child 0, ct: string
                        child 1, ink: string
                        child 2, labels: string
                        child 3, classes: string
              split: string
              to
              {'benchmark': Value('string'), 'split': Value('string'), 'code_sha256': Value('string'), 'crops': {'r0001': {'seed': Value('int64'), 'tier': Value('string'), 'shape': List(Value('int64')), 'box': {'z0': Value('int64'), 'y0': Value('int64'), 'x0': Value('int64')}, 'counts': {'not sheet': Value('int64'), 'ink': Value('int64'), 'same sheet near ink': Value('int64'), 'other sheet near ink': Value('int64'), 'sheet elsewhere': Value('int64')}, 'ct_mean': Value('float64'), 'sha256': {'ct': Value('string'), 'ink': Value('string'), 'labels': Value('string'), 'classes': Value('string')}}, 'r0002': {'seed': Value('int64'), 'tier': Value('string'), 'shape': List(Value('int64')), 'box': {'z0': Value('int64'), 'y0': Value('int64'), 'x0': Value('int64')}, 'counts': {'not sheet': Value('int64'), 'ink': Value('int64'), 'same sheet near ink': Value('int64'), 'other sheet near ink': Value('int64'), 'sheet elsewhere': Value('int64')}, 'ct_mean': Value('float64'), 'sha256': {'ct': Value('string'), 'ink': Value('string'), 'labels': Value('string'), 'classes': Value('string')}}, 'r0003': {'seed': Value('int64'), 'tier': Value('string'), 'shape': List(Value('int64')), 'box': {'z0': Value('int64'), 'y0': Value('int64'), 'x0': Value('int64')}, 'counts': {'not sheet': Value('int64'), 'ink': Value('int64'), 'same sheet near ink': Value('int64'), 'other sheet near ink': Value('int64'), 'sheet elsewhere': Value('int64')}, 'ct_mean': Value('float64'), 'sha256': {'ct': Value('string'), 'ink': Value('string'
              ...
              tring'), 'classes': Value('string')}}, 'r0010': {'seed': Value('int64'), 'tier': Value('string'), 'shape': List(Value('int64')), 'box': {'z0': Value('int64'), 'y0': Value('int64'), 'x0': Value('int64')}, 'counts': {'not sheet': Value('int64'), 'ink': Value('int64'), 'same sheet near ink': Value('int64'), 'other sheet near ink': Value('int64'), 'sheet elsewhere': Value('int64')}, 'ct_mean': Value('float64'), 'sha256': {'ct': Value('string'), 'ink': Value('string'), 'labels': Value('string'), 'classes': Value('string')}}, 'r0011': {'seed': Value('int64'), 'tier': Value('string'), 'shape': List(Value('int64')), 'box': {'z0': Value('int64'), 'y0': Value('int64'), 'x0': Value('int64')}, 'counts': {'not sheet': Value('int64'), 'ink': Value('int64'), 'same sheet near ink': Value('int64'), 'other sheet near ink': Value('int64'), 'sheet elsewhere': Value('int64')}, 'ct_mean': Value('float64'), 'sha256': {'ct': Value('string'), 'ink': Value('string'), 'labels': Value('string'), 'classes': Value('string')}}, 'r0012': {'seed': Value('int64'), 'tier': Value('string'), 'shape': List(Value('int64')), 'box': {'z0': Value('int64'), 'y0': Value('int64'), 'x0': Value('int64')}, 'counts': {'not sheet': Value('int64'), 'ink': Value('int64'), 'same sheet near ink': Value('int64'), 'other sheet near ink': Value('int64'), 'sheet elsewhere': Value('int64')}, 'ct_mean': Value('float64'), 'sha256': {'ct': Value('string'), 'ink': Value('string'), 'labels': Value('string'), 'classes': Value('string')}}}}
              because column names don't match

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.

ScrollSim 3.1 synthetic 3D ink crops

Synthetic data: every voxel here comes from a simulator, not from a scan of a real scroll. These are the crops of the ScrollSim 3D ink benchmark (scrollsim-ink3d-v1): CT-like volumes of rolled, pressed papyrus with ink written on the recto, and exact voxel truth for the ink, the winding of every sheet voxel and a five-way class map. They are for building and comparing 3D ink models where the right answer is known. A score here ranks methods on the simulator; it says nothing about whether a model finds ink in a real scroll.

What is in it

Part What Count Size
test/ 11 crops, seeds 1101 to 1009, tiers easy, hard, medium 11 1.43 GB
train/ 12 crops, seeds 50000 to 50011, tiers easy, hard, medium 12 1.01 GB

Each crop folder holds ct.npy (uint8, z y x, 9 um voxels), truth/ink.npy (uint8, 1 = ink), truth/labels.npy (uint16, the winding of each sheet voxel, 0 = not sheet), truth/classes.npy (uint8: 0 not sheet, 1 ink, 2 the same sheet within 4 voxels of ink, 3 another sheet within 16 voxels of ink, 4 sheet elsewhere) and crop.json (seed, tier, the box in its scroll, the scroll axis per slice, every parameter, counts and SHA-256 of each array). Each split has a manifest.json.

The test split is the benchmark: score maps with python -m kit.simink3d score from the Scrolls repository. The train split uses other seeds; train on it, never on the test split.

SHA256SUMS covers every file except this card. Check a download with:

hf download SharpMeow/scrollsim-ink3d --repo-type dataset --local-dir scrollsim-ink3d
cd scrollsim-ink3d && sha256sum -c SHA256SUMS

Load patches for training (numpy; TorchDataset for PyTorch):

from kit import simink3dload as L
p = L.patches("scrollsim-ink3d/train", n=256, size=64, seed=0, ink_frac=0.5)
p["ct"].shape, p["ink"].mean()

How it was made

python -m kit.simink3d make OUT --split test and make OUT --split train --count 12 from https://github.com/ChaseHendrick/Scrolls at commit a9d4abb21f (module kit/simink3d.py, code SHA-256 f9e966f40e6c8816). Each crop renders one procedural scroll with kit.scrollsim2: a rolled sheet pressed and crushed, procedural fibre texture, a filtered back-projection noise model and 9 um voxels, with procedural Greek-capital-like strokes as ink: a thin deposit on the recto face plus a zone inside it where the density changes. Three tiers set the ink's density change: easy (0.25), medium (0.12), hard (0.05). check_spec in the module refuses a texture library, a scan preset, phase-contrast settings, font glyphs or any parameter outside its list, so nothing in a crop comes from a real scan. The same seed gives the same bytes; the test split's hashes are in the repository's docs/benchmarks/scrollsim-ink3d/manifest.json.

Limits

  • Synthetic only: the CT's look is not calibrated against real scans, so a model's score here does not transfer to real scrolls.
  • The ink is a model of ink (a thin deposit plus a density change), not measured carbon ink.
  • Strokes are procedural, not real Greek letters; a model may learn their shapes.
  • The test split's truth is public, so a test score is honest only for a model that never trained or tuned on it.
  • Crops are 256 voxels on a side (two test crops are 256 x 512 x 512), at one voxel size, 9 um.

Spent seeds and truth

Seeds 1001 to 1009 and 1101 to 1102 built the test split (released, the benchmark's test). Seeds 50000 to 50011 built the train split (released). Do not use any of them as fresh test seeds.

License and credit

CC BY 4.0. Every file is synthetic and made by the code above (Apache 2.0); no scan, label or other third-party data went in, so nothing requires a stricter license. Credit: ScrollSim, Chase Hendrick (Scrolls repository).

Citation

@misc{scrollsim_ink3d_2026,
  author = {Chase Hendrick}, title = {ScrollSim 3.1 synthetic 3D ink crops}, year = {2026},
  howpublished = {\url{https://huggingface.co/datasets/SharpMeow/scrollsim-ink3d}}
}

Changelog

  • 2026-12-01: first release: test split (11 crops) and train split (12 crops).
Downloads last month
39