Thanks to visit codestin.com
Credit goes to github.com

Skip to content

(SIGIR 25) Repo for "Review-driven Personalized Preference Reasoning with Large Language Models for Recommendation"

Notifications You must be signed in to change notification settings

jieyong99/EXP3RT

Repository files navigation

EXP3RT

Quick Start

Before training the model, we have split some of the train datasets due to the size of the dataset, so you need to merge them into the original train dataset using merge_data.py (set the paths).

Follow the steps below ⬇️

Dataset

make dataset for training:

sh data_gen/generate.sh

Train & Inference

train with command:

## for step 1. preference extraction
sh shell/train_preference.sh

## for step 2. profile construction
sh shell/train_user.sh
sh shell/train_item.sh

## for step 3. reasoning-enhanced rating prediction
sh shell/train_imdb.sh
sh shell/train_amazon-book.sh

merge the model for inference with command:

sh shell/merge.sh

inference with command:

sh shell/test_imdb.sh
sh shell/test_amazon-book.sh

check the results with command:

python test_result_inspect.py

About

(SIGIR 25) Repo for "Review-driven Personalized Preference Reasoning with Large Language Models for Recommendation"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published