---
title: "Importance of offline evaluation to guide model choice"
description: "OLX compared open-source multilingual text embedding models against its in-house Item2vec model for similar-item recommendations by building an offline evaluation dataset from user interaction pairs, weighting favorites and chat replies above clicks and favoring recent activity."
url: "https://swe.quest/articles/importance-of-offline-evaluation-to-guide-model-choice-c0b684a1e0515b32"
canonical: "https://tech.olx.com/importance-of-offline-evaluation-to-guide-model-choice-1c2be1c4599a"
source: "OLX Tech"
published: "2025-10-07"
difficulty: "medium"
kind: "Case study"
reading_minutes: 5
tags: ["recommendation-systems","evals","model-training","vector-search"]
---

# Importance of offline evaluation to guide model choice

A post on [OLX Tech](https://swe.quest/sources/olx.md), published 2025-10-07, 5 min read, Case study. Original: [https://tech.olx.com/importance-of-offline-evaluation-to-guide-model-choice-1c2be1c4599a](https://tech.olx.com/importance-of-offline-evaluation-to-guide-model-choice-1c2be1c4599a)

## Summary

OLX compared open-source multilingual text embedding models against its in-house Item2vec model for similar-item recommendations by building an offline evaluation dataset from user interaction pairs, weighting favorites and chat replies above clicks and favoring recent activity. Candidate models were filtered from the MTEB leaderboard by memory, latency, text-only modality and multilingual support. Offline recall tracked MTEB scores, and multilingual-e5-small won across languages. Fine-tuning it with Sentence Transformers and MultipleNegativesRankingLoss improved recall@5, especially for low-resource languages like Uzbek and Kazakh, with gains plateauing after 40 epochs. In A/B testing, pure embedding similarity missed relevance signals such as location and price, so a reranker blending normalized location distance with similarity score, tuned by grid search, was added after retrieval.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Recommendations & ranking](https://swe.quest/tags/recommendation-systems.md) (AI & ML)
- [Evaluation](https://swe.quest/tags/evals.md) (AI & ML)
- [Model training](https://swe.quest/tags/model-training.md) (AI & ML)
- [Vector search](https://swe.quest/tags/vector-search.md) (Data & databases)

## Prerequisites

- text embeddings ([easy posts on RAG & retrieval](https://swe.quest/tags/rag.md?difficulty=easy))
- cosine similarity
- recall metrics ([easy posts on Observability](https://swe.quest/tags/observability.md?difficulty=easy))

## Keywords

MTEB, multilingual-e5-small, Item2vec, Sentence Transformers, MultipleNegativesRankingLoss, BEIR, Hugging Face

## Related posts

- [MTEB: Massive Text Embedding Benchmark](https://swe.quest/articles/mteb-massive-text-embedding-benchmark-25d46b3f4051ff19.md): Hugging Face · 2022-10-19 · Medium · 3 min read · Evaluation, Machine learning, Search, Python
  MTEB is a benchmark of 56 datasets across 8 embedding tasks (classification, clustering, retrieval, STS, bitext mining and more) covering up to 112 languages, with a public leaderboard of over 2000 results.
- [Introducing RTEB: A New Standard for Retrieval Evaluation](https://swe.quest/articles/introducing-rteb-a-new-standard-for-retrieval-evaluation-067a13276b3a26c2.md): Hugging Face · 2025-10-01 · Easy · 14 min read · Evaluation, Search, RAG & retrieval, Machine learning
  RTEB (Retrieval Embedding Benchmark), released in beta by MTEB maintainers and MongoDB, evaluates the retrieval accuracy of embedding models using a hybrid of open and private datasets.
- [Hybrid Search — Where Keywords Meet Vectors, Enabling Classifieds Discovery](https://swe.quest/articles/hybrid-search-where-keywords-meet-vectors-enabling-classifieds-discovery-0e2e686a1630040f.md): OLX Tech · 2025-09-09 · Medium · 12 min read · Search, Vector search, Recommendations & ranking, E-commerce
  OLX replaced a growing chain of fallback keyword-search extensions with hybrid retrieval: SOLR BM25 keyword matches plus a fixed allocation of vector-search results (embeddings from off-the-shelf mCLIP and multilingual-e5-small), capped at 1,000 ads and re-ranked by an XGBoost learning-to-rank model.
- [Visual Document Retrieval Goes Multilingual](https://swe.quest/articles/visual-document-retrieval-goes-multilingual-a925525d4c93b18e.md): Hugging Face · 2025-01-10 · Hard · 11 min read · RAG & retrieval, Model training, Evaluation, Computer vision, Vector search
  vdr-2b-multi-v1 is a multilingual embedding model that encodes document page screenshots into single dense vectors for OCR-free retrieval.
- [Beating proprietary models with a quick fine-tune](https://swe.quest/articles/beating-proprietary-models-with-a-quick-fine-tune-f1b25612d0019a9d.md): Modal · 2024-04-26 · Medium · 11 min read · Model training, Machine learning, RAG & retrieval, Serverless, Python
  Fine-tuning an open-source embedding model on a few hundred labeled pairs can beat OpenAI's text-embedding-3-small on duplicate-question detection, at lower cost.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
