/ Модель

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

Контекст
8 194 токена
Параметры
659 млн
Архитектура
xlm-roberta · dense
Базовая модель
bge-m3
Библиотека
sentence-transformers
Опубликована
3 мар 2025

bge-m3-msmarco-v3-sbert

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

Дообученная на базе BGE-M3 модель Sentence Transformers для преобразования текстов в векторы и семантического поиска и сравнения.

124скачиваний за 30 дней1лайквеса обновлены3 мар 2025

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

YeonwooSung/bge-m3-msmarco-v3-sbert — дообученная модель Sentence Transformers на базе BAAI/bge-m3, разработчик в карточке не назван. Она преобразует предложения и абзацы в плотные векторы размерностью 1024 для семантического поиска, оценки сходства, поиска перефразировок, кластеризации и классификации текста. Архитектура состоит из XLM-RoBERTa и mean pooling; максимальная длина последовательности — 8192 токена, сходство обычно оценивается косинусной мерой.

Модель обучена на датасете примерно из 499 тысяч примеров с MultipleNegativesRankingLoss. Метаданные характеризуют базовую BGE-M3 как многоязычную модель поиска; конкретный перечень поддерживаемых языков для этой версии не указан. Для работы доступны веса safetensors и библиотека Sentence Transformers. Лицензия в предоставленных данных не указана.

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

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

Ограничения

Модель выдаёт векторы, а не готовые ответы; для поиска или классификации требуется внешний индекс либо последующая модель. Лицензия и точный список поддерживаемых языков не установлены по предоставленным данным.

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

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

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

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

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

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

Открыть на Hugging Face

SentenceTransformer based on BAAI/bge-m3

This is a sentence-transformers model finetuned from BAAI/bge-m3. It maps sentences & paragraphs to a 1024-dimensional dense vector space and can be used for semantic textual similarity, semantic search, paraphrase mining, text classification, clustering, and more.

Model Details

Model Description

  • Model Type: Sentence Transformer
  • Base model: BAAI/bge-m3
  • Maximum Sequence Length: 8192 tokens
  • Output Dimensionality: 1024 dimensions
  • Similarity Function: Cosine Similarity

Model Sources

Full Model Architecture

SentenceTransformer(
  (0): Transformer({'max_seq_length': 8192, 'do_lower_case': False}) with Transformer model: XLMRobertaModel 
  (1): Pooling({'word_embedding_dimension': 1024, '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.

from sentence_transformers import SentenceTransformer

# Download from the 🤗 Hub
model = SentenceTransformer("BlackBeenie/bge-m3-msmarco-v3-sbert")
# Run inference
sentences = [
    'who is christopher kyle',
    'Chris Kyle American Sniper. Christopher Scott Kyle was born and raised in Texas and was a United States Navy SEAL from 1999 to 2009. He is currently known as the most successful sniper in American military history. According to his book American Sniper, he had 160 confirmed kills (which was from 255 claimed kills).',
    "'American Sniper' Chris Kyle's wife thanks audiences for 'watching the hard stuff'. Taya Kyle has told of her gratitude to audiences for supporting the film about her dead husband Chris Kyle, a Navy Seal played by Bradley Cooper.",
]
embeddings = model.encode(sentences)
print(embeddings.shape)
# [3, 1024]

# Get the similarity scores for the embeddings
similarities = model.similarity(embeddings, embeddings)
print(similarities.shape)
# [3, 3]

Training Details

Training Dataset

Unnamed Dataset

  • Size: 498,970 training samples
  • Columns: sentence_0, sentence_1, and sentence_2
  • Approximate statistics based on the first 1000 samples:
    sentence_0sentence_1sentence_2
    typestringstringstring
    detailsmin: 4 tokensmean: 9.93 tokensmax: 37 tokensmin: 17 tokensmean: 90.01 tokensmax: 239 tokensmin: 16 tokensmean: 86.47 tokensmax: 229 tokens
  • Samples:
    sentence_0sentence_1sentence_2
    how much does it cost to paint a interior houseInterior House Painting Cost Factors. Generally, it will take a minimum of two gallons of paint to cover a room. At the highest end, paint will cost anywhere between $30 and $60 per gallon and come in three different finishes: flat, semi-gloss or high-gloss.Flat finishes are the least shiny and are best suited for areas requiring frequent cleaning.rovide a few details about your project and receive competitive quotes from local pros. The average national cost to paint a home interior is $1,671, with most homeowners spending between $966 and $2,426.Question DetailsAsked on 3/12/2014. Guest_... How much does it cost per square foot to paint the interior of a house? We just bought roughly a 1500 sg ft townhouse and want to get the entire house, including ceilings painted (including a roughly 400 sq ft finished basement not included in square footage).
    when is s corp taxes dueIf you form a corporate entity for your small business, regardless of whether it's taxed as a C or S corporation, a tax return must be filed with the Internal Revenue Service on its due date each year. Corporate tax returns are always due on the 15th day of the third month following the close of the tax year. The actual day that the tax return filing deadline falls on, however, isn't the same for every corporation.But if you haven’t, don’t panic: the majority of forms aren’t due quite yet. Most tax forms have an annual January 31 due date. Your tax forms are considered on time if the form is properly addressed and mailed on or before that date. If the regular due date falls on a Saturday, Sunday, or legal holiday – which is the case in 2015 for both January and February due dates – issuers have until the next business day.
    what are disaccharidesDisaccharides are formed when two monosaccharides are joined together and a molecule of water is removed, a process known as dehydration reaction. For example; milk sugar (lactose) is made from glucose and galactose whereas the sugar from sugar cane and sugar beets (sucrose) is made from glucose and fructose.altose, another notable disaccharide, is made up of two glucose molecules. The two monosaccharides are bonded via a dehydration reaction (also called a condensation reaction or dehydration synthesis) that leads to the loss of a molecule of water and formation of a glycosidic bond.Other disaccharides include (diagrams p. 364): Sucrose, common table sugar, has a glycosidic bond linking the anomeric hydroxyls of glucose and fructose. Because the configuration at the anomeric carbon of glucose is a (O points down from the ring), the linkage is designated a(12).
  • Loss: MultipleNegativesRankingLoss with these parameters:
    {
        "scale": 20.0,
        "similarity_fct": "cos_sim"
    }
    

Training Hyperparameters

Non-Default Hyperparameters

  • eval_strategy: steps
  • per_device_train_batch_size: 32
  • per_device_eval_batch_size: 32
  • num_train_epochs: 5
  • fp16: True
  • multi_dataset_batch_sampler: round_robin

All Hyperparameters

  • overwrite_output_dir: False
  • do_predict: False
  • eval_strategy: steps
  • prediction_loss_only: True
  • per_device_train_batch_size: 32
  • per_device_eval_batch_size: 32
  • per_gpu_train_batch_size: None
  • per_gpu_eval_batch_size: None
  • gradient_accumulation_steps: 1
  • eval_accumulation_steps: None
  • torch_empty_cache_steps: None
  • learning_rate: 5e-05
  • weight_decay: 0.0
  • adam_beta1: 0.9
  • adam_beta2: 0.999
  • adam_epsilon: 1e-08
  • max_grad_norm: 1
  • num_train_epochs: 5
  • max_steps: -1
  • lr_scheduler_type: linear
  • lr_scheduler_kwargs: {}
  • warmup_ratio: 0.0
  • warmup_steps: 0
  • log_level: passive
  • log_level_replica: warning
  • log_on_each_node: True
  • logging_nan_inf_filter: True
  • save_safetensors: True
  • save_on_each_node: False
  • save_only_model: False
  • restore_callback_states_from_checkpoint: False
  • no_cuda: False
  • use_cpu: False
  • use_mps_device: False
  • seed: 42
  • data_seed: None
  • jit_mode_eval: False
  • use_ipex: False
  • bf16: False
  • fp16: True
  • fp16_opt_level: O1
  • half_precision_backend: auto
  • bf16_full_eval: False
  • fp16_full_eval: False
  • tf32: None
  • local_rank: 0
  • ddp_backend: None
  • tpu_num_cores: None
  • tpu_metrics_debug: False
  • debug: []
  • dataloader_drop_last: False
  • dataloader_num_workers: 0
  • dataloader_prefetch_factor: None
  • past_index: -1
  • disable_tqdm: False
  • remove_unused_columns: True
  • label_names: None
  • load_best_model_at_end: False
  • ignore_data_skip: False
  • fsdp: []
  • fsdp_min_num_params: 0
  • fsdp_config: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False}
  • fsdp_transformer_layer_cls_to_wrap: None
  • accelerator_config: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None}
  • deepspeed: None
  • label_smoothing_factor: 0.0
  • optim: adamw_torch
  • optim_args: None
  • adafactor: False
  • group_by_length: False
  • length_column_name: length
  • 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
  • use_legacy_prediction_loop: False
  • push_to_hub: False
  • resume_from_checkpoint: None
  • hub_model_id: None
  • hub_strategy: every_save
  • hub_private_repo: None
  • hub_always_push: False
  • gradient_checkpointing: False
  • gradient_checkpointing_kwargs: None
  • include_inputs_for_metrics: False
  • include_for_metrics: []
  • eval_do_concat_batches: True
  • fp16_backend: auto
  • push_to_hub_model_id: None
  • push_to_hub_organization: None
  • mp_parameters:
  • auto_find_batch_size: False
  • full_determinism: False
  • torchdynamo: None
  • ray_scope: last
  • ddp_timeout: 1800
  • torch_compile: False
  • torch_compile_backend: None
  • torch_compile_mode: None
  • dispatch_batches: None
  • split_batches: None
  • include_tokens_per_second: False
  • include_num_input_tokens_seen: False
  • neftune_noise_alpha: None
  • optim_target_modules: None
  • batch_eval_metrics: False
  • eval_on_start: False
  • use_liger_kernel: False
  • eval_use_gather_object: False
  • average_tokens_across_devices: False
  • prompts: None
  • batch_sampler: batch_sampler
  • multi_dataset_batch_sampler: round_robin

Training Logs

EpochStepTraining Loss
0.03215000.3086
0.064110000.2339
0.096215000.2289
0.128320000.2262
0.160325000.2213
0.192430000.2158
0.224535000.2101
0.256540000.2082
0.288645000.2107
0.320750000.2015
0.352755000.2023
0.384860000.201
0.416965000.1974
0.448970000.191
0.481075000.1956
0.513180000.2
0.545185000.191
0.577290000.1888
0.609295000.1885
0.6413100000.1936
0.6734105000.1944
0.7054110000.1806
0.7375115000.1834
0.7696120000.1853
0.8016125000.1823
0.8337130000.1827
0.8658135000.1821
0.8978140000.1724
0.9299145000.1745
0.9620150000.1776
0.9940155000.1781
1.015593-
1.0261160000.1133
1.0582165000.0964
1.0902170000.0931
1.1223175000.0947
1.1544180000.097
1.1864185000.0977
1.2185190000.096
1.2506195000.1005
1.2826200000.1008
1.3147205000.0998
1.3468210000.0972
1.3788215000.0992
1.4109220000.0994
1.4430225000.1029
1.4750230000.1008
1.5071235000.0985
1.5392240000.1013
1.5712245000.1027
1.6033250000.0988
1.6353255000.0982
1.6674260000.0994
1.6995265000.0998
1.7315270000.0989
1.7636275000.101
1.7957280000.099
1.8277285000.096
1.8598290000.0989
1.8919295000.1011
1.9239300000.0974
1.9560305000.0999
1.9881310000.0976
2.031186-
2.0201315000.0681
2.0522320000.0478
2.0843325000.0483
2.1163330000.0485
2.1484335000.0472
2.1805340000.0482
2.2125345000.0491
2.2446350000.0484
2.2767355000.0493
2.3087360000.0484
2.3408365000.0503
2.3729370000.0498
2.4049375000.0507
2.4370380000.0502
2.4691385000.0508
2.5011390000.0483
2.5332395000.0486
2.5653400000.0494
2.5973405000.0511
2.6294410000.0508
2.6615415000.0496
2.6935420000.0487
2.7256425000.0497
2.7576430000.0491
2.7897435000.0486
2.8218440000.0503
2.8538445000.0504
2.8859450000.0499
2.9180455000.048
2.9500460000.047
2.9821465000.0497
3.046779-
3.0142470000.0395
3.0462475000.0247
3.0783480000.0256
3.1104485000.0254
3.1424490000.0247
3.1745495000.0251
3.2066500000.0253
3.2386505000.0263
3.2707510000.0261
3.3028515000.0259
3.3348520000.0256
3.3669525000.0254
3.3990530000.026
3.4310535000.0255
3.4631540000.0255
3.4952545000.0257
3.5272550000.0249
3.5593555000.0251
3.5914560000.026
3.6234565000.0246
3.6555570000.0258
3.6876575000.0266
3.7196580000.0242
3.7517585000.0251
3.7837590000.0243
3.8158595000.0249
3.8479600000.0252
3.8799605000.0251
3.9120610000.025
3.9441615000.0249
3.9761620000.0254
4.062372-
4.0082625000.0221
4.0403630000.0146
4.0723635000.0146
4.1044640000.0152
4.1365645000.0153
4.1685650000.0144
4.2006655000.0154
4.2327660000.0137
4.2647665000.0145
4.2968670000.0148
4.3289675000.0148
4.3609680000.0142
4.3930685000.0148
4.4251690000.0155
4.4571695000.0148
4.4892700000.0144
4.5213705000.0144
4.5533710000.0148
4.5854715000.015
4.6175720000.0149
4.6495725000.0135
4.6816730000.0142
4.7137735000.0152
4.7457740000.0144
4.7778745000.0143
4.8099750000.0141
4.8419755000.0146
4.8740760000.0142
4.9060765000.0142
4.9381770000.0147
4.9702775000.0145
5.077965-

Framework Versions

  • Python: 3.11.11
  • Sentence Transformers: 3.4.1
  • Transformers: 4.48.3
  • PyTorch: 2.5.1+cu124
  • Accelerate: 1.3.0
  • Datasets: 3.3.2
  • Tokenizers: 0.21.0

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",
}

MultipleNegativesRankingLoss

@misc{henderson2017efficient,
    title={Efficient Natural Language Response Suggestion for Smart Reply},
    author={Matthew Henderson and Rami Al-Rfou and Brian Strope and Yun-hsuan Sung and Laszlo Lukacs and Ruiqi Guo and Sanjiv Kumar and Balint Miklos and Ray Kurzweil},
    year={2017},
    eprint={1705.00652},
    archivePrefix={arXiv},
    primaryClass={cs.CL}
}

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

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

GPU в ailist

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

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

Подбираем GPU…

Класс архитектуры
XLMRobertaModel
Ревизия весов
a74012a

0 моделей