CoolFace
Modelpublic

Genentech/GM12878_dnase-model

sourceHugging Facemitupdated 7mo agoView on Hugging Face
0likes
Model Card

GM12878_dnase-model

Model Description

This model is a single-task regression model trained to take in 2114 bp genomic intervals and predict the total GM12878 DNase-seq coverage in the central 1000 bp. It is described in Lal et al. 2025 (https://www.nature.com/articles/s41592-025-02868-z).

  • —Architecture: DilatedConvModel (gReLU)
  • —Input: 2,114 bp genomic sequences (hg38)
  • —Output: Total DNase-seq coverage in the central 1000 bp
  • —Parameters: 6.3M

Performance

SplitMSEPearson
Validation0.44580.7524
Test0.41130.8056

Training Details

ParameterValue
TaskRegression
LossMSE
OptimizerAdam
Learning rate0.0001
Batch size512
Max epochs15
Channels512
n_conv9
crop_len557
grelu version1.0.4.post1.dev39

Repository Content

  1. 1.model.ckpt: The trained model weights and hyperparameters (PyTorch Lightning checkpoint).
  2. 2.2_train_GM12878_DNase.ipynb: Jupyter notebook for training the model.
  3. 3.3_evaluate_model.ipynb: Jupyter notebook for evaluating the trained model.
  4. 4.output.log: Training logs.

How to use

To load this model for inference or fine-tuning, use the grelu interface:

python
from grelu.lightning import LightningModel
from huggingface_hub import hf_hub_download

ckpt_path = hf_hub_download(
    repo_id="Genentech/GM12878_dnase-model",
    filename="model.ckpt"
)

model = LightningModel.load_from_checkpoint(ckpt_path, weights_only=False)
model.eval()