File size: 3,440 Bytes
3d9e310
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
---
pretty_name: Loom52M
viewer: false
language:
- en
task_categories:
- image-to-text
- text-to-image
tags:
- biomedicine
- scientific-figures
- contrastive-pretraining
- webdataset
license: other
---

# Loom52M

<p align="center">
  <a href="https://arxiv.org/abs/2611.33151"><img alt="arXiv 2611.33151" src="https://img.shields.io/badge/arXiv-2611.33151-B31B1B"></a>
  <a href="https://github.com/yuweiyang-anu/BioLoom"><img alt="GitHub code" src="https://img.shields.io/badge/GitHub-Code-181717?logo=github&logoColor=white"></a>
  <a href="https://bioloom-clip.github.io/"><img alt="Project page" src="https://img.shields.io/badge/Project-Page-E91E63?logo=googlechrome&logoColor=white"></a>
  <a href="https://huggingface.co/ChartFoundation/BioLoom-models"><img alt="BioLoom models" src="https://img.shields.io/badge/Models-BioLoom-7B61FF?logo=huggingface&logoColor=white"></a>
  <a href="https://huggingface.co/datasets/ChartFoundation/BioLoom-EvalSuite"><img alt="Evaluation suite" src="https://img.shields.io/badge/Benchmark-EvalSuite-4C8BF5?logo=huggingface&logoColor=white"></a>
</p>

**Training data for BioLoom: Scaling Biomedical Vision-Language Models by Learning from the Structure of Scientific Articles**

Loom52M pairs biomedical figures and panels with text derived from the scientific literature. Whole figures retain their original captions. Panel text combines a visual description with a contextual caption grounded in the parent figure caption and relevant article paragraphs. The hierarchy preserves article, figure, and panel relationships for contrastive learning.

## ✨ At a glance

| Item | Released training split |
|---|---:|
| Image–text pairs | 52,437,129 |
| Whole-figure pairs | 13,140,133 |
| Panel pairs | 39,296,996 |
| Hierarchical WebDataset shards | 4,525 |
| Approximate download size | 2.42 TB |

### What each pair contains

- **Whole figures** are paired with their original figure captions.
- **Panel crops** retain a visible-content description and a contextual caption grounded in the parent caption and mentioning paragraphs.
- **Hierarchy metadata** preserves article, figure, and panel membership so loaders can construct structure-aware batches without flattening the corpus into unrelated pairs.

## 📦 Dataset layout

| Path | Contents |
|---|---|
| `train/` | 4,525 hierarchical WebDataset tar shards, 52,437,129 image–text pairs |
| `manifests/` | Training figure index |
| `dataset_stats.json` | Training corpus statistics |

Model checkpoints and evaluation assets are hosted separately through the links above.

## 📥 Download and use

Download the metadata and one shard first:

```bash
hf download ChartFoundation/Loom52M --repo-type dataset \
  --include 'dataset_stats.json' 'train/hier-w00-000000.tar' \
  --local-dir Loom52M
tar -tf Loom52M/train/hier-w00-000000.tar | head
```

Download the full training split with:

```bash
hf download ChartFoundation/Loom52M --repo-type dataset \
  --include 'train/*.tar' 'dataset_stats.json' --local-dir Loom52M
```

Each WebDataset sample groups an image, caption, and JSON metadata under the same key. Keep the tar shards intact and pass the `train/` shard list to the hierarchical loader in the [training implementation](https://github.com/yuweiyang-anu/BioLoom). The shards total approximately 2.42 TB. Use [BioLoom-EvalSuite](https://huggingface.co/datasets/ChartFoundation/BioLoom-EvalSuite) to evaluate trained models.