Home

Awesome

COLT

The implementation for CIKM 2024: Towards Completeness-Oriented Tool Retrieval for Large Language Models.

News

Quick Start

  1. Download PLMs from Huggingface and make a folder with the name PLMs
  1. Run Semantic Learning:

    python train_sbert.py

  2. Run Collaborative Learning:

    python train.py -g 0 -m COLT -d ToolLens

You can specify the gpu id, the used dataset by cmd line arguments.

Environment

Our experimental environment is shown below:

numpy version: 1.21.6
pandas version: 1.3.5
torch version: 1.13.1

Semantic Learning

For the first phase of semantic learning, you need to install the BEIR. BEIR is a widely used information retrieval framework. You can find the BEIR code repository at this link.

Citation

If you find our code or work useful for your research, please cite our work.

@inproceedings{qu2024towards,
  title={Towards Completeness-Oriented Tool Retrieval for Large Language Models},
  author={Qu, Changle and Dai, Sunhao and Wei, Xiaochi and Cai, Hengyi and Wang, Shuaiqiang and Yin, Dawei and Xu, Jun and Wen, Ji-Rong},
  booktitle={Proceedings of the 33rd ACM International Conference on Information and Knowledge Management},
  pages={1930--1940},
  year={2024}
}