Every Preference Changes Differently: Neural Multi-Interest Preference Model with Temporal Dynamics for Retrieval
[pdf]
conda create -n mip python=3.7
conda activate mip
pip install -r requirements.txt
https://drive.google.com/drive/folders/1VX5ukM0FlXpSGbDNhBMemWb2icCpqbyO?usp=sharing
Static (unweighted model)
python run_model.py --data amazon
Weighted model
python run_model.py --data amazon --weight
Using global query attention instead of self-attention:
python run_model.py --data amazon --global_query
Setting multi-head attention to share the global query:
python run_model.py --data amazon --global_query --share_query