Taykhoom commited on
Commit
7de7b4f
·
verified ·
1 Parent(s): 3183f83

Publish reviewed GAMBA evaluation dataset

Browse files
README.md ADDED
@@ -0,0 +1,123 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ pretty_name: "GAMBA Functional Region Multiclass"
3
+ license: mit
4
+ tags:
5
+ - biology
6
+ - genomics
7
+ - dna
8
+ - genome-language-model
9
+ - benchmark
10
+ - functional-genomics
11
+ - multiclass-classification
12
+ - hg38
13
+ - parquet
14
+ configs:
15
+ - config_name: full
16
+ data_files:
17
+ - split: all
18
+ path: functional-multiclass-gamba-full.parquet
19
+ - config_name: 100bp
20
+ data_files:
21
+ - split: all
22
+ path: functional-multiclass-gamba-100bp.parquet
23
+ - config_name: full-noncoding-added
24
+ data_files:
25
+ - split: all
26
+ path: functional-multiclass-gamba-full-noncoding-added.parquet
27
+ - config_name: 100bp-noncoding-added
28
+ data_files:
29
+ - split: all
30
+ path: functional-multiclass-gamba-100bp-noncoding-added.parquet
31
+ ---
32
+
33
+ # GAMBA Functional Region Multiclass
34
+
35
+ This dataset packages GAMBA's multiclass functional-region benchmark. Each row
36
+ is an annotated feature labeled by its functional category.
37
+
38
+ The full-region and 100 bp pooling variants are separate Hugging Face configs.
39
+ Both retain the same GAMBA-oriented context sequence; `pool_start` and
40
+ `pool_end` select either the complete ROI or a deterministic 100 bp subspan.
41
+ ROIs shorter than 100 bp are absent from the 100 bp configs.
42
+
43
+ GAMBA's evaluator selects the 100 bp subspan using Python's process-randomized
44
+ `hash()`. This release uses BLAKE2 over the same seed, category, and pair ID so
45
+ the saved subset is stable across machines.
46
+
47
+ ## Configs
48
+
49
+ | Config | Train rows | Test rows | Total | Pooling span |
50
+ |---|---:|---:|---:|---|
51
+ | `full` | 67,846 | 16,991 | 84,837 | complete ROI |
52
+ | `100bp` | 46,862 | 11,781 | 58,643 | 100 bp |
53
+ | `full-noncoding-added` | 75,363 | 18,917 | 94,280 | complete ROI |
54
+ | `100bp-noncoding-added` | 54,028 | 13,595 | 67,623 | 100 bp |
55
+
56
+ The two `noncoding-added` configs are explicit extensions from
57
+ [Gamba-Processing](https://github.com/TaykhoomDalal/Gamba-Processing), not an
58
+ additional category emitted by GAMBA's current `create_eval_data.py`.
59
+
60
+ ## Loading
61
+
62
+ ```python
63
+ from datasets import load_dataset
64
+
65
+ full = load_dataset(
66
+ "Taykhoom/functional-multiclass-gamba",
67
+ "full",
68
+ split="all",
69
+ )
70
+ train = full.filter(lambda row: row["split"] == "train")
71
+ test = full.filter(lambda row: row["split"] == "test")
72
+ ```
73
+
74
+ ## Columns
75
+
76
+ | Column | Description |
77
+ |---|---|
78
+ | `split`, `label` | Probe/fine-tuning `train` or held-out `test`; `label` is the functional category. |
79
+ | `sequence` | Strand-oriented GAMBA context of at most 2,048 bp. |
80
+ | `pair_id` | Stable GAMBA feature/control identifier. |
81
+ | `category`, `scope` | Functional category and `full` or `100bp`. |
82
+ | `chrom`, `start`, `end`, `strand` | Zero-based, half-open hg38 feature coordinates. |
83
+ | `context_start`, `context_end` | Forward-genome coordinates of `sequence`. |
84
+ | `roi_start`, `roi_end` | Full feature offsets within `sequence`. |
85
+ | `pool_start`, `pool_end` | Full-ROI or fixed 100 bp pooling span. |
86
+ | `name` | Source annotation name. |
87
+
88
+ ## Data source and processing
89
+
90
+ The processing code reproduces the ten-category BED output from
91
+ [Microsoft GAMBA](https://github.com/microsoft/gamba) commit `e83984e`
92
+ byte-for-byte, then freezes all GAMBA autosomes plus `chrX` in parquet.
93
+ The GAMBA models were pretrained on the chromosomes marked `train`. The paper's
94
+ zero-shot result used the frozen models on `chr2`, `chr3`, `chr16`, and
95
+ `chr22`, which are marked `test`; no task-specific model was fitted on these
96
+ benchmark rows. Use only `test` to reproduce that paper subset. The `train`
97
+ rows are provided for probing/fine-tuning or broader chromosome evaluation.
98
+
99
+ ## Citation
100
+
101
+ Please cite the GAMBA paper:
102
+
103
+ Consens, M. E. et al. *Predicting evolutionary rate as a pretraining task
104
+ improves genome language model representations*. bioRxiv (2026).
105
+ [doi:10.64898/2026.02.02.703275](https://doi.org/10.64898/2026.02.02.703275).
106
+ A conference version is available on
107
+ [OpenReview](https://openreview.net/forum?id=dkgM2ale4U).
108
+
109
+ ```bibtex
110
+ @article{consens2026predicting,
111
+ title = {Predicting evolutionary rate as a pretraining task improves genome language model representations},
112
+ author = {Consens, Micaela Elisa and Yang, Kevin K. and Hall, Jimmy and Conard, Ashley Mae and Wang, Bo and Crawford, Lorin and Moses, Alan and Lu, Alex X.},
113
+ journal = {bioRxiv},
114
+ year = {2026},
115
+ doi = {10.64898/2026.02.02.703275},
116
+ url = {https://doi.org/10.64898/2026.02.02.703275}
117
+ }
118
+ ```
119
+
120
+ ## License
121
+
122
+ GAMBA and its released benchmark code/data are distributed under the MIT
123
+ license. Upstream annotation resources retain their original terms.
functional-multiclass-gamba-100bp-noncoding-added.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a8d7e887c061262291dece2553c37994a48a84aad0e23b942817a3f345bb41c2
3
+ size 41129016
functional-multiclass-gamba-100bp.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:541bda865687472aa4ec873d6c6cf4ff4c8331c655626407c42259b385597552
3
+ size 36594002
functional-multiclass-gamba-full-noncoding-added.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b74123101d4875c6770dd797de7768e346354a19eccdb65b07a3ebd32f97ddc3
3
+ size 58468235
functional-multiclass-gamba-full.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a2aad53008e0a053e1b7d45ccb893389df8b1cbe1c3b29025aab3d493608687a
3
+ size 53649684