/ Модель

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

Контекст
1 024 токена
Параметры
37 млн
Архитектура
modernbert · dense
Библиотека
sentence-transformers
Опубликована
18 фев 2026

ModernBERT-small-v2

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

Компактный ModernBERT-энкодер создаёт 384-мерные эмбеддинги текста для семантического поиска и сравнения предложений.

574скачиваний за 30 дней2лайкавеса обновлены20 фев 2026

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

В подключённых источниках результатов для этой модели пока нет.

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

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

ModernBERT-small-v2 — компактная модель Sentence Transformers для получения плотных векторов предложений и оценки их семантического сходства. В карточке Hugging Face указаны архитектура ModernBERT и 37 млн параметров; разработчик описывает её как 12-слойный энкодер с размерностью эмбеддингов 384. Модель принимает текст и выдаёт векторные представления, которые можно сравнивать по косинусному сходству.

Модель предназначена для семантического поиска, ранжирования и извлечения релевантных документов, в том числе в корпусах с вопросами и академическими текстами. По README, её инициализировали проекцией PCA знаний answerdotai/ModernBERT-base, затем обучали на задаче masked language modeling и дистиллировали подражанием эмбеддингам Alibaba-NLP/gte-modernbert-base с MSE loss. Максимальная длина последовательности составляет 1024 токена; заявлены англоязычные поисковые и энциклопедические данные. Узкая размерность вектора и сравнительно небольшой размер модели рассчитаны на быстрое кодирование и компактные поисковые индексы.

Модель подходит для применения в поисковых системах и retrieval-сценариях; в README приведены результаты оценивания на NanoMSMARCO, NanoHotpotQA и NanoBEIR. Результаты зависят от данных и конфигурации поиска. Лицензия в предоставленных сведениях не указана.

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

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

Ограничения

Модель рассчитана на последовательности длиной до 1024 токенов; заявленные данные и примеры оценки ориентированы на английский язык. Лицензия не приведена в доступных сведениях.

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

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

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

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

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

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

Открыть на Hugging Face

SentenceTransformer

ModernBERT-small-v2 represents an efficient approach to creating highly efficient and accurate dense vector encoders. It leverages a small ModernBERT architecture, simple MLM training, and distillation from a larger performant model to achieve superior performance at a lower computational cost compared to standard large models.

Key Features & Training Methodology

This model was created using a specialized four-stage pipeline:

  1. Deep & Narrow Architecture: Unlike typical small models (e.g., 6 layers), this student model features 12 Transformer layers but operates within a narrow 384-dimensional embedding space. This depth allows for complex multi-hop reasoning crucial for high-accuracy retrieval tasks, while the narrow dimension ensures extremely fast encoding and small index sizes.

  2. Guided Initialization (GUIDE): The model did not start from random weights. It inherited structural and semantic knowledge from a larger teacher model (answerdotai/ModernBERT-base) via Principal Component Analysis (PCA) Projection. This technique surgically compressed the teacher's 768-dimensional knowledge into the student's 384-dimensional space, providing a massive "head start."

  3. Extensive MLM Pre-training: Following initialization, the model underwent comprehensive Masked Language Modeling (MLM) pre-training on a highly diverse corpus combining:

    • Search Data (MS MARCO)
    • Academic Texts (Stanford Philosophy)
    • General Knowledge (NPR, FineWiki)
  4. Knowledge Distillation (STS Tuning): The final, critical stage optimized the model for semantic similarity. It was trained to mimic the output embeddings of a powerful Retrieval Teacher (Alibaba-NLP/gte-modernbert-base) using Mean Squared Error (MSE) loss. This specialized tuning ensures its 384-dimensional vectors excel at similarity and retrieval tasks.

Training

The final model, ModernBERT-small-v2, was trained using a curated combination of four distinct datasets during the MLM Pre-training phase to ensure broad general knowledge acquisition before the final distillation tuning.

GitHub: semantic-search-models/ModernBERT-small-v2

The following datasets were integrated and processed:

  1. MS MARCO Triplets (sentence-transformers/msmarco-msmarco-MiniLM-L6-v3, "triplet" split)
    • Source Focus: Query/Document ranking (Search Relevance).
  2. Stanford Encyclopedia of Philosophy Triplets (johnnyboycurtis/Philosophical-Triplets-Retrieval)
    • Source Focus: Deep, technical, and abstract academic reasoning.
  3. NPR Articles (sentence-transformers/npr)
    • Source Focus: Modern news, journalistic style, and general current events.
  4. FineWiki (English) (HuggingFaceFW/finewiki, "en" split)
    • Source Focus: Encyclopedic, factual knowledge spanning a wide range of topics.
    • Only used in distillation training; not used in MLM.

(Note: During the final Knowledge Distillation phase, the targets were generated using embeddings from the teacher model (Alibaba-NLP/gte-modernbert-base) based on the combined text content of this merged corpus.)

Model Details

Model Description

  • Model Type: Sentence Transformer
  • Maximum Sequence Length: 1024 tokens
  • Output Dimensionality: 384 dimensions
  • Similarity Function: Cosine Similarity
  • Training Dataset:
    • parquet

Model Sources

Full Model Architecture

SentenceTransformer(
  (0): Transformer({'max_seq_length': 1024, 'do_lower_case': False, 'architecture': 'ModernBertModel'})
  (1): Pooling({'word_embedding_dimension': 384, 'pooling_mode_cls_token': False, 'pooling_mode_mean_tokens': True, 'pooling_mode_max_tokens': False, 'pooling_mode_mean_sqrt_len_tokens': False, 'pooling_mode_weightedmean_tokens': False, 'pooling_mode_lasttoken': False, 'include_prompt': True})
)

Usage

Direct Usage (Sentence Transformers)

First install the Sentence Transformers library:

pip install -U sentence-transformers

Then you can load this model and run inference.

import torch
from sentence_transformers import SentenceTransformer

# Download from the 🤗 Hub
model = SentenceTransformer("johnnyboycurtis/ModernBERT-small-v2", model_kwargs={"attn_implementation": "flash_attention_2", "dtype": torch.bfloat16}) # or use "sdpa"

# Run inference
sentences = [
    '# Breda Holmes\nBreda Holmes is a former camogie player, winner of the B+I Star of the Year award in 1987 and seven All Ireland medals in succession between 1984 and 1991, celebrating the seventh by scoring the match-turning goal from Ann Downey’s sideline ball against Cork in the 1991 final.\n\n## Career\nShe captained Carysfort Training College in their 1984 Purcell Cup campaign and won six All Ireland club medals with St Paul’s camogie club, based in Kilkenny city.\n',
    'What is Intellectual Property? Intellectual property (IP) refers to creations of the mind, such as inventions; literary and artistic works; designs; and symbols, names and images used in commerce. IP is protected in law by, for example, patents, copyright and trademarks, which enable people to earn recognition or financial benefit from what they invent or create.',
    '10 Most Famous Soccer Stadiums in the World. The Camp Nou with its capacity of 99,354 is the largest stadium in Europe and also the fourth largest soccer stadium in the world. It is situated in Barcelona, Catalonia, Spain, and is the home of Spanish club Barcelona since 1957.',
]
embeddings = model.encode(sentences)
print(embeddings.shape)
# [3, 384]

# Get the similarity scores for the embeddings
similarities = model.similarity(embeddings, embeddings)
print(similarities)
# tensor([[1.0000, 0.2616, 0.5490],
#         [0.2616, 1.0000, 0.3196],
#         [0.5490, 0.3196, 1.0000]])

Evaluation

Metrics

Knowledge Distillation

MetricValue
negative_mse-77.74

Information Retrieval

MetricNanoMSMARCONanoHotpotQA
cosine_accuracy@10.320.52
cosine_accuracy@30.520.76
cosine_accuracy@50.60.78
cosine_accuracy@100.760.84
cosine_precision@10.320.52
cosine_precision@30.17330.3333
cosine_precision@50.120.22
cosine_precision@100.0760.122
cosine_recall@10.320.26
cosine_recall@30.520.5
cosine_recall@50.60.55
cosine_recall@100.760.61
cosine_ndcg@100.52510.5457
cosine_mrr@100.45230.6494
cosine_map@1000.46240.4736

Nano BEIR

  • Dataset: NanoBEIR_mean
  • Evaluated with NanoBEIREvaluator with these parameters:
    {
        "dataset_names": [
            "MSMARCO",
            "HotpotQA"
        ],
        "dataset_id": "sentence-transformers/NanoBEIR-en"
    }
    
MetricValue
cosine_accuracy@10.42
cosine_accuracy@30.64
cosine_accuracy@50.69
cosine_accuracy@100.8
cosine_precision@10.42
cosine_precision@30.2533
cosine_precision@50.17
cosine_precision@100.099
cosine_recall@10.29
cosine_recall@30.51
cosine_recall@50.575
cosine_recall@100.685
cosine_ndcg@100.5354
cosine_mrr@100.5509
cosine_map@1000.468

Training Details

Training Dataset

parquet

  • Dataset: parquet
  • Size: 3,375,201 training samples
  • Columns: text and label
  • Approximate statistics based on the first 1000 samples:
    textlabel
    typestringlist
    detailsmin: 5 tokensmean: 280.41 tokensmax: 1024 tokenssize: 384 elements
  • Samples:
    textlabel
    # Scientists Link Diamonds To Earth's Quick Cooling Scientists say they have evidence the Earth was bombarded by meteors about 13,000 years ago, triggering a 1,000-year cold spell. Researchers write in the journal Science that they have found a layer of microscopic diamonds scattered across North America. An abrupt cooling may have caused many large mammals to become extinct.[4.6171875, 2.515625, 2.439453125, -1.4853515625, -6.328125, ...]
    # Brad GiffenBrad Giffen is a retired Canadian news anchor who has worked on television in both Canada and the United States.Over his broadcasting career he has also worked as a radio personality, disc jockey, VJ, television reporter, television producer and voice-over artist.## Broadcasting careerGiffen studied at the Poynter Institute for Advanced Journalism Study. In the late 1980s he was a broadcaster on CHUM-FM radio station in Toronto, Ontario, Canada. He previously was John Majhor's successor veejay on CITY-TV's music video program Toronto Rocks. and he hosted the CBC Television battle of the bands competition Rock Wars.In 1990, Giffen pivoted to news journalism and became a reporter for CFTO's nightly news program World Beat News (later rebranded as CFTO News in early 1998, and CTV News in 2005).In 1993, Giffen moved to the United States and became co-anchor of the nightly news on the Fox affiliate KSTU, in Salt Lake City, Utah. Giffen left that post in 1995 to accept ...[-1.693359375, 13.3828125, 4.50390625, 0.41064453125, -2.884765625, ...]
    # How Trump Won, According To The Exit Polls Donald Trump will be the next president of the United States. That's remarkable for all sorts of reasons: He has no governmental experience, for example. And many times during his campaign, Trump's words inflamed large swaths of Americans, whether it was his comments from years ago talking about grabbing women's genitals or calling Mexican immigrants in the U.S. illegally "rapists" and playing up crimes committed by immigrants, including drug crimes and murders. But right now, it's also remarkable because almost no one saw it coming. All major forecasters predicted a Hillary Clinton win, whether moderately or by a landslide. So what happened? We don't know just yet why pollsters and forecasters got it wrong, but here's what made this electorate so different from the one that elected Barack Obama by 4 points in 2012. To be clear, it's impossible to break any election results out into fully discrete demographic groups or trends — race, gend...[3.4296875, 12.828125, 2.8203125, -5.47265625, -5.390625, ...]
  • Loss: MSELoss

Training Hyperparameters

Non-Default Hyperparameters

  • eval_strategy: steps
  • per_device_train_batch_size: 64
  • per_device_eval_batch_size: 64
  • learning_rate: 0.0001
  • num_train_epochs: 2
  • warmup_steps: 0.1
  • fp16: True
  • load_best_model_at_end: True

All Hyperparameters

  • do_predict: False
  • eval_strategy: steps
  • prediction_loss_only: True
  • per_device_train_batch_size: 64
  • per_device_eval_batch_size: 64
  • gradient_accumulation_steps: 1
  • eval_accumulation_steps: None
  • torch_empty_cache_steps: None
  • learning_rate: 0.0001
  • weight_decay: 0.0
  • adam_beta1: 0.9
  • adam_beta2: 0.999
  • adam_epsilon: 1e-08
  • max_grad_norm: 1.0
  • num_train_epochs: 2
  • max_steps: -1
  • lr_scheduler_type: linear
  • lr_scheduler_kwargs: None
  • warmup_ratio: None
  • warmup_steps: 0.1
  • log_level: passive
  • log_level_replica: warning
  • log_on_each_node: True
  • logging_nan_inf_filter: True
  • enable_jit_checkpoint: False
  • save_on_each_node: False
  • save_only_model: False
  • restore_callback_states_from_checkpoint: False
  • use_cpu: False
  • seed: 42
  • data_seed: None
  • bf16: False
  • fp16: True
  • bf16_full_eval: False
  • fp16_full_eval: False
  • tf32: None
  • local_rank: -1
  • ddp_backend: None
  • debug: []
  • dataloader_drop_last: False
  • dataloader_num_workers: 0
  • dataloader_prefetch_factor: None
  • disable_tqdm: False
  • remove_unused_columns: True
  • label_names: None
  • load_best_model_at_end: True
  • ignore_data_skip: False
  • fsdp: []
  • fsdp_config: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}
  • accelerator_config: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}
  • parallelism_config: None
  • deepspeed: None
  • label_smoothing_factor: 0.0
  • optim: adamw_torch
  • optim_args: None
  • group_by_length: False
  • length_column_name: length
  • project: huggingface
  • trackio_space_id: trackio
  • ddp_find_unused_parameters: None
  • ddp_bucket_cap_mb: None
  • ddp_broadcast_buffers: False
  • dataloader_pin_memory: True
  • dataloader_persistent_workers: False
  • skip_memory_metrics: True
  • push_to_hub: False
  • resume_from_checkpoint: None
  • hub_model_id: None
  • hub_strategy: every_save
  • hub_private_repo: None
  • hub_always_push: False
  • hub_revision: None
  • gradient_checkpointing: False
  • gradient_checkpointing_kwargs: None
  • include_for_metrics: []
  • eval_do_concat_batches: True
  • auto_find_batch_size: False
  • full_determinism: False
  • ddp_timeout: 1800
  • torch_compile: False
  • torch_compile_backend: None
  • torch_compile_mode: None
  • include_num_input_tokens_seen: no
  • neftune_noise_alpha: None
  • optim_target_modules: None
  • batch_eval_metrics: False
  • eval_on_start: False
  • use_liger_kernel: False
  • liger_kernel_config: None
  • eval_use_gather_object: False
  • average_tokens_across_devices: True
  • use_cache: False
  • prompts: None
  • batch_sampler: batch_sampler
  • multi_dataset_batch_sampler: proportional
  • router_mapping: {}
  • learning_rate_mapping: {}

Training Logs

EpochStepTraining Lossmse-dev_negative_mseNanoMSMARCO_cosine_ndcg@10NanoHotpotQA_cosine_ndcg@10NanoBEIR_mean_cosine_ndcg@10
0.00191004.2698----
0.00382004.2304----
0.00573004.1280----
0.00764003.8576----
0.00955003.1561----
0.01146002.5527----
0.01337002.3275----
0.01528002.2656----
0.01719002.2401----
0.019010002.2256-221.21440.05140.05770.0545
0.020911002.2140----
0.022812002.1920----
0.024713002.1840----
0.026514002.1662----
0.028415002.1598----
0.030316002.1452----
0.032217002.1226----
0.034118002.1068----
0.036019002.0941----
0.037920002.0796-206.88650.14810.06720.1077
0.039821002.0621----
0.041722002.0545----
0.043623002.0382----
0.045524002.0267----
0.047425002.0167----
0.049326002.0041----
0.051227001.9902----
0.053128001.9746----
0.055029001.9650----
0.056930001.9539-194.54400.12430.12420.1243
0.058831001.9401----
0.060732001.9317----
0.062633001.9181----
0.064534001.9098----
0.066435001.8983----
0.068336001.8924----
0.070237001.8806----
0.072138001.8717----
0.074039001.8591----
0.075840001.8525-184.20260.16470.17450.1696
0.077741001.8416----
0.079642001.8359----
0.081543001.8256----
0.083444001.8131----
0.085345001.8063----
0.087246001.7950----
0.089147001.7846----
0.091048001.7762----
0.092949001.7620----
0.094850001.7605-175.16850.19600.20240.1992
0.096751001.7481----
0.098652001.7419----
0.100553001.7301----
0.102454001.7280----
0.104355001.7131----
0.106256001.7063----
0.108157001.6959----
0.110058001.6884----
0.111959001.6801----
0.113860001.6700-166.49240.24930.21500.2321
0.115761001.6637----
0.117662001.6543----
0.119563001.6451----
0.121464001.6382----
0.123365001.6278----
0.125166001.6235----
0.127067001.6150----
0.128968001.6054----
0.130869001.6007----
0.132770001.5874-158.10130.28090.23490.2579
0.134671001.5824----
0.136572001.5724----
0.138473001.5669----
0.140374001.5535----
0.142275001.5450----
0.144176001.5345----
0.146077001.5340----
0.147978001.5242----
0.149879001.5181----
0.151780001.5086-150.10320.29570.24540.2705
0.153681001.5007----
0.155582001.4950----
0.157483001.4829----
0.159384001.4780----
0.161285001.4737----
0.163186001.4603----
0.165087001.4510----
0.166988001.4500----
0.168889001.4408----
0.170790001.4372-142.84620.30330.28240.2929
0.172691001.4270----
0.174492001.4233----
0.176393001.4135----
0.178294001.4074----
0.180195001.3981----
0.182096001.3919----
0.183997001.3844----
0.185898001.3741----
0.187799001.3685----
0.1896100001.3668-135.70810.31940.30590.3127
0.1915101001.3568----
0.1934102001.3505----
0.1953103001.3433----
0.1972104001.3338----
0.1991105001.3295----
0.2010106001.3275----
0.2029107001.3149----
0.2048108001.3119----
0.2067109001.3055----
0.2086110001.2952-129.20640.31090.34340.3272
0.2105111001.2920----
0.2124112001.2851----
0.2143113001.2769----
0.2162114001.2747----
0.2181115001.2686----
0.2200116001.2684----
0.2219117001.2582----
0.2237118001.2582----
0.2256119001.2479----
0.2275120001.2418-123.62610.34390.35470.3493
0.2294121001.2400----
0.2313122001.2330----
0.2332123001.2288----
0.2351124001.2230----
0.2370125001.2164----
0.2389126001.2157----
0.2408127001.2166----
0.2427128001.2045----
0.2446129001.2035----
0.2465130001.1968-118.86910.32820.33290.3306
0.2484131001.1942----
0.2503132001.1895----
0.2522133001.1843----
0.2541134001.1755----
0.2560135001.1756----
0.2579136001.1707----
0.2598137001.1637----
0.2617138001.1684----
0.2636139001.1628----
0.2655140001.1585-115.41220.37790.35790.3679
0.2674141001.1602----
0.2693142001.1504----
0.2712143001.1483----
0.2730144001.1488----
0.2749145001.1392----
0.2768146001.1343----
0.2787147001.1363----
0.2806148001.1342----
0.2825149001.1327----
0.2844150001.1219-111.91390.37940.37910.3793
0.2863151001.1246----
0.2882152001.1152----
0.2901153001.1196----
0.2920154001.1097----
0.2939155001.1067----
0.2958156001.0994----
0.2977157001.1077----
0.2996158001.1057----
0.3015159001.0949----
0.3034160001.0981-109.29940.38670.38550.3861
0.3053161001.0933----
0.3072162001.0873----
0.3091163001.0851----
0.3110164001.0840----
0.3129165001.0831----
0.3148166001.0755----
0.3167167001.0733----
0.3186168001.0724----
0.3205169001.0698----
0.3223170001.0710-106.37690.40920.40660.4079
0.3242171001.0699----
0.3261172001.0642----
0.3280173001.0576----
0.3299174001.0597----
0.3318175001.0572----
0.3337176001.0547----
0.3356177001.0502----
0.3375178001.0467----
0.3394179001.0485----
0.3413180001.0455-103.76980.45100.42370.4374
0.3432181001.0433----
0.3451182001.0404----
0.3470183001.0397----
0.3489184001.0352----
0.3508185001.0318----
0.3527186001.0302----
0.3546187001.0330----
0.3565188001.0220----
0.3584189001.0223----
0.3603190001.0254-101.57430.44390.42650.4352
0.3622191001.0186----
0.3641192001.0216----
0.3660193001.0152----
0.3679194001.0139----
0.3698195001.0125----
0.3716196001.0087----
0.3735197001.0045----
0.3754198001.0032----
0.3773199001.0013----
0.3792200001.0017-99.66130.45540.43740.4464
0.3811201001.0007----
0.3830202000.9959----
0.3849203000.9965----
0.3868204000.9909----
0.3887205000.9902----
0.3906206000.9903----
0.3925207000.9927----
0.3944208000.9865----
0.3963209000.9843----
0.3982210000.9809-97.49220.46890.44620.4575
0.4001211000.9801----
0.4020212000.9785----
0.4039213000.9718----
0.4058214000.9725----
0.4077215000.9705----
0.4096216000.9729----
0.4115217000.9714----
0.4134218000.9647----
0.4153219000.9623----
0.4172220000.9579-95.78130.46420.45490.4595
0.4191221000.9553----
0.4209222000.9558----
0.4228223000.9584----
0.4247224000.9544----
0.4266225000.9520----
0.4285226000.9516----
0.4304227000.9543----
0.4323228000.9502----
0.4342229000.9477----
0.4361230000.9405-93.92380.48560.45210.4688
0.4380231000.9448----
0.4399232000.9424----
0.4418233000.9369----
0.4437234000.9318----
0.4456235000.9342----
0.4475236000.9392----
0.4494237000.9358----
0.4513238000.9303----
0.4532239000.9306----
0.4551240000.9277-92.24270.49460.47980.4872
0.4570241000.9267----
0.4589242000.9228----
0.4608243000.9239----
0.4627244000.9225----
0.4646245000.9169----
0.4665246000.9170----
0.4684247000.9195----
0.4702248000.9153----
0.4721249000.9138----
0.4740250000.9108-90.76350.46220.48120.4717
0.4759251000.9133----
0.4778252000.9076----
0.4797253000.9081----
0.4816254000.9093----
0.4835255000.9037----
0.4854256000.9025----
0.4873257000.9058----
0.4892258000.9018----
0.4911259000.9014----
0.4930260000.8946-89.25620.47450.49570.4851
0.4949261000.8982----
0.4968262000.8946----
0.4987263000.8941----
0.5006264000.8925----
0.5025265000.8947----
0.5044266000.8906----
0.5063267000.8895----
0.5082268000.8866----
0.5101269000.8840----
0.5120270000.8764-87.80390.50110.51730.5092
0.5139271000.8859----
0.5158272000.8839----
0.5177273000.8794----
0.5195274000.8790----
0.5214275000.8788----
0.5233276000.8780----
0.5252277000.8749----
0.5271278000.8742----
0.5290279000.8700----
0.5309280000.8691-86.44190.49360.47760.4856
0.5328281000.8747----
0.5347282000.8644----
0.5366283000.8673----
0.5385284000.8670----
0.5404285000.8638----
0.5423286000.8649----
0.5442287000.8629----
0.5461288000.8629----
0.5480289000.8591----
0.5499290000.8566-85.04080.47920.49180.4855
0.5518291000.8588----
0.5537292000.8545----
0.5556293000.8534----
0.5575294000.8543----
0.5594295000.8534----
0.5613296000.8519----
0.5632297000.8486----
0.5651298000.8530----
0.5670299000.8477----
0.5688300000.8465-83.94350.49860.50970.5042
0.5707301000.8425----
0.5726302000.8437----
0.5745303000.8430----
0.5764304000.8431----
0.5783305000.8424----
0.5802306000.8403----
0.5821307000.8347----
0.5840308000.8344----
0.5859309000.8348----
0.5878310000.8351-82.81130.49990.50880.5043
0.5897311000.8362----
0.5916312000.8307----
0.5935313000.8315----
0.5954314000.8311----
0.5973315000.8305----
0.5992316000.8304----
0.6011317000.8277----
0.6030318000.8249----
0.6049319000.8262----
0.6068320000.8236-81.73890.48110.52560.5034
0.6087321000.8209----
0.6106322000.8226----
0.6125323000.8207----
0.6144324000.8224----
0.6163325000.8163----
0.6182326000.8181----
0.6200327000.8147----
0.6219328000.8170----
0.6238329000.8156----
0.6257330000.8141-80.49790.50420.50850.5064
0.6276331000.8088----
0.6295332000.8098----
0.6314333000.8133----
0.6333334000.8087----
0.6352335000.8086----
0.6371336000.8094----
0.6390337000.8054----
0.6409338000.8043----
0.6428339000.8035----
0.6447340000.7990-79.57260.49900.51660.5078
0.6466341000.8035----
0.6485342000.7990----
0.6504343000.7996----
0.6523344000.8005----
0.6542345000.8000----
0.6561346000.7975----
0.6580347000.7959----
0.6599348000.7921----
0.6618349000.7916----
0.6637350000.7933-78.78840.51040.51390.5122
0.6656351000.7908----
0.6675352000.7913----
0.6693353000.7921----
0.6712354000.7929----
0.6731355000.7915----
0.6750356000.7871----
0.6769357000.7836----
0.6788358000.7805----
0.6807359000.7870----
0.6826360000.7797-77.74000.52510.54570.5354

Framework Versions

  • Python: 3.11.13
  • Sentence Transformers: 5.2.2
  • Transformers: 5.1.0
  • PyTorch: 2.7.1+cu128
  • Accelerate: 1.9.0
  • Datasets: 4.0.0
  • Tokenizers: 0.22.2

Citation

BibTeX

Sentence Transformers

@inproceedings{reimers-2019-sentence-bert,
    title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks",
    author = "Reimers, Nils and Gurevych, Iryna",
    booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing",
    month = "11",
    year = "2019",
    publisher = "Association for Computational Linguistics",
    url = "https://arxiv.org/abs/1908.10084",
}

MSELoss

@inproceedings{reimers-2020-multilingual-sentence-bert,
    title = "Making Monolingual Sentence Embeddings Multilingual using Knowledge Distillation",
    author = "Reimers, Nils and Gurevych, Iryna",
    booktitle = "Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing",
    month = "11",
    year = "2020",
    publisher = "Association for Computational Linguistics",
    url = "https://arxiv.org/abs/2004.09813",
}

ModernBERT Model Architecture

@misc{warner2024smarterbetterfasterlonger,
      title={Smarter, Better, Faster, Longer: A Modern Bidirectional Encoder for Fast, Memory Efficient, and Long Context Finetuning and Inference}, 
      author={Benjamin Warner and Antoine Chaffin and Benjamin Clavié and Orion Weller and Oskar Hallström and Said Taghadouini and Alexis Gallagher and Raja Biswas and Faisal Ladhak and Tom Aarsen and Nathan Cooper and Griffin Adams and Jeremy Howard and Iacopo Poli},
      year={2024},
      eprint={2412.13663},
      archivePrefix={arXiv},
      primaryClass={cs.CL},
      url={https://arxiv.org/abs/2412.13663}, 
}

Model Weight Initialization

@misc{trinh2025guideguidedinitializationdistillation,
      title={GUIDE: Guided Initialization and Distillation of Embeddings}, 
      author={Khoa Trinh and Gaurav Menghani and Erik Vee},
      year={2025},
      eprint={2510.06502},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/2510.06502}, 
}

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

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

GPU в ailist

Универсальный рантайм · sentence-transformers

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

Подбираем GPU…

Класс архитектуры
ModernBertModel
Ревизия весов
72a12a4

0 моделей