CoolFace
Modelpublic

NathanRoll/h01-cortex-snn

sourceHugging Faceapache-2.0updated 7mo agoView on Hugging Face
1likes62downloads
Model Card

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

PropertyValue
Neurons16,087
Excitatory10,531 (65.4%)
Inhibitory4,688 (29.1%)
Non-zero connections76,903
Raw edges (pre-aggregation)116,611
Connectivity density0.030%
Mean in-degree4.8
Max in-degree70
External inputs (total)27,022,313
VolumeFull 1 mm³
Cortical layersL1–L6 + white matter
BuildAll 166 GCS shards, min_confidence=0.50

Connectivity by cortical layer

LayerNeuronsExcInhInternal connectionsDensity
Layer 182785586550.008%
Layer 24,6562,9521,59421,8450.101%
Layer 32,6921,67396511,0180.152%
Layer 43,4402,6226888,7480.074%
Layer 52,3131,6655056,2520.117%
Layer 61,0779061284,4190.381%
White matter6483951117320.174%

Degree distribution

MetricIn-degreeOut-degree
Mean4.84.8
Std6.37.0
Median3.02.0
Max70124

Quick start

python
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

python
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

python
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 i

Files

FileDescriptionSize
connectome.safetensorsFull 16,087×16,087 weight matrix~1 GB
edges.npzRaw edge list [pre, post, type]~0.6 MB
metadata.npzPositions, cell types, layers, segment IDs~0.3 MB
somas_filtered.csvNeuron table (positions, types, layers)~1.1 MB
config.jsonBuild parameters + summary statisticssmall
layer_stats.jsonPer-layer connectivity statisticssmall

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.