Update README.md
Browse files12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849501 unmodified line52535455565758596061626364656667686970717273747576777879808182838485---language:- ensize_categories:- n<1Ktags:- counting- countbench- evaluationconfigs:- config_name: defaultdata_files:- split: testpath: data/test-00000-of-00001.parquet---# CountBench Reviewed 459An independently curated **459-image subset of CountBench** for counting evaluation, with explicit English counting targets. This is a selected subset, not the full CountBench or an official update.The images and original counts come from [nielsr/countbench](https://huggingface.co/datasets/nielsr/countbench), revision `e32ce2541299d12755894e1d487f6dd75bb0176c`. CountBench was introduced in [*Teaching CLIP to Count to Ten*](https://teaching-clip-to-count.github.io/) by Paiss et al. (2023).## Curation| Stage | Remaining records ||---|---:|| Source mirror | 540 || Exclude 49 records without image bytes | 491 || Exclude 4 placeholder images | 487 || Exclude 4 repeated usable-image records by image hash | 483 || User review: retain 459 and exclude 24 | **459** |Counting-target labels were drafted with AI assistance from source descriptions, with image-based clarification for some samples. The user then reviewed and selected the candidates. **All retained `number` values are unchanged from the source dataset**; this release does not provide new multi-annotator count annotations. The images are stored with their original bytes.The `test` split is an evaluation split for this curated release, not an official CountBench train/test partition.## Fields| Field | Meaning ||---|---|| `id` | Stable sample identifier, such as `countbench_00000` || `image` | Image embedded in the Parquet file || `label` | English name of the objects or counting unit to count || `number` | Reference count, an integer from 2 to 10 || `source_id` | Row index in the source mirror || `source_image_url` | Original image URL recorded by the source dataset || `known_answer_text` | Whether answer-revealing text was specifically identified in the image |## Usage1 unmodified linefrom datasets import load_datasetds = load_dataset("running-Turtle/countbench-reviewed-459", split="test")sample = ds[0]# Supply only the image and counting target to the model.image = sample["image"]target = sample["label"]# Use the reference count only when scoring the prediction.reference_count = sample["number"]```The target may describe a qualified subset or a counting unit such as photographs, rather than every object of a broad category. Preserve that meaning when constructing a model query.## Count distribution| Number | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 ||---|---:|---:|---:|---:|---:|---:|---:|---:|---:|| Samples | 49 | 54 | 53 | 38 | 55 | 51 | 53 | 56 | 50 |## Limitations and provenanceSelection and target clarification do not establish that every reference count is error-free. The subset contains photographs, illustrations, and collages, so evaluation should respect each target's counting unit.Two retained samples, `countbench_00328` and `countbench_00486`, contain visible text stating the answer and have `known_answer_text=true`. This flag records known cases; it is **not the result of an exhaustive OCR audit**. A false value does not guarantee that an image contains no useful textual clues.Additional records are provided separately from the main dataset:- `provenance/selection.csv`: inclusion or exclusion records for all 540 source rows, including the original human exclusion notes; blank notes remain blank.- `provenance/curation_summary.json`: curation statistics.- `provenance/image_hashes.csv`: image integrity checksums.Please cite the original CountBench work and acknowledge the source mirror when using this subset. This release does not assign a new license to the source images; their original URLs are retained for attribution and source tracing.12345678910111213141516171819202122231 unmodified line25262728293031323334# CountBench Reviewed 459A manually reviewed and curated subset of [CountBench](https://huggingface.co/datasets/nielsr/countbench), designed for more reliable visual counting evaluation.## Improvements over CountBench- **Data cleaning:** Removed missing, invalid, duplicate, and ambiguous samples, reducing the original 540 records to 459.- **Manual review:** Reviewed counting annotations and excluded unreliable or ambiguous samples.- **Explicit counting targets:** Provided clear English object labels for each image.- **Ready-to-use:** Embedded all images directly in Parquet for convenient and reproducible evaluation.## Dataset Statistics| Property | Value ||---|---|| Images | 459 || Count range | 2–10 || Split | Test |Each sample contains an `image`, a counting target (`label`), and a reference count (`number`).## Usage1 unmodified linefrom datasets import load_datasetds = load_dataset("running-Turtle/countbench-reviewed-459", split="test")```## NotesThis is an unofficial curated subset. All retained reference counts remain unchanged from the original dataset. Two samples with known answer-revealing text are flagged.Please cite the original CountBench paper, [Teaching CLIP to Count to Ten](https://teaching-clip-to-count.github.io/) (Paiss et al., ICCV 2023).
README.md+16-67