/ Модель

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

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

arcanumchat-retriever-bge-m3-v2

ЭмбеддингиТекст → embedding11 профессий
22скачиваний за 30 дней0лайковвеса обновлены26 окт 2026

Описание модели

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

Дообученная на BAAI/bge-m3 модель Sentence Transformer для семантического поиска и сравнения текстов по плотным эмбеддингам.

Это Sentence Transformer, дообученный автором pameydorke на базе BAAI/bge-m3 для получения плотных векторных представлений текста. Модель использует XLM-RoBERTa с объединением CLS-токена и нормализацией эмбеддинга, формирует векторы размерности 1024 и сравнивает их косинусным сходством. Максимальная длина входа — 8192 токена.

Модель предназначена для семантического поиска и оценки сходства текстов; также её можно применять для поиска перефразировок, кластеризации и классификации на основе эмбеддингов. README приводит результаты оценки на наборе val-hard-negatives, но не описывает конкретную предметную область или целевой язык. Обучающий набор содержит 18 170 примеров с якорными, положительными и отрицательными текстами. Лицензия в предоставленных данных не указана.

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

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

Ограничения

Модель предназначена для текстовых входов и выдаёт плотные векторы, а не готовые ответы на вопросы. В предоставленной карточке не названы целевые языки или лицензия.

Публичные бенчмарки

Результаты из открытых лидербордов в сравнении с лидерами каталога

Публичных оценок пока нет

В подключённых источниках результатов этой модели не нашлось. Отсутствие оценки не значит, что модель хуже: её могли просто не проверять.

Источники: Hugging Face Leaderboards, Hugging Face Eval Results, Open LLM v2, MTEB, timm, Open ASR, EvalPlus, LLM Stats

Бенчмарки пользователейпока нет

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

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

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

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

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

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

    Модели ответят на каждую задачу, судья оценит ответы по шкале 0–100.

Для каких профессий подходит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 inputs to a 1024-dimensional dense vector space and can be used for semantic textual similarity, semantic search, paraphrase mining, 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
  • Supported Modality: Text

Model Sources

Full Model Architecture

SentenceTransformer(
  (0): Transformer({'transformer_task': 'feature-extraction', 'modality_config': {'text': {'method': 'forward', 'method_output_name': 'last_hidden_state'}}, 'module_output_name': 'token_embeddings', 'architecture': 'XLMRobertaModel'})
  (1): Pooling({'embedding_dimension': 1024, 'pooling_mode': 'cls', 'include_prompt': True})
  (2): Normalize({'module_input_name': 'sentence_embedding', 'module_output_name': 'sentence_embedding'})
)

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("pameydorke/arcanumchat-retriever-bge-m3-v2")
# Run inference
queries = [
    'bestiary characters items list',
]
documents = [
    'Databases. Databases. Bestiary. Endings. Characters. Items. Locations. Races. Schematics. Skills. Spell Colleges. Technological Disciplines',
    "Character background. Child of a Hero. Character background. Child of a Hero. Available to all. You start with your father's +1 sword and are known throughout the land as a child of a Hero. Therefore you will incur terrible negative reaction for any evil act. Bad Reaction Adjustment x2 / Enchanted Sword",
    'Mystick Menagerie. Mystick Menagerie. The Mystick Menagerie is a magickal items shop in Caladon, run by a shop clerk. Gallery. TBA. See also. Enchanted Panoply - Shop with magickal smith items in Caladon. Magick shops',
]
query_embeddings = model.encode_query(queries)
document_embeddings = model.encode_document(documents)
print(query_embeddings.shape, document_embeddings.shape)
# [1, 1024] [3, 1024]

# Get the similarity scores for the embeddings
similarities = model.similarity(query_embeddings, document_embeddings)
print(similarities)
# tensor([[0.4318, 0.0171, 0.0138]])

Evaluation

Metrics

Information Retrieval

MetricValue
cosine_accuracy@10.8182
cosine_accuracy@30.9388
cosine_accuracy@50.9666
cosine_accuracy@100.9777
cosine_precision@10.8182
cosine_precision@30.3129
cosine_precision@50.1933
cosine_precision@100.0978
cosine_recall@10.8182
cosine_recall@30.9388
cosine_recall@50.9666
cosine_recall@100.9777
cosine_ndcg@100.9038
cosine_mrr@100.8793
cosine_map@1000.8806

Training Details

Training Dataset

Unnamed Dataset

  • Size: 18,170 training samples
  • Columns: anchor, positive, and negative
  • Approximate statistics based on the first 100 samples:
    anchorpositivenegative
    typestringstringstring
    modalitytexttexttext
    detailsmin: 6 tokensmean: 8.73 tokensmax: 11 tokensmin: 51 tokensmean: 324.69 tokensmax: 879 tokensmin: 13 tokensmean: 409.05 tokensmax: 1008 tokens
  • Samples:
    anchorpositivenegative
    turn target into liquidBody of Water. Body of Water. Body of Water is the fourth spell in the college of Water. Uses. This spell transforms the body of a target into Water and liquid, making the target slow, but resistant to attack. When cast on a target, all equipped items are moved into the target's inventory (or dropped to the ground if inventory becomes full). Limitations. The player or their followers lose all bonuses from formally equipped items. Additional Sources. Scrolls are sold in Magick Shops. Mechanics. For NPC targets: Unequipping includes "hidden" items that sometimes are not normally shown in an NPC's body or inventory screen. Thus it makes pickpocketing possible for hidden items. It also makes pickpocketing easier for other items that were previously equipped. Casting this spell on an NPC will not cause them to become hostile. For the player and party members: The target receives -5 speed, DR is set to 95, PR to 30, and ER to 90 Thus the target becomes more difficult to hit and much more dif...The Gem of Water Purification. The Gem of Water Purification. An acolyte of V’ed Eckes was sent out to receive a water gem and has returned wearing technological armor. V’ed Eckes wants you to get the gem. Possible solutions :. Pick pocket gem Kill him Convince him that he no longer belongs there and he will give it to you. An interesting discussion, very much a reference to Fallout :)
    turn target into liquidBody of Water. Body of Water. Body of Water is the fourth spell in the college of Water. Uses. This spell transforms the body of a target into Water and liquid, making the target slow, but resistant to attack. When cast on a target, all equipped items are moved into the target's inventory (or dropped to the ground if inventory becomes full). Limitations. The player or their followers lose all bonuses from formally equipped items. Additional Sources. Scrolls are sold in Magick Shops. Mechanics. For NPC targets: Unequipping includes "hidden" items that sometimes are not normally shown in an NPC's body or inventory screen. Thus it makes pickpocketing possible for hidden items. It also makes pickpocketing easier for other items that were previously equipped. Casting this spell on an NPC will not cause them to become hostile. For the player and party members: The target receives -5 speed, DR is set to 95, PR to 30, and ER to 90 Thus the target becomes more difficult to hit and much more dif...Body of Stone. Body of Stone. Body of Earth is the fourth spell in the college of Earth. Uses. This spell transforms the body of a target into earth and stone, making the target slow, but strong and resistant to attack. When cast on a target, all equipped items are moved into the target's inventory (or dropped to the ground if inventory becomes full). Limitations. The player or their followers lose all bonuses from formally equipped items. Additional Sources. Scrolls are sold in Magick Shops. Mechanics. For NPC targets: Unequipping includes "hidden" items that sometimes are not normally shown in an NPC's body or inventory screen. Thus it makes pickpocketing possible for hidden items. It also makes pickpocketing easier for other items that were previously equipped. Casting this spell on an NPC will not cause them to become hostile. For the player and party members: The target receives +10 Strength, -5 speed, +11 FR, DR is set to 50, and PR is set to 90. Thus the target becomes more diff...
    turn target into liquidBody of Water. Body of Water. Body of Water is the fourth spell in the college of Water. Uses. This spell transforms the body of a target into Water and liquid, making the target slow, but resistant to attack. When cast on a target, all equipped items are moved into the target's inventory (or dropped to the ground if inventory becomes full). Limitations. The player or their followers lose all bonuses from formally equipped items. Additional Sources. Scrolls are sold in Magick Shops. Mechanics. For NPC targets: Unequipping includes "hidden" items that sometimes are not normally shown in an NPC's body or inventory screen. Thus it makes pickpocketing possible for hidden items. It also makes pickpocketing easier for other items that were previously equipped. Casting this spell on an NPC will not cause them to become hostile. For the player and party members: The target receives -5 speed, DR is set to 95, PR to 30, and ER to 90 Thus the target becomes more difficult to hit and much more dif...Create Undead. Create Undead. Work in Progress. Create Undead
  • Loss: GISTEmbedLoss with these parameters:
    {
        "guide": "SentenceTransformer('sentence-transformers/all-MiniLM-L6-v2')",
        "temperature": 0.07,
        "margin_strategy": "absolute",
        "margin": 0.0,
        "contrast_anchors": true,
        "contrast_positives": true,
        "gather_across_devices": false
    }
    

Evaluation Dataset

Unnamed Dataset

  • Size: 2,156 evaluation samples
  • Columns: anchor, positive, and negative
  • Approximate statistics based on the first 100 samples:
    anchorpositivenegative
    typestringstringstring
    modalitytexttexttext
    detailsmin: 5 tokensmean: 8.27 tokensmax: 12 tokensmin: 20 tokensmean: 303.92 tokensmax: 803 tokensmin: 51 tokensmean: 393.05 tokensmax: 941 tokens
  • Samples:
    anchorpositivenegative
    arcana fist damage spellsOriginal Post: Most optimized brawler build. As title asks: how would you build a character with primary damage is their fists.My working thought is half-orc, half-orge or orge (if using unofficial patch with additional content). Traditional melee build though with early emphasis on strength given how slow fists can be.Now my dilemma is either staying purely neutral as the best gauntlets (for fist damage) are tech. However, there are spells that can improve fist damage such as harden fist spell and later elemental spells (which would require significant investment into Willpower)Thoughts? User 1: Tech is super fun, but Magick is super powerful. I played 3 melee type builds from start to finish: pure neutral maxed melee, teched-out maxed melee and magick maxed melee. Not unarmed, but melee nonetheless. Neutral is what you would except it to be in the game, any companion can easily support it as maxed melee is a monster regardless. Tech, obviously super fun, plenty of cool tech wea...Original Post: Arcanum on steam deck? User 1: Good evening, Don't know if this is still of interest to somebody. I bought my steam deck recently and being a +15years Arcanum lover as with all my new devices this one too had to run Arcanum smoothly for me to feel alright. With the help of what was written in previous comments I was able to find a way to apply the Unofficial Arcanum patch 2.02 and play the game DECENTLY AS INTENDED, here is how: Desktop Mode - Start by copying the game folder from steamapps/common/ folder to your document folder in dolphin - open steam and add the unofficial patch.exe that you previously downloaded as a non steam game. Once set use the properties button to force start this .exe with protongGE. - run the unofficial patch.exe on steam and when prompted by the popup window browse for a new path to the folder that you now have in the documents, select the arcanum folder inside the arcanum folder....it is what it is ( meaning you should have a path ending a...
    arcana fist damage spellsOriginal Post: Most optimized brawler build. As title asks: how would you build a character with primary damage is their fists.My working thought is half-orc, half-orge or orge (if using unofficial patch with additional content). Traditional melee build though with early emphasis on strength given how slow fists can be.Now my dilemma is either staying purely neutral as the best gauntlets (for fist damage) are tech. However, there are spells that can improve fist damage such as harden fist spell and later elemental spells (which would require significant investment into Willpower)Thoughts? User 1: Tech is super fun, but Magick is super powerful. I played 3 melee type builds from start to finish: pure neutral maxed melee, teched-out maxed melee and magick maxed melee. Not unarmed, but melee nonetheless. Neutral is what you would except it to be in the game, any companion can easily support it as maxed melee is a monster regardless. Tech, obviously super fun, plenty of cool tech wea...Original Post: Nonsensical fatigue consumption. Magic seems to cost more or less fatigue than advertised in spell descriptions, specially things like harm which vary from costing 6-7 fatigue points to low as four points. Actually consuming five points is a rare occasion. I was not holding or casting other spells to account for maintenance, attacking or doing anything else that I am aware that consumes fatigue in the same turn and yet the spell amount apparently varies.Is there some obscure rule that I am not aware of or is that another Arcanum bug? User 1: The combat log should tell you, I haven’t played in a while but from memory there are a lot of mundane actions that will use fatigue. User 2: If any of your actions spend red dots, not just green - this will consume some fatigue. Make some fatigue limiters and forget about dangerous fatigue consumption almost entirely. And for emergencies have some crafted fatigue restorers as well. Yes mages can use them. Don't remember about apt ...
    arcana fist damage spellsOriginal Post: Most optimized brawler build. As title asks: how would you build a character with primary damage is their fists.My working thought is half-orc, half-orge or orge (if using unofficial patch with additional content). Traditional melee build though with early emphasis on strength given how slow fists can be.Now my dilemma is either staying purely neutral as the best gauntlets (for fist damage) are tech. However, there are spells that can improve fist damage such as harden fist spell and later elemental spells (which would require significant investment into Willpower)Thoughts? User 1: Tech is super fun, but Magick is super powerful. I played 3 melee type builds from start to finish: pure neutral maxed melee, teched-out maxed melee and magick maxed melee. Not unarmed, but melee nonetheless. Neutral is what you would except it to be in the game, any companion can easily support it as maxed melee is a monster regardless. Tech, obviously super fun, plenty of cool tech wea...Original Post: A question for those who have PLAYED the Arcanum Demo.. I have asked this twice now, and both times I have failed to ask properly. Apologies for that, and fingers crossed that three times is the charm that I get it right this time:1) I am hoping that people who have PLAYED the official demo "Arcanum Version 55 {3-13-01)" will reply with their experience playing it. 2) I am hoping to know if they PLAYED it before and/or after the full version 3) And if they found anything notable about their PLAYING experience And now to answer all other comments and questions that have been somehow implied in my first two attempts? * Yes, I own the full version, and on original disk * Yes, I am fully patched to 1.0.7.4 * No, I don't wish the Steam or GoG version as well * Yes, I have tried other mods (all of them) * Yes, I have (and know where to get) the official demo version "Arcanum Version 55 {3-13-01)" * No, I don't wish a...
  • Loss: GISTEmbedLoss with these parameters:
    {
        "guide": "SentenceTransformer('sentence-transformers/all-MiniLM-L6-v2')",
        "temperature": 0.07,
        "margin_strategy": "absolute",
        "margin": 0.0,
        "contrast_anchors": true,
        "contrast_positives": true,
        "gather_across_devices": false
    }
    

Training Hyperparameters

Non-Default Hyperparameters

  • per_device_train_batch_size: 16
  • num_train_epochs: 1
  • warmup_steps: 0.1
  • gradient_accumulation_steps: 2
  • per_device_eval_batch_size: 16
  • eval_on_start: True
  • load_best_model_at_end: True
  • batch_sampler: no_duplicates

All Hyperparameters

  • per_device_train_batch_size: 16
  • num_train_epochs: 1
  • max_steps: -1
  • learning_rate: 5e-05
  • lr_scheduler_type: linear
  • lr_scheduler_kwargs: None
  • warmup_steps: 0.1
  • optim: adamw_torch_fused
  • optim_args: None
  • weight_decay: 0.0
  • adam_beta1: 0.9
  • adam_beta2: 0.999
  • adam_epsilon: 1e-08
  • optim_target_modules: None
  • gradient_accumulation_steps: 2
  • average_tokens_across_devices: True
  • max_grad_norm: 1.0
  • label_smoothing_factor: 0.0
  • bf16: False
  • fp16: False
  • bf16_full_eval: False
  • fp16_full_eval: False
  • tf32: None
  • gradient_checkpointing: False
  • gradient_checkpointing_kwargs: None
  • torch_compile: False
  • torch_compile_backend: None
  • torch_compile_mode: None
  • use_liger_kernel: False
  • liger_kernel_config: None
  • use_cache: False
  • neftune_noise_alpha: None
  • torch_empty_cache_steps: None
  • auto_find_batch_size: False
  • log_on_each_node: True
  • logging_nan_inf_filter: True
  • include_num_input_tokens_seen: no
  • log_level: passive
  • log_level_replica: warning
  • disable_tqdm: False
  • project: huggingface
  • trackio_space_id: None
  • trackio_bucket_id: None
  • trackio_static_space_id: None
  • per_device_eval_batch_size: 16
  • prediction_loss_only: True
  • eval_on_start: True
  • eval_do_concat_batches: True
  • eval_use_gather_object: False
  • eval_accumulation_steps: None
  • include_for_metrics: []
  • batch_eval_metrics: False
  • save_only_model: False
  • save_on_each_node: False
  • enable_jit_checkpoint: False
  • push_to_hub: False
  • hub_private_repo: None
  • hub_model_id: None
  • hub_strategy: every_save
  • hub_always_push: False
  • hub_revision: None
  • load_best_model_at_end: True
  • ignore_data_skip: False
  • restore_callback_states_from_checkpoint: False
  • full_determinism: False
  • seed: 42
  • data_seed: None
  • use_cpu: 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
  • dataloader_drop_last: False
  • dataloader_num_workers: 0
  • dataloader_pin_memory: True
  • dataloader_persistent_workers: False
  • dataloader_prefetch_factor: None
  • dataloader_multiprocessing_context: None
  • dataloader_in_order: True
  • remove_unused_columns: True
  • label_names: None
  • train_sampling_strategy: random
  • length_column_name: length
  • ddp_find_unused_parameters: None
  • ddp_bucket_cap_mb: None
  • ddp_broadcast_buffers: False
  • ddp_static_graph: None
  • ddp_backend: None
  • ddp_timeout: 1800
  • fsdp: None
  • fsdp_config: None
  • deepspeed: None
  • debug: []
  • skip_memory_metrics: True
  • do_predict: False
  • resume_from_checkpoint: None
  • local_rank: -1
  • prompts: None
  • batch_sampler: no_duplicates
  • multi_dataset_batch_sampler: proportional
  • router_mapping: {}
  • learning_rate_mapping: {}
  • warmup_ratio: None

Training Logs

EpochStepTraining LossValidation Lossval-hard-negatives_cosine_ndcg@10
00-1.93550.8946
0.17611000.74470.45460.8974
0.35212000.35670.40330.9027
0.52823000.24880.34060.9052
0.70424000.15790.3320.9086
0.88035000.12250.33810.9057
1.0568-0.34280.9038
  • The bold row denotes the saved checkpoint.

Training Time

  • Training: 3.3 hours

Framework Versions

  • Python: 3.13.16
  • Sentence Transformers: 6.2.0
  • Transformers: 5.20.2
  • PyTorch: 2.11.0+cu130
  • Accelerate: 1.15.0
  • Datasets: 4.8.5
  • Tokenizers: 0.23.3

Additional Resources

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

GISTEmbedLoss

@misc{solatorio2024gistembed,
    title={GISTEmbed: Guided In-sample Selection of Training Negatives for Text Embedding Fine-tuning},
    author={Aivin V. Solatorio},
    year={2024},
    eprint={2402.16829},
    archivePrefix={arXiv},
    primaryClass={cs.LG}
}

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

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

GPU в ailist

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

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

Подбираем GPU…

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

0 моделей