---
title: "Granite Embedding Multilingual R2: Open Apache 2.0 Multilingual Embeddings with 32K Context — Best Sub-100M Retrieval Quality"
description: "IBM's Granite Embedding Multilingual R2 is a pair of Apache 2.0 ModernBERT-based embedding models covering 200+ languages and 9 programming languages, with 32K-token context (64x R1)."
url: "https://swe.quest/articles/granite-embedding-multilingual-r2-open-apache-2-0-multilingual-embeddings-with-3523dab9fcdbdf6c"
canonical: "https://huggingface.co/blog/ibm-granite/granite-embedding-multilingual-r2"
source: "Hugging Face"
published: "2026-05-14"
difficulty: "medium"
kind: "Announcement"
reading_minutes: 16
tags: ["rag","machine-learning","model-training","evals","search"]
---

# Granite Embedding Multilingual R2: Open Apache 2.0 Multilingual Embeddings with 32K Context — Best Sub-100M Retrieval Quality

A post on [Hugging Face](https://swe.quest/sources/hugging-face.md), published 2026-05-14, 16 min read, Announcement. Original: [https://huggingface.co/blog/ibm-granite/granite-embedding-multilingual-r2](https://huggingface.co/blog/ibm-granite/granite-embedding-multilingual-r2)

## Summary

IBM's Granite Embedding Multilingual R2 is a pair of Apache 2.0 ModernBERT-based embedding models covering 200+ languages and 9 programming languages, with 32K-token context (64x R1). The 97M model scores 60.3 on MTEB Multilingual Retrieval, well ahead of other open sub-100M models such as multilingual-e5-small (50.9), and encodes over 2,500 docs/sec on an H100. The 311M model reaches 65.2 and leads LongEmbed at 71.7. It was trained with multi-teacher distillation from decoder LLMs, contrastive fine-tuning, checkpoint merging and Matryoshka objectives, so embeddings can be truncated from 768 to 256 dimensions at a cost of only 0.5 points. Both models are drop-in replacements in sentence-transformers, LangChain and similar frameworks.

Written by swe.quest, not by the author.

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

## Topics

- [RAG & retrieval](https://swe.quest/tags/rag.md) (AI & ML)
- [Machine learning](https://swe.quest/tags/machine-learning.md) (AI & ML)
- [Model training](https://swe.quest/tags/model-training.md) (AI & ML)
- [Evaluation](https://swe.quest/tags/evals.md) (AI & ML)
- [Search](https://swe.quest/tags/search.md) (Backend & APIs)

## Prerequisites

- text embeddings ([easy posts on RAG & retrieval](https://swe.quest/tags/rag.md?difficulty=easy))
- retrieval-augmented generation
- transformer encoders

## Keywords

Granite Embedding, ModernBERT, MTEB, Matryoshka Representation Learning, sentence-transformers, LongEmbed, Gemma 3 tokenizer

## Related posts

- [Welcome EmbeddingGemma, Google's new efficient embedding model](https://swe.quest/articles/welcome-embeddinggemma-google-s-new-efficient-embedding-model-6dfba9cbb9b4eedd.md): Hugging Face · 2025-09-04 · Medium · 30 min read · RAG & retrieval, Vector search, Model training, LLMs, Python
  EmbeddingGemma is Google's 308M-parameter multilingual text embedding model.
- [mmBERT: ModernBERT goes Multilingual](https://swe.quest/articles/mmbert-modernbert-goes-multilingual-ef8a6ca2e930c6ea.md): Hugging Face · 2025-09-09 · Hard · 15 min read · Model training, LLMs, Search
  mmBERT is a massively multilingual encoder built on the ModernBERT architecture with the Gemma 2 tokenizer, trained on over 3T tokens covering 1,833 languages.
- [Build a Domain-Specific Embedding Model in Under a Day](https://swe.quest/articles/build-a-domain-specific-embedding-model-in-under-a-day-f4f33fdd5dd688e6.md): Hugging Face · 2026-03-20 · Medium · 13 min read · RAG & retrieval, Model training, Search, Inference & serving
  A single-GPU pipeline fine-tunes Llama-Nemotron-Embed-1B-v2 for a specific domain in under a day without manual labels.
- [Training and Finetuning Multi-Vector Embedding Models with Sentence Transformers](https://swe.quest/articles/training-and-finetuning-multi-vector-embedding-models-with-sentence-transformers-454449569f0d4793.md): Hugging Face · 2026-08-26 · Medium · 27 min read · Model training, Search, Python, RAG & retrieval
  Sentence Transformers v6.0 adds a MultiVectorEncoder model type for ColBERT-style late-interaction retrieval, with a full training stack covering models, datasets, losses, training arguments, evaluators and the trainer.
- [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.

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)
