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: int64
lang: string
size: int64
file: string
lines: int64
w: int64
h: int64
n_files: int64
sha256: string
to
{'file': Value('string'), 'sha256': Value('string'), 'n_files': Value('int64')}
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: int64
              lang: string
              size: int64
              file: string
              lines: int64
              w: int64
              h: int64
              n_files: int64
              sha256: string
              to
              {'file': Value('string'), 'sha256': Value('string'), 'n_files': Value('int64')}
              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.

Pixels and Bits: printed English, Bangla and Hindi at controlled font sizes

Rendered text images used to measure how small text can be before vision-language models fail to transcribe it, and how weight quantisation shifts that limit. The same files were used for every model in the study (hosted API models and the quantisation notebook), so results are directly comparable.

Contents

pixels_bits_printed_v1.zip (SHA-256 e4a50f6cf9e6b664814f51973bdf3744e4842fc767327269de129ad8ba55a637)

Path Description
data/sentences.json 60 FLORES-200 devtest sentences with their English (en), Bangla (bn) and Hindi (hi) versions, plus word-scrambled controls (*_s) for 20 of them
data/images.json one record per image: sentence id, lang, font size (px per em), file, line count, width, height
data/render_manifest.json rendering parameters, font hash and library versions
data/img/*.png 2,640 images: 60 sentences x 3 languages x 11 sizes, plus 20 scrambled sentences x 3 languages x 11 sizes

Font sizes: 2, 3, 4, 5, 6, 7, 8, 10, 12, 14 and 18 px per em. Each sentence is wrapped to a 640 px wide canvas and rendered as black text on white with complex-script shaping (libraqm/FriBiDi). Glyphs are drawn at 8x resolution and reduced with a box filter, which matches how small text looks after image downscaling.

Provenance

  • Text: FLORES-200 devtest (eng_Latn, ben_Beng, hin_Deva), sampled with a fixed seed.
  • Font: Nirmala UI (Windows), one family covering Latin, Bengali and Devanagari; SHA-256 in render_manifest.json.
  • Code: render.py and make_bundle.py in the project repository regenerate this archive byte for byte on Windows.

Licence and citation

The images contain FLORES-200 text and are released under CC BY-SA 4.0, as FLORES-200 is. Please cite:

NLLB Team et al. (2022). No Language Left Behind: Scaling Human-Centered Machine Translation. arXiv:2207.04672.

Downloads last month
32

Paper for NafisAshraf/pixels-bits-printed