borzoiV2-teacher-replicate-0
This is one of four released teacher models of BorzoiV2. They are identical except for the random seed; this one is seed 0. From 524,288 bp of DNA, it predicts genomic tracks at 32 bp resolution. It has one output head per species dataset:
- human (GRCh38): 4,316 tracks of RNA-seq (including one merged track per GTEx tissue), DNase-seq, ATAC-seq and Fiber-seq accessibility;
- mouse (mm10): Borzoi's 828 mouse tracks;
- 12 further heads for cat, chimpanzee, cow, dog (two assemblies), goat, horse, macaque, mouse (
mouse_ms), pig, rabbit and sheep, mostly RNA-seq. Each one reads its own species' genome assembly.
The architecture and outputs are the same as johahi/borzoiV2-distilled (about 249 M parameters). That model is a
single student distilled from 64 teachers of this recipe, trained for 150k steps each.
- Replicates 0โ3 are
johahi/borzoiV2-teacher-replicate-0to-3. - Averaging the predictions of several replicates is an ensemble; averaging more replicates gives better results.
Code, installation and examples: https://github.com/johahi/borzoiV2
import torch
from borzoiv2 import BorzoiV2, one_hot
model = BorzoiV2.from_pretrained("johahi/borzoiV2-teacher-replicate-0").cuda()
x = one_hot(seq)[None].cuda() # seq: 524,288 bp of GRCh38
with torch.autocast("cuda", dtype=torch.bfloat16):
y = model.predict(x) # human head: [1, 4316, 6144], forward + reverse complement averaged
Files
| file | content |
|---|---|
model.safetensors |
fp32 weights |
config.json |
architecture hyperparameters, output heads and provenance (training run j041v2-510e3a-allf041rh-t005) |
tracks.tsv |
one row per output of every head: head, description, assay, strand partner, output transform, genome assembly |
MD5SUMS |
checksums |
Training
- Data: trained on every genomic fold, on human and mouse coverage tracks plus the other species' datasets above, with the multispecies loss down-weighted. Low-mappability bases were masked out of the loss.
- Schedule: 150k steps at batch 16, then a second phase from 150k to 300k steps. The second phase re-warmed the learning rate over 10k steps to its peak of 1e-4, then decayed it on a cosine to 1e-5.
- Head rows that never received a training loss were removed (stock CAGE/ChIP rows of the human and mouse heads). The remaining weights are unchanged.
Intended use and limitations
The model is for research on gene regulation and variant effect prediction.
- No held-out regions. The model was trained on every genomic fold, so it has seen every region of every genome it was trained on. Any benchmark on these genomes measures seen-region performance.
- It was trained and evaluated under bf16 autocast on GPU. Small distal variant effects are close to bf16 rounding error.
- There is no cell-type input: each biosample is a separate output track.
- It is not for clinical use.
- Downloads last month
- 2
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐ Ask for provider support