MIV-XJTU/FLAME

[CVPR 2025] PyTorch implementation of paper "FLAME: Frozen Large Language Models Enable Data-Efficient Language-Image Pre-training"

33

stars

24

commits

Python

primary language

Jul 8, 2025

updated

README

CVPR 2025 | FLAME

FLAME: Frozen Large Language Models Enable Data-Efficient Language-Image Pre-training
Anjia Cao, Xing Wei, Zhiheng Ma

πŸ“° News

πŸ’‘ Highlights

  • πŸ”₯ Leveraging frozen LLMs to naturally process long text inputs.
  • πŸ”₯ Generalizing from monolingual training to multilingual evaluation.
  • πŸ”₯ Strong improvement on long/short-context image-text retrieval, image classification, and multilingual scenarios.

πŸ“… TODO Roadmap

  • Release training code and data.
  • Release evaluation code.
  • Release pre-trained checkpoints.

πŸ› οΈ Get Started

Setup

git clone https://github.com/MIV-XJTU/FLAME.git
cd FLAME
conda create -n flame python=3.10 -y
conda activate flame
make install
make install-training
make install-test

Training

See Training.md.

Evaluation

See Evaluation.md.

πŸ“ Datasets

DatasetLink
CC3M-ReCapHugging Face
YFCC15M-ReCapHugging Face

πŸ” Pre-trained Checkpoints

DatasetModelLink
CC3MMistral-Nemo-ViT-B/16Hugging Face

πŸ›‚ License

The project is under a standard Creative Common CC-BY-4.0 License.

πŸ“– Citation

If you find our work helpful for your research, please consider giving a star and citation.

@inproceedings{cao2025flame,
  title={FLAME: Frozen Large Language Models Enable Data-Efficient Language-Image Pre-training},
  author={Cao, Anjia and Wei, Xing and Ma, Zhiheng},
  booktitle={CVPR},
  year={2025}
}

🫑 Acknowledgements

This project is based on open_clip, and thanks for the nice work! We also thank CLIP_benchmark, DreamLIP, Long-CLIP, PromptEOL, and MiniCPM-V for their codes.

Contributors

CAOANJIA

24 commits

MIV-XJTU/FLAME

[CVPR 2025] PyTorch implementation of paper "FLAME: Frozen Large Language Models Enable Data-Efficient Language-Image Pre-training"

33

stars

24

commits

Python

primary language

Jul 8, 2025

updated

README

CVPR 2025 | FLAME

FLAME: Frozen Large Language Models Enable Data-Efficient Language-Image Pre-training
Anjia Cao, Xing Wei, Zhiheng Ma

πŸ“° News

πŸ’‘ Highlights

  • πŸ”₯ Leveraging frozen LLMs to naturally process long text inputs.
  • πŸ”₯ Generalizing from monolingual training to multilingual evaluation.
  • πŸ”₯ Strong improvement on long/short-context image-text retrieval, image classification, and multilingual scenarios.

πŸ“… TODO Roadmap

  • Release training code and data.
  • Release evaluation code.
  • Release pre-trained checkpoints.

πŸ› οΈ Get Started

Setup

git clone https://github.com/MIV-XJTU/FLAME.git
cd FLAME
conda create -n flame python=3.10 -y
conda activate flame
make install
make install-training
make install-test

Training

See Training.md.

Evaluation

See Evaluation.md.

πŸ“ Datasets

DatasetLink
CC3M-ReCapHugging Face
YFCC15M-ReCapHugging Face

πŸ” Pre-trained Checkpoints

DatasetModelLink
CC3MMistral-Nemo-ViT-B/16Hugging Face

πŸ›‚ License

The project is under a standard Creative Common CC-BY-4.0 License.

πŸ“– Citation

If you find our work helpful for your research, please consider giving a star and citation.

@inproceedings{cao2025flame,
  title={FLAME: Frozen Large Language Models Enable Data-Efficient Language-Image Pre-training},
  author={Cao, Anjia and Wei, Xing and Ma, Zhiheng},
  booktitle={CVPR},
  year={2025}
}

🫑 Acknowledgements

This project is based on open_clip, and thanks for the nice work! We also thank CLIP_benchmark, DreamLIP, Long-CLIP, PromptEOL, and MiniCPM-V for their codes.

Contributors

CAOANJIA

24 commits

Languages

Python

99.9%