GithubHelp home page GithubHelp logo

dengyuanyy / transformer_user_action Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pinterest/transformer_user_action

0.0 0.0 0.0 10 KB

Transformer-based Realtime User Action Model for Recommendation at Pinterest

License: Apache License 2.0

Python 100.00%

transformer_user_action's Introduction

TransAct

Transformer-based Realtime User Action Model for Recommendation at Pinterest

TransAct is a PyTorch module for modeling user sequences using the Transformer architecture. It is designed to handle user behavior data with sequential interactions, such as recommendation systems or user activity prediction.

Paper

Xue Xia, Chantat Eksombatchai, Nikil Pancha, Dhruvil Deven Badani, Po- Wei Wang, Neng Gu, Saurabh Vishwas Joshi, Nazanin Farahpour, Zhiyuan Zhang, Andrew Zhai. 2023. TransAct: Transformer-based Realtime User Action Model for Recommendation at Pinterest.

Prerequisites

  • Python 3.9.7 or higher: You can download and install Python from the official Python website at https://www.python.org/downloads/ or by using a package manager like conda or pip.

  • torch 1.12: You can install torch 1.12 using pip with the following command:

    pip install torch==1.12
    

    Alternatively, if you are using conda, you can install torch 1.12 with the following command:

    conda install -c pytorch torch==1.12
    
    

Usage

python transact_code/test_run_transact.py

transformer_user_action's People

Contributors

xuex2017 avatar ambud 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.