Create README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
tags:
|
| 4 |
+
- biology
|
| 5 |
+
---
|
| 6 |
+
# Gengram-10B-torch
|
| 7 |
+
|
| 8 |
+
|
| 9 |
+
This repository hosts the model weights for Gengram-10B-torch. For instructions and details, please refer to the **[Gengram GitHub](https://github.com/zhejianglab/Gengram)**.
|
| 10 |
+
|
| 11 |
+
Gengram is a novel conditional memory module designed for genomic foundation models (GFMs) that introduces explicit motif memory retrieval to enhance Transformer-based DNA sequence modeling. Unlike traditional GFMs that rely on dense computation to implicitly infer multi-nucleotide motifs, Gengram provides an efficient lookup mechanism for biological patterns through a genomic-specific hashing scheme.
|
| 12 |
+
|
| 13 |
+
### ✨ Key Features
|
| 14 |
+
|
| 15 |
+
- **🎯 Explicit Motif Memory**: Stores and retrieves k-mers (k=1-6) via hash-based lookup tables
|
| 16 |
+
- **🧬 Local Window Aggregation**: 21bp window mechanism aligned with DNA helical structure
|
| 17 |
+
- **⚡ Computational Efficiency**: Linear time complexity with minimal overhead
|
| 18 |
+
- **🔧 Architecture Agnostic**: Compatible with various attention mechanisms (MHA, GQA, MLA)
|
| 19 |
+
- **⚖️ Stable Training**: Improves load balancing in Mixture-of-Experts models
|
| 20 |
+
- **🔍 Biological Interpretability**: Learns meaningful motif representations
|
| 21 |
+
|
| 22 |
+
### ✨ Biological Interpretability
|
| 23 |
+
|
| 24 |
+
- **Reverse-complement symmetry** in memory embeddings
|
| 25 |
+
- **Context-dependent gating** aligned with functional regions
|
| 26 |
+
- **Hierarchical representation** from shallow to deep layers
|
| 27 |
+
|
| 28 |
+
For full documentation, training details, and usage instructions, please visit the [GitHub]((https://github.com/zhejianglab/Gengram)) repository.
|