Downloads · 30 days
693
26% of all-time downloads
xnohat/granite-embedding-97m-multilingual-r2-GGUF
granite-embedding-97m-multilingual-r2-GGUF is a feature extraction model from xnohat. Use it when you need embeddings to search or compare text. It is set up for GGUF. The card lists the license as apache-2.0.
GGUF builds of ibm-granite/granite-embedding-97m-multilingual-r2.
Downloads · 30 days
693
26% of all-time downloads
All-time downloads
2.7K
Public
Repo size
750 MB
Likes
0
Public
Click a slice to open those files.
.gguf750 MB · 100%
From the Hugging Face model README
GGUF builds of ibm-granite/granite-embedding-97m-multilingual-r2.
This repository is a mirror, published so that AICoworker (OpenClaw gateway) can ship Granite R2 as its default local embedding model without depending on a third-party repository remaining available. The files are byte-identical to the conversion credited below.
| Parameters | 97M |
| Architecture | ModernBERT (general.architecture = modern-bert) |
| Embedding dimensions | 384 |
| Context length | 32768 |
| Pooling | CLS (modern-bert.pooling_type = 2) |
| License | Apache-2.0 |
| File | Size |
|---|---|
granite-embedding-97M-multilingual-r2-BF16.gguf | 206 MB |
granite-embedding-97M-multilingual-r2-Q8_0.gguf | 115 MB |
granite-embedding-97M-multilingual-r2-Q6_K.gguf | 113 MB |
granite-embedding-97M-multilingual-r2-Q5_K_M.gguf | 107 MB |
granite-embedding-97M-multilingual-r2-Q4_K_M.gguf | 105 MB |
granite-embedding-97M-multilingual-r2-Q3_K_L.gguf | 103 MB |
Q8_0 is the recommended default: the retrieval-quality gap to BF16 is negligible while the download is roughly half the size.
llama.cpp pools token vectors according to the GGUF's own pooling_type — the
caller does not get to choose it at load time. These files declare CLS
pooling, which is what Granite R2 was trained for. A mean-pooled re-quant still
loads and still returns vectors, but retrieval quality degrades measurably with
no other symptom, so keep CLS if you re-quantize.
import { getLlama, resolveModelFile } from 'node-llama-cpp';
const file = await resolveModelFile(
'hf:xnohat/granite-embedding-97m-multilingual-r2-GGUF/granite-embedding-97M-multilingual-r2-Q8_0.gguf',
);
const llama = await getLlama();
const model = await llama.loadModel({ modelPath: file });
const context = await model.createEmbeddingContext();
const { vector } = await context.getEmbeddingFor('Mật khẩu wifi nhà là gì?'); // 384 dims
Granite takes raw text — no query: / passage: prefixes (those are E5 and
EmbeddingGemma conventions, and applying them here measurably hurts).
ibm-granite/granite-embedding-97m-multilingual-r2 — IBM Granite, Apache-2.0.mykor/granite-embedding-97m-multilingual-r2-GGUF.All credit for the model and for the GGUF conversion belongs to the authors above. This repo only pins availability.