Model reference · open weights

multi-qa-MiniLM-L6-cos

multi-qa-MiniLM-L6-cos is an open-weight embedding model from sentence-transformers, listed in the AxForge catalogue. AxForge can bring it up on EU-owned hardware for you on request — with the licence handled where one is required.

Licence fee required Embeddings sentence-transformers 1 variants 866k downloads/mo
Request a licence + hosting quote All served models Not on the shared API today — deployed on request.

About

What multi-qa-MiniLM-L6-cos is

multi-qa-MiniLM-L6-cos-v1 This is a sentence-transformers model: It maps sentences & paragraphs to a 384 dimensional dense vector space and was designed for semantic search. It has been trained on 215M (question, answer) pairs from diverse sources. For an introduction to semantic search, have a look at: SBERT.net - Semantic Search Usage (Sentence-Transformers) Using this model becomes easy when you have sentence-transformers installed: Then you can use the model like this: PyTorch Usage (HuggingFace Transformers) Without sentence-transformers, you can use the model like this: First, you pass your input through the transformer model, then you have to apply the correct pooling-operation on-top of the contextualized word embeddings. TensorFlow Usage (HuggingFace Transformers) Similarly to the PyTorch example above, to use the model with TensorFlow you pass your input through the transformer model, then you have to apply the correct pooling-operation on-top of the contextualized word embeddings. Technical Details In the following some technical details how this model must be used: Note: When loaded with sentence-transformers, this model produces normalized embeddings with length 1. In that case, dot-product and cosine-similarity are equivalent. dot-product is preferred as it is faster. Euclidean distance is proportional to dot-product and can also be used. Background The project aims to train sentence embedding models on very large sentence level datasets using a self-supervised contrastive learning objective. We use a contrastive learning objective: given a sentence from the pair, the model should predict which out of a set of randomly sampled other sentences, was actually paired with it in our dataset. We developped this model during the Community week using JAX/Flax for NLP & CV, organized by Hugging Face. We developped this model as part of the project: Train the Best Sentence Embedding Model Ever with 1B Training Pairs. We benefited from efficient hardware infrastructure to run the project: 7 TPUs v3-8, as well as intervention from Googles Flax, JAX, and Cloud team member about efficient deep learning frameworks. Intended uses Our model is intented to be used f

Summarised from the published model card. Read the full card on the HuggingFace links below.

Specifications

What it is

Makersentence-transformers
TypeEmbedding models
Parameters (lead)23M
Context512 tokens
Variants1
Runs withsentence-transformers
Released2022-03-02
Popularity866k downloads / month
Likes138
LicenceCommercial licence needed

How it works

How embedding models work

Your textsentence / documentEncodermaps meaningVectorlist of numbersAn embedding model turns text into a vector, so similar meanings sit close together — the basis of search and RAG.

Variants

Sizes & precisions

Open weights ship in several sizes and precisions. One page, all the variants — pick the one that fits your GPU. VRAM figures are estimates from model size.

VariantParamsPrecisionVRAMFits 16 GBWeights
multi-qa-MiniLM-L6-cos-v123MBF16~0.1 GBWeights ↗

Using it via the API

Call it like any OpenAI endpoint

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

Details

Languages, data & research

Languages

en

Trained / evaluated on

flax-sentence-embeddings/stackexchange_xml ms_marco gooaq yahoo_answers_topics search_qa eli5 natural_questions trivia_qa embedding-data/QQP embedding-data/PAQ_pairs embedding-data/Amazon-QA embedding-data/WikiAnswers

Tags

sentence-transformers pytorch tf onnx safetensors openvino bert feature-extraction sentence-similarity transformers en dataset:flax-sentence-embeddings/stackexchange_xml dataset:ms_marco dataset:gooaq

Licence

Commercial licence needed

The weights are open but its licence needs a commercial agreement for business use. AxForge can arrange that licence and host the model for you — you pay AxForge, we settle with the model’s maker. Ask us for a quote. Read the licence ↗

Sources

Weights & code

Want multi-qa-MiniLM-L6-cos on EU-owned hardware?

Request a licence + hosting quote See what’s served now

Explore

More embedding models

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