Giter Club home page Giter Club logo

din-pytorch's Introduction

DIN/DIEN

Implementation based on pytorch for DIN recommendation algorithm

Attention

  1. For convenience, referring to authors tensorflow implementation, feature-embedding dimension is identical.
  2. Without any L1/L2 normalization or dropout strategy, it's supposed to choose suitable model according to the evaluation stage manually.

File description

file name description
main.ipynb Session for training and evaluation
model.py Defination of target models
DataLoader.py Self-defined data loader
environment.yml Conda envrionment yaml

Original paper

Deep Interest Network for Click-Through Rate Prediction

Deep Interest Evolution Network for Click-Through Rate Prediction

Source data

meta_Books.json.gz

reviews_Books.json.gz

Preprocessed data wrapped within data.tar.gz came from mouna99/dien

Reference

mouna99/dien

alibaba/x-deeplearning

shenweichen/DeepCTR-Torch

To do list

  • DIN
  • AUGRU
  • DICE activation layer
  • Auxialary loss with neg_sample

din-pytorch's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

din-pytorch's Issues

How is the data set extracted?

I am running your code but I want to run with a different data set. When I read the DataLoader code, I found that the extracted training set has a specific format. I looked at the original tenserflow code and used his method to extract your training set. The format of the data set is different, but the result is different from yours. Can you provide the code for how to divide the data set? thank!

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.