(ICML'25 Outstanding) CollabLLM: From Passive Responders to Active Collaborators
303
stars
64
commits
Jupyter Notebook
primary language
Sep 25, 2025
updated
📢 Oustanding Paper Award @ ICML 2025
CollabLLM transforms traditional language models from passive responders to active collaborators in multi-turn conversations. This repository provides the complete framework for computing multiturn-aware rewards and training collaborative language models.
To get started, create a new environment and install collabllm via pip:
conda create -n collabllm python=3.10
conda activate collabllm
pip install collabllm
If you need distributed training:
pip install deepspeed
conda install mpi4py
You may install additional packages (e.g., pip install bigcodebench matplotlib) for task-specific metrics or evaluation.
notebook_tutorials/.scripts/engine/build_dataset.py. (Include your API keys in .env file)scripts/train/*.py.To apply CollabLLM to a new task:
Add a Dataset:
Place your single-turn dataset in examples/single_turn_ds/ and register it in __init__.py.
(Optional) Add Metrics:
Add new metrics to examples/metrics/ and register them in __init__.py.
You can now run data generation, reward computation, and model training using your customized setup.
If you find our work useful in your research, please cite the following:
@inproceedings{collabllm2025,
title={CollabLLM: From Passive Responders to Active Collaborators},
author={Shirley Wu and Michel Galley and Baolin Peng and Hao Cheng and
Gavin Li and Yao Dou and Weixin Cai and James Zou and
Jure Leskovec and Jianfeng Gao},
booktitle={International Conference on Machine Learning (ICML)},
year={2025}
}
Jupyter Notebook
57.8%
Python
42.2%
(ICML'25 Outstanding) CollabLLM: From Passive Responders to Active Collaborators
303
stars
64
commits
Jupyter Notebook
primary language
Sep 25, 2025
updated
📢 Oustanding Paper Award @ ICML 2025
CollabLLM transforms traditional language models from passive responders to active collaborators in multi-turn conversations. This repository provides the complete framework for computing multiturn-aware rewards and training collaborative language models.
To get started, create a new environment and install collabllm via pip:
conda create -n collabllm python=3.10
conda activate collabllm
pip install collabllm
If you need distributed training:
pip install deepspeed
conda install mpi4py
You may install additional packages (e.g., pip install bigcodebench matplotlib) for task-specific metrics or evaluation.
notebook_tutorials/.scripts/engine/build_dataset.py. (Include your API keys in .env file)scripts/train/*.py.To apply CollabLLM to a new task:
Add a Dataset:
Place your single-turn dataset in examples/single_turn_ds/ and register it in __init__.py.
(Optional) Add Metrics:
Add new metrics to examples/metrics/ and register them in __init__.py.
You can now run data generation, reward computation, and model training using your customized setup.
If you find our work useful in your research, please cite the following:
@inproceedings{collabllm2025,
title={CollabLLM: From Passive Responders to Active Collaborators},
author={Shirley Wu and Michel Galley and Baolin Peng and Hao Cheng and
Gavin Li and Yao Dou and Weixin Cai and James Zou and
Jure Leskovec and Jianfeng Gao},
booktitle={International Conference on Machine Learning (ICML)},
year={2025}
}
Jupyter Notebook
57.8%
Python
42.2%