Tim419 commited on
Commit
c770ee1
·
verified ·
1 Parent(s): bc49ef7

Add dataset card

Browse files
Files changed (1) hide show
  1. README.md +110 -0
README.md ADDED
@@ -0,0 +1,110 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ license_name: mixed-upstream-oss
4
+ license_link: https://github.com/ai4nucleome/GLMap
5
+ pretty_name: GLMap scoring containers
6
+ tags:
7
+ - genomics
8
+ - dna
9
+ - genomic-language-model
10
+ - apptainer
11
+ - singularity
12
+ - container
13
+ - bioinformatics
14
+ - reproducibility
15
+ viewer: false
16
+ ---
17
+
18
+ # 🧬 🗺️ GLMap scoring containers
19
+
20
+ Prebuilt **Apptainer / Singularity** images that carry the GPU runtime
21
+ environments for **scoring all 123 genomic language models (gLMs)** profiled in
22
+ [**GLMap**](https://github.com/ai4nucleome/GLMap) — *Profiling genomic language
23
+ models as individuals in a population*.
24
+
25
+ The 123 models span runtime stacks that are **mutually incompatible** (Python
26
+ 3.8–3.12, PyTorch 1.13–2.9, CUDA 11.7–12.4) and can never share one interpreter.
27
+ These four images package every environment so you can recompute the
28
+ likelihood responses **without setting up a single conda env**.
29
+
30
+ > Only need the **analysis** (precomputed scores, figures/tables)? You don't
31
+ > need these images at all — `pip install -e .` on the
32
+ > [GLMap repo](https://github.com/ai4nucleome/GLMap) gives a torch-free stack.
33
+
34
+ ## What's here
35
+
36
+ Each image is **self-contained** (the shared CUDA 12.8 base is already inside;
37
+ download only the group(s) for the models you want to score):
38
+
39
+ | Image | Size | Envs | Model families |
40
+ |---|---|---|---|
41
+ | `bio-default.sif` | 17 GB | base / dnabert2 / megadna | NT, GENA-LM, ModernBERT, GROVER, Mistral-DNA, NTv3, … (most); DNABERT-2 / DNABERT-S; megaDNA |
42
+ | `bio-cu118.sif` | 20 GB | caduceus / gf / hyena-dna | Caduceus; GenomeOcean; HyenaDNA |
43
+ | `bio-cu121.sif` | 15 GB | PlantCAD | PlantCAD2 |
44
+ | `bio-evo.sif` | 24 GB | evo / evo2 | Evo-1 / Evo-1.5; Evo-2 (7B) |
45
+
46
+ Each image holds its envs as isolated micromamba environments and dispatches to
47
+ the right one per model via the `GLMAP_ENV` variable.
48
+
49
+ ## Download
50
+
51
+ ```bash
52
+ # one image
53
+ hf download Tim419/GLMap-containers bio-default.sif --repo-type dataset --local-dir .
54
+
55
+ # or all four
56
+ hf download Tim419/GLMap-containers --repo-type dataset --local-dir .
57
+ ```
58
+
59
+ ## Run
60
+
61
+ Bind your [GLMap checkout](https://github.com/ai4nucleome/GLMap) at `/work`
62
+ (code, panel, audit, model weights) and pick the env with `GLMAP_ENV`:
63
+
64
+ ```bash
65
+ GLMAP_ENV=caduceus apptainer run --nv \
66
+ --bind "$PWD":/work --pwd /work bio-cu118.sif \
67
+ scripts/score/scoring_worker.py --from-audit \
68
+ --hf-ids kuleshov-group/caduceus-ph_seqlen-131k_d_model-256_n_layer-16
69
+ ```
70
+
71
+ Or run the **full 123-model sweep** straight through the images:
72
+
73
+ ```bash
74
+ python scripts/score/run_scoring_sweep.py \
75
+ --backend container --image-dir <dir with the .sif files> --hf-cache "$HF_HOME"
76
+ ```
77
+
78
+ - `--nv` exposes the host GPU.
79
+ - On compute nodes **without user namespaces**, use `singularity run --nv`
80
+ (the same `.sif`) — the GLMap sweep takes `--container-runtime singularity`.
81
+ - **HyenaDNA / megaDNA** also need their loader code on the bound checkout: it
82
+ is in the GLMap repo after `bash models/setup_external_models.sh` (HyenaDNA's
83
+ is vendored; megaDNA's weight auto-downloads from the HF Hub).
84
+
85
+ See [`container/README.md`](https://github.com/ai4nucleome/GLMap/blob/main/container/README.md)
86
+ and [`models/env_routing.md`](https://github.com/ai4nucleome/GLMap/blob/main/models/env_routing.md)
87
+ for the full model → image/env routing.
88
+
89
+ ## License
90
+
91
+ These images bundle many third-party open-source runtimes (PyTorch,
92
+ Transformers, mamba-ssm, flash-attn, evo2, …) and each model family's loader
93
+ code — **each remains under its own upstream license**. The GLMap glue code is
94
+ Apache-2.0. Individual model **weights** are downloaded separately and follow
95
+ their own licenses. Consult each upstream project before redistribution or
96
+ commercial use.
97
+
98
+ ## Citation
99
+
100
+ ```bibtex
101
+ @article{hou2026glmap,
102
+ title = {Profiling genomic language models as individuals in a population},
103
+ author = {Hou, Yusen and Long, Weicai and Su, Houcheng and Feng, Junning and Zhang, Yanlin},
104
+ journal = {In submission},
105
+ year = {2026}
106
+ }
107
+ ```
108
+
109
+ Project: <https://github.com/ai4nucleome/GLMap> · Panel dataset:
110
+ [`Tim419/GLMap-panels`](https://huggingface.co/datasets/Tim419/GLMap-panels)