Ruler138's picture
Initial commit
3e7b765
|
Raw History Blame Contribute Delete
1.63 kB
# BioLoom zero-shot classification
The benchmark comprises 67 tasks from 43 sources across 10 biomedical domains. See the [task manifest](task_manifest.csv), [evaluation protocol](benchmark_protocol.json), and [source and split definitions](SOURCES.md).
## Download
```bash
hf download ChartFoundation/BioLoom-EvalSuite --repo-type dataset \
--include 'zero-shot/*' --local-dir BioLoom-EvalSuite
```
## Data and evaluation
- The ten domain folders under `datasets/` contain source images and labels. For sources packaged as tar archives, extract each archive under `data/` into its source directory so the paths listed under `tasks/` resolve.
- The uBench Arrow files are shared across several domains and stored under `datasets/microscopy_composition/ubench/data/`. BIOMEDICA Parquet views are listed by domain in the source registry.
- To compute overall accuracy, average tasks within each source, sources within each domain, then weight the domains equally.
Use the [source registry](source_registry.json) to look up the input path for each task in `task_inputs`. The [fixed prompt views](prompt_views.json), [BIOMEDICA templates](protocols/biomedica/caption_templates.json), and paired uBench caption options supply prompts for the tasks specified in the evaluation protocol.
Keep the model encoders frozen. For each class, L2-normalize its two prompt embeddings, average them, and normalize the class embedding again. Predict the class with the highest cosine similarity to the image embedding. Follow the evaluation partitions in the task manifest. Source licenses and attribution apply to the individual datasets.