model releaseMicrosoft

Microsoft releases Harrier embedding models with 32K token context, tops multilingual benchmark

TL;DR

Microsoft has released Harrier-OSS-v1, a family of multilingual text embedding models trained with contrastive learning and knowledge distillation. The 0.6B parameter variant achieves a 69.0 score on the Multilingual MTEB v2 benchmark with support for 32,768 token context windows and 45+ languages.

2 min read
0

Microsoft Releases Harrier Multilingual Embedding Models

Microsoft has released Harrier-OSS-v1, a family of decoder-only text embedding models designed for multilingual retrieval, clustering, and semantic similarity tasks. The models use last-token pooling with L2 normalization and support a 32,768 token context window across all variants.

Model Variants and Performance

Microsoft offers three model sizes:

Model Parameters Embedding Dimension MTEB v2 Score
harrier-oss-v1-270m 270M 640 66.5
harrier-oss-v1-0.6b 0.6B 1,024 69.0
harrier-oss-v1-27b 27B 5,376 74.3

All three variants achieve state-of-the-art results on the Multilingual MTEB v2 benchmark as of their release. The models are distributed in BF16 tensor format via Hugging Face.

Training and Architecture

The models use contrastive learning objectives trained on large-scale multilingual datasets covering diverse downstream tasks. The 270M and 0.6B variants additionally incorporate knowledge distillation from larger embedding models to improve performance at smaller scales.

The architecture relies on last-token pooling—the embedding of the final non-padding token serves as the sentence representation—followed by L2 normalization. This pooling strategy is handled automatically in the Sentence Transformers library.

Multilingual Support and Applications

Harrier models support 45+ languages including Arabic, Bulgarian, Czech, German, English, Spanish, French, Hebrew, Hindi, Japanese, Korean, Polish, Portuguese, Russian, Turkish, Ukrainian, Vietnamese, and Chinese, among others.

The models are designed for:

  • Dense retrieval and semantic search
  • Text clustering and classification
  • Semantic similarity computation
  • Bitext mining
  • Reranking tasks

Instruction-Based Fine-Tuning

A key feature: all models require task-specific instructions at query time. Users must provide one-sentence task descriptions (e.g., "Given a web search query, retrieve relevant passages") to achieve optimal performance. Instructions are optional for document embeddings. This allows customization of embeddings for different scenarios through natural language prompts. Pre-configured prompts include web_search_query, sts_query, and bitext_query.

Implementation

The models integrate with both Sentence Transformers and standard Hugging Face Transformers libraries. The 0.6B variant processes inputs up to 32,768 tokens, making it suitable for long-document encoding tasks. Microsoft provides code examples for both libraries, including query-document ranking workflows.

What This Means

Microsoft positions Harrier as an open-source alternative to proprietary embedding APIs, targeting organizations needing multilingual support at production scale. The three-tier sizing strategy allows cost-sensitive deployments (270M) alongside higher-accuracy variants (27B) within a single family. The instruction-based approach trades ease-of-use for task-specific customization—users must engineer prompts rather than relying on general-purpose embeddings. Evaluation on MTEB v2 provides standardized comparison, though practical performance depends on downstream application specifics and instruction quality.

Related Articles

benchmark

Microsoft's MAI Code 1.1 Flash Loses on Price and Performance to DeepSeek-V4-Flash

Microsoft's MAI Code 1.1 Flash beats its predecessor and mini-models from Anthropic and OpenAI on SWE-bench Verified, but DeepSeek-V4-Flash-0731 outperforms it on Terminal Bench 2.1 (82.7% vs 62.9%) while costing roughly a third as much per token.

model release

OpenAI Releases Whisper Large-v3, Cutting Speech Recognition Errors 10-20% Across Languages

OpenAI has released Whisper large-v3, an open-weight automatic speech recognition and translation model trained on 5 million hours of audio. The model reduces transcription errors by 10-20% compared to its predecessor and adds native Cantonese support.

model release

xAI Releases Grok 4.6, a 1.5T-Parameter Model Powering New 'Grok Bot' AI Teammate Product

xAI released Grok 4.6, a confirmed 1.5T-parameter model built on Grok 4.5 with heavier training on long-horizon agentic tasks. It powers the newly launched Grok Bot product and scores 61 on Artificial Analysis's Intelligence Index at $2/$6 per 1M input/output tokens — well below frontier competitors.

model release

Alibaba Releases Qwen3.8-2.4T-A95B-FP8: 2.4T-Parameter Open Model with 1M-Token Context

Alibaba's Qwen team has released Qwen3.8-2.4T-A95B-FP8, an open-weight, FP8-quantized MoE model with 2.4 trillion total parameters and 95 billion activated per token. It natively supports 262,144 tokens of context, extensible to 1,010,000, and forms the base for the hosted Qwen3.8-Max API.

Comments

Loading...