/ Модель

Характеристики

Лицензия
MIT
Архитектура
model2vec · dense
Библиотека
model2vec
Опубликована
8 ноя 2026

blink-8M

ЭмбеддингиТекст → embedding9 профессий

Англоязычная статическая модель Minish для быстрого получения эмбеддингов текста и семантического поиска.

3 139скачиваний за 30 дней35лайковвеса обновлены28 ноя 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Тесты пользователейпока нет

Никто ещё не опубликовал тест этой модели. Соберите бенчмарк из своих задач — результат появится здесь.

  1. Добавьте модель в бенчмарк

    Вместе с другими моделями категории «Эмбеддинги» — сравнение идёт внутри одной категории.

  2. Опишите свои задачи

    Напишите запросы, при необходимости приложите файлы и эталонные ответы.

  3. Запустите и опубликуйте

    Модели ответят на каждую задачу, судья оценит ответы. Опубликованный результат появится на этой странице.

Публичные оценки41

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

  • ImdbClassification

    main_score

    Результат

    0,6659

    MTEB

    Публичная таблицадругая ревизия

  • TweetSentimentExtractionClassification

    main_score

    Результат

    0,4913

    MTEB

    Публичная таблицадругая ревизия

  • STS14

    main_score

    Результат

    0,7213

    MTEB

    Публичная таблицадругая ревизия

  • MedrxivClusteringP2P.v2

    main_score

    Результат

    0,3499

    MTEB

    Публичная таблицадругая ревизия

  • MassiveIntentClassification

    main_score

    Результат

    0,6265

    MTEB

    Публичная таблицадругая ревизия

  • Touche2020Retrieval.v3

    main_score

    Результат

    0,4814

    MTEB

    Публичная таблицадругая ревизия

  • ToxicConversationsClassification

    main_score

    Результат

    0,5961

    MTEB

    Публичная таблицадругая ревизия

  • STS22.v2

    main_score

    Результат

    0,5969

    MTEB

    Публичная таблицадругая ревизия

  • TwentyNewsgroupsClustering.v2

    main_score

    Результат

    0,3286

    MTEB

    Публичная таблицадругая ревизия

  • MTOPDomainClassification

    main_score

    Результат

    0,8904

    MTEB

    Публичная таблицадругая ревизия

  • FEVERHardNegatives

    main_score

    Результат

    0,4947

    MTEB

    Публичная таблицадругая ревизия

  • SummEvalSummarization.v2

    main_score

    Результат

    0,2248

    MTEB

    Публичная таблицадругая ревизия

  • ArXivHierarchicalClusteringP2P

    main_score

    Результат

    0,5711

    MTEB

    Публичная таблицадругая ревизия

  • STS13

    main_score

    Результат

    0,7645

    MTEB

    Публичная таблицадругая ревизия

  • AmazonCounterfactualClassification

    main_score

    Результат

    0,7379

    MTEB

    Публичная таблицадругая ревизия

  • SCIDOCS

    main_score

    Результат

    0,1588

    MTEB

    Публичная таблицадругая ревизия

  • Banking77Classification

    main_score

    Результат

    0,7386

    MTEB

    Публичная таблицадругая ревизия

  • TwitterSemEval2015

    main_score

    Результат

    0,5919

    MTEB

    Публичная таблицадругая ревизия

  • BiorxivClusteringP2P.v2

    main_score

    Результат

    0,3904

    MTEB

    Публичная таблицадругая ревизия

  • CQADupstackGamingRetrieval

    main_score

    Результат

    0,4453

    MTEB

    Публичная таблицадругая ревизия

  • STS15

    main_score

    Результат

    0,819

    MTEB

    Публичная таблицадругая ревизия

  • TwitterURLCorpus

    main_score

    Результат

    0,8284

    MTEB

    Публичная таблицадругая ревизия

  • STS17

    main_score

    Результат

    0,8598

    MTEB

    Публичная таблицадругая ревизия

  • CQADupstackUnixRetrieval

    main_score

    Результат

    0,2587

    MTEB

    Публичная таблицадругая ревизия

  • StackExchangeClusteringP2P.v2

    main_score

    Результат

    0,3833

    MTEB

    Публичная таблицадругая ревизия

  • SICK-R

    main_score

    Результат

    0,6378

    MTEB

    Публичная таблицадругая ревизия

  • AskUbuntuDupQuestions

    main_score

    Результат

    0,5653

    MTEB

    Публичная таблицадругая ревизия

  • FiQA2018

    main_score

    Результат

    0,2089

    MTEB

    Публичная таблицадругая ревизия

  • MedrxivClusteringS2S.v2

    main_score

    Результат

    0,3042

    MTEB

    Публичная таблицадругая ревизия

  • STSBenchmark

    main_score

    Результат

    0,7641

    MTEB

    Публичная таблицадругая ревизия

  • StackExchangeClustering.v2

    main_score

    Результат

    0,4541

    MTEB

    Публичная таблицадругая ревизия

  • MindSmallReranking

    main_score

    Результат

    0,2971

    MTEB

    Публичная таблицадругая ревизия

  • ArXivHierarchicalClusteringS2S

    main_score

    Результат

    0,5374

    MTEB

    Публичная таблицадругая ревизия

  • SprintDuplicateQuestions

    main_score

    Результат

    0,9324

    MTEB

    Публичная таблицадругая ревизия

  • STS12

    main_score

    Результат

    0,6276

    MTEB

    Публичная таблицадругая ревизия

  • TRECCOVID

    main_score

    Результат

    0,625

    MTEB

    Публичная таблицадругая ревизия

  • BIOSSES

    main_score

    Результат

    0,8297

    MTEB

    Публичная таблицадругая ревизия

  • HotpotQAHardNegatives

    main_score

    Результат

    0,5301

    MTEB

    Публичная таблицадругая ревизия

  • MassiveScenarioClassification

    main_score

    Результат

    0,6835

    MTEB

    Публичная таблицадругая ревизия

  • ArguAna

    main_score

    Результат

    0,4469

    MTEB

    Публичная таблицадругая ревизия

  • ClimateFEVERHardNegatives

    main_score

    Результат

    0,2361

    MTEB

    Публичная таблицадругая ревизия

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

blink-8M — англоязычная модель статических эмбеддингов от Minish. Она использует архитектуру Model2Vec: таблицу эмбеддингов размером 30 000 × 256, содержащую около 7,7 млн параметров, и усреднение векторов токенов. Модель занимает около 31 МБ в формате float32 и предназначена для быстрого извлечения признаков и поиска по сходству без вычислений трансформера.

Модель подходит для семантического поиска, извлечения документов, ранжирования и сравнения текстовых пар. В карточке приведены результаты на бенчмарках поиска, включая BEIR, BRIGHT и BrowseComp-Plus; авторы сообщают о сильных результатах среди статических моделей сопоставимого размера. Эмбеддинги можно сравнивать по косинусному сходству для поиска по корпусу.

Модель ориентирована на английский язык и обучена на данных, связанных с англоязычными текстами. Как и другие статические модели, она обменивает контекстуальное представление трансформера на высокую скорость: усреднение фиксированных токенных векторов не учитывает контекст слова так, как это делает контекстная языковая модель. Лицензия — MIT.

Сценарии применения

  • семантический поиск по англоязычному корпусу документов
  • извлечение релевантных документов по запросу
  • ранжирование результатов поиска по сходству эмбеддингов
  • поиск документов по смыслу при слабом совпадении ключевых слов

Ограничения

Статические векторы и mean pooling не учитывают контекст слова так, как контекстные трансформеры. Модель ориентирована на английский язык.

Для каких профессий подходит9

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Также подходит для

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

blink-8M is a fast English static embedding model by Minish: a single 30,000 × 256 token embedding table (7.7M parameters, 31MB in float32) with mean pooling. It outperforms every static model of the same size, and, depending on the task, often much larger ones. It fully supersedes potion-base-8m, being the same size but better on every task. Static models are models without any active parameters; all model parameters are just embedding parameters. Because of this, they are many orders of magnitude faster than transformers. Although this comes at a cost, this cost is much lower than you would expect.

Usage

With model2vec:

from model2vec import StaticModel

model = StaticModel.from_pretrained("minishlab/blink-8M")
embeddings = model.encode(["a first sentence", "a second sentence"])

With model2vec-rs

use anyhow::Result;
use model2vec_rs::model::StaticModel;

fn main() -> Result<()> {
    let model = StaticModel::from_pretrained(
        "minishlab/blink-8M",
    )?;

    let sentences = vec![
        "Hello world".to_string(),
        "Rust is awesome".to_string(),
    ];

    let embeddings = model.encode(&sentences);
    println!("Generated {} embeddings.", embeddings.len());

    Ok(())
}

With Sentence Transformers:

from sentence_transformers import SentenceTransformer

model = SentenceTransformer("minishlab/blink-8M")
embeddings = model.encode(["a first sentence", "a second sentence"])

Results

MTEB mean against Decontaminated BEIR nDCG@10 for all models

MTEB

MTEB(eng, v2), all 41 tasks (mteb 2.27.1). Every model is evaluated at 256 dimensions, see Compared models.

ModelMean (task)RetrievalRerankingPairClsClsClustSTSSumm
blink-8M55.3538.8643.1278.4267.8841.4973.5622.48
lattice-retrieval55.2438.0142.9677.5168.2542.1173.4122.56
bekko-static-embedding-v155.2137.6242.5478.3268.4240.7774.6022.24
potion-base-32M54.0231.9442.5277.3370.4841.4973.1724.14
potion-retrieval-32M53.7034.6441.9575.9466.6741.7672.8919.95
potion-base-8M53.3031.2241.7976.6270.4139.8872.4525.14
static-retrieval-mrl-en-v152.0033.8741.5774.6863.1639.9871.3518.95

Summary

  • Mean: blink-8M has the highest mean (55.35), just ahead of lattice (55.24) and bekko (55.21).
  • Retrieval-type tasks: blink-8M is best on retrieval, reranking and pair classification. On retrieval it scores 38.86, against 38.01 for lattice and 31.22 for potion-base-8M. Note that this task has significant overlap with BEIR, see below.
  • Other tasks: the potion-base models are best on classification (70.48 and 70.41) and potion-base-8M on summarization (25.14), with blink-8M at 67.88 and 22.48. Bekko is best on STS and lattice on clustering.
  • Against potion-base-8M: at roughly the same size, blink-8M is 2.05 points higher on the mean and 7.64 points higher on retrieval, but 2.53 points lower on classification.

Compared models

We compare blink-8M to six other static embedding models:

Every model is evaluated at 256 dimensions. potion-base-32M, potion-retrieval-32M and static-retrieval-mrl-en-v1 are truncated to their first 256 dimensions and use L2 normalized embeddings, even if the original model did not have normalization. Applying normalization uniformly improved performance across all models.

We also evaluate many other datasets and tasks below.

RTEB (RTEB(eng, beta) in MTEB): retrieval across specialized domains, namely legal, finance, healthcare and code. We use the 15 public English tasks, including only the English subset of CUREv1. The private tasks are left out because their data is not available. All scores are nDCG@10, and the last row is the mean over the 15 tasks.

TaskDomainblink-8Mbekko-static-embedding-v1lattice-retrievalpotion-retrieval-32Mstatic-retrieval-mrl-en-v1potion-base-32Mpotion-base-8M
AILACasedocsLegal26.8127.0327.5621.9724.2125.0227.17
AILAStatutesLegal25.1022.6720.0218.7620.4215.6215.06
LegalSummarizationLegal58.5558.1957.9954.9552.9157.0255.35
FinanceBenchFinance34.7637.2135.5531.9635.5127.3027.88
HC3FinanceFinance33.2127.0832.9626.9625.1125.6724.76
FinQAFinance50.8048.2245.9645.1644.4138.7738.09
ChatDoctorHealthcare25.1226.8826.0223.5423.1818.5217.16
CUREv1 (en)Healthcare33.1832.8032.7729.7127.5628.1726.93
AppsCode3.608.544.163.904.083.222.86
DS1000Code23.9523.9722.9621.7021.7518.6617.36
HumanEvalCode45.6749.1442.6940.7340.2938.6839.13
MBPPCode37.2641.8434.0024.8525.1925.5127.95
WikiSQLCode37.2925.8431.6232.1829.9021.9421.81
FreshStackCode22.7321.4521.3219.2218.8818.1318.20
SWE-benchCode4.573.894.042.942.762.732.74
Mean30.8430.3229.3126.5726.4124.3324.16

Note that FreshStack is also present as a separate eval, see below, although there it uses Recall@50 and α-nDCG@10.

Summary

  • Mean: blink-8M has the highest mean (30.84), but bekko is close (30.32). Blink-8M is best on 8 of 15 tasks, bekko on 6 and lattice on 1 (AILACasedocs).
  • By domain: blink-8M leads on legal (36.82 against 35.96 for bekko) and finance (39.59 against 37.50). Bekko leads on healthcare (29.84 against 29.15), and code is a tie (25.01 against 24.95).
  • Code: bekko is best on the code-generation tasks (Apps, HumanEval, MBPP and DS1000, the last by 0.02), while blink-8M has the largest win of the table on WikiSQL (37.29 against at most 32.18).
  • Overall: Apps and SWE-bench are hard for every model, with nDCG@10 below 9.

BrowseComp-Plus: 830 hard, multi-hop BrowseComp questions over a fixed corpus of 100,195 web documents. Queries are the original questions, and documents are embedded in full, without truncation. We report two sets of relevance labels: evidence documents (all documents needed to answer the question) and gold documents (the documents that contain the answer).

Evidence

ModelnDCG@10Recall@5Recall@100Recall@1000
blink-8M2.131.479.3032.31
bekko-static-embedding-v12.091.5711.1336.46
lattice-retrieval1.881.449.0531.44
potion-retrieval-32M1.731.209.3232.96
static-retrieval-mrl-en-v11.421.038.0929.80
potion-base-32M1.320.867.4325.49
potion-base-8M1.250.986.9324.58

Gold

ModelnDCG@10Recall@5Recall@100Recall@1000
blink-8M1.781.8910.1634.65
bekko-static-embedding-v11.741.8212.1137.93
lattice-retrieval1.581.819.8233.23
potion-retrieval-32M1.441.299.1634.38
static-retrieval-mrl-en-v11.231.348.6229.86
potion-base-32M1.010.897.8024.33
potion-base-8M0.880.787.0623.79

Blink has the best nDCG@10 on both label sets and the best gold Recall@5. Bekko has the best evidence Recall@5 and the best Recall@100 and Recall@1000 on both label sets.

We evaluate on LightOn's decontaminated version of BEIR (lightonai/<dataset>-decontaminated). These are 12 BEIR datasets with every query and document found in the mgte-en pre-training data removed. Contamination was found in two passes: exact matches on normalized text hashes, and 13-gram containment ≥ 0.5. Relevance judgments that point to a removed query or document were dropped as well.

We use the test split and only keep queries that have at least one relevant document left. Documents are encoded as title + text, and retrieval uses cosine similarity over the full corpus. We report nDCG@10 (ranking quality in the top 10) and Recall@100 (fraction of relevant documents found in the top 100). Following LightOn and Lattice, we leave out FEVER and ClimateFEVER.

DatasetQueriesDocuments
ArguAna1,3738,546
DBPedia2641,678,309
FiQA6147,617
HotpotQA2,0922,314,813
MS MARCO414,036,967
NFCorpus169912
NQ26305,674
Quora2,788413,157
SCIDOCS1305,833
SciFact41858
TREC-COVID5099,522
Touché-202030378,223

nDCG@10

Datasetblink-8Mlattice-retrievalbekko-static-embedding-v1potion-retrieval-32Mstatic-retrieval-mrl-en-v1potion-base-32Mpotion-base-8M
ArguAna33.1933.5633.7332.7232.1231.1931.24
DBPedia25.8728.8027.4527.1026.1025.7724.67
FiQA31.5828.3527.6027.0427.8425.2824.14
HotpotQA52.6850.7149.5547.4447.4542.0840.54
MS MARCO51.7548.6348.0050.3247.6443.6840.62
NFCorpus21.1320.3321.1220.6817.5617.3215.43
NQ67.4070.3164.1570.2463.0560.3663.97
Quora85.5884.9986.0381.6980.4284.3983.70
SCIDOCS17.6618.4517.1014.6512.6213.6513.27
SciFact83.3980.6781.2978.6179.2574.7672.68
TREC-COVID68.0466.9666.1450.7147.7445.1648.85
Touché-202022.0723.3523.4922.9923.8520.5120.34
Mean46.7046.2645.4743.6842.1440.3539.95

Recall@100

Datasetblink-8Mlattice-retrievalbekko-static-embedding-v1potion-retrieval-32Mstatic-retrieval-mrl-en-v1potion-base-32Mpotion-base-8M
ArguAna95.4195.4895.9295.7095.2792.9492.43
DBPedia47.2149.8850.1548.2148.0944.7042.06
FiQA65.5760.4066.8661.5159.3557.1358.84
HotpotQA74.0772.9473.3770.2470.7265.4663.15
MS MARCO48.5848.9248.6150.4150.7842.5637.95
NFCorpus43.8343.3444.7840.8538.8938.6435.59
NQ96.1592.3188.4696.1592.3188.4688.46
Quora98.4798.4398.6597.5897.0398.1597.94
SCIDOCS48.5947.3742.6344.9439.2342.6341.09
SciFact95.1297.5695.1295.1295.1295.1295.12
TREC-COVID14.7615.4415.9210.059.679.919.49
Touché-202051.7054.4753.2953.4251.0150.7848.53
Mean64.9664.7164.4863.6862.2960.5459.22

Summary

  • nDCG@10: blink-8M has the highest mean (46.70) and is best on 6 of 12 datasets: FiQA, HotpotQA, MS MARCO, NFCorpus, SciFact and TREC-COVID. Lattice is best on 3 (DBPedia, NQ, SCIDOCS), bekko on 2 (ArguAna, Quora) and static-retrieval-mrl on 1 (Touché-2020).
  • Recall@100: the top three are close: blink-8M 64.96, lattice 64.71, bekko 64.48. Bekko is best on 6 datasets, blink-8M on 3 (one shared with potion-retrieval-32M).
  • TREC-COVID: blink-8M, lattice and bekko score 66–68 nDCG@10, while the potion models and static-retrieval-mrl score 45–51.

BRIGHT (Su et al., 2024) is a retrieval benchmark that needs reasoning: relevant documents often share few keywords or little surface topic with the query. For example, a query may describe a coding problem, and the relevant document is another problem that uses the same algorithm. BRIGHT has 12 tasks in three groups:

  • StackExchange (7): Biology, Earth Science, Economics, Psychology, Robotics, Stack Overflow and Sustainable Living. Queries are user posts, and relevant documents are web pages linked from accepted answers.
  • Coding (2): LeetCode (problems that share a solution technique) and Pony (documentation for a low-resource programming language).
  • Math (3): AoPS (competition problems with a similar solution), TheoremQA-Q (problems that use the same theorem) and TheoremQA-T (the theorem statement needed to solve a problem).

We use the original queries, not the LLM-generated reasoning traces, and the standard (short) document split. For each query we drop the documents BRIGHT marks as excluded, then retrieve the top 1000 documents by cosine similarity. Metrics are computed with pytrec_eval: nDCG@10 (ranking quality in the top 10, BRIGHT's main metric) and Recall@100 (fraction of relevant documents found in the top 100).

Because these need reasoning, we expect low scores: these are all static models and can't reason. Nevertheless, it's an interesting held-out task to try.

TaskGroupQueriesDocuments
BiologyStackExchange10357,359
Earth ScienceStackExchange116121,249
EconomicsStackExchange10350,220
PsychologyStackExchange10152,835
RoboticsStackExchange10161,961
Stack OverflowStackExchange117107,081
Sustainable LivingStackExchange10860,792
LeetCodeCoding142413,932
PonyCoding1127,894
AoPSMath111188,002
TheoremQA-QMath194188,002
TheoremQA-TMath7623,839

nDCG@10

Taskblink-8Mlattice-retrievalbekko-static-embedding-v1potion-base-32Mpotion-retrieval-32Mpotion-base-8Mstatic-retrieval-mrl-en-v1
Biology14.6813.5011.1911.5710.579.609.18
Earth Science25.5824.0121.2419.3519.6117.1118.82
Economics11.2211.0410.9411.179.7610.799.72
Psychology11.9311.0610.118.788.787.616.24
Robotics7.266.516.277.177.635.497.44
Stack Overflow12.9411.0010.089.127.218.396.65
Sustainable Living7.557.168.048.906.628.115.91
LeetCode15.9815.7013.4113.7913.1412.7814.10
Pony3.523.441.180.772.491.091.33
AoPS5.786.154.494.615.594.685.14
TheoremQA-Q7.116.765.546.236.215.975.67
TheoremQA-T2.591.371.301.531.181.700.89
Mean10.519.818.658.588.237.777.59

Recall@100

Taskblink-8Mlattice-retrievalbekko-static-embedding-v1potion-base-32Mpotion-retrieval-32Mpotion-base-8Mstatic-retrieval-mrl-en-v1
Biology50.9945.0744.2640.3739.1237.5037.80
Earth Science58.1055.7153.5047.1950.6247.0548.91
Economics37.8936.9237.1834.4733.8833.9330.39
Psychology40.4238.5944.5032.7736.7430.8730.74
Robotics31.6626.8426.9030.2727.2027.3323.42
Stack Overflow40.2033.5434.0632.4529.5329.5825.34
Sustainable Living45.2743.2842.7035.8942.8136.6436.96
LeetCode38.7340.7934.0842.0539.3841.9436.29
Pony17.0310.858.819.1114.308.9410.81
AoPS20.2419.8615.5913.4514.3612.7414.09
TheoremQA-Q16.2816.4915.7513.0915.4914.6014.60
TheoremQA-T7.687.4610.536.807.246.363.73
Mean33.7131.2830.6528.1629.2227.2926.09

Summary

  • nDCG@10: blink-8M has the highest mean (10.51, against 9.81 for lattice) and is best on 9 of 12 tasks. The other three go to potion-retrieval-32M (Robotics), potion-base-32M (Sustainable Living) and lattice (AoPS).
  • Recall@100: blink-8M has the highest mean (33.71, against 31.28 for lattice) and is best on 8 of 12 tasks. The largest gaps are on Pony (17.03 against at most 14.30 for the others) and Stack Overflow (40.20 against at most 34.06).

FreshStack (Thakur et al., 2025) tests retrieval on niche, recent technical topics. The queries are Stack Overflow questions, and the corpus is code and documentation chunks from the GitHub repositories of each topic, taken from an October 2024 snapshot. Each question's accepted answer is split into atomic facts ("nuggets"), and corpus chunks are labeled with the nuggets they support. A good ranking therefore has to cover all the facts needed to answer the question, not just find one relevant chunk.

We evaluate on the test split of the 5 topics. Documents are encoded as title + text. Queries and documents are truncated to 2048 tokens, and we retrieve the top 50 documents by cosine similarity. Metrics come from the official freshstack evaluation package:

  • α-nDCG@10: nDCG over the top 10 where each document only gets credit for nuggets that higher-ranked documents have not already covered (α = 0.5). It rewards rankings that cover many different nuggets.
  • Recall@50: the fraction of a query's relevant documents found in the top 50.
TopicQueriesDocumentsNuggets
Angular129117,286417
Godot9925,477325
LangChain20349,505639
Laravel18452,341552
YOLO5727,207198

α-nDCG@10

Topicblink-8Mbekko-static-embedding-v1lattice-retrievalpotion-base-8Mpotion-retrieval-32Mpotion-base-32Mstatic-retrieval-mrl-en-v1
Angular16.8916.1112.8815.6713.0012.9112.90
Godot12.6014.4212.0110.1010.559.978.91
LangChain15.4914.8313.4212.8512.4312.2913.50
Laravel21.2717.1115.6816.6116.7516.3615.80
YOLO12.3611.5612.229.618.509.596.43
Mean15.7214.8113.2412.9712.2512.2211.51

Recall@50

Topicblink-8Mbekko-static-embedding-v1lattice-retrievalpotion-base-8Mpotion-retrieval-32Mpotion-base-32Mstatic-retrieval-mrl-en-v1
Angular21.4520.0617.4522.7720.0319.4518.60
Godot25.4125.4023.2719.5021.0718.0917.97
LangChain21.1121.3420.7018.7818.5117.5218.47
Laravel36.7127.7331.7331.7025.8228.6027.98
YOLO22.2823.2120.8821.4216.9221.1820.65
Mean25.3923.5522.8122.8320.4720.9720.73

Summary

  • α-nDCG@10: blink-8M has the highest mean (15.72, against 14.81 for bekko) and is best on 4 of 5 topics. Bekko is best on Godot. The largest gap is on Laravel: 21.27, against 17.11 for the next best model.
  • Recall@50: blink-8M has the highest mean (25.39) but is best on only 2 of 5 topics, Godot (by 0.01) and Laravel. Bekko is best on LangChain and YOLO, and potion-base-8M on Angular.
  • potion-base-8M: it is the smallest model here, yet it is competitive. It is 4th on mean α-nDCG@10, and on mean Recall@50 it is roughly tied with lattice (22.83 vs 22.81).

Training

We followed a four-step procedure.

1. Tokenizer and potion initialization

We first train a 30k WordPiece tokenizer on LightOn's English pre-training data, and a distillation stage (potion) from bge-base-en-v1.5 on 1.1M samples of the Tokenlearn C4 data. This led to results comparable to potion-base-8m on MTEB and the retrieval tasks.

2. Contrastive training

Following, Erik Kaunismäki's work on training Lattice, we train on 96M text pairs from lightonai/embeddings-pre-training-curated, using three epochs instead of 1. We ablated hyperparameters in this phase on NanoBEIR. This led us to disable MRL, which had a slightly negative effect, but also did not lead to better performance at lower dimensionalities. Similarly, and unlike previous static models, we also found that training with a learning rate scheduler is unnecessary. However, like Hotchpotch's bekko recipe, we found that drastically lowering temperature works much better. Other hyperparameters and regularization schemes, e.g., dropping tokens, had little effect or were negative.

3. Hard negative fine tuning

Again following Erik's work, we then perform hard-negative fine-tuning on lightonai/embeddings-fine-tuning-filtered-en (1.57M queries with 10 mined hard negatives each), training for 3 epochs, again with a 0.2 constant learning rate.

4. Weight averaging

We found that weight averaging then caused the model to outperform either of the stages separately: the final model is 30% of the contrastive model from step 2 and 70% of the hard-negative model from step 3, giving us a boost on MTEB without sacrificing retrieval quality.

Library Authors

Model2Vec was developed by the Minish team consisting of Stephan Tulkens and Thomas van Dongen.

Citation

Please cite the Model2Vec repository if you use this model in your work.

@software{minishlab2024model2vec,
  author       = {Stephan Tulkens and {van Dongen}, Thomas},
  title        = {Model2Vec: Fast State-of-the-Art Static Embeddings},
  year         = {2024},
  publisher    = {Zenodo},
  doi          = {10.5281/zenodo.17270888},
  url          = {https://github.com/MinishLab/model2vec},
  license      = {MIT}
}

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · model2vec

Можно запустить

Подбираем GPU…

Класс архитектуры
StaticModel
Ревизия весов
54c8467

0 моделей