Workflow
Embedding
icon
Search documents
X @Avi Chawla
Avi Chawla· 2025-10-06 19:22
RT Avi Chawla (@_avichawla)You're in an ML Engineer interview at Apple.The interviewer asks:"You have to build an ML-based face unlock system for iPhones.How would you train the model?"You: "I will capture user's images & train a binary classifier on them"Interview over.Here's what you missed:There are multiple issues with capturing user's images and training a clasifier.> Firstly, you'd need to on-device training, which can be expensive.> All images provided by the user will be "Class 1" samples. To train ...
X @Avi Chawla
Avi Chawla· 2025-10-06 06:31
You're in an ML Engineer interview at Apple.The interviewer asks:"You have to build an ML-based face unlock system for iPhones.How would you train the model?"You: "I will capture user's images & train a binary classifier on them"Interview over.Here's what you missed:There are multiple issues with capturing user's images and training a clasifier.> Firstly, you'd need to on-device training, which can be expensive.> All images provided by the user will be "Class 1" samples. To train a binary classifier, where ...
X @Avi Chawla
Avi Chawla· 2025-08-14 06:33
RAG is 80% retrieval and 20% generation.So if RAG isn't working, most likely, it's a retrieval issue, which further originates from chunking and embedding.Contextualized chunk embedding models solve this.Let's dive in to learn more! https://t.co/vnQ5tAj1oe ...