Datasets:
Download README.md from NafisAshraf/pixels-bits-printed: direct link, hf CLI and curl.
- Browser
- Download file 2.21 kB
-
https://huggingface.co/datasets/NafisAshraf/pixels-bits-printed/resolve/main/README.md
- Command line
-
hf download hf://datasets/NafisAshraf/pixels-bits-printed/README.md
-
curl -L -o README.md https://huggingface.co/datasets/NafisAshraf/pixels-bits-printed/resolve/main/README.md
license: cc-by-sa-4.0
language:
- en
- bn
- hi
task_categories:
- image-to-text
tags:
- ocr
- bangla
- vision-language-models
- quantization
pretty_name: Pixels and Bits - printed text at controlled font sizes
size_categories:
- 1K<n<10K
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.pyandmake_bundle.pyin 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.