Downloads ยท 30 days
0
samarkhanna/ExPLoRA
ExPLoRA is a image classification model from samarkhanna. Use it when you need a label for an image. It is set up for peft. The card lists the license as apache-2.0.
Downloads ยท 30 days
0
Access
Public
Updated Dec 31, 2025
Repo size
9.3 GB
Likes
3
Public
Click a slice to open those files.
.pth6.5 GB ยท 100%
From the Hugging Face model README
Paper | Code | Website | Video
This repository contains pre-trained checkpoints from the ICML 2025 paper:
"ExPLoRA: Parameter-Efficient Extended Pre-Training to Adapt Vision Transformers under Domain Shifts"
ExPLoRA is a parameter-efficient method for adapting pre-trained Vision Transformers (ViT) to new domains using LoRA-based extended pre-training. Instead of training the full architecture, ExPLoRA freezes most of the backbone and trains low-rank adapters and a small subset of ViT blocks during self-supervised pre-training on target domain data.
<p align="center"> <img src="https://samar-khanna.github.io/ExPLoRA/static/images/explora_arch.svg" width="600" style="background-color: white; padding: 10px; border-radius: 8px;"/> </p>Note: All checkpoints have LoRA adapters already merged into the weights. The full checkpoints retain the separate
q_proj,k_proj,v_projlayers (with merged LoRA) alongside the combinedqkvweights for reference. The encoder-only checkpoints contain just the mergedqkvweights, ready for downstream use.
explora_dinov2_fmow_rgb/ExPLoRA checkpoints using DINOv2 self-supervised pre-training on fMoW high-resolution RGB satellite imagery.
| Description | ViT-B | ViT-L |
|---|---|---|
| DinoV2 teacher encoder & decoder weights + ExPLoRA adapters | ViT-B/14 | ViT-L/14 |
| Encoder-only weights | ViT-B/14 | ViT-L/14 |
Usage:
import torch
# Load encoder-only checkpoint (recommended for fine-tuning)
ckpt = torch.load("explora_dinov2_fmow_rgb/explora_dinov2_vit_large_fmow_rgb_encoder_only.pth", map_location="cpu")
state_dict = ckpt["model"]
explora_mae_multispectral/ExPLoRA checkpoints using MAE self-supervised pre-training on fMoW Sentinel-2 multispectral imagery.
| Description | ViT-L |
|---|---|
| MAE encoder & decoder weights + ExPLoRA adapters | ViT-L/16 |
| Encoder-only weights | ViT-L/16 |
Usage:
import torch
# Load encoder-only checkpoint (recommended for fine-tuning)
ckpt = torch.load("explora_mae_multispectral/explora_mae_fmow_sentinel_encoder_only.pth", map_location="cpu")
state_dict = ckpt["model"]
These checkpoints are compatible with the ExPLoRA codebase.
For fine-tuning, use the finetune/finetune.py script:
python finetune/finetune.py \
--finetune path/to/explora_checkpoint.pth \
--model vit_large_patch16 \
--dataset_type rgb \
...
Reference scripts are also provided under scripts/ in the codebase, and you can use these checkpoints there.
If you find these checkpoints useful, please cite our paper:
@inproceedings{khanna2025explora,
title={Ex{PL}o{RA}: Parameter-Efficient Extended Pre-Training to Adapt Vision Transformers under Domain Shifts},
author={Samar Khanna and Medhanie Irgau and David B. Lobell and Stefano Ermon},
booktitle={Forty-second International Conference on Machine Learning},
year={2025},
url={https://openreview.net/forum?id=OtxLhobhwb}
}
Apache 2.0