NathanRoll/h01-cortex-snn
162
Nauro — H01 Human Cortex Connectome (Full)
The complete neuron-to-neuron connectivity matrix extracted from a nanometer-resolution reconstruction of human temporal cortex (H01 dataset, Google/Harvard/Lichtman Lab).
Built from all 166 Avro synapse shards (~32 GB raw data), filtered at ≥0.50 confidence. This is the full connectome — no spatial cropping.
Summary
Connectivity by cortical layer
Degree distribution
Quick start
import json, numpy as np, torch
from safetensors.torch import load_file
# Load everything
config = json.load(open("config.json"))
weights = load_file("connectome.safetensors")["weights"] # (16087, 16087)
meta = np.load("metadata.npz", allow_pickle=True)
edges = np.load("edges.npz")["edges"] # (116611, 3)
print(f"{config['n_neurons']} neurons, {config['n_synapses']} connections")
print(f"Weight matrix: {weights.shape}, density: {config['density']:.4%}")Load via HuggingFace Hub
from huggingface_hub import hf_hub_download
from safetensors.torch import load_file
import numpy as np
repo = "NathanRoll/h01-cortex-snn"
weights = load_file(hf_hub_download(repo, "connectome.safetensors"))["weights"]
meta = np.load(hf_hub_download(repo, "metadata.npz"), allow_pickle=True)
print(f"Loaded {weights.shape[0]} neurons")Reconstruct from edge list
N = config["n_neurons"]
W = torch.zeros(N, N)
for pre, post, stype in edges:
W[post, pre] += 1.0
# W[i, j] = number of synapses from neuron j → neuron iFiles
Data source
The connectome data is from the H01 release by Google Research and the Lichtman Laboratory at Harvard University. The original 1.4 petabyte dataset was imaged via serial-section electron microscopy at 4 nm × 4 nm × 33 nm resolution.
Shapson-Coe, A. et al. "A petavoxel fragment of human cerebral cortex reconstructed at nanoscale resolution." Science 384, eadk4858 (2024).
License
Apache 2.0. The underlying H01 data is subject to Google's release terms.
