dnagpt / OmniGene-4-CPT-v2-merged

huggingface.co
Total runs: 12
24-hour runs: -1
7-day runs: -1
30-day runs: 3
Model's Last Updated: May 12 2026

Introduction of OmniGene-4-CPT-v2-merged

Model Details of OmniGene-4-CPT-v2-merged

OmniGene-4-CPT-v2-Merged

Full BF16 model with CPT (Continued Pretraining) merged

This is the complete merged model (not LoRA adapter). You can load and use it directly without needing the base Gemma-4 model.

Model Description

OmniGene-4-CPT-v2-Merged is a biological foundation model with:

  • Base : Gemma-4-26B-A4B-Instruct (MoE, 128 experts, top-8 routing)
  • Vocabulary : 290,048 tokens (262,020 original + 28,028 bio tokens)
  • CPT data : 32.5 GB mixed corpus (DNA, Protein, OpenWebText, Structure)
  • Training : 0.6 epoch, 2,806 steps, 8×H20 GPUs
  • Precision : BF16 (~50 GB)
Quick Start
from transformers import AutoTokenizer, AutoModelForCausalLM
import torch

# Load model (requires ~50GB GPU memory)
model = AutoModelForCausalLM.from_pretrained(
    "dnagpt/OmniGene-4-CPT-v2-merged",
    torch_dtype=torch.bfloat16,
    device_map="auto",
)
tokenizer = AutoTokenizer.from_pretrained("dnagpt/OmniGene-4-CPT-v2-merged")

# Generate
prompt = "MKTAYIAKQRQISFVKSHFSRQLEERLGLIEVQAPILSRVGDGTQDNLSGAEKAVQVKVKALPDAQFEVVHSLAKWKRQTLGQHDFSAGEGLYTHMKALRPDEDRLSPLHSVYVDQWDWERVMGDGERQFSTLKSTVEAIWAGIKATEAAVSEEFGLAPFLPDQIHFVHSQELLSRYPDLDAKGRERAIAKDLGAVFLVGIGGKLSDGHRHDVRAPDYDDWSTPSELGHAGLNGDILVWNPVLEDAFELSSMGIRVDADTLKHQLALTGDEDRLELEWHQALLRGEMPQTIGGGIGQSRLTMLLLQLPHIGQVQAGVWPAAVRESVPSLL"

inputs = tokenizer(prompt, return_tensors="pt").to(model.device)
outputs = model.generate(**inputs, max_new_tokens=100)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
For Lower Memory Usage

If you have limited GPU memory, use 4-bit quantization:

from transformers import AutoTokenizer, AutoModelForCausalLM, BitsAndBytesConfig
import torch

bnb_config = BitsAndBytesConfig(
    load_in_4bit=True,
    bnb_4bit_quant_type="nf4",
    bnb_4bit_compute_dtype=torch.bfloat16,
    bnb_4bit_use_double_quant=True,
)

model = AutoModelForCausalLM.from_pretrained(
    "dnagpt/OmniGene-4-CPT-v2-merged",
    quantization_config=bnb_config,
    device_map="auto",
)
tokenizer = AutoTokenizer.from_pretrained("dnagpt/OmniGene-4-CPT-v2-merged")

This reduces memory usage to ~13GB.

Model Architecture
  • Layers : 30 transformer layers
  • Experts : 128 experts per layer (top-8 routing)
  • Hidden size : 2816
  • Attention heads : 22
  • Active parameters : ~3.8B per token
  • Total parameters : ~26B
Biological Tokens

The model includes 28,028 additional biological tokens:

  • DNA BPE : 20,000 tokens (optimized for genomic sequences)
  • Protein BPE : 8,000 tokens (optimized for amino acid sequences)
  • 3Di alphabet : 20 tokens (Foldseek structural alphabet)
  • DSSP : 8 tokens (secondary structure: H, E, C, etc.)
Training Data
Source Size Tokens Proportion
DNA (human genome) 8.0 GB 2.1B 24.6%
Protein (UniProt) 8.0 GB 2.1B 24.6%
Protein (LucaOne) 7.5 GB 2.0B 23.1%
OpenWebText 8.0 GB 2.1B 24.6%
Structure (3Di + DSSP) 0.4 GB 0.1B 1.2%
Instruction replay 0.6 GB 0.4B 1.9%
Differences from LoRA Version
  • LoRA version ( dnagpt/OmniGene-4-CPT-v2 ): 1.9 GB, requires base Gemma-4 model
  • Merged version (this repo): ~50 GB, standalone, no base model needed
Next Steps

For instruction-tuned version, see:

Citation
@article{wang2026omnigene4,
  title={OmniGene-4: A Unified Bio-Language MoE Model with Router-Level Interpretability},
  author={Wang, Liang},
  journal={bioRxiv},
  year={2026}
}
Paper

Full paper: https://github.com/maris205/omnigene4

License

Apache 2.0

Contact

Liang Wang ( [email protected] )
School of Artificial Intelligence and Automation
Huazhong University of Science and Technology

Runs of dnagpt OmniGene-4-CPT-v2-merged on huggingface.co

12
Total runs
-1
24-hour runs
-5
3-day runs
-1
7-day runs
3
30-day runs

More Information About OmniGene-4-CPT-v2-merged huggingface.co Model

OmniGene-4-CPT-v2-merged huggingface.co

OmniGene-4-CPT-v2-merged huggingface.co is an AI model on huggingface.co that provides OmniGene-4-CPT-v2-merged's model effect (), which can be used instantly with this dnagpt OmniGene-4-CPT-v2-merged model. huggingface.co supports a free trial of the OmniGene-4-CPT-v2-merged model, and also provides paid use of the OmniGene-4-CPT-v2-merged. Support call OmniGene-4-CPT-v2-merged model through api, including Node.js, Python, http.

OmniGene-4-CPT-v2-merged huggingface.co Url

https://huggingface.co/dnagpt/OmniGene-4-CPT-v2-merged

dnagpt OmniGene-4-CPT-v2-merged online free

OmniGene-4-CPT-v2-merged huggingface.co is an online trial and call api platform, which integrates OmniGene-4-CPT-v2-merged's modeling effects, including api services, and provides a free online trial of OmniGene-4-CPT-v2-merged, you can try OmniGene-4-CPT-v2-merged online for free by clicking the link below.

dnagpt OmniGene-4-CPT-v2-merged online free url in huggingface.co:

https://huggingface.co/dnagpt/OmniGene-4-CPT-v2-merged

OmniGene-4-CPT-v2-merged install

OmniGene-4-CPT-v2-merged is an open source model from GitHub that offers a free installation service, and any user can find OmniGene-4-CPT-v2-merged on GitHub to install. At the same time, huggingface.co provides the effect of OmniGene-4-CPT-v2-merged install, users can directly use OmniGene-4-CPT-v2-merged installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

OmniGene-4-CPT-v2-merged install url in huggingface.co:

https://huggingface.co/dnagpt/OmniGene-4-CPT-v2-merged

Url of OmniGene-4-CPT-v2-merged

OmniGene-4-CPT-v2-merged huggingface.co Url

Provider of OmniGene-4-CPT-v2-merged huggingface.co

dnagpt
ORGANIZATIONS

Other API from dnagpt

huggingface.co

Total runs: 37
Run Growth: -72
Growth Rate: -160.00%
Updated:August 06 2023
huggingface.co

Total runs: 35
Run Growth: 27
Growth Rate: 77.14%
Updated:February 18 2025
huggingface.co

Total runs: 26
Run Growth: 19
Growth Rate: 73.08%
Updated:October 31 2024
huggingface.co

Total runs: 23
Run Growth: 17
Growth Rate: 73.91%
Updated:December 30 2024
huggingface.co

Total runs: 20
Run Growth: 13
Growth Rate: 65.00%
Updated:October 19 2024
huggingface.co

Total runs: 12
Run Growth: 7
Growth Rate: 58.33%
Updated:January 03 2025
huggingface.co

Total runs: 12
Run Growth: 5
Growth Rate: 41.67%
Updated:February 11 2025
huggingface.co

Total runs: 12
Run Growth: 6
Growth Rate: 50.00%
Updated:January 03 2025
huggingface.co

Total runs: 12
Run Growth: 5
Growth Rate: 41.67%
Updated:November 30 2024
huggingface.co

Total runs: 11
Run Growth: 6
Growth Rate: 54.55%
Updated:September 19 2025
huggingface.co

Total runs: 10
Run Growth: 4
Growth Rate: 40.00%
Updated:November 30 2024
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:January 20 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:September 05 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:January 04 2026
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:October 12 2024
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:January 24 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:March 03 2025