LAST is an extended version of LibRerank
git clone https://github.com/lyingCS/LAST.git
cd LAST
make init
For facilitate the training of the generator, we provide a version of the checkpoints of CMR_evaluator that have been pretrained. We first need to decompress it.
tar -xzvf ./model/save_model_ad/10/*.tar.gz -C ./model/save_model_ad/10/
python run_reranker.py
Model parameters can be set by using a config file, and specify its file path at --setting_path
, e.g., python run_ranker.py --setting_path config
. The config files for the different models can be found in example/config
. Moreover, model parameters can also be directly set from the command line.
python eval_last_model.py --reload_path='path/to/model/you/trained'
For more information please refer to LibRerank_README.md
If you find our code or paper useful, please cite the paper:
@inproceedings{wang2024not,
title={Do Not Wait: Learning Re-Ranking Model Without User Feedback At Serving Time in E-Commerce},
author={Wang, Yuan and Li, Zhiyu and Zhang, Changshuo and Chen, Sirui and Zhang, Xiao and Xu, Jun and Lin, Quan},
booktitle={Proceedings of the 18th ACM Conference on Recommender Systems},
pages={896--901},
year={2024}
}