GithubHelp home page GithubHelp logo

dssm's Introduction

DSSM深度召回实践

基于movielen-1m数据集的深度召回实践

方案详情

对比方案 ItemCF

方案1:基于0,1标签的随机负采样方案

方案2:基于0,1标签的加权负采样方案

方案3:基于triplet loss的正负样本距离差方案

方案4:基于DSSM loss的正负样本方案

dssm's People

Contributors

busesese avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

dssm's Issues

ModuleNotFoundError: No module named 'dnn_model'


ModuleNotFoundError Traceback (most recent call last)
/tmp/ipykernel_1103581/59926157.py in
6 import torch
7 import torch.nn as nn
----> 8 from dnn_model import DNN
9 from encoder_model import Encoder
10 import torch.nn.functional as F

ModuleNotFoundError: No module named 'dnn_model'

是不是少提交了部分文件

ModuleNotFoundError: No module named 'encoder_model'

执行DSSM深度召回实践.ipynb 报错缺少模块


ModuleNotFoundError Traceback (most recent call last)
/tmp/ipykernel_1103581/1536832873.py in
7 import torch.nn as nn
8 # from dnn_model import DNN
----> 9 from encoder_model import Encoder
10 import torch.nn.functional as F
11 from sklearn.metrics import roc_auc_score

ModuleNotFoundError: No module named 'encoder_model'

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.