ZhejiangLab/Gengram 已完整同步
Gengram-10B
This repository hosts the model weights for Gengram-10B. For instructions and details, please refer to the Gengram GitHub.
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.
✨ Key Features
- 🎯 Explicit Motif Memory: Stores and retrieves k-mers (k=1-6) via hash-based lookup tables
- 🧬 Local Window Aggregation: 21bp window mechanism aligned with DNA helical structure
- ⚡ Computational Efficiency: Linear time complexity with minimal overhead
- 🔧 Architecture Agnostic: Compatible with various attention mechanisms (MHA, GQA, MLA)
- ⚖️ Stable Training: Improves load balancing in Mixture-of-Experts models
- 🔍 Biological Interpretability: Learns meaningful motif representations
✨ Biological Interpretability
- Reverse-complement symmetry in memory embeddings
- Context-dependent gating aligned with functional regions
- Hierarchical representation from shallow to deep layers
For full documentation, training details, and usage instructions, please visit the GitHub repository.
1033 个文件
浏览文件数据集版权信息
本数据集的许可证为 Apache License 2.0。如有违反相关条款,请联系 WEHUB,我们将及时处理。 查看许可证
通过 WeHub CLI 下载当前数据集快照。下列命令会固定为当前页面展示的数据版本(如果页面提供版本)。文件字节由本机直连存储下载,浏览器不会签发或保存下载链接。
前置要求
需要 Node.js 18 及以上,以及 npm(或 npx)。
1. 安装 CLI
npm install -g wehub-cli@latest
2. 下载此数据集
wehub datasets download ds_ext_1843_66a579f7be --revision f6388586a721cd8c4ef36160e969050c1929bb49 --output ./ds_ext_1843_66a579f7be
若中断或部分失败,在同一目录重新执行同一命令即可续传。默认会校验 SHA-256。
免全局安装
npx --yes wehub-cli@latest datasets download ds_ext_1843_66a579f7be --revision f6388586a721cd8c4ef36160e969050c1929bb49 --output ./ds_ext_1843_66a579f7be
高级选项
以下为 wehub datasets download 已支持的参数示例:
强制重新下载,不复用已校验的本地文件
wehub datasets download ds_ext_1843_66a579f7be --revision f6388586a721cd8c4ef36160e969050c1929bb49 --output ./ds_ext_1843_66a579f7be --overwrite
仅包含匹配路径
wehub datasets download ds_ext_1843_66a579f7be --revision f6388586a721cd8c4ef36160e969050c1929bb49 --output ./ds_ext_1843_66a579f7be --include "*.jsonl"
排除匹配路径
wehub datasets download ds_ext_1843_66a579f7be --revision f6388586a721cd8c4ef36160e969050c1929bb49 --output ./ds_ext_1843_66a579f7be --exclude "*.md"
提高并发下载数
wehub datasets download ds_ext_1843_66a579f7be --revision f6388586a721cd8c4ef36160e969050c1929bb49 --output ./ds_ext_1843_66a579f7be --jobs 8
完整帮助:wehub datasets download --help