AntixK/PyTorch-Model-Compare
Compare neural networks by their feature similarity
Implements Centered Kernel Alignment (CKA), a representation similarity metric based on the Hilbert-Schmidt Independence Criterion, with a minibatch-scalable version for comparing deep architectures. Works with any PyTorch `nn.Module` across diverse model families—CNNs, Vision Transformers, and models from torchHub/timm/HuggingFace—enabling ablation studies, architecture analysis, and dataset drift detection through per-layer feature similarity heatmaps.
379 stars. No commits in the last 6 months.
Stars
379
Forks
41
Language
Python
License
MIT
Category
Last pushed
May 17, 2023
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/transformers/AntixK/PyTorch-Model-Compare"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
VectorInstitute/odyssey
A toolkit for developing foundation models using Electronic Health Record (EHR) data.
ycq091044/BIOT
BIOT - A framework for pretraining biosignals at scale. Large EEG pre-trained models.
soda-inria/carte
Repository for CARTE: Context-Aware Representation of Table Entries
harryjdavies/HeartGPT
Interpretable Pre-Trained Transformers for Heart Time-Series Data
woodRock/fishy-business
Machine Learning for Rapid Evaporative Ionization Mass Spectrometry for Marine Biomass Analysis...