internalsGet Pro

Module 18 · Lesson 9 of 15Pro

Case: Razorpay’s foundation model for payments

Level
Advanced
Topic
Applied ML problems
Reading time
17 min

When you finish this page you can

  1. Explain why Razorpay pretrains one backbone on unlabelled payment records and gives each decision its own head, instead of keeping one model per decision.
  2. Describe how a Set Transformer reads a payment as a set of fields, and how Masked-Field Prediction teaches it without labels.
  3. Trace how the routing decision joins the backbone’s output with recent route health, then calibrates a score into a success probability.
  4. Read the post’s one number for what it is: 5× more fraud caught at the same alert volume, against the system it replaced.
  1. Attention: the maths of focusing on what matters18 min
  2. Pretraining and fine-tuning16 min
  3. Calibration: probabilities you can trust17 min
  4. Case: Meta’s ads model trained on thousands of GPUs17 min
  5. Fraud detection models18 min

Video lesson · coming soon

A stolen card that looks honest at every store

is the online store this course uses as its example. It takes 500,000 orders a day, and a model checks each one for fraud in under 50 ms. In Fraud detection models, Farah, Kartly’s ML engineer, built that model from Kartly’s own orders.

Our biggest sale ever · Black Friday

Flat 50% Off

Pro

Continue reading

Unlock every course, now and later

  • System Design, live
  • AI Engineering, live
  • Data Engineering, live
  • Machine Learning Engineering, live
  • Inference Engineering, coming soon
  • AI Research, coming soon
  • Performance Engineering, coming soon
  • Agent & Harness Engineering, coming soon
  • LLM Fine-tuning, coming soon
  • LLM Pre-training & Post-training, coming soon
  • Reinforcement Learning, coming soon
  • AI Infrastructure & Platform Engineering, coming soon
  • AI Evaluation & Safety, coming soon
  • Forward Deployed Engineering, coming soon
  • Cloud Computing, coming soon
  • DevOps, coming soon

50% off · Annual and Lifetime

BLACKFRIDAY50Applied at checkout

Choose a plan