This document lists the available CodeBind checkpoints and explains how to download and place them for evaluation.
All downloaded checkpoints should be placed under (or connected via symoblic link):
~/.checkpoints/| Model | Backbone | Download | Notes |
|---|---|---|---|
| CodeBind-IB | ImageBind | Hugging Face | CodeBind checkpoint trained from ImageBind features. |
| ImageBind-Huge | ImageBind | Meta download | Required ImageBind base checkpoint. |
The CodeBind checkpoints are hosted at:
https://huggingface.co/zykev/CodeBind
You can download them with huggingface-cli:
pip install -U huggingface_hub
huggingface-cli download zykev/CodeBind --local-dir ~/.checkpoints/After downloading, make sure the checkpoint folders are available under ~/.checkpoints/. For example:
ls ~/.checkpoints/asa_lora_MVQ1024x8_256x8The ImageBind base checkpoint should also be placed under ~/.checkpoints/:
mkdir -p ~/.checkpoints
wget https://dl.fbaipublicfiles.com/imagebind/imagebind_huge.pth -O ~/.checkpoints/imagebind_huge.pthEvaluation scripts load trained checkpoints through --resume_expname. Point this argument to the downloaded experiment directory under ~/.checkpoints/.
For example:
python main.py \
--resume_expname ~/.checkpoints/CodeBind/path/to/experiment \For the provided bash scripts, update the corresponding --resume_expname value in scripts/eval/*.sh to the checkpoint directory you want to evaluate.
- Checkpoint weights are released for research purposes.
- For updates, please check the CodeBind Hugging Face repository.