eBay·Machine Learning Engineer·Take-home Assignment
Apr 2026
eBay ML engineer take-home that was basically a mini research project. You had to build a full image-text retrieval pipeline from scratch, encoders and loss function and eval metrics all included. Pretty involved for a single assignment.
- Build a joint embedding model that projects both image and text encoders into a shared embedding space, using ResNet-50 for images and a sentence transformer for text.
- Implement a loss function for training the joint embedding model, such as InfoNCE, contrastive loss, or triplet loss.
- Build a retrieval evaluation pipeline that returns top-k products for a text query and computes metrics like Recall@k and MRR.
“The projection layer part is where I spent most of my time second-guessing myself.”