Model reference · open weights
borealis-embed is an open-weight embedding model from NbAiLab. borealis-embed-212m (FP32) weighs 423 MB; the smallest configuration that runs it is RTX 3060 12 GB.
For self-hosting, compare this build's requirements below with the GPU you plan to rent.
Summary of the NbAiLab/borealis-embed-212m model card, 2026-10-01
What it is
| Released by | NbAiLab |
|---|---|
| Released | 2026-09-01 |
| Parameters | 212M |
| VRAM | 423 MB for the weights |
What it runs on
| Card | Runs | Memory |
|---|---|---|
| RTX 3060 12 GB | fits | 11.6 GB |
| RTX 4060 Ti 16 GB | fits | 15.4 GB |
| RTX 3090 24 GB | fits | 23.4 GB |
| RTX 4090 24 GB | fits | 23.4 GB |
| RTX 5090 32 GB | fits | 31.0 GB |
| L40S 48 GB | fits | 44.0 GB |
| A100 80 GB | fits | 78.2 GB |
| H100 80 GB | fits | 78.1 GB |
| RTX PRO 6000 Blackwell 96 GB | fits | 93.8 GB |
| DGX Spark (GB10) 128 GB unified | fits | 107 GB |
| H200 141 GB | fits | 138 GB |
| B200 180 GB | fits | 176 GB |
From the model card
NbAiLab/borealis-embed-212m is a 212M parameter sentence-transformers embedding model (98M embedding parameters) based on an adapted Gemma3Text architecture. The model is pretrained from scratch on the open subset of our Aurora 2604 data and fine-tuned as a sentence transformer with mean pooling on subsets from NbAiLab/mnli-norwegian, DDSC/nordic-embedding-training-data, sentence-transformers/parallel-sentences-opus-100, lightonai/embeddings-pre-training, and internal newspaper articles. It maps sentences & paragraphs to a 768-dimensional dense vector space and can be used for retrieval. With a longer max sequence length than its predecessors (nb-sbert and nb-sbert-v2), the model can handle chunks of text up to 8192 tokens long.
This release is a non-generative encoder model whose outputs are vectors/scores rather than language or media. Its intended functionality is limited to representation, retrieval, ranking, or classification support. On that basis, the release is preliminarily assessed as not falling within the provider obligations for GPAI models under the EU AI Act definitions, subject to legal confirmation if capability scope or marketed generality changes. For more information, see the Model Documentation Form.
SentenceTransformer(
(0): Transformer({'transformer_task': 'feature-extraction', 'modality_config': {'text': {'method': 'forward', 'method_output_name': 'last_hidden_state'}}, 'module_output_name': 'token_embeddings', 'architecture': 'AustralisModel'})
(1): Pooling({'embedding_dimension': 768, 'pooling_mode': 'mean', 'include_prompt': True})
)
First install the Sentence Transformers library:
pip install -U sentence-transformers
Then you can load this model and run inference.
from sentence_transformers import SentenceTransformer
# Download from the 🤗 Hub
model = SentenceTransformer("NbAiLab/borealis-embed-212M")
# Run inference
queries = [
'- Who is he?',
]
documents = [
'- Hvem er han?',
'Banning.',
'Nei, det har hun ikke.',
]
query_embeddings = model.encode_query(queries)
document_embeddings = model.encode_document(documents)
print(query_embeddings.shape, document_embeddings.shape)
# [1, 768] [3, 768]
# Get the similarity scores for the embeddings
similarities = model.similarity(query_embeddings, document_embeddings)
print(similarities)
# tensor([[0.7765, 0.2560, 0.2525]])
We evaluated this model on two benchmarks: the Scandinavian Embedding Benchmark (SEB) and the Long-context Retrieval Benchmark (LongEmbed) from MTEB.
During pretraining, max sequence length of the model was extended to 8192 tokens. However, during the fine-tuning process, the model is trained with a sequence length 2048. The evaluation results on LongEmbed show that the model has retained the length extension from pretraining and confirms that the model can support up to 8192 tokens.
"Scandinavian text embedding quality covering Danish, Swedish, Norwegian Bokmål, and Nynorsk and spanning classification, clustering, retrieval as well as bitext tasks across dialects or written forms."
| Task | nb-sbert-v2-base | nb-sbert-v2-large | borealis-embed-212M |
|---|---|---|---|
| Mean (Task) | 0.5496 | 0.5638 | 0.5891 |
| Mean (TaskType) | 0.5690 | 0.5770 | 0.6037 |
| & |
Quoted from the model card on Hugging Face. The full card is behind the Hugging Face link above.