If you use Companion in a scientific publication, we would appreciate citations to the following paper:
@article{le2025learning,
author={Le, Trung-Hoang and Lauw, Hady W.},
title={Learning to rank aspects and opinions for comparative explanations},
journal={Machine Learning},
year={2025},
month={Jan},
day={16},
volume={114},
number={1},
pages={17},
issn={1573-0565},
doi={10.1007/s10994-024-06699-5},
url={https://doi.org/10.1007/s10994-024-06699-5}
}
pip install -r requirements.txt
Run Companion model:
python main.py --input_dir data/baby
Questions and discussion are welcome: lthoang.com