/distiller

Distilled Image Encoder

Primary LanguagePythonMIT LicenseMIT

Generative Encoder Evolution via Distillation

Distilled Image Encoder via Generative Evolutionary Code Search using LLM Ensemble

Distillation Targets

Use pre-trained image encoders to encode a directory of images into sequences of image tokens.

./embed/run.all.big.sh

clip-vit-large-patch14-336
dinov2-giant
siglip-large-patch16-384

./embed/run.all.small.sh

clip-vit-base-patch16
dinov2-small
siglip-base-patch16-224

Model Archs

Running Evolution

conda create -n distiller python=3.10
conda activate distiller
pip install -r requirements.txt
python run.py

Citation

@misc{distiller-2024,
  title={Generative Encoder Evolution via Distillation}
  author={Hugo Ponte},
  year={2024},
  url={https://github.com/hu-po/distiller}
}