tencent / KaLM-Embedding-Gemma3-12B-2511

huggingface.co
Total runs: 15.9K
24-hour runs: 0
7-day runs: -36
30-day runs: -3.1K
Model's Last Updated: February 10 2026
sentence-similarity

Introduction of KaLM-Embedding-Gemma3-12B-2511

Model Details of KaLM-Embedding-Gemma3-12B-2511

KaLM-Embedding-Gemma3-12B-2511

HuggingFace Homepage GitHub Paper

Short Description

KaLM-Embedding-Gemma3-12B-2511 is a versatile and compact embedding model, which achieves SOTA performance in MMTEB (due to 11-2025).

MMTEB Evaluation Results
Rank (Borda) Model Mean (Task) Mean (TaskType) Bitext Mining Classification Clustering Instruction Reranking Multilabel Classification Pair Classification Reranking Retrieval STS
1 KaLM-Embedding-Gemma3-12B-2511 72.32 62.51 83.76 77.88 55.77 5.49 33.03 84.73 67.27 75.66 79.02
2 llama-embed-nemotron-8b 69.46 61.09 81.72 73.21 54.35 10.82 29.86 83.97 67.78 68.69 79.41
3 Qwen3-Embedding-8B 70.58 61.69 80.89 74.00 57.65 10.06 28.66 86.40 65.63 70.88 81.08
4 gemini-embedding-001 68.37 59.59 79.28 71.82 54.59 5.18 29.16 83.63 65.58 67.71 79.40
5 Qwen3-Embedding-4B 69.45 60.86 79.36 72.33 57.15 11.56 26.77 85.05 65.08 69.60 80.86
6 Qwen3-Embedding-0.6B 64.34 56.01 72.23 66.83 52.33 5.09 24.59 80.83 61.41 64.65 76.17
7 gte-Qwen2-7B-instruct 62.51 55.93 73.92 61.55 52.77 4.94 25.48 85.13 65.55 60.08 73.98
8 Linq-Embed-Mistral 61.47 54.14 70.34 62.24 50.60 0.94 24.77 80.43 64.37 58.69 74.86
9 multilingual-e5-large-instruct 63.22 55.08 80.13 64.94 50.75 -0.40 22.91 80.86 62.61 57.12 76.81
10 embeddinggemma-300m 61.15 54.31 64.40 60.90 51.17 5.61 24.82 81.40 63.25 62.49 74.73
Model Details
  • Model Size: 11.76B
  • Embedding Dimension: 3840
  • Max Input Tokens: 32k
  • MRL dimensions: 3840, 2048, 1024, 512, 256, 128, and 64
  • Pooling: lasttoken pooling
Training Recipe
  • High-quality supervised finetuning
📑 Open-source Plan
Usage
sentence-transformers support

Using this model becomes easy when you have sentence-transformers installed:

pip install -U sentence-transformers

You can use the model like this:

from sentence_transformers import SentenceTransformer
import torch

model = SentenceTransformer(
    "tencent/KaLM-Embedding-Gemma3-12B-2511",
    trust_remote_code=True,
    model_kwargs={
        "torch_dtype": torch.bfloat16,
        "attn_implementation": "flash_attention_2",  # Optional
    },
)
model.max_seq_length = 512

sentences = ["This is an example sentence", "Each sentence is converted"]
prompt = "Instruct: Classifying the category of french news.\nQuery:"
embeddings = model.encode(
    sentences,
    prompt=prompt,
    normalize_embeddings=True,
    batch_size=256,
    show_progress_bar=True,
)
print(embeddings)
'''
[[-0.01867676  0.02319336  0.00280762 ... -0.02075195  0.00196838
  -0.0703125 ]
 [-0.0067749   0.03491211  0.01434326 ... -0.0043335   0.00509644
  -0.04174805]]
'''

Or you can use encode_query and encode_document to automatically add the default prompt for queries ( "Instruct: Given a query, retrieve documents that answer the query \n Query: " ) and documents ( "" ), respectively.

from sentence_transformers import SentenceTransformer
import torch

model = SentenceTransformer(
    "tencent/KaLM-Embedding-Gemma3-12B-2511",
    trust_remote_code=True,
    model_kwargs={
        "torch_dtype": torch.bfloat16,
        "attn_implementation": "flash_attention_2",  # Optional
    },
)
model.max_seq_length = 512

queries = [
    "What is the capital of China?",
    "Explain gravity",
]
documents = [
    "The capital of China is Beijing.",
    "Gravity is a force that attracts two bodies towards each other. It gives weight to physical objects and is responsible for the movement of planets around the sun.",
]

query_embeddings = model.encode_query(queries)
document_embeddings = model.encode_document(documents)

similarities = model.similarity(query_embeddings, document_embeddings)
print(similarities)
'''
tensor([[0.9034, 0.2563],
        [0.3153, 0.7396]])
'''
Citation

If you find this model useful, please consider giving a star and citation.

@misc{zhao2025kalmembeddingv2,
      title={KaLM-Embedding-V2: Superior Training Techniques and Data Inspire A Versatile Embedding Model}, 
      author={Xinping Zhao and Xinshuo Hu and Zifei Shan and Shouzheng Huang and Yao Zhou and Xin Zhang and Zetian Sun and Zhenyu Liu and Dongfang Li and Xinyuan Wei and Youcheng Pan and Yang Xiang and Meishan Zhang and Haofen Wang and Jun Yu and Baotian Hu and Min Zhang},
      year={2025},
      eprint={2506.20923},
      archivePrefix={arXiv},
      primaryClass={cs.CL},
      url={https://arxiv.org/abs/2506.20923}, 
}

@misc{hu2025kalmembedding,
      title={KaLM-Embedding: Superior Training Data Brings A Stronger Embedding Model}, 
      author={Xinshuo Hu and Zifei Shan and Xinping Zhao and Zetian Sun and Zhenyu Liu and Dongfang Li and Shaolin Ye and Xinyuan Wei and Qian Chen and Baotian Hu and Haofen Wang and Jun Yu and Min Zhang},
      year={2025},
      eprint={2501.01028},
      archivePrefix={arXiv},
      primaryClass={cs.CL},
      url={https://arxiv.org/abs/2501.01028}, 
}
Contact

If you encounter any issue, feel free to contact us via the email: [email protected] , [email protected]

Runs of tencent KaLM-Embedding-Gemma3-12B-2511 on huggingface.co

15.9K
Total runs
0
24-hour runs
0
3-day runs
-36
7-day runs
-3.1K
30-day runs

More Information About KaLM-Embedding-Gemma3-12B-2511 huggingface.co Model

More KaLM-Embedding-Gemma3-12B-2511 license Visit here:

https://choosealicense.com/licenses/tencent-kalm-embedding-community

KaLM-Embedding-Gemma3-12B-2511 huggingface.co

KaLM-Embedding-Gemma3-12B-2511 huggingface.co is an AI model on huggingface.co that provides KaLM-Embedding-Gemma3-12B-2511's model effect (), which can be used instantly with this tencent KaLM-Embedding-Gemma3-12B-2511 model. huggingface.co supports a free trial of the KaLM-Embedding-Gemma3-12B-2511 model, and also provides paid use of the KaLM-Embedding-Gemma3-12B-2511. Support call KaLM-Embedding-Gemma3-12B-2511 model through api, including Node.js, Python, http.

KaLM-Embedding-Gemma3-12B-2511 huggingface.co Url

https://huggingface.co/tencent/KaLM-Embedding-Gemma3-12B-2511

tencent KaLM-Embedding-Gemma3-12B-2511 online free

KaLM-Embedding-Gemma3-12B-2511 huggingface.co is an online trial and call api platform, which integrates KaLM-Embedding-Gemma3-12B-2511's modeling effects, including api services, and provides a free online trial of KaLM-Embedding-Gemma3-12B-2511, you can try KaLM-Embedding-Gemma3-12B-2511 online for free by clicking the link below.

tencent KaLM-Embedding-Gemma3-12B-2511 online free url in huggingface.co:

https://huggingface.co/tencent/KaLM-Embedding-Gemma3-12B-2511

KaLM-Embedding-Gemma3-12B-2511 install

KaLM-Embedding-Gemma3-12B-2511 is an open source model from GitHub that offers a free installation service, and any user can find KaLM-Embedding-Gemma3-12B-2511 on GitHub to install. At the same time, huggingface.co provides the effect of KaLM-Embedding-Gemma3-12B-2511 install, users can directly use KaLM-Embedding-Gemma3-12B-2511 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

KaLM-Embedding-Gemma3-12B-2511 install url in huggingface.co:

https://huggingface.co/tencent/KaLM-Embedding-Gemma3-12B-2511

Url of KaLM-Embedding-Gemma3-12B-2511

KaLM-Embedding-Gemma3-12B-2511 huggingface.co Url

Provider of KaLM-Embedding-Gemma3-12B-2511 huggingface.co

tencent
ORGANIZATIONS

Other API from tencent

huggingface.co

Total runs: 924.4K
Run Growth: 274.8K
Growth Rate: 29.73%
Updated:August 29 2026
huggingface.co

Total runs: 131.8K
Run Growth: 33.1K
Growth Rate: 25.09%
Updated:October 17 2025
huggingface.co

Total runs: 90.7K
Run Growth: -582.4K
Growth Rate: -642.43%
Updated:September 12 2025
huggingface.co

Total runs: 64.9K
Run Growth: 9.9K
Growth Rate: 15.24%
Updated:October 17 2025
huggingface.co

Total runs: 28.9K
Run Growth: 2.3K
Growth Rate: 7.80%
Updated:May 26 2026
huggingface.co

Total runs: 14.3K
Run Growth: 5.1K
Growth Rate: 35.51%
Updated:October 17 2025
huggingface.co

Total runs: 11.5K
Run Growth: -796
Growth Rate: -6.91%
Updated:July 30 2025
huggingface.co

Total runs: 10.8K
Run Growth: -2.9K
Growth Rate: -27.30%
Updated:May 26 2026
huggingface.co

Total runs: 6.8K
Run Growth: -523
Growth Rate: -7.69%
Updated:January 01 2026
huggingface.co

Total runs: 3.3K
Run Growth: -132
Growth Rate: -3.97%
Updated:May 21 2026
huggingface.co

Total runs: 3.2K
Run Growth: 1.3K
Growth Rate: 40.46%
Updated:September 10 2026
huggingface.co

Total runs: 2.9K
Run Growth: 115
Growth Rate: 3.95%
Updated:February 24 2026
huggingface.co

Total runs: 2.0K
Run Growth: 640
Growth Rate: 31.60%
Updated:September 09 2026
huggingface.co

Total runs: 2.0K
Run Growth: -1.0K
Growth Rate: -51.94%
Updated:December 30 2025
huggingface.co

Total runs: 1.9K
Run Growth: 1.2K
Growth Rate: 60.36%
Updated:March 06 2025
huggingface.co

Total runs: 1.6K
Run Growth: 522
Growth Rate: 33.53%
Updated:October 09 2026
huggingface.co

Total runs: 1.5K
Run Growth: 255
Growth Rate: 17.39%
Updated:October 17 2025
huggingface.co

Total runs: 1.1K
Run Growth: 109
Growth Rate: 9.99%
Updated:June 01 2026
huggingface.co

Total runs: 630
Run Growth: 4
Growth Rate: 0.63%
Updated:October 09 2026
huggingface.co

Total runs: 453
Run Growth: 154
Growth Rate: 34.00%
Updated:March 11 2026
huggingface.co

Total runs: 416
Run Growth: 171
Growth Rate: 41.11%
Updated:December 31 2025
huggingface.co

Total runs: 377
Run Growth: 54
Growth Rate: 14.32%
Updated:March 06 2026
huggingface.co

Total runs: 372
Run Growth: -3.0K
Growth Rate: -804.03%
Updated:September 15 2025