README.md

February 4, 2025 ยท View on GitHub

Mixture of Demonstrations for In-Context Learning, NeurIPS 2024

The framework of MoD.

This repository contains the implementation of the paper Mixture of Demonstrations for In-Context Learning, published in NeurIPS 2024. Our code is constructed based on CEIL.

Instruction

To run the code, specify the task name in ./scripts/run_mod.sh. Then create a folder for output.

mkdir ./output

Then run the command:

bash ./scripts/run_mod.sh

Questions

If you encounter any cases and need help, feel free to contact sw3wv@virginia.edu. We are more than willing to help!

Citation

If you find our work helpful, please kindly consider citing our paper. Thank you so much for your attention!

@inproceedings{wang2024mixture,
  title={Mixture of Demonstrations for In-Context Learning},
  author={Wang, Song and Chen, Zihan and Shi, Chengshuai and Shen, Cong and Li, Jundong},
  booktitle={The Thirty-eighth Annual Conference on Neural Information Processing Systems},
 year={2024}
}