alt.freeweights.granite / granite-embedding-107m-multilingual
From: ibm-granite <huggingface.co/ibm-granite>Newsgroups: alt.freeweights.graniteSubject:

granite-embedding-107m-multilingual

Date: 2026-11-14Commit: d6cffd3Signed: 2DC28CC7B26A283B ✓

Sentence similarity model with 107M parameters. Onnx and safetensors weights, 1.43 GB in all. Published by ibm-granite under Apache-2.0.

107M params1.43GBgranite-embedding-107m-multilingualonnx safetensorspermissive
FactsParams107MSize1.43 GBFormatsonnx, safetensorsTasksentence similarityLicenseApache-2.0From sourcepermissive
$ fw get ibm-granite/granite-embedding-107m-multilingual
# manifest sha256 3fda6a7dc783… · 1.43 GB · 13 files
$ fw verify ./granite-embedding-107m-multilingual ibm-granite/granite-embedding-107m-multilingual
From sourceHosted (signed)ibm-granite/granite-embedding-107m-multilingualLast check: 2026-11-14 21:16 UTC

Get help: custom fine-tune or private deploy. We review your setup before we quote.

Works with

Evaluate with

Overview

Size
1.43 GB
Weights
214 MB (safetensors)
Parameters
107M
Formats
onnx, safetensors
Task
sentence similarity
License
Apache-2.0 (permissive)
Files
13, each with a sha256
Publisher
ibm-granite
Added
2026-11-14
Section
alt.freeweights.granite
Lineage

Original release from the publisher.

Where these bytes come from
Publisher at the pinned commit→You

Sources are tried in order. A file counts only when its size and sha256 match the manifest. Sources are checked when you ask for them, not on a timer.

Sources
BadgeHostLast checkResult
From sourcehuggingface.co2026-11-14 21:16 UTCpassed

Model card

From the publisher at commit d6cffd3. Shown as plain text with links; images open at the publisher.

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.

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.

ModelParamters (M)Embedding DimensionMiracl (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-multilingual10738455.922.645.370.348.751.159.063.270.540.8

Model Architecture: Granite-Embedding-107m-Multilingual is based on an encoder-only XLM-RoBERTa like transformer architecture, trained internally at IBM Research.

Modelgranite-embedding-30m-englishgranite-embedding-125m-englishgranite-embedding-107m-multilingualgranite-embedding-278m-multilingual
Embedding size384768384768
Number of layers612612
Number of attention heads12121212
Intermediate size1536307215363072
Activation FunctionGeLUGeLUGeLUGeLU
Vocabulary Size5026550265250002250002
Max. Sequence Length512512512512
# Parameters30M125M107M278M

Training Data: Overall, the training data consists of four key sources: (1) unsupervised title-body paired data scraped from the web, (2) publicly available paired with permissive, enterprise-friendly license, (3) IBM-internal paired data targetting specific technical domains, and (4) IBM-generated synthetic data. The data is listed below:

DatasetNum. Pairs
Multilingual MC452,823,484
Multilingual Webhose12,369,322
English Wikipedia20,745,403
Multilingual Wikimedia2,911,090
Miracl Corpus (Title-Body)10,120,398
Stack Exchange Duplicate questions (titles)304,525
Stack Exchange Duplicate questions (titles)304,525
Stack Exchange Duplicate questions (bodies)250,519
Machine Translations of Stack Exchange Duplicate questions (titles)187,195
Stack Exchange (Title, Answer) pairs4,067,139
Stack Exchange (Title, Body) pairs23,978,013
Stack Exchange (Title, Body) pairs23,978,013
Machine Translations of Stack Exchange (Title+Body, Answer) pairs1,827,15
SearchQA582,261
S2ORC (Title, Abstract)41,769,185
WikiAnswers Duplicate question pairs77,427,422
CCNews614,664
XSum226,711
SimpleWiki102,225
Machine Translated Cross Lingual Parallel Corpora28,376,115
SPECTER citation triplets684,100
Machine Translations of SPECTER citation triplets4,104,600
Natural Questions (NQ)100,231
SQuAD2.087,599
HotpotQA85,000
Fever109,810
PubMed20,000,000
Multilingual Miracl Triples81,409
Multilingual MrTydi Triples48,715
Sadeeem Question Asnwering4,037
DBPedia Title-Body Pairs4,635,922
Synthetic: English Query-Wikipedia Passage1,879,093
Synthetic: English Fact Verification9,888
Synthetic: Multilingual Query-Wikipedia Passage300,266
Synthetic: Multilingual News Summaries37,489
IBM Internal Triples40,290
IBM Internal Title-Body Pairs1,524,586

Notably, we do not use the popular MS-MARCO retrieval dataset in our training corpus due to its non-commercial license, while other open-source models train on this dataset due to its high quality.

Infrastructure: We train Granite Embedding Models using IBM's computing cluster, Cognitive Compute Cluster, which is outfitted with NVIDIA A100 80gb GPUs. This cluster provides a scalable and efficient infrastructure for training our models over multiple GPUs.

Ethical Considerations and Limitations: The data used to train the base language model was filtered to remove text containing hate, abuse, and profanity. Granite-Embedding-107m-Multilingual is finetuned on 12 languages, and has a context length of 512 tokens (longer texts will be truncated to this size).

Resources

Files

13 files · 1.43 GBWeights 214 MB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 13 files with their sha256
FileSizesha256
.gitattributes1.52 KB11ad7efa24975ee4b0c3c3a38ed18737f0658a5f75a0a96787b576a78a023361
1_Pooling/config.json191 B7fae3727656cff4a760964a58f1e4b31695c97c75d2e26346df32a87d494bbca
README.md611 KB965ca920eeee9d263046d84173264d6bc1e2cd922c00d2c5d501a1a9d4e20a79
config.json697 Baa3b6a5d1d6efeacdb844fb8ba773556463af2195003ad5e70a6f014d11be9cf
model.onnx428 MB387e6f91dce3c651cb3dc06661d74fb1d3947f20ed9c3ecf49d2b3b77086b954
model.safetensors214 MBae6f20cc5dc433041118c900b652d87532e1335dade78c37765f0b94d1161283
modules.json350 B21ddb3037a55ebf4549eb5c1dc44c3f28f10b56ec7f1335c92fd90e5b30d88ac
pytorch_model.bin770 MB30b74f885343f50c7769aac4df7a9f205c0eafe377d56401f80ba7ee5f20e78e
sentence_bert_config.json54 Bed20daeb5b882c3e1f116ce7b3d53e6643d11063aa9baaa31f5ae91770cfad8f
sentencepiece.bpe.model5.07 MBcfc8146abe2a0488e9e2a0c56de7952f7c11ab059eca145a0a727afce0db2865
special_tokens_map.json238 B58dc0a3d15e3bad4861bcf2dee770ea327344d185182d4c5d2bf253285e53a83
tokenizer.json9.08 MB7fc9e475f2ac473f070052d92b0c46ec2b91d9cd672935feb6fd837a65d33f78
tokenizer_config.json462 B740c9d63e16f34a7915b4c2be299db105d1fd2e6753f2a981769a353f8902280
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
d6cffd3384 pinned now manifest updated, same commit2026-11-14 21:16 UTC13 files · 1.43 GB
d6cffd33842026-11-14 21:16 UTC13 files · 1.43 GB

Use it

$ fw get ibm-granite/granite-embedding-107m-multilingual
# manifest sha256 3fda6a7dc783… · 1.43 GB · 13 files
$ fw verify ./granite-embedding-107m-multilingual ibm-granite/granite-embedding-107m-multilingual
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/ibm-granite/granite-embedding-107m-multilingual.json --dir ./granite-embedding-107m-multilingual $ python3 fw.py verify ./granite-embedding-107m-multilingual ./ibm-granite__granite-embedding-107m-multilingual.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download ibm-granite/granite-embedding-107m-multilingual --revision d6cffd338414d6a1c1f5decfad5fec62eebc90d5 --local-dir ./granite-embedding-107m-multilingual
transformersLoad the weights in Python.
import os os.environ["HF_ENDPOINT"] = "https://freeweights.allternit.com" from transformers import AutoModel, AutoTokenizer tok = AutoTokenizer.from_pretrained("ibm-granite/granite-embedding-107m-multilingual", revision="d6cffd338414d6a1c1f5decfad5fec62eebc90d5") model = AutoModel.from_pretrained("ibm-granite/granite-embedding-107m-multilingual", revision="d6cffd338414d6a1c1f5decfad5fec62eebc90d5", device_map="auto")
sentence-transformersEmbed text with sentence-transformers.
import os os.environ["HF_ENDPOINT"] = "https://freeweights.allternit.com" from sentence_transformers import SentenceTransformer model = SentenceTransformer("ibm-granite/granite-embedding-107m-multilingual", revision="d6cffd338414d6a1c1f5decfad5fec62eebc90d5") vectors = model.encode(["Hello"])

License

Name
Apache License 2.0
Id
Apache-2.0
Class
Permissive
Redistribution
yes
Listing
Hosted (signed)
Decided
License as declared by the publisher. No person read it. 2026-11-14
Text in
README.md
Text sha256
965ca920eeee9d263046d84173264d6bc1e2cd922c00d2c5d501a1a9d4e20a79
Terms gate
No extra terms beyond the license.

Read the license text

Licenses are checked against the license table. A custom license passes only after a person reads it.

Provenance

From: ibm-granite <huggingface.co/ibm-granite>Newsgroups: alt.freeweights.graniteSubject: granite-embedding-107m-multilingualDate: 2026-11-14Commit: d6cffd3Signed: 2DC28CC7B26A283B ✓
Upstream
ibm-granite/granite-embedding-107m-multilingual
Pinned commit
d6cffd338414d6a1c1f5decfad5fec62eebc90d5
Manifest
granite-embedding-107m-multilingual.json · .minisig
Manifest sha256
3fda6a7dc7836730e648ac128a5a7091b5d511806667effb2d90dffe5b0b159e
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-14 21:16 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/ibm-granite/granite-embedding-107m-multilingual.json $ curl -O https://freeweights.allternit.com/manifests/ibm-granite/granite-embedding-107m-multilingual.json.minisig $ minisign -Vm granite-embedding-107m-multilingual.json -P RWQ7KGqyx4zCLXtUFOqvfv8L3g+8fpKJ1FsuxPyOYMF+4KufbUxKq1Oq $ shasum -a 256 <file> # compare with the Files tab

A manifest whose signature fails must be rejected. A file whose size or sha256 does not match must be discarded. Verify a download

Model tree

2 models in the catalog name this one as their parent.

Quantizations
2
Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download ibm-granite/granite-embedding-107m-multilingual
Open in Freeweights Studio

Pull, verify and run it in the Allternit app on Desktop, web or phone.

Signed manifest
minisign, key 2DC28CC7B26A283B. granite-embedding-107m-multilingual.json. Provenance. Takedown history: none.

Variants

2 quantized or adapter builds of granite-embedding-107m-multilingual. Each has its own license check and page.

From: ibm-granite <huggingface.co/ibm-granite>Subject: GneissWeb.7B_ablation_model_on_350B_FineWeb.Edu.seed1
From: ibm-granite <huggingface.co/ibm-granite>Subject: GneissWeb.7B_ablation_model_on_350B_FineWeb.Edu.seed2
From: ibm-granite <huggingface.co/ibm-granite>Subject: GneissWeb.7B_ablation_model_on_350B_FineWeb.Edu.seed3
From: ibm-granite <huggingface.co/ibm-granite>Subject: GneissWeb.7B_ablation_model_on_350B_FineWeb.seed1
From: ibm-granite <huggingface.co/ibm-granite>Subject: GneissWeb.7B_ablation_model_on_350B_FineWeb.seed2
From: ibm-granite <huggingface.co/ibm-granite>Subject: GneissWeb.7B_ablation_model_on_350B_FineWeb.seed3