Downloads · 30 days
7.7K
48% of all-time downloads
thivy/norbert4-base-scandinavian-embedding
norbert4-base-scandinavian-embedding is a sentence similarity model from thivy. Use it when you need a score for how close two texts are. It is set up for sentence-transformers. The card lists the license as mit.
Multi-dataset trained embedding model for Norwegian, Danish, and Swedish languages.
Downloads · 30 days
7.7K
48% of all-time downloads
All-time downloads
15.9K
Public
Parameters
149M
596 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors596 MB · 99%
From the Hugging Face model README
Multi-dataset trained embedding model for Norwegian, Danish, and Swedish languages.
Total: 1.6M samples across 3 Scandinavian languages
MTEB Retrieval Benchmarks (vs previous models):
| Task | Multi-Dataset | QA-only | NLI-only | Improvement |
|---|---|---|---|---|
| NorQuadRetrieval (ndcg@10) | 0.232 | 0.209 | 0.163 | +11.0% |
| SNLRetrieval (ndcg@10) | 0.818 | 0.765 | 0.519 | +6.9% |
from sentence_transformers import SentenceTransformer
model = SentenceTransformer("thivy/norbert4-base-scandinavian-embedding")
# Encode sentences
sentences = [
"Dette er en norsk setning",
"Detta är en svensk mening",
"Dette er en dansk sætning"
]
embeddings = model.encode(sentences)
# Compute similarity
from sentence_transformers.util import cos_sim
similarity = cos_sim(embeddings[0], embeddings[1])
If you use this model, please cite:
@misc{norbert4-scandi-embedding,
title={NorBERT4 Scandinavian Embedding Model},
author={Thivyesh Ahilathasan},
year={2025},
url={https://huggingface.co/thivy/norbert4-base-scandinavian-embedding}
}