Skip to content

xiaoxiangAMD/wide-deep

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Content

This project provide W&D recommendation model using criteo dataset in CTR prediction.

Available Datasets

You could download criteo dataset from Criteo Display Advertising Challenge, then unzip data and store dataset on local disk as ./data/train.txt

Available Models

Model Reference
Wide&Deep HT Cheng, et al. Wide & Deep Learning for Recommender Systems, 2016.

Steps to run

  1. env

    pip install -r requirements.txt
  2. train and evalute the fp32 model as pth

    bash run_model.sh
  3. evalute the fp32 pytorch model and calculate the latency

    bash run_inference.sh
  4. produce fp32 onnx using pth and calculate the latency

    bash run_to_onnx.sh
  5. test fp32/fp16 onnx's using migraphx and calculate the latency

    bash run_migraphx_onnx.sh
  6. test fp32/fp16 onnx's using onnxruntime and calculate the latency

    bash run_inference_onnx.sh
    bash run_inference_fp16_onnx.sh

Performance

We evaluate the model's auc:

dlrm model auc(%)
Pytorch model 79.09
FP32 onnx model 79.09
FP16 onnx model 79.09

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published