Coder Social home page Coder Social logo

recommendation-editing's Introduction

Recommendation Editing

The goal of recommendation editing is to quickly correct the erroneous recommendations of the recommendation system, thereby improving the user-friendliness of the recommendation system. For example, in the real-time re-ranking stage of industrial-level multi-stage recommendation systems, the recommendation system needs to perform real-time editing based on the negative feedback provided by users in real time, reducing the occurrence of negative feedback behavior in the recommended results of the next refresh.

🚀Quick Start

Clone

git clone [email protected]:cycl2018/Recommendation-Editing.git

Set up the required environment

numba==0.58.1
numpy==1.26.3
scipy==1.12.0
torch==2.1.0+cu121

Train the original recommendation model (if you directly use the checkpoint we provide, you can skip it)

  • Example of training XSimGCL model by KuaiRand dataset.
  • You can refer to the files in the/conf folder for configuration
python train.py --conf conf/XSimGCL/KuaiRand.conf

Editing

  • Example of editing XSimGCL model by FT method.
  • --best_param indicates running with optimal parameters
python edit.py --model_conf conf/XSimGCL/KuaiRand.conf --edit_type FT --best_param --edit_num 10

Acknowledgments

We are grateful to the authors of SELFRec for making their project codes publicly available.

Citation

Our paper on this benchmark will be released soon!

recommendation-editing's People

Contributors

cycl2018 avatar

Stargazers

czhuo avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.