Download README.md from Ruler138/BioLoomBench: direct link, hf CLI and curl.
- Browser
- Download file 2.88 kB
-
https://huggingface.co/datasets/Ruler138/BioLoomBench/resolve/main/README.md
- Command line
-
hf download hf://datasets/Ruler138/BioLoomBench/README.md
-
curl -L -H "Authorization: Bearer $HF_TOKEN" -o README.md https://huggingface.co/datasets/Ruler138/BioLoomBench/resolve/main/README.md
pretty_name: BioLoomBench
language:
- en
license: cc-by-nc-4.0
task_categories:
- image-to-text
- text-retrieval
size_categories:
- 10K<n<100K
configs:
- config_name: default
data_files:
- split: test
path: data/*.tar
BioLoomBench
License and usage restrictions
BioLoom-authored annotations, metadata, and packaging are licensed under CC BY-NC 4.0 for non-commercial research and educational use only. Commercial use is prohibited. Source images and captions retain the licenses of their source publications; users must comply with both the source licenses and these non-commercial release terms.
BioLoomBench is a test-only image-text retrieval benchmark containing 15,000 whole scientific figures. Each figure is paired with two text tracks:
concise_caption: a short visual description intended for retrieval evaluation;original_caption: the complete caption associated with the source figure.
This release intentionally omits domain, class, and figure-composition labels. It is designed only for image-text retrieval.
Data fields
Each WebDataset example contains an image and a JSON record with:
| Field | Description |
|---|---|
id |
Stable identifier used to match an image to its paired text. |
concise_caption |
Concise visual caption. |
original_caption |
Original full figure caption. |
source, doi, source_url |
Source provenance when available. |
license |
License information inherited from the source article. |
The root-level metadata.jsonl contains the same text and provenance fields, plus the six-digit WebDataset key.
Loading
from datasets import load_dataset
ds = load_dataset("Ruler138/BioLoomBench", split="test")
sample = ds[0]
image = sample["jpg"]
record = sample["json"]
print(record["concise_caption"])
print(record["original_caption"])
Evaluation
Evaluate the two caption tracks separately. Encode all 15,000 images and the 15,000 captions from one track, L2-normalize both sets of embeddings, and rank candidates by cosine similarity. A retrieval is relevant only when the image and caption share the same id.
Report Recall@1, Recall@10, and Recall@100 for image-to-text (I2T) and text-to-image (T2I) retrieval. The bidirectional mean at each K is the arithmetic mean of I2T and T2I Recall@K. These are retrieval recall values, not classification accuracy.
The included evaluate_retrieval.py computes the complete protocol from aligned image and text feature matrices:
python evaluate_retrieval.py \
--image-features image_features.npy \
--text-features concise_text_features.npy \
--track concise
Run it again with embeddings of original_caption and --track original. See EVALUATION.md for the exact definition and expected output.