Downloads · 30 days
4
13% of all-time downloads
ilex-hub/krakencoder_pca.SCsdstream-coco439-count-pc256.1
krakencoder_pca.SCsdstream-coco439-count-pc256.1 is a machine learning model from ilex-hub. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for ilex. The card lists the license as mit.
Krakencoder (Jamison, Gu, Wang, Tozlu, Sabuncu, Kuceyeski, Nature Methods 2025), ported to JAX / Equinox from the upstream PyTorch release (github.com/kjamison/krakencoder). A linked autoencoder that simultaneously bi…
Downloads · 30 days
4
13% of all-time downloads
All-time downloads
30
Public
Parameters
24.7M
98.8 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors98.8 MB · 100%
From the Hugging Face model README
Krakencoder (Jamison, Gu, Wang, Tozlu, Sabuncu, Kuceyeski, Nature Methods 2025), ported to JAX / Equinox from the upstream PyTorch release (github.com/kjamison/krakencoder). A linked autoencoder that simultaneously bidirectionally translates between structural and functional brain connectivity across different atlases and processing variants ('flavors') via a common 128-dim L2-normalised latent representation. The Nature Methods 2025 publication's canonical model jointly encodes 15 flavors (3 atlases × {3 functional connectivity types + 2 structural tractography types}) and maps each to / from the shared latent.
Architecture (per published recipe): per-flavor 256-dim PCA input transformation -> 256 -> 128 Linear encoder -> 128-dim L2-normalised latent -> 128 -> 256 Linear decoder -> inverse PCA to the destination flavor's full-dim connectivity space. v0 of this port ships the canonical bundle plus its 15-flavor PCA stack (separate krakencoder_pca_stack bundle that the KrakencoderPipeline co-loads).
Single-flavor PCA projection for SCsdstream_coco439_count. Pairs with the matching targlatent main bundle.
from ilex.models.krakencoder import KrakencoderPCAProjection
model = KrakencoderPCAProjection.from_pretrained('ilex-hub/krakencoder_pca.SCsdstream-coco439-count-pc256.1')
Keith W. Jamison, Zijin Gu, Qinxin Wang, Ceren Tozlu, Mert R. Sabuncu, Amy Kuceyeski
Jamison K.W., Gu Z., Wang Q., Tozlu C., Sabuncu M.R., Kuceyeski A. (2025). Krakencoder: a unified brain connectome translation and fusion tool. Nature Methods. DOI: 10.1038/s41592-025-02706-2.
HF Hub license tag: mit
Effective terms: MIT (copyright (c) 2024 Keith W. Jamison). PCA matrices derived from 710 HCP training subjects, hosted on OSF. The ilex JAX / Equinox port code is separately licensed under Apache-2.0 / GPL-3.0.
Upstream license reference: https://opensource.org/licenses/MIT
Network architecture, training code, and pretrained weights -- copyright (c) 2024 Keith W. Jamison; released under the MIT License. JAX / Equinox port code -- copyright (c) the ilex authors, released under the Apache-2.0 / GPL-3.0 dual license used by ilex itself.
Original weights / reference implementation: https://github.com/kjamison/krakencoder
This artefact was produced by ilex's
save/load pipeline. The architecture is implemented in
ilex.models.krakencoder.KrakencoderPCAProjection and the weights have been converted
from their upstream format. See the upstream source above
for the canonical reference.