/ Модель

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

Контекст
512 токенов
Параметры
137 млн
Архитектура
bert · dense
Базовая модель
bge-base-en-v1.5
Библиотека
sentence-transformers
Опубликована
28 мар 2025

reasoning-bge

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

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

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

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

reasoning-bge — англоязычная модель Sentence Transformer, дообученная автором bwang0911 на базе BAAI/bge-base-en-v1.5. Она кодирует предложения и абзацы в плотные векторы размерности 768, нормализует их и предназначена для оценки семантической близости по косинусному сходству.

Модель подходит для семантического поиска, ранжирования текстов по смысловой близости, поиска перефразировок, кластеризации и классификации текстов. В карточке приведены результаты оценки поиска по нескольким наборам данных, но они не гарантируют аналогичного качества на других корпусах. Архитектура основана на BERT; метаданные указывают 136,7 млн параметров и контекст до 512 токенов, а README задаёт максимальную длину последовательности 256 токенов.

Модель принимает текст и выдаёт векторные представления. Она обучена на наборах reason_ccnews, reason_reddit и reason_s2orc; для использования нужны библиотека Sentence Transformers или совместимая инфраструктура. Лицензия в предоставленных данных не указана.

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

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

Ограничения

Ориентирована на английский язык; входная последовательность ограничена 256 токенами в конфигурации README, хотя метаданные указывают контекст 512 токенов. В предоставленных данных не указана лицензия.

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

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

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

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

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

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

Открыть на Hugging Face

SentenceTransformer based on BAAI/bge-base-en-v1.5

This is a sentence-transformers model finetuned from BAAI/bge-base-en-v1.5 on the reason_ccnews, reason_reddit and reason_s2orc datasets. It maps sentences & paragraphs to a 768-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 Sources

Full Model Architecture

SentenceTransformer(
  (0): Transformer({'max_seq_length': 256, 'do_lower_case': True}) with Transformer model: BertModel 
  (1): Pooling({'word_embedding_dimension': 768, 'pooling_mode_cls_token': True, 'pooling_mode_mean_tokens': False, 'pooling_mode_max_tokens': False, 'pooling_mode_mean_sqrt_len_tokens': False, 'pooling_mode_weightedmean_tokens': False, 'pooling_mode_lasttoken': False, 'include_prompt': True})
  (2): Normalize()
)

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("bwang0911/reasoning-bge")
# Run inference
sentences = [
    'Crossover and multicriticality due to the Dzyaloshinsky-Moriya interaction',
    'We show that the addition of a Dzyaloshinsky-Moriya interaction to a Heisenberg ferromagnet introduces only one crossover exponent, which is the same as for the usual uniaxial anisotropy. This result is in contrast to a previous report by Liu.',
    'The second text elaborates on the first by specifying the impact of the Dzyaloshinsky-Moriya interaction on a Heisenberg ferromagnet. It highlights a key finding: the introduction of only one crossover exponent, contrasting with a prior study. This directly addresses the topic introduced in the title.',
]
embeddings = model.encode(sentences)
print(embeddings.shape)
# [3, 768]

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

Evaluation

Metrics

Information Retrieval

Metricmteb/nfcorpusmteb/trec-covidmteb/fiqamteb/quora
cosine_accuracy@10.50460.860.3580.8112
cosine_accuracy@30.63471.00.52310.9258
cosine_accuracy@50.69661.00.58490.9553
cosine_accuracy@100.76781.00.67440.9773
cosine_precision@10.50460.860.3580.8112
cosine_precision@30.39940.880.23250.3724
cosine_precision@50.35730.8560.16940.2455
cosine_precision@100.28670.8320.10650.1341
cosine_recall@10.06520.00070.18510.7047
cosine_recall@30.11390.00220.3180.8691
cosine_recall@50.13960.00360.3720.9145
cosine_recall@100.18690.00690.45590.9525
cosine_ndcg@100.38250.84350.38270.8812
cosine_mrr@100.58750.92330.45770.873
cosine_map@1000.1960.52140.32370.8502

Training Details

Training Datasets

reason_ccnews

  • Dataset: reason_ccnews at 2e4fb05
  • Size: 44,978 training samples
  • Columns: title, body, and reason
  • Approximate statistics based on the first 1000 samples:
    titlebodyreason
    typestringstringstring
    detailsmin: 6 tokensmean: 15.34 tokensmax: 42 tokensmin: 21 tokensmean: 221.75 tokensmax: 256 tokensmin: 28 tokensmean: 59.19 tokensmax: 88 tokens
  • Samples:
    titlebodyreason
    Fight Leaves Wayne Simmonds ShirtlessReed Saxon/AP ImagesKevin Bieksa and Wayne Simmonds dropped the gloves just 95 seconds into last night’s 4-3 Ducks shootout win over the Flyers, and Bieksa immediately yanked his opponent’s jersey over his head, to the delight of the crowd and to grins from Simmonds and the officials.That’s not supposed to happen. NHL players wear something called a fight strap, which binds the back of the jersey to the pants, preventing the jersey from being pulled off. (Losing a jersey is an advantage in a fight, as it gives the shirtless player’s opponent nothing to grab on to. Sabres enforcer Rob Ray was notorious for losing his gear in a fight, occasionally taking it off himself before clinching.) Any player who engaged in a fight without wearing a fight strap is subject to an automatic game misconduct.AdvertisementSimmonds wasn’t ejected, though; at the one-minute mark of the video above, you can see he did have his fight strap properly attached. It just broke, which happens on occasion.The article describes a hockey fight involving Wayne Simmonds, confirming the title's claim. It details the fight, including Simmonds' jersey being pulled off, and explains the rules and context around the incident, directly elaborating on the event suggested by the title.
    Merck CEO Kenneth Frazier ditches Trump over Charlottesville silenceMerck CEO Kenneth C. Frazier resigned from the president’s council on manufacturing Monday in direct protest of President Donald Trump’s lack of condemnation of white nationalist actions in Charlottesville, Va. over the weekend.In a statement, Frazier, who is African-American, said he believes the country’s strength comes from the diversity of its citizens and that he feels personally compelled to stand up for that diversity and against intolerance.“America’s leaders must honor our fundamental values by clearly rejecting expressions of hatred, bigotry and group supremacy, which run counter to the American ideal that all people are created equal,” he wrote. “As CEO of Merck, and as a matter of personal conscience, I feel a responsibility to take a stand against intolerance and extremism.”RELATED: At least one death has been confirmed after a car plowed into a crowd of protesters in CharlottesvilleTrump immediately fired back at Frazier on Twitter, saying the Merck CEO now “will have...The second text provides a detailed elaboration of the first. It explains the context of Kenneth Frazier's resignation, the reasons behind it (Trump's silence on Charlottesville), and includes Frazier's statement. It also provides additional background information about Frazier and the President's Manufacturing Council.
    Lightning's Braydon Coburn: Joining road tripCoburn (lower body) will travel with the team on its upcoming four-game road trip and is hoping to play at some point in the second half of the trip, Bryan Burns of the Lightning's official site reports.The veteran blueliner is yet to play in the month of December, having already missed four games. However, the fact that Coburn is traveling with the team and has been given a chance to play at some point within the next week will be music to the ears of fantasy owners who benefited from Coburn's surprising production -- seven points in 25 games -- earlier in the season. Keep an eye out for updates as the trip progresses.The second text elaborates on the first by providing details about Braydon Coburn's situation. It specifies that he will join the team on a road trip and offers context about his injury, recovery timeline, and potential for playing, directly expanding on the initial announcement.
  • Loss: ReasoningGuidedRankingLoss with these parameters:
    {
        "scale": 20.0,
        "similarity_fct": "cos_sim"
    }
    

reason_reddit

  • Dataset: reason_reddit at 2fd69ee
  • Size: 41,703 training samples
  • Columns: title, body, and reason
  • Approximate statistics based on the first 1000 samples:
    titlebodyreason
    typestringstringstring
    detailsmin: 6 tokensmean: 18.82 tokensmax: 69 tokensmin: 16 tokensmean: 126.63 tokensmax: 256 tokensmin: 42 tokensmean: 59.32 tokensmax: 84 tokens
  • Samples:
    titlebodyreason
    The one feature the iPad is really missing.I don't care about the lack of camera. I never use the one on my MacBook, and even if I did the angle would be terrible on the iPad.I don't care if third party apps can't run in the background. I don't listen to streaming music.I don't care that the App Store is a closed system. I can jailbreak for myself and I think the closed system works better for most users.The one feature I want is User Accounts and a Guest Account. If this device is meant to be a coffee table computer, it needs to be able to accomadate multiple users.The second text identifies the missing feature from the iPad as user accounts and a guest account. The first sentence in the second text sets up a contrast by stating what the author doesn't care about. The final sentence directly addresses the prompt by stating the feature the author does want.
    Dear Sydney Reddit'ers, Would you like any changes made to the style of this subreddit?I was going to subtly edit the style of the Sydney subreddit but then I found this post and realised that people have very strong opinions about how their reddit should look. So before I make any changes do you have any opinions or suggestions?The second text directly responds to the question in the first text. It acknowledges the query about subreddit style changes and seeks further input from the community before making any modifications. It demonstrates an understanding of the original post's intent and a willingness to engage with user preferences.
    I skipped bail, ran away, and never got caught. AM(A)A.Long/short story, I went to work in the United States in the last 90s and was busted in a major drug raid. I risked up to lifetime in jail if caught since I was associated with so many crimes; at the bare minimum, said my attorney, I was looking at 7 years in jail, and much more likely more than this.My attorney said I was in a lot of trouble. He was the first to bring it up. I did not want to lose 10, 15 or 25 years of my life in jail, especially at my age. Since I was not a United States citizen, I should simply skip bail and run away. And never come back.My bail was initially supposed to be $300,000 but my attorney managed to get the judge to set a final bail of $100,000. He explained I was a trustworthy person, lawfully employed, who never did anything wrong and never committed any crime. He portrayed me as someone trustworthy and intelligent who could take care of his responsibilities. The judge agreed and decided on a very low bail, especially for the crimes I was accused of....The second text provides a detailed account of the events summarized in the first text. It elaborates on the circumstances of skipping bail, running away, and avoiding capture, offering specific details about the legal situation, the escape plan, and the aftermath. The AMAA at the end indicates the user is open to questions about the story.
  • Loss: ReasoningGuidedRankingLoss with these parameters:
    {
        "scale": 20.0,
        "similarity_fct": "cos_sim"
    }
    

reason_s2orc

  • Dataset: reason_s2orc at 4d04170
  • Size: 96,205 training samples
  • Columns: title, body, and reason
  • Approximate statistics based on the first 1000 samples:
    titlebodyreason
    typestringstringstring
    detailsmin: 6 tokensmean: 19.26 tokensmax: 75 tokensmin: 17 tokensmean: 138.29 tokensmax: 256 tokensmin: 47 tokensmean: 67.13 tokensmax: 107 tokens
  • Samples:
    titlebodyreason
    Syntheses, Structures and Properties of Two Transition Metal-Flexible Ligand Coordination PolymersTwo coordination polymers based on 3,5-bis(4-carboxyphenylmethyloxy) benzoic acid (H3L), [M(HL)]·2H2O M = Mn(1), Co(2), have been synthesized under hydrothermal conditions. Their structures have been determined by single-crystal X-ray diffraction and further characterized by elemental analysis, IR spectra and TGA. The two complexes possess 3D framework with diamond channels resulting from the trans-configuration of the flexible ligand and three coordination modes, 3(η2, η1), 2(η1, η1), η1, of carboxyl groups in the ligand. The framework can be represented with Schlafli symbol of (48·66)(47·66). The wall of the channel consists of left- or right-handed helical polymeric chains. UV–visible–NIR and photoluminescence spectra, magnetic properties of 1 and 2 have also been discussed.The second text elaborates on the title by detailing the synthesis, structure, and properties of two specific transition metal coordination polymers. It provides the chemical formula, synthesis method, structural characteristics (3D framework, channels), and characterization techniques (X-ray diffraction, IR spectra, etc.) mentioned in the title.
    Discussion on the Influence and Development of Technical Aesthetics in Modern Landscape DesignThe source of technical aesthetics was introduced and its meaning was explained.The relations between technical aesthetics and modern landscpae design were discussed.The embodiment of technical aesthetics in landscpae design was discussed in the aspects of new material,new technology,new structureand new apparatus.It was put forward that the the development direction of technical aesthetics were tending to sensibility, native land and zoology.The second text directly addresses the topic introduced in the first text. It explores the meaning, application, and future directions of technical aesthetics within modern landscape design, elaborating on the influence and development mentioned in the title.
    GRIN optics for dual-band IR sensors (Conference Presentation)Graded index (GRIN) optics offer potential for both weight savings and increased performance but have until recently been limited to visible and NIR bands (wavelengths shorter than about 0.9 µm). NRL has developed glass-based IR-GRIN lenses compatible with SWIR-LWIR wavebands. Recent designs show the potential for significant SWaP reduction benefits and improved performance using IR-GRIN lens elements in dual-band, MWIR-LWIR sensors. The SWaP and performance advantages of IR-GRIN lenses in platform-relevant dual-band imagers will be presented.The second text elaborates on the first by providing a detailed description of GRIN optics, specifically for dual-band IR sensors. It explains the potential benefits (weight savings, increased performance) and highlights the development of IR-GRIN lenses compatible with SWIR-LWIR wavebands, aligning directly with the conference presentation topic.
  • Loss: ReasoningGuidedRankingLoss with these parameters:
    {
        "scale": 20.0,
        "similarity_fct": "cos_sim"
    }
    

Training Hyperparameters

Non-Default Hyperparameters

  • eval_strategy: steps
  • per_device_train_batch_size: 128
  • learning_rate: 5e-06
  • num_train_epochs: 1
  • warmup_ratio: 0.2
  • fp16: True
  • batch_sampler: no_duplicates

All Hyperparameters

  • overwrite_output_dir: False
  • do_predict: False
  • eval_strategy: steps
  • prediction_loss_only: True
  • per_device_train_batch_size: 128
  • per_device_eval_batch_size: 8
  • 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-06
  • weight_decay: 0.0
  • adam_beta1: 0.9
  • adam_beta2: 0.999
  • adam_epsilon: 1e-08
  • max_grad_norm: 1.0
  • num_train_epochs: 1
  • max_steps: -1
  • lr_scheduler_type: linear
  • lr_scheduler_kwargs: {}
  • warmup_ratio: 0.2
  • 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}
  • tp_size: 0
  • 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: no_duplicates
  • multi_dataset_batch_sampler: proportional

Training Logs

EpochStepTraining Lossmteb/nfcorpus_cosine_ndcg@10mteb/trec-covid_cosine_ndcg@10mteb/fiqa_cosine_ndcg@10mteb/quora_cosine_ndcg@10
-1-1-0.37140.83850.38310.8889
0.0070100.9492----
0.0140200.9799----
0.0210300.84----
0.0280400.9555----
0.0350500.92920.36950.84010.38400.8892
0.0420601.1549----
0.0490700.8573----
0.0559800.5784----
0.0629900.7275----
0.06991000.47920.37660.84570.38860.8887
0.07691100.6293----
0.08391200.5167----
0.09091300.3838----
0.09791400.3458----
0.10491500.48970.37390.84940.38660.8876
0.11191600.3124----
0.11891700.4367----
0.12591800.3565----
0.13291900.2646----
0.13992000.20.37570.85080.38520.8860
0.14692100.2051----
0.15382200.1248----
0.16082300.2398----
0.16782400.1599----
0.17482500.32510.37430.85270.38400.8840
0.18182600.263----
0.18882700.2523----
0.19582800.2156----
0.20282900.1587----
0.20983000.19770.37770.85570.38590.8830
0.21683100.1544----
0.22383200.1301----
0.23083300.1178----
0.23783400.1084----
0.24483500.17840.38000.85400.38600.8821
0.25173600.1541----
0.25873700.0982----
0.26573800.1897----
0.27273900.117----
0.27974000.18060.37850.84580.38610.8818
0.28674100.1258----
0.29374200.1249----
0.30074300.1987----
0.30774400.1512----
0.31474500.16460.38170.84220.38290.8814
0.32174600.1322----
0.32874700.1464----
0.33574800.1488----
0.34274900.1033----
0.34975000.12090.38250.84350.38270.8812

Framework Versions

  • Python: 3.10.12
  • Sentence Transformers: 3.5.0.dev0
  • Transformers: 4.50.0
  • PyTorch: 2.6.0+cu124
  • Accelerate: 1.5.2
  • Datasets: 2.21.0
  • Tokenizers: 0.21.1

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

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

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

GPU в ailist

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

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

Подбираем GPU…

Класс архитектуры
BertModel
Ревизия весов
9ac1253

0 моделей