Model reference · open weights
granite-embedding-multilingual is an open-weight embedding model from ibm-granite, listed in the AxForge catalogue. AxForge can bring it up on EU-owned hardware for you on request — with the licence handled where one is required.
About
Granite-Embedding-107m-multilingual 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. - Developers: Granite Embedding Team, IBM - GitHub Repository: ibm-granite/granite-embedding-models - Website: Granite Docs - Paper: Technical Report - Release Date: December 18th, 2024 - License: Apache 2.0 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 The model can then be used to encode pairs of text and find the similarity between their representations 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 The model can then be used to encode pairs of text 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. M
Summarised from the published model card. Read the full card on the HuggingFace links below.
Specifications
| Maker | ibm-granite |
|---|---|
| Type | Embedding models |
| Parameters (lead) | 107M |
| Context | 514 tokens |
| Variants | 2 |
| Runs with | transformers |
| Released | 2024-12-04 |
| Popularity | 80k downloads / month |
| Likes | 85 |
| Licence | Open weights |
How it works
Variants
Open weights ship in several sizes and precisions. One page, all the variants — pick the one that fits your GPU. VRAM figures are estimates from model size.
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.58 |
| 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.58 |
| 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.39 |
| Retrieval | MTEB AppsRetrieval (default) | ndcg_at_3 | 3.527 |
Using it via the API
Once AxForge deploys granite-embedding-multilingual for you, it answers on the OpenAI-compatible API — the same base URL and keys as every other model. (granite-embedding-multilingual below is illustrative; you get the exact model name on deployment.)
$ curl -sS https://api.axforge.ai/v1/embeddings \
-H "Authorization: Bearer $AXFORGE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"granite-embedding-multilingual","input":"text to embed"}'
Licence
Open weights under apache-2.0 — commercial use is permitted. Deploy it on AxForge EU hardware on request. Read the licence ↗
Sources
Explore