Model reference · open weights
granite-embedding-multilingual is an open-weight embedding model from IBM. granite-embedding-278m-multilingual (BF16) weighs 556 MB; the smallest configuration that runs it is RTX 3060 12 GB.
Summary of the ibm-granite/granite-embedding-107m-multilingual model card, 2026-10-01. The estimate below is for another build of the family.
What it is
| Released by | IBM |
|---|---|
| Released | 2024-12-04 |
| Parameters | 107M |
| VRAM | 556 MB for the weights |
What it runs on
| Card | Runs | Memory |
|---|---|---|
| RTX 3060 12 GB | fits | 11.6 GB |
| RTX 4060 Ti 16 GB | fits | 15.4 GB |
| RTX 3090 24 GB | fits | 23.4 GB |
| RTX 4090 24 GB | fits | 23.4 GB |
| RTX 5090 32 GB | fits | 31.0 GB |
| L40S 48 GB | fits | 44.0 GB |
| A100 80 GB | fits | 78.2 GB |
| H100 80 GB | fits | 78.1 GB |
| RTX PRO 6000 Blackwell 96 GB | fits | 93.8 GB |
| DGX Spark (GB10) 128 GB unified | fits | 107 GB |
| H200 141 GB | fits | 138 GB |
| B200 180 GB | fits | 176 GB |
Builds
| Build | Params | Precision | Weights | Smallest setup |
|---|---|---|---|---|
| granite-embedding-107m-multilingual ↗ | 107M | BF16 | 214 MB | RTX 3060 12 GB |
| granite-embedding-278m-multilingual (above) ↗ | 278M | BF16 | 556 MB | RTX 3060 12 GB |
From the model card
Model Summary: Granite-Embedding-107M-Multilingual is a 107M parameter dense biencoder embedding model from the Granite Embeddings suite that can be used to generate high quality text embeddings. This model produces embedding vectors of size 384 and is trained using a combination of open source relevance-pair datasets with permissive, enterprise-friendly license, and IBM collected and generated datasets. This model is developed using contrastive finetuning, knowledge distillation and model merging for improved performance.
Supported Languages: English, German, Spanish, French, Japanese, Portuguese, Arabic, Czech, Italian, Korean, Dutch, and Chinese. Users may finetune Granite-Embedding-107M-Multilingual for languages beyond these 12 languages.
Intended use: The model is designed to produce fixed length vector representations for a given text, which can be used for text similarity, retrieval, and search applications.
Usage with Sentence Transformers: The model is compatible with SentenceTransformer library and is very easy to use:
First, install the sentence transformers library
pip install sentence_transformers
The model can then be used to encode pairs of text and find the similarity between their representations
from sentence_transformers import SentenceTransformer, util
model_path = "ibm-granite/granite-embedding-107m-multilingual"
# Load the Sentence Transformer model
model = SentenceTransformer(model_path)
input_queries = [
' Who made the song My achy breaky heart? ',
'summit define'
]
input_passages = [
"Achy Breaky Heart is a country song written by Don Von Tress. Originally titled Don't Tell My Heart and performed by The Marcy Brothers in 1991. ",
"Definition of summit for English Language Learners. : 1 the highest point of a mountain : the top of a mountain. : 2 the highest level. : 3 a meeting or series of meetings between the leaders of two or more governments."
]
# encode queries and passages
query_embeddings = model.encode(input_queries)
passage_embeddings = model.encode(input_passages)
# calculate cosine similarity
print(util.cos_sim(query_embeddings, passage_embeddings))
Usage with Huggingface Transformers: This is a simple example of how to use the Granite-Embedding-107m-Multilingual model with the Transformers library and PyTorch.
First, install the required libraries
pip install transformers torch
The model can then be used to encode pairs of text
import torch
from transformers import AutoModel, AutoTokenizer
model_path = "ibm-granite/granite-embedding-107m-multilingual"
# Load the model and tokenizer
model = AutoModel.from_pretrained(model_path)
tokenizer = AutoTokenizer.from_pretrained(model_path)
model.eval()
input_queries = [
' Who made the song My achy breaky heart? ',
'summit define'
]
# tokenize inputs
tokenized_queries = tokenizer(input_queries, padding=True, truncation=True, return_tensors='pt')
# encode queries
with torch.no_grad():
# Queries
model_output = model(**tokenized_queries)
# Perform pooling. granite-embedding-107m-multilingual uses CLS Pooling
query_embeddings = model_output[0][:, 0]
# normalize the embeddings
query_embeddings = torch.nn.functional.normalize(query_embeddings, dim=1)
Evaluation: The average performance of the Granite-Embedding-107M-Multilingual on Multilingual Miracl (across 18 langauges), Mintaka Retrieval (across 8 languages) and MTEB Retrieval for English (across 15 tasks), German (across 4 tasks), Spanish (across 2 tasks), Frenc (across 5 tasks), Japanese (across 2 tasks), Arabic (1 task), Korean (1 task) and Chinese (across 8 tasks) is reported below. Granite-Embedding-107M-Multilingual is twice as fast as other models with similar embedding dimensions.
| Model | Paramters (M) | Embedding Dimension | Miracl (18) | Mintaka Retrieval (8) | MTEB English (15) | MTEB German (4) | MTEB Spanish (2) | MTEB French (5) | MTEB Japanese (2) | MTEB Arabic (1) | MTEB Korean (1) | MTEB Chinese (8) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| granite-embedding-107m-multilingual | 107 | 384 | 55.9 | 22.6 | 45.3 | 70.3 | 48.7 | 51.1 | 59.0 | 63.2 | 70.5 | 40.8 |
Model Architecture: Granite-Embedding-107m-Multilingual is based on an encoder-only XLM-RoBERTa like transformer architecture, trained internally at IBM Research.
| Model | granite-embedding-30m-english | granite-embedding-125m-english | granite-embedding-107m-multilingual | granite-embedding-278m-multilingual |
|---|---|---|---|---|
| Embedding size | 384 | 768 | 384 | 768 |
| Number of layers | 6 | 12 | 6 | 12 |
| Number of attention heads | 12 | 12 | 12 | 12 |
| Intermediate size | 1536 | 3072 | 1536 | 3072 |
| Activation Function | GeLU | GeLU | GeLU | GeLU |
| Vocabulary Size | 50265 | 50265 | 250002 | 250002 |
| Max. Sequence Length | 512 | 512 | 512 | 512 |
| # Parameters | 30M | 125M | 107M | 278M |
Training Data: Overall, the training data consists
Quoted from the model card on Hugging Face. The full card is behind the Hugging Face link above.
Benchmarks
As published on the model card: the maker's own numbers, not measured by AxForge.
| Task | Dataset | Metric | Score |
|---|---|---|---|
| Classification | MTEB AmazonCounterfactualClassification (en-ext) | accuracy | 72.714 |
| Classification | MTEB AmazonCounterfactualClassification (en-ext) | f1 | 60.445 |
| Classification | MTEB AmazonCounterfactualClassification (en-ext) | f1_weighted | 77.854 |
| Classification | MTEB AmazonCounterfactualClassification (en-ext) | ap | 22.496 |
| Classification | MTEB AmazonCounterfactualClassification (en-ext) | ap_weighted | 22.496 |
| Classification | MTEB AmazonCounterfactualClassification (en-ext) | main_score | 72.714 |
| Classification | MTEB AmazonCounterfactualClassification (en) | accuracy | 71.672 |
| Classification | MTEB AmazonCounterfactualClassification (en) | f1 | 65.422 |
| Classification | MTEB AmazonCounterfactualClassification (en) | f1_weighted | 74.353 |
| Classification | MTEB AmazonCounterfactualClassification (en) | ap | 33.757 |
| Classification | MTEB AmazonCounterfactualClassification (en) | ap_weighted | 33.757 |
| Classification | MTEB AmazonCounterfactualClassification (en) | main_score | 71.672 |
| Classification | MTEB AmazonPolarityClassification (default) | accuracy | 66.580 |
| Classification | MTEB AmazonPolarityClassification (default) | f1 | 66.219 |
| Classification | MTEB AmazonPolarityClassification (default) | f1_weighted | 66.219 |
| Classification | MTEB AmazonPolarityClassification (default) | ap | 61.341 |
| Classification | MTEB AmazonPolarityClassification (default) | ap_weighted | 61.341 |
| Classification | MTEB AmazonPolarityClassification (default) | main_score | 66.580 |
| Classification | MTEB AmazonReviewsClassification (en) | accuracy | 36.412 |
| Classification | MTEB AmazonReviewsClassification (en) | f1 | 35.633 |
| Classification | MTEB AmazonReviewsClassification (en) | f1_weighted | 35.633 |
| Classification | MTEB AmazonReviewsClassification (en) | main_score | 36.412 |
| Retrieval | MTEB AppsRetrieval (default) | ndcg_at_1 | 2.390 |
| Retrieval | MTEB AppsRetrieval (default) | ndcg_at_3 | 3.527 |