dnagpt / OmniGene-4-CPT-v2-4bit

huggingface.co
Total runs: 14
24-hour runs: 2
7-day runs: 4
30-day runs: 7
Model's Last Updated: May 13 2026

Introduction of OmniGene-4-CPT-v2-4bit

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

OmniGene-4-CPT-v2-4bit

BF16 model with automatic 4-bit quantization for RTX 5090 (32GB)

This model automatically quantizes to 4-bit when loaded, requiring only ~13GB GPU memory.

Model Description

OmniGene-4-CPT-v2-4bit 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
  • Storage : BF16 (~49 GB, 32 shards of ~1.5GB each)
  • Runtime : Automatic 4-bit quantization (~13GB GPU memory)
Quick Start
from transformers import AutoTokenizer, AutoModelForCausalLM
import torch

# Load model (automatically quantizes to 4-bit)
model = AutoModelForCausalLM.from_pretrained(
    "dnagpt/OmniGene-4-CPT-v2-4bit",
    device_map="auto",  # Automatically applies quantization_config.json
)
tokenizer = AutoTokenizer.from_pretrained("dnagpt/OmniGene-4-CPT-v2-4bit")

# 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))
Hardware Requirements
  • GPU Memory : ~13-15GB (after automatic 4-bit quantization)
  • Recommended : RTX 5090 (32GB), RTX 4090 (24GB), or better
  • Minimum : RTX 3090 (24GB)
Quantization Details

This model uses bitsandbytes NF4 quantization with double quantization:

  • Method : NF4 (Normal Float 4-bit)
  • Compute dtype : bfloat16
  • Double quantization : Yes
  • Quality : Minimal accuracy loss compared to BF16

The quantization happens automatically when you load the model thanks to the included quantization_config.json .

Download Size vs Runtime Size
  • Download : ~49GB (BF16 weights, 32 shards)
  • Disk : ~49GB
  • GPU Memory : ~13GB (after automatic quantization)

The model is stored in BF16 for maximum quality, then quantized to 4-bit at load time.

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%
Other Versions
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-4bit on huggingface.co

14
Total runs
2
24-hour runs
4
3-day runs
4
7-day runs
7
30-day runs

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

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

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

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

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

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

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

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

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

OmniGene-4-CPT-v2-4bit install

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

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

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

Url of OmniGene-4-CPT-v2-4bit

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

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

dnagpt
ORGANIZATIONS

Other API from dnagpt

huggingface.co

Total runs: 73
Run Growth: 54
Growth Rate: 73.97%
Updated:August 06 2023
huggingface.co

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

Total runs: 33
Run Growth: 22
Growth Rate: 66.67%
Updated:December 30 2024
huggingface.co

Total runs: 31
Run Growth: 16
Growth Rate: 51.61%
Updated:October 31 2024
huggingface.co

Total runs: 30
Run Growth: 25
Growth Rate: 83.33%
Updated:October 19 2024
huggingface.co

Total runs: 23
Run Growth: 18
Growth Rate: 78.26%
Updated:January 03 2025
huggingface.co

Total runs: 21
Run Growth: 16
Growth Rate: 76.19%
Updated:November 30 2024
huggingface.co

Total runs: 20
Run Growth: 14
Growth Rate: 70.00%
Updated:September 19 2025
huggingface.co

Total runs: 19
Run Growth: 13
Growth Rate: 68.42%
Updated:January 03 2025
huggingface.co

Total runs: 18
Run Growth: 11
Growth Rate: 61.11%
Updated:February 11 2025
huggingface.co

Total runs: 12
Run Growth: 7
Growth Rate: 58.33%
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