Model reference · open weights

KaLM-embedding-multilingual-mini

Available as managed deployment Embeddings HIT-TMG Embeddings 1 variants 6k dl/mo

KaLM-embedding-multilingual-mini is an open-weight embedding model from HIT-TMG. AxForge deploys and operates it for you on dedicated EU-owned hardware — with the licence handled where one is required.

Available as managed deployment — configured and operated for you on dedicated EU hardware, quoted per deployment.

What it is

Released byHIT-TMG
TypeEmbedding models
TaskEmbeddings
Parameters (lead)494M
Context128k tokens
Runs withsentence-transformers
Released2024-08-27
Popularity6k downloads / month
LicenceOpen weights

About

What KaLM-embedding-multilingual-mini is

KaLM-Embedding is a series of embedding models adapted from auto-regressive LLMs with superior training data.

KaLM-embedding-multilingual-mini is trained from Qwen/Qwen2-0.5B with massive weakly-supervised pre-training and supervised fine-tuning data.

Read the full model card

📑 Open-source Plan

Evaluation

Model NameModel SizeC-MTEB(35)MTEB(56)avg
multilingual-e5-large560M58.8161.560.16
bge-m3 (dense)560M60.8059.8460.32
gte-multilingual-base (dense)305M62.7261.4062.06
KaLM-embedding-multilingual-mini-v1494M62.3161.8762.09
KaLM-embedding-multilingual-mini-instruct-v1494M63.5764.7464.16
KaLM-embedding-multilingual-mini-instruct-v1.5494M64.1364.9464.53

Requirements

Since we have used the Qwen2 model, we advise you to install transformers>=4.37.0, or you might encounter the following error:

KeyError: 'qwen2'

Usage

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

pip install -U sentence-transformers

Then you can use the model like this:

from sentence_transformers import SentenceTransformer

sentences = ["This is an example sentence", "Each sentence is converted"]

model = SentenceTransformer('{MODEL_NAME_OR_PATH}')   # Do NOT set trust_remote_code
model.max_seq_length = 512

embeddings = model.encode(
    sentences,
    normalize_embeddings=True,
    batch_size=256,
    show_progress_bar=True
    )
print(embeddings)

We add instruction for classification and clustering. If you want to add instruction to the query (no instruction for the corpus), you can use the model like this:

from sentence_transformers import SentenceTransformer

sentences = ["This is an example sentence", "Each sentence is converted"]

model = SentenceTransformer('{MODEL_NAME_OR_PATH}')   # Do NOT set trust_remote_code
model.max_seq_length = 512

prompt = "Instruct: Classifying the category of french news. \n Query: "
embeddings = model.encode(
    sentences,
    prompt=prompt,
    normalize_embeddings=True,
    batch_size=256,
    show_progress_bar=True
    )
print(embeddings)

Contact

If you encounter any issue, feel free to contact us via the email: yanshek.woo@gmail.com

From the published model card. Full card on the HuggingFace links in the sidebar.

Benchmarks

Reported results

As published on the model card — the maker's own numbers, not measured by AxForge.

TaskDatasetMetricScore
ClassificationMTEB AmazonCounterfactualClassification (en-ext)accuracy74.160
ClassificationMTEB AmazonCounterfactualClassification (en-ext)ap22.731
ClassificationMTEB AmazonCounterfactualClassification (en-ext)ap_weighted22.731
ClassificationMTEB AmazonCounterfactualClassification (en-ext)f161.311
ClassificationMTEB AmazonCounterfactualClassification (en-ext)f1_weighted78.921
ClassificationMTEB AmazonCounterfactualClassification (en-ext)main_score74.160
ClassificationMTEB AmazonCounterfactualClassification (en)accuracy72.358
ClassificationMTEB AmazonCounterfactualClassification (en)ap34.130
ClassificationMTEB AmazonCounterfactualClassification (en)ap_weighted34.130
ClassificationMTEB AmazonCounterfactualClassification (en)f165.911
ClassificationMTEB AmazonCounterfactualClassification (en)f1_weighted74.909
ClassificationMTEB AmazonCounterfactualClassification (en)main_score72.358
ClassificationMTEB AmazonPolarityClassificationaccuracy95.269
ClassificationMTEB AmazonPolarityClassificationap93.693
ClassificationMTEB AmazonPolarityClassificationap_weighted93.693
ClassificationMTEB AmazonPolarityClassificationf195.267
ClassificationMTEB AmazonPolarityClassificationf1_weighted95.267
ClassificationMTEB AmazonPolarityClassificationmain_score95.269
ClassificationMTEB AmazonReviewsClassification (en)accuracy51.010
ClassificationMTEB AmazonReviewsClassification (en)f148.699
ClassificationMTEB AmazonReviewsClassification (en)f1_weighted48.699
ClassificationMTEB AmazonReviewsClassification (en)main_score51.010
RetrievalMTEB ArguAnamain_score56.713
RetrievalMTEB ArguAnamap_at_131.437

Using it via the API

Call it like any OpenAI endpoint

Once AxForge deploys kalm-embedding-multilingual-mini for you, it answers on the OpenAI-compatible API — the same base URL and keys as every other model. (kalm-embedding-multilingual-mini 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":"kalm-embedding-multilingual-mini","input":"text to embed"}'

Create an account — your API key is available in the console. 3M free tokens every 30 days with every new account.

© 2026 AxForge · EU-hosted AI infrastructure Pricing Docs Trust Privacy Terms