Downloads · 30 days
13
2% of all-time downloads
thivy/norbert4-norwegian-qa
norbert4-norwegian-qa 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.
This is NorBERT4-NLI-QA, a Norwegian sentence embedding model optimized for question-answering and semantic retrieval tasks.
Downloads · 30 days
13
2% of all-time downloads
All-time downloads
615
Public
Parameters
149M
1.8 GB on disk
Likes
0
Public
Click a slice to open those files.
.pt1.2 GB · 67%
From the Hugging Face model README
This is NorBERT4-NLI-QA, a Norwegian sentence embedding model optimized for question-answering and semantic retrieval tasks.
This model is the result of a 2-stage curriculum learning approach:
thivy/norbert4-base-nli-norwegianNDCG@10 Progression:
| Step | NDCG@10 | Change |
|---|---|---|
| 500 | 0.8781 | Best |
| 1000 | 0.8720 | -0.69% |
| 1500 | 0.8693 | -1.00% |
| 2000 | 0.8695 | -0.98% |
| 2500 | 0.8677 | -1.18% |
Evaluation Metrics (at step 500 - best checkpoint):
Training Stability:
from sentence_transformers import SentenceTransformer
# Load model
model = SentenceTransformer('thivy/norbert4-norwegian-qa')
# Encode sentences
sentences = [
"Hva er hovedstaden i Norge?",
"Oslo er hovedstaden i Norge.",
"Bergen er en by på vestlandet."
]
embeddings = model.encode(sentences)
# Compute similarities
from sentence_transformers.util import cos_sim
similarities = cos_sim(embeddings[0], embeddings[1:])
print(similarities)
This model is designed for:
Thivyesh Ahilathasan
If you use this model, please cite:
@misc{norbert4-nli-qa,
author = {Ahilathasan, Thivyesh},
title = {NorBERT4 Norwegian QA Embedding Model},
year = {2026},
publisher = {HuggingFace},
howpublished = {\url{https://huggingface.co/thivy/norbert4-norwegian-qa}}
}