# ALIGN: Tuning Multi-mode Token-level Prompt Alignment across Modalities

This is the attached code for our submission "Tuning Multi-mode Token-level Prompt Alignment across Modalities" to NeurIPS2023.

## Getting Started

### Installation
For installation, other package requirements and preparation of datasets, please follow the instructions detailed in [CoOp](https://github.com/KaiyangZhou/CoOp#readme).

### Training
Please refer to the training scripts in the `scripts` folder to train and test ALIGN. For example:
```bash
bash base2new_train.sh dtd 0
```
will train ALIGN on dtd dataset with seed 0.

## Acknowledgements
Our code is based on [CoOp](https://github.com/KaiyangZhou/CoOp) and [MaPLe](https://github.com/muzairkhattak/multimodal-prompt-learning) repository. 
We thank the authors for releasing their code.