This repository hosts the trained projection matrices A for Explaining CLIP Zero-shot Predictions Through Concepts (CVPR 2026).
Model source
Source excerpt
This repository hosts the trained projection matrices A for Explaining CLIP Zero-shot Predictions Through Concepts (CVPR 2026).
Sources
1 sourceVerified Sep 10
Model artifacts
8 artifactscheckpoints/CIFAR-100_backbone_RN50_weight_1.0_epoch_10000_lr_0.01_bs_1000000/best_A.pth
pth · 20.6 MB · SHA-256 3cf9e1a2ee6f…755d · Hugging Face
Downloadcheckpoints/CUB-200-2011_backbone_RN50_weight_5.0_epoch_10000_lr_0.01_bs_1000000/best_A.pth
pth · 19.8 MB · SHA-256 b90ee284a62e…62c6 · Hugging Face
DownloadSource excerpts
2 excerptscheckpoints/ImageNet_backbone_RN50_weight_1.0_epoch_10000_lr_0.01_bs_1000000/best_A.pth
pth · 18.6 MB · SHA-256 b1d12e1ee210…5ef2 · Hugging Face
Downloadcheckpoints/ImageNet-100_backbone_RN50_weight_1.0_epoch_10000_lr_0.01_bs_1000000/best_A.pth
pth · 18.6 MB · SHA-256 89161548a9bf…a83a · Hugging Face
Downloadcheckpoints/ImageNet-100_backbone_siglip-so400m-patch14-384_weight_1.0_epoch_10000_lr_0.01_bs_1000000/best_A.pth
pth · 20.9 MB · SHA-256 83bbbf1a5d76…efd3 · Hugging Face
Downloadcheckpoints/ImageNet-100_backbone_ViT-B-32_weight_1.0_epoch_10000_lr_0.01_bs_1000000/best_A.pth
pth · 9.28 MB · SHA-256 59dd96d425b7…ccdd · Hugging Face
Downloadcheckpoints/ImageNet-100_backbone_ViT-L-14_weight_1.0_epoch_10000_lr_0.01_bs_1000000/best_A.pth
pth · 13.9 MB · SHA-256 04e6f0b86abf…9c47 · Hugging Face
Downloadcheckpoints/Places365_backbone_RN50_weight_5.0_epoch_10000_lr_0.01_bs_1000000/best_A.pth
pth · 26.2 MB · SHA-256 fa1693044a5a…1061 · Hugging Face
Download--- license: mit library_name: pytorch tags: - clip - siglip - zero-shot-image-classification - interpretability - concept-bottleneck - vision-language - cvpr2026 datasets: - oonat/ezpc-embeddings base_model: - openai/clip-rn50 - openai/clip-vit-base-patch32 - openai/clip-vit-large-patch14 - google/siglip-so400m-patch14-384 pipeline_tag: zero-shot-image-classification --- # EZPC - Pre-trained Concept Projection Matrices This repository hosts the trained projection matrices **A** for **Explaining CLIP Zero-shot Predictions Through Concepts** (CVPR 2026). - 📄 **Paper:** [arXiv:2603.28211](https://arxiv.org/abs/2603.28211) - 💻 **Code:** [github.com/oonat/ezpc](https://github.com/oonat/ezpc) - 🌐 **Project page:** [oonat.github.io/ezpc](https://oonat.github.io/ezpc) - 🤗 **Embeddings:** [oonat/ezpc-embeddings](https://huggingface.co/datasets/oonat/ezpc-embeddings) ## Repository Layout Each checkpoint is a single PyTorch tensor file (`best_A.pth`) inside a folder whose name encodes the training configuration: ``` checkpoints/ └── <dataset>_backbone_<backbone>_weight_<λ>_epoch_<E>_lr_<lr>_bs_<bs>/ └── best_A.pth ``` For example: ``` checkpoints/CIFAR-100_backbone_RN50_weight_1.0_epoch_10000_lr_0.01_bs_1000000/best_A.pth ``` The tensor `best_A.pth` has shape **(d, m)** where *d* is the backbone embedding dimension and *m* is the number of concepts in the dataset's concept vocabulary. ## Quickstart ### 1. Download a checkpoint ```bash pip install huggingface-hub # Download all checkpoints hf download oonat/ezpc-checkpoints \ --local-dir . \ --include "checkpoints/*" # Or just one hf download oonat/ezpc-checkpoints \ --local-dir . \ --include "checkpoints/CIFAR-100_backbone_RN50_weight_1.0_epoch_10000_lr_0.01_bs_1000000/*" ``` ### 2. Load and use it The checkpoint can be loaded directly with PyTorch: ```python import torch A = torch.load( "checkpoints/CIFAR-100_backbone_RN50_weight_1.0_epoch_10000_lr_0.01_bs_1000000/best_A.pth", weights_only=True, ).float() print(A.shape) # (d, m) ``` To run zero-shot evaluation, qualitative concept visualizations, faithfulness analyses, or any of the experiments from the paper, clone the [EZPC GitHub repo](https://github.com/oonat/ezpc). Evaluation also requires the pre-computed image **and** cached text embeddings. Download them from the [embeddings dataset](https://huggingface.co/dataset...
Source context: 0 downloads · 0 likes · Pipeline zero-shot-image-classification · Library pytorch · Repo oonat/ezpc-checkpoints