Downloads · 30 days
27
7% of all-time downloads
arshvir/granite-embedding-311m-multilingual-r2-GGUF
granite-embedding-311m-multilingual-r2-GGUF is a feature extraction model from arshvir. Use it when you need embeddings to search or compare text. It is set up for sentence-transformers. The card lists the license as apache-2.0.
This is a GGUF-format conversion of the ibm-granite/granite-embedding-311m-multilingual-r2 embedding model.
Downloads · 30 days
27
7% of all-time downloads
All-time downloads
372
Public
Repo size
638 MB
Likes
0
Public
Click a slice to open those files.
.gguf638 MB · 100%
From the Hugging Face model README
This is a GGUF-format conversion of the ibm-granite/granite-embedding-311m-multilingual-r2 embedding model.
I intentionally created this GGUF conversion from scratch rather than relying on pre-packaged vendor binaries because I believe in full transparency, trust, and control over the model pipeline. When running local AI, you should know exactly how your weights were processed.
To ensure anyone can audit the conversion or generate alternative quantization formats (like q8_0 or q4_K_M), I have provided the exact, reproducible Google Colab conversion script at the bottom of this model card. You do not have to trust my binary—you can verify it or build it yourself.
This model uses the ModernBERT architecture, bringing alternating attention, GeGLU activations, and rotary position embeddings (RoPE) to deliver state-of-the-art retrieval.
f16 16-bit float)The Granite 311M Multilingual R2 model is highly optimized for multi-lingual and cross-lingual text search, code retrieval, and long-document search.
llama-cpp-pythonYou can easily load this embedding model in Python to generate vector embeddings for your documents or queries.
pip install llama-cpp-python
Python
from llama_cpp import Llama
# Load the model (ensure you download the .gguf file first)
model = Llama(
model_path="granite-311m-multilingual-r2-f16.gguf",
embedding=True,
n_ctx=32768 # Support for full context window
)
# Generate an embedding
text = "The quick brown fox jumps over the lazy dog."
embedding = model.embed(text)
print(f"Embedding dimension: {len(embedding[0])}")