Instructions to use samuli/sukkela-33M with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Model2Vec
How to use samuli/sukkela-33M with Model2Vec:
from model2vec import StaticModel model = StaticModel.from_pretrained("samuli/sukkela-33M") embeddings = model.encode(["It's dangerous to go alone!", "It's a secret to everybody."]) print(embeddings.shape) - sentence-transformers
How to use samuli/sukkela-33M with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("samuli/sukkela-33M") sentences = [ "The weather is lovely today.", "It's so sunny outside!", "He drove to the stadium." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [3, 3] - Notebooks
- Google Colab
- Kaggle
sukkela-33M
sukkela-33M is a Finnish static embedding model: one 64k × 512 token table (33M parameters) with mean pooling, in the model2vec format. It has no transformer layers, so encoding text is a table lookup and an average. It runs fast on a CPU, on a phone or in a browser, and needs no GPU.
It is built for Finnish search and is also usable for English and for English ↔ Finnish matching. It is part of the Sukkela family ("sukkela" is colloquial Finnish for quick, nimble):
| model | vocabulary | dimensions | parameters | float32 | int8 |
|---|---|---|---|---|---|
| sukkela-33M | 64k | 512 | 33M | 131 MB | 33 MB |
| sukkela-16M | 64k | 256 | 16M | 66 MB | 16 MB |
| sukkela-8M | 32k | 256 | 8M | 33 MB | 8 MB |
The larger models are more accurate; the differences between sizes are small but consistent (see Results).
Usage
With model2vec:
from model2vec import StaticModel
model = StaticModel.from_pretrained("samuli/sukkela-33M")
embeddings = model.encode(["Milloin kirjasto on auki?", "Kirjasto on avoinna arkisin 9–20."])
With Sentence Transformers:
from sentence_transformers import SentenceTransformer
model = SentenceTransformer("samuli/sukkela-33M")
embeddings = model.encode(["Milloin kirjasto on auki?", "Kirjasto on avoinna arkisin 9–20."])
int8 version. The int8 subfolder holds the same table in 8-bit integers, a quarter of the size. Search
accuracy is the same: the largest difference to float32 on our search sets is 0.002 nDCG@10.
model = StaticModel.from_pretrained("samuli/sukkela-33M", subfolder="int8")
No prefixes or instructions are needed: queries and documents are encoded the same way. Long documents are encoded whole (the model has no length limit), but for search over long documents we recommend splitting them into overlapping windows (see Tips for search).
Results
Search (nDCG@10)
Dense search only, whole documents, exact nearest neighbours. Higher is better. Sets ending in -int are our internal sets (not public); see below for the published ones.
| model | Belebele | sukkela-questions-int | sukkela-questions-int (keywords) | WebFAQ | MIRACL* | FSLDR* | finna-keywords-int | finna-titles-int | Belebele en→fi | Belebele fi→en |
|---|---|---|---|---|---|---|---|---|---|---|
| sukkela-33M | 0.884 | 0.827 | 0.749 | 0.632 | 0.503 | 0.412 | 0.283 | 0.672 | 0.798 | 0.810 |
| sukkela-16M | 0.869 | 0.808 | 0.736 | 0.623 | 0.494 | 0.389 | 0.274 | 0.654 | 0.781 | 0.791 |
| sukkela-8M | 0.853 | 0.798 | 0.733 | 0.614 | 0.474 | 0.393 | 0.255 | 0.648 | 0.759 | 0.749 |
| blink-multilingual-64M | 0.758 | 0.661 | 0.541 | 0.460 | 0.426 | 0.298 | 0.135 | 0.535 | 0.717 | 0.634 |
| potion-multilingual-128M | 0.594 | 0.523 | 0.374 | 0.358 | 0.231 | 0.253 | 0.101 | 0.380 | 0.533 | 0.464 |
| bge-m3 (transformer, 568M) | 0.932 | 0.905 | 0.863 | 0.798 | 0.774 | 0.452 | 0.259 | 0.749 | 0.915 | 0.905 |
Paired differences against the baselines, over the same queries (95% bootstrap interval, 2000 resamples). Bold = the interval excludes zero; · = within noise.
| comparison | Belebele | sukkela-questions-int | sukkela-questions-int (keywords) | WebFAQ | MIRACL* | FSLDR* | finna-keywords-int | finna-titles-int | Belebele en→fi | Belebele fi→en |
|---|---|---|---|---|---|---|---|---|---|---|
| sukkela-33M − blink-multilingual-64M | +0.126 | +0.166 | +0.209 | +0.172 | +0.077 | +0.114 | +0.148 | +0.136 | +0.081 | +0.176 |
| sukkela-33M − potion-multilingual-128M | +0.290 | +0.303 | +0.375 | +0.274 | +0.272 | +0.159 | +0.182 | +0.292 | +0.266 | +0.346 |
| sukkela-33M − bge-m3 | −0.048 | −0.078 | −0.114 | −0.167 | −0.271 | −0.040 · | +0.024 | −0.078 | −0.117 | −0.095 |
Baselines, all public: blink-multilingual-64M and potion-multilingual-128M (static models), and bge-m3, a 568M-parameter transformer, for reference. bge-m3 reads at most 512 tokens, except on FSLDR (long documents), where it gets 8192.
Published sets. The -int sets contain texts we cannot redistribute (thesis passages; book blurbs and thesis and article abstracts). We publish versions without them, sukkela-questions (law and parliament passages) and finna-keywords (records described by museums and archives). They are smaller and somewhat harder, so their scores are lower than on the -int sets:
| model | sukkela-questions | sukkela-questions (keywords) | finna-keywords |
|---|---|---|---|
| sukkela-33M | 0.798 | 0.683 | 0.206 |
| sukkela-16M | 0.775 | 0.665 | 0.196 |
| sukkela-8M | 0.764 | 0.667 | 0.180 |
| blink-multilingual-64M | 0.613 | 0.473 | 0.081 |
| potion-multilingual-128M | 0.463 | 0.309 | 0.052 |
| bge-m3 (transformer, 568M) | 0.888 | 0.835 | 0.178 |
On these sets sukkela-33M is clearly ahead of blink-multilingual-64M on all three; clearly ahead of potion-multilingual-128M on all three; against bge-m3: behind on sukkela-questions and sukkela-questions (keywords), ahead on finna-keywords (paired 95% bootstrap intervals). These are the same conclusions as on the -int sets.
Is it just the training data? We also fine-tuned blink-multilingual-64M on exactly the same training data with the same recipe (not published). Against it, sukkela-33M is ahead on 9 of 10 sets, level on 1 (differences +0.021 to +0.056). The Finnish vocabulary and the distillation add accuracy on top of the data, at a smaller size.
| set | queries | documents | what it measures |
|---|---|---|---|
| Belebele (fin_Latn) | 900 | 488 | reading-comprehension questions → their passage; en→fi and fi→en use the English questions or passages |
| sukkela-questions-int: questions / keywords | 485 / 483 | 39,757 | court decisions, statutes, parliament speeches, theses; LLM-written natural questions or keywords |
| sukkela-questions: questions / keywords | 325 / 323 | 25,083 | the same without theses (published) |
| WebFAQ (fin, test) | 7,355 | 73,547 | FAQ question → answer, Finnish websites |
| MIRACL (fi, dev)* | 1,000 | 194,415 | human questions → Wikipedia paragraphs |
| FSLDR (TurkuNLP, dev)* | 225 | ~10,200 | queries → long web documents |
| finna-keywords-int / finna-titles-int | 3,000 / 1,500 | 30,000 | subject terms or title → library, museum and archive record (Finna) |
| finna-keywords | 1,974 | 19,701 | subject terms → museum, photo and archive record (published) |
* MIRACL is a reduced corpus (not the official 1.9M passages). FSLDR uses the dev queries with their relevant documents plus 10,000 random other documents. The questions of sukkela-questions are LLM-written in a style close to our training questions, which may favour this model.
Other tasks (MTEB)
Main score of each MTEB task with Finnish data (mteb 2.27).
| task | sukkela-33M | sukkela-16M | sukkela-8M | blink-64M | potion-128M | bge-m3 |
|---|---|---|---|---|---|---|
| Sentence similarity (FinParaSTS) | 0.181 | 0.171 | 0.174 | 0.192 | 0.098 | 0.304 |
| Paraphrase pairs (OpusparcusPC) | 0.910 | 0.910 | 0.907 | 0.895 | 0.866 | 0.941 |
| Topic clustering (SIB-200) | 0.340 | 0.337 | 0.323 | 0.172 | 0.217 | 0.341 |
| Topic classification (SIB-200) | 0.422 | 0.398 | 0.423 | 0.297 | 0.353 | 0.444 |
| Intent (MASSIVE) | 0.614 | 0.609 | 0.602 | 0.510 | 0.507 | 0.673 |
| Scenario (MASSIVE) | 0.670 | 0.660 | 0.651 | 0.545 | 0.573 | 0.702 |
| Sentiment (multilingual) | 0.730 | 0.729 | 0.704 | 0.674 | 0.640 | 0.858 |
| Sentiment (ScandiSent) | 0.816 | 0.817 | 0.809 | 0.751 | 0.738 | 0.932 |
| Toxicity | 0.587 | 0.571 | 0.571 | 0.557 | 0.560 | 0.618 |
| Translation matching (Tatoeba, fi→en) | 0.882 | 0.866 | 0.846 | 0.829 | 0.400 | 0.961 |
| Translation matching (Flores, both ways) | 0.990 | 0.985 | 0.981 | 0.970 | 0.703 | 0.998 |
| Translation matching (NTREX, both ways) | 0.943 | 0.937 | 0.936 | 0.930 | 0.638 | 0.990 |
Training
sukkela-33M follows the recipe of Minish's blink-multilingual-64M, adapted to one language. The steps and the tools for them (model2vec, Tokenlearn) are theirs; what we changed is listed after the steps.
- Tokenizer. A lowercase WordPiece vocabulary of 64k tokens, learnt from Finnish text with about a quarter English, using Blink's text handling. A vocabulary learnt for one language keeps common inflected Finnish words whole instead of cutting them into many short pieces.
- Initialisation. Every token is run through the teacher model on its own, the output vectors are mean-pooled, reduced to 512 dimensions with PCA and weighted by token frequency (SIF). The teacher is bge-m3 fine-tuned on our Finnish question–passage pairs, an unreleased research model.
- Distillation (Tokenlearn). The table learns to reproduce the teacher's sentence vectors for 2.1M Finnish text chunks, 150k English Wikipedia chunks and both sides of 100k English–Finnish sentence pairs (cosine loss). This step uses plain text only, no questions or labels.
- Contrastive training. About 610k Finnish question–passage pairs and English–Finnish pairs, with in-batch negatives (temperature 0.05). Two additions to Blink's step: the student also matches the teacher's in-batch similarity scores (distillation of the scores, weight 0.5), and each question gets one hard negative mined with the teacher. 8 epochs, learning rate 0.1, batch 4096.
- Weight averaging. The final table is 0.8 × the contrastive model + 0.2 × the Tokenlearn model, as in Blink.
What differs from Blink:
| blink-multilingual-64M | sukkela-33M | |
|---|---|---|
| Languages | 100+ | Finnish, with English |
| Vocabulary | 250k, multilingual | 64k, Finnish + English |
| Dimensions | 256 | 512 |
| Teacher | bge-m3 | bge-m3 fine-tuned on Finnish pairs (unreleased research model) |
| Tokenlearn text | 4M multilingual C4 texts | 2.1M Finnish chunks, 150k English, 100k en–fi sentence pairs |
| Contrastive data | 64M multilingual pairs (bekko data), 2 epochs | ~610k Finnish and en–fi pairs, 8 epochs |
| Contrastive loss | in-batch negatives (MNRL), hard negatives where the data has them | the same, plus teacher score distillation and teacher-mined hard negatives |
| Language codes (step 6 in Blink) | yes | no (two languages only) |
Training data. Contrastive pairs (after decontamination about 610k):
| group | pairs | sources |
|---|---|---|
| library and museum records | 137k | Finna (CC0): subject terms or title → description |
| questions for passages | 114k | 71k questions written by a local Gemma 4 12B for Finnish passages (Wikipedia, Wikibooks, court and authority decisions, parliament speeches, government publications and reports, theses, journal articles, easy-Finnish news, news sites, a forum), filtered by an LLM judge and a search check; 43k real questions from Finnish web pages (Turku-WebQA) |
| English questions | 100k | English translations of training questions (local Gemma 4 12B) → the Finnish passage |
| Wikipedia questions | 77k | questions for Finnish Wikipedia paragraphs (local Gemma 4 12B) |
| lexicon | 72k | Finnish Wiktionary and the YSO ontology: definitions, synonyms, variants, translations |
| translation pairs | 60k | English–Finnish sentence pairs from public parallel corpora (OPUS and similar), quality-filtered |
| FAQ pairs | 47k | WebFAQ train split (CC BY 4.0), spam filtered |
| human questions | 9k | MIRACL and TyDi QA train splits (Apache-2.0) |
Tokenlearn text: Finnish Wikipedia, web text (CulturaX), parliament, court, government and forum text, theses and other public Finnish text; English Wikipedia; English–Finnish sentence pairs. Web text is used for training under the text and data mining exception, as for most open models.
Decontamination. Before training we removed every pair that overlaps the evaluation data: pairs whose question is an evaluation question, whose passage is a near copy of an evaluation answer (half or more of its 8-word sequences), or which contain an MTEB test sentence (6,178 of 616,046 pairs). The Tokenlearn text was not filtered this way; it contains no questions or labels.
Limitations
- No word order or context: the vector of a text is the average of its token vectors. Negation, word order and sentence-level meaning are weak points; sentence-similarity scores (FinParaSTS) are low for all static models.
- Question answering over general text is where a transformer is furthest ahead (MIRACL, WebFAQ).
- English question → Finnish text search works but is clearly behind a transformer.
- Long documents: bge-m3 reading 8192 tokens is level with sukkela-33M on FSLDR (bge-m3 +0.040, within noise).
- Sentiment is weaker than with a transformer.
- Finnish and English only; other languages are not supported.
Tips for search
- Long documents: split them into short overlapping windows and score a document by its best window together with the whole-document vector. A single vector for a long text averages away the details.
- Keyword and name queries: combine the dense scores with BM25.
- For more accuracy, rerank the top candidates with a cross-encoder.
Licence and credits
Licence: MIT. Credits: the recipe, model2vec and Tokenlearn are by Minish; Blink's contrastive step follows Hotchpotch's bekko recipe. The teacher is based on bge-m3 by BAAI.
- Downloads last month
- 21
Collection including samuli/sukkela-33M
Evaluation results
- nDCG@10 on Belebele fi (question → passage)test set self-reported0.884
- nDCG@10 on Belebele en→fi (English question → Finnish passage)test set self-reported0.798
- nDCG@10 on Belebele fi→en (Finnish question → English passage)test set self-reported0.810
- nDCG@10 on WebFAQ fitest set self-reported0.632
- nDCG@10 on MIRACL fi (reduced corpus)self-reported0.503
- nDCG@10 on FSLDR fi (dev queries, 10k distractors)self-reported0.412
- nDCG@10 on sukkela-questions (natural)test set self-reported0.798
- nDCG@10 on sukkela-questions (keywords)test set self-reported0.683