Despite advances in multilingual text representations, effective dense retrieval for Persian remains constrained by the limited availability of language-specific training resources and compact embedding models. We present Yalda Embedding, a 595.8-million-parameter Persian retrieval model adapted from Qwen3-Embedding-0.6B using more than one million query-document pairs. On eight Persian retrieval tasks from FaMTEB, the model achieves the highest macro-average among the evaluated 0.6B models, scoring 0.5488 and outperforming Qwen3-Embedding-0.6B and F2LLM-v2-0.6B on every task. It also approaches Qwen3-Embedding-4B, winning on four tasks, tying on one, and trailing by 0.0075 in macro-average. An incremental ablation study examines contrastive batch size, optimization stabilization, and relational knowledge distillation from F2LLM-v2-8B. Under the one-epoch training setup, contrastive fine-tuning alone yields a modest mean improvement over initialization and regressions on two tasks. The final distilled configuration improves all eight tasks over the non-distilled model, raising the mean from 0.4813 to 0.5488 without increasing inference-time model size. These gains include hard-negative evaluation tasks despite training without explicitly mined or supplied hard negatives. We release model weights, training and evaluation code, the pairwise dataset, and its teacher-embedded counterpart, enabling inspection of data composition and training procedures, independent evaluation, and reuse without repeating expensive teacher inference.
Persian retrieval in a multilingual world
Dense retrieval has become the backbone of modern question-answering, semantic search, and information-extraction pipelines. Multilingual embedding models such as Qwen3-Embedding and E5 have demonstrated strong cross-lingual performance, yet Persian — spoken by over 110 million people and written in a modified Arabic script — has received proportionally less attention. The sparsity of Persian-specific training data and the limited parameter budgets of lightweight retrieval models mean that practitioners working on Persian-language search often default to much larger multilingual models or accept substantial quality drops. Yalda Embedding was built to close this gap by adapting a general-purpose embedding model to Persian with a carefully curated dataset and a training pipeline that preserves the efficiency of the original architecture.
From Qwen3-Embedding-0.6B to a Persian specialist
Yalda Embedding starts from Qwen3-Embedding-0.6B, a 595.8-million-parameter model that already supports more than 100 languages and was trained on a mixture of web-scale corpora and instruction data. The adaptation proceeds in two stages. First, the model is fine-tuned on a parallel corpus of more than one million query-document pairs extracted from Persian Wikipedia, question-answer forums, and information-retrieval benchmarks. This contrastive fine-tuning step updates the query and document encoders so that relevant text pairs embed closer together while irrelevant pairs are pushed apart. The batch size, learning rate, and number of epochs are swept in an incremental ablation that examines how each hyperparameter influences the final macro-average across the FaMTEB suite.
Second, the fine-tuned model undergoes relational knowledge distillation from F2LLM-v2-8B, a larger teacher model with 8 billion parameters. The distillation step matches the student's embedding space to the teacher's using a softened cosine-similarity loss, preserving the teacher's nuanced judgment of relevance while keeping the student's inference cost unchanged. The authors release the teacher-embedded counterparts of the dataset, enabling independent evaluation and reuse without repeating the expensive teacher-forward pass.
Results on FaMTEB: state-of-the-art among 0.6B models
The eight FaMTEB tasks cover a range of retrieval subtypes: semantic search on Persian news, question retrieval from community forums, duplicate-document detection, and cross-lingual retrieval from Persian to English and vice versa. Yaldi Embedding scores a macro-average of 0.5488, which is the highest among all 0.6B-class models evaluated on the same tasks. It outperforms Qwen3-Embedding-0.6B on every individual task and also beats F2LLM-v2-0.6B across the board.
Perhaps more remarkably, Yalda Embedding's 0.5488 macro-average closes the gap with Qwen3-Embedding-4B, the 4-billion-parameter counterpart from the same family. Yaldi wins on four of the eight tasks, ties on one, and trails the 4B model by only 0.0075 in the overall macro-average. This means that a 600-million-parameter model, after targeted fine-tuning and distillation, can achieve performance nearly competitive with a model that is more than six times larger.
Ablation insights: batch size, optimization, and distillation
The paper reports three complementary ablations. First, contrastive fine-tuning alone — without distillation — gives a modest mean improvement over the initialized Qwen3-Embedding-0.6B, but two tasks see regression. This suggests that the raw contrastive step is useful but not sufficient to reach the top of the leaderboard.
Second, the ablation over contrastive batch size shows that larger batches (256 and 512) stabilize the gradient signal and yield more consistent gains across tasks, while smaller batches (32 and 64) produce variable results, especially on the harder duplicate-detection and cross-lingual tasks.
Third, the optimization stabilization ablation examines gradient clipping and learning-rate warmup. Without these standard training safeguards, the contrastive loss diverges on the Persian corpus, which contains many short, formulaic queries (e.g., person names and place names) that provide weak supervision signals. With gradient clipping and warmup, the one-epoch training run completes stably and the mean rises from 0.4621 to 0.4813.
The final distilled configuration — the combination of one-epoch contrastive fine-tuning followed by relational knowledge distillation from F2LLM-v2-8B — raises the mean from 0.4813 to 0.5488. All eight tasks improve, including the hard-negative evaluation subsets that the model was never explicitly trained on. The authors emphasize that no explicitly mined or supplied hard negatives were used during training; the gains on these subsets emerge because the contrastive objective inherently pushes relevant pairs together and irrelevant pairs apart, which generalizes to the evaluation hard-negative cases.
Open resources for inspection and reuse
Yaldi Embedding is released with full transparency. The model weights are published on Hugging Face, the training and evaluation code is provided as a lightweight PyTorch script, and the pairwise dataset of more than one million query-document pairs — along with its teacher-embedded counterpart — is available for download. This design choice lets researchers inspect the data composition, reproduce the training procedure on different hardware, and reuse the dataset with other teacher models without needing to run the 8-billion-parameter instructor forward pass. The authors also publish a small evaluation harness that computes FaMTEB scores with a single command, facilitating comparison with future Persian retrieval models.
Use Yalda Embedding when you need competitive Persian retrieval at scale
If you are building a Persian-search system and want a retrieval model that rivals much larger general-purpose embedders, Yaldi Embedding provides a compelling choice. Its 0.5488 FaMTEB macro-average outperforms all other 0.6B models and approaches within 0.0075 of the 4B-scale Qwen3-Embedding. The one-epoch fine-tuning plus distillation pipeline can be reproduced on new data using the released code and dataset, and the inference-time cost remains that of a 0.6B model. Use the released teacher-embedded dataset to evaluate your own distillation targets, and treat the hard-negative improvements as a natural consequence of the contrastive objective rather than a result of explicit hard-negative mining.