GithubHelp home page GithubHelp logo

Comments (4)

archersama avatar archersama commented on July 22, 2024 1

1.对比学习在这里比较难以调优,于是进行了清除
2.对比学习使用正样本的分数/总的样本分数,所以利用y进行索引正样本,这里是一种计算技巧,你可以带入一些case计算一下,结果没问题

from inttower.

skks11 avatar skks11 commented on July 22, 2024

谢谢你的 解答, 另外最近又发现一个现象 就是比如dssm 或者 inttower 训完一个movielens的双塔模型后 得到所有user 和 item的 embedding,然后可以item之间算similarity 或者算user-item的similarity, 然后我发现 排在前面的cos_sim都是1.0 或者0.99x, 这样的打分有很多, 远远超过正样本的数量 感觉不太正常? 然后全movie 的召回 最后指标也比较差

from inttower.

skks11 avatar skks11 commented on July 22, 2024

谢谢你的 解答, 另外最近又发现一个现象 就是比如dssm 或者 inttower 训完一个movielens的双塔模型后 得到所有user 和 item的 embedding,然后可以item之间算similarity 或者算user-item的similarity, 然后我发现 排在前面的cos_sim都是1.0 或者0.99x, 这样的打分有很多, 远远超过正样本的数量 感觉不太正常? 然后全movie 的召回 最后指标也比较差

ranking的AUC指标是没问题的, 但是既然是双塔 我就想试试召回 发现结果比较奇怪

from inttower.

archersama avatar archersama commented on July 22, 2024

这个模型是用于粗排的,用的point wise的loss,召回双塔建议使用负采样以及使用pair wise的loss

from inttower.

Related Issues (9)

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.