Giter Site home page Giter Site logo

junkangwu / adap_tau Goto Github PK

View Code? Open in Web Editor NEW
28.0 1.0 2.0 34.07 MB

[WWW 2023] Official code of "Adap-$\tau$: Adaptively Modulating Embedding Magnitude for Recommendation"

Home Page: https://arxiv.org/pdf/2302.04775.pdf

Shell 3.70% Python 96.30%
recommendation temperature adaptiveness

adap_tau's People

Contributors

junkangwu avatar

Stargazers

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

Watchers

 avatar

adap_tau's Issues

How to get equation(7) in the paper

Sorry to be a bother! I think it's excellent work but I'm confused about how to get equation(7) in the paper, it appears that I cannot obtain this result if I adhere to the derivative calculation method of softmax cross-entropy loss

About dataset

Hello author, I don't see the data set of Movielens in the source code, could you please provide the data set of Movielens? thank you.

about the tau in traing process

Thanks for the excellent work by the authors. I'm confused about the values of tau when I run the code by:

bash Adap_tau_novel.sh amazon-book 1e-3 1e-7 3 1024 2048 nopdrop 1.0 1.0 uniform_gpu 0 100 cosine mf weight_mean

here's an example in a epoch:

2023-05-05 16:20:39,454 - [INFO] - current w_0 is 9.65932889229748
2023-05-05 16:22:47,693 - [INFO] - E:6|TAU:7.724 17.2, train_time: 126.4, VALID_time: 1.813, loss: 3.757e+03, emb_loss:1.48e-05, best_valid(recall@20): 0.04892
valid N@10: 0.03014, R@10: 0.02926, P@10: 0.02303
valid N@20: 0.03826, R@20: 0.04941, P@20: 0.01996
valid N@50: 0.05434, R@50: 0.09246, P@50: 0.01561

I know they are the min and max of tau, Are they the tau used in SSM loss? If so, I'm wondering why the values are so large since the common range of tau is [0,1].

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.