Views
No views yet
rep0 through rep3). Each replicate is provided in two formats:.ckpt: PyTorch Lightning checkpoints containing model weights, optimizer states, and hyperparameters..safetensors: A lightweight, secure format for weights only.rep0.ckpt, rep1.ckpt, rep2.ckpt, rep3.ckptrep0.safetensors, rep1.safetensors, rep2.safetensors, rep3.safetensorsdecima package (https://github.com/Genentech/decima).1from decima.model.lightning import LightningModel
2from huggingface_hub import hf_hub_download
3
4# Download a specific replicate (e.g., rep0)
5ckpt_path = hf_hub_download(
6 repo_id="Genentech/decima-model",
7 filename="rep0.ckpt"
8)
9
10# Load the model
11model = LightningModel.load_from_checkpoint(ckpt_path)
12model.eval()
13
14# For a safetensor file, use LightningModel.load_safetensor(path)