Skip to content

Tutorial Overview ​

To check your installation, train DeepFM once with the Quick Start. The three tutorials below use datasets included in the repository. Open a notebook or terminal at the repository root so the example paths resolve correctly.

Tutorial List ​

  • Rank candidate ads. Predict the probability of a click on a Criteo impression, then use AUC to see how well the model ranks clicked ads above unclicked ones. Ranking tutorial
  • Retrieve candidate movies. Train DSSM on MovieLens, compute user and movie embeddings separately, and retrieve ten movies for one user. Retrieval tutorial
  • Predict clicks and purchases together. Train MMOE or PLE with two Ali-CCP labels and inspect AUC for each task. The ESMM example also uses a label for impressions that led to both a click and a purchase. Multi-task tutorial

Model Tutorials ​

If you already know which model you want, open its tutorial to see which fields it needs.

Ranking Models ​

ModelSummaryLink
DeepFMFM + deep network for rankingDeepFM
Wide&DeepA linear layer and a deep network score each impressionWide&Deep tutorial
DCN / DCNv2Explicit feature crossingDCN
DINTarget-aware attention over user historyDIN
DIENInterest evolution modelingDIEN
BSTTransformer-based sequence rankingBST

Retrieval Models ​

ModelSummaryLink
DSSMClassic two-tower semantic matchingDSSM
YoutubeDNNYouTube-style deep retrievalYoutubeDNN
MINDMulti-interest retrieval with capsulesMIND

Multi-Task Models ​

ModelSummaryLink
MMOEMulti-gate mixture-of-expertsMMOE
PLEProgressive layered extractionPLE