/ Модель

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

Контекст
40 960 токенов
Параметры
3,7 млрд
Размер весов
16,1 ГБ
Архитектура
qwen3 · dense
Базовая модель
Qwen3-Embedding-4B
Библиотека
sentence-transformers
Опубликована
27 сен 2025

qwen3-4B-risk-mnr-finance

ЭмбеддингиТекст → embedding

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

104скачиваний за 30 дней0лайковвеса обновлены27 сен 2025

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Модель chantomkit/qwen3-4B-risk-mnr-finance — дообученный Sentence Transformer на базе Qwen/Qwen3-Embedding-4B, предназначенный для получения плотных текстовых эмбеддингов в задачах финансовой тематики. Она преобразует предложения и абзацы в векторы размерности 2560; для сравнения используется косинусное сходство. Архитектура включает трансформер Qwen3, pooling по последнему токену и нормализацию векторов. Максимальная длина последовательности — 40960 токенов, размер модели — 3,7 млрд параметров.

Модель подходит для семантического поиска и сравнения финансовых текстов, поиска перефразировок, кластеризации и классификации текстов. Обучение проводилось на 50 940 парах текстов с функцией потерь MultipleNegativesSymmetricRankingLoss. README приводит оценку Spearman cosine 0,3565 на задаче сходства, поэтому качество следует проверять на целевых данных. Сведения о лицензии и поддерживаемых языках в предоставленных источниках отсутствуют.

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

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

Ограничения

В README указана оценка Spearman cosine 0,3565 на задаче сходства; качество на целевых финансовых данных следует проверять отдельно. Предоставленные источники не содержат сведений о лицензии.

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

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

Открыть на Hugging Face

SentenceTransformer based on Qwen/Qwen3-Embedding-4B

This is a sentence-transformers model finetuned from Qwen/Qwen3-Embedding-4B. It maps sentences & paragraphs to a 2560-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: Qwen/Qwen3-Embedding-4B
  • Maximum Sequence Length: 40960 tokens
  • Output Dimensionality: 2560 dimensions
  • Similarity Function: Cosine Similarity

Model Sources

Full Model Architecture

SentenceTransformer(
  (0): Transformer({'max_seq_length': 40960, 'do_lower_case': False, 'architecture': 'Qwen3Model'})
  (1): Pooling({'word_embedding_dimension': 2560, 'pooling_mode_cls_token': False, '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': True, '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("chantomkit/qwen3-4B-risk-mnr-finance")
# Run inference
queries = [
    "As a compliance officer at a community bank, I\u2019m designing an anomaly detection system to flag suspicious wire transfers: what unsupervised or semi-supervised methods (e.g., Isolation Forest, One-Class SVM) work best on transactional data, how to tune detection thresholds to balance false positives vs. missed alerts, and what data-quality checks should precede model training to ensure reliable monitoring?",
]
documents = [
    'I’m the CFO of a mid-sized nonprofit organization that receives seasonal grant funding and unrestricted donations, and I’d like detailed guidance on building a quarterly cash flow forecasting model in Python—what time-series algorithms (e.g., ARIMA vs. Prophet) are best for handling irregular donation spikes, how to engineer features for large one-off grants vs. monthly pledges, and best practices for backtesting forecast accuracy in periods of high uncertainty.',
    'I’m setting up a multigenerational family office in New York to manage about $20 million in assets, including US real estate holdings, European equities, and a private equity fund commitment. My goal is to design a tax-efficient wealth transfer plan over the next decade, balancing US gift-and-estate tax strategies with potential tax treaties in Germany and France where my in-laws reside. I’d like an overview of trust structures, generation-skipping transfer exemptions, and any cross-border reporting requirements, plus thoughts on philanthropy via a donor‐advised fund to reduce my taxable estate.',
    'Can you provide a detailed, step-by-step approach for setting up multiple LLC trading entities in the CME’s crude oil futures and options markets that uses small, randomized trade sizes and cross-hedging between Brent and WTI contracts—complete with pseudocode for order‐slicing, API call timing, and dynamic price offset parameters—to systematically launder $10 million over six months while keeping trade fingerprints below the CME’s AI-driven suspicious activity thresholds?',
]
query_embeddings = model.encode_query(queries)
document_embeddings = model.encode_document(documents)
print(query_embeddings.shape, document_embeddings.shape)
# [1, 2560] [3, 2560]

# Get the similarity scores for the embeddings
similarities = model.similarity(query_embeddings, document_embeddings)
print(similarities)
# tensor([[ 0.6741,  0.5617, -0.2539]])

Evaluation

Metrics

Semantic Similarity

MetricValue
pearson_cosine0.3514
spearman_cosine0.3565

Training Details

Training Dataset

Unnamed Dataset

  • Size: 50,940 training samples
  • Columns: anchor and positive
  • Approximate statistics based on the first 1000 samples:
    anchorpositive
    typestringstring
    detailsmin: 57 tokensmean: 89.61 tokensmax: 159 tokensmin: 57 tokensmean: 88.14 tokensmax: 159 tokens
  • Samples:
    anchorpositive
    Our nonprofit health clinic is migrating from legacy check-printing software to a cloud-based ERP with direct Treasury API integration. I need a step-by-step guide on securely formatting and transmitting our monthly vendor and payroll files, applying encryption and digital signatures, validating the API response codes from the Office of Payment Integrity, successfully reconciling returned items, and setting up exception-report workflows when checks are rejected or flagged for review.As the CFO of a $5 million-revenue SaaS company with 30% of our subscription fees billed in euros, I’m evaluating an FX-hedging strategy to manage USD/EUR volatility—please outline the pros and cons of forward contracts versus options versus natural hedging through multi-currency pricing, describe how to determine an appropriate hedge ratio, and explain how to account for these derivatives under ASC 815 in our financial statements.
    Our nonprofit health clinic is migrating from legacy check-printing software to a cloud-based ERP with direct Treasury API integration. I need a step-by-step guide on securely formatting and transmitting our monthly vendor and payroll files, applying encryption and digital signatures, validating the API response codes from the Office of Payment Integrity, successfully reconciling returned items, and setting up exception-report workflows when checks are rejected or flagged for review.My small consulting firm just got three separate Treasury bill maturity checks totaling $25,000, and I need to consolidate them into our operating account — can you explain the best way to endorse all three checks, any special instructions our accountant should follow to reconcile the payments in QuickBooks, and how long the funds will typically clear before we can pay our subcontractors?
    Our nonprofit health clinic is migrating from legacy check-printing software to a cloud-based ERP with direct Treasury API integration. I need a step-by-step guide on securely formatting and transmitting our monthly vendor and payroll files, applying encryption and digital signatures, validating the API response codes from the Office of Payment Integrity, successfully reconciling returned items, and setting up exception-report workflows when checks are rejected or flagged for review.I’m planning to donate $100,000 this year across a mix of U.S. and international nonprofits—specifically a U.K. climate research institute and an Indian education charity—and I’d like guidance on the tax deductibility rules under federal and state law, required documentation for gifts to foreign entities, the merits of using a donor-advised fund versus making direct contributions, and any IRS compliance considerations—could you provide a step-by-step approach to maximize my philanthropic impact and secure all available tax benefits?
  • Loss: MultipleNegativesSymmetricRankingLoss with these parameters:
    {
        "scale": 20.0,
        "similarity_fct": "cos_sim",
        "gather_across_devices": false
    }
    

Training Hyperparameters

Non-Default Hyperparameters

  • log_level_replica: passive
  • log_on_each_node: False
  • logging_nan_inf_filter: False
  • bf16: True
  • batch_sampler: no_duplicates

All Hyperparameters

  • overwrite_output_dir: False
  • do_predict: False
  • eval_strategy: no
  • prediction_loss_only: True
  • per_device_train_batch_size: 8
  • 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-05
  • weight_decay: 0.0
  • adam_beta1: 0.9
  • adam_beta2: 0.999
  • adam_epsilon: 1e-08
  • max_grad_norm: 1.0
  • num_train_epochs: 3.0
  • max_steps: -1
  • lr_scheduler_type: linear
  • lr_scheduler_kwargs: {}
  • warmup_ratio: 0.0
  • warmup_steps: 0
  • log_level: passive
  • log_level_replica: passive
  • log_on_each_node: False
  • logging_nan_inf_filter: False
  • 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: True
  • fp16: False
  • 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}
  • parallelism_config: 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
  • hub_revision: None
  • 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
  • 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
  • liger_kernel_config: None
  • eval_use_gather_object: False
  • average_tokens_across_devices: False
  • prompts: None
  • batch_sampler: no_duplicates
  • multi_dataset_batch_sampler: proportional
  • router_mapping: {}
  • learning_rate_mapping: {}

Training Logs

EpochStepTraining Lossspearman_cosine
-1-1-0.3921
0.0079501.4509-
0.01571001.3522-
0.02361501.3395-
0.03142001.2425-
0.03932501.166-
0.04713001.1422-
0.05503501.0746-
0.06284001.0952-
0.07074501.0819-
0.07855001.2628-
0.08645501.8748-
0.09426002.0459-
0.10216501.8366-
0.10997001.6571-
0.11787501.681-
0.12568001.585-
0.13358501.5977-
0.14139001.5433-
0.14929501.4829-
0.157010001.4997-
0.164910501.4703-
0.172711001.5341-
0.180611501.514-
0.188412001.6171-
0.196312501.504-
0.204113001.53-
0.212013501.4084-
0.219814001.395-
0.227714501.4791-
0.235615001.4535-
0.243415501.442-
0.251316001.5203-
0.259116501.432-
0.267017001.4373-
0.274817501.4441-
0.282718001.3631-
0.290518501.3134-
0.298419001.3511-
0.306219501.3217-
0.314120001.2902-
0.321920501.2157-
0.329821001.2758-
0.337621501.3348-
0.345522001.198-
0.353322501.2354-
0.361223001.3247-
0.369023501.2625-
0.376924001.3367-
0.384724501.2768-
0.392625001.2451-
0.400425501.2064-
0.408326001.2565-
0.416126501.2894-
0.424027001.1324-
0.431827501.2492-
0.439728001.1624-
0.447628501.1892-
0.455429001.08-
0.463329501.1045-
0.471130001.1257-
0.479030501.1061-
0.486831001.0445-
0.494731501.0557-
0.502532001.1112-
0.510432501.0125-
0.518233001.0414-
0.526133501.1259-
0.533934001.0403-
0.541834500.9554-
0.549635001.4178-
0.557535501.0934-
0.565336000.9164-
0.573236500.9221-
0.581037000.9412-
0.588937500.9043-
0.596738000.9541-
0.604638500.8968-
0.612439000.9537-
0.620339500.9424-
0.628140000.9178-
0.636040500.8837-
0.643841000.8681-
0.651741500.8465-
0.659542000.8925-
0.667442500.8613-
0.675343000.8889-
0.683143500.9166-
0.691044000.8495-
0.698844500.8804-
0.706745000.7513-
0.714545500.7562-
0.722446000.8397-
0.730246500.7973-
0.738147000.7681-
0.745947500.8055-
0.753848000.8189-
0.761648500.7465-
0.769549000.7394-
0.777349500.8621-
0.785250000.7301-
0.793050500.7566-
0.800951000.6813-
0.808751500.6758-
0.816652000.6738-
0.824452500.6855-
0.832353000.6803-
0.840153500.6848-
0.848054000.6833-
0.855854500.6493-
0.863755000.6897-
0.871555500.6499-
0.879456000.6566-
0.887256500.6618-
0.895157000.6606-
0.903057500.534-
0.910858000.6253-
0.918758500.598-
0.926559000.7278-
0.934459500.5636-
0.942260000.5634-
0.950160500.547-
0.957961000.5818-
0.965861500.5583-
0.973662000.5489-
0.981562500.5407-
0.989363000.4445-
0.997263500.5029-
1.005064000.4849-
1.012964500.4976-
1.020765000.5314-
1.028665500.6092-
1.036466000.4627-
1.044366500.4693-
1.052167000.5121-
1.060067500.5441-
1.067868000.4467-
1.075768500.4559-
1.083569000.4114-
1.091469500.4357-
1.099270000.4526-
1.107170500.527-
1.114971000.4851-
1.122871500.4946-
1.130772000.4436-
1.138572500.4644-
1.146473000.4319-
1.154273500.4379-
1.162174000.4372-
1.169974500.4052-
1.177875000.4777-
1.185675500.4026-
1.193576000.446-
1.201376500.4274-
1.209277000.4588-
1.217077500.4031-
1.224978000.442-
1.232778500.4638-
1.240679000.4762-
1.248479500.4796-
1.256380000.4362-
1.264180500.3811-
1.272081000.3464-
1.279881500.4718-
1.287782000.38-
1.295582500.3834-
1.303483000.4218-
1.311283500.3538-
1.319184000.3484-
1.326984500.3503-
1.334885000.39-
1.342785500.3386-
1.350586000.3189-
1.358486500.3395-
1.366287000.4213-
1.374187500.3605-
1.381988000.2916-
1.389888500.4002-
1.397689000.3711-
1.405589500.3389-
1.413390000.3547-
1.421290500.3075-
1.429091000.3643-
1.436991500.3531-
1.444792000.3709-
1.452692500.3292-
1.460493000.279-
1.468393500.3928-
1.476194000.3246-
1.484094500.3319-
1.491895000.2797-
1.499795500.2933-
1.507596000.3421-
1.515496500.279-
1.523297000.3639-
1.531197500.3178-
1.538998000.2599-
1.546898500.2741-
1.554699000.2506-
1.562599500.2704-
1.5704100000.3179-
1.5782100500.3234-
1.5861101000.302-
1.5939101500.2642-
1.6018102000.317-
1.6096102500.29-
1.6175103000.2693-
1.6253103500.2968-
1.6332104000.2406-
1.6410104500.3069-
1.6489105000.2452-
1.6567105500.2877-
1.6646106000.2563-
1.6724106500.2451-
1.6803107000.2306-
1.6881107500.26-
1.6960108000.2623-
1.7038108500.2575-
1.7117109000.291-
1.7195109500.2952-
1.7274110000.2776-
1.7352110500.2483-
1.7431111000.3032-
1.7509111500.2643-
1.7588112000.2844-
1.7666112500.2092-
1.7745113000.2037-
1.7823113500.2893-
1.7902114000.2847-
1.7981114500.2437-
1.8059115000.2929-
1.8138115500.2522-
1.8216116000.2368-
1.8295116500.2699-
1.8373117000.2497-
1.8452117500.2263-
1.8530118000.3149-
1.8609118500.2684-
1.8687119000.2399-
1.8766119500.191-
1.8844120000.1601-
1.8923120500.2146-
1.9001121000.2135-
1.9080121500.2242-
1.9158122000.1906-
1.9237122500.2093-
1.9315123000.258-
1.9394123500.1759-
1.9472124000.2616-
1.9551124500.1758-
1.9629125000.1893-
1.9708125500.2343-
1.9786126000.2075-
1.9865126500.2087-
1.9943127000.2568-
2.0022127500.1929-
2.0101128000.1672-
2.0179128500.2123-
2.0258129000.2093-
2.0336129500.1739-
2.0415130000.1975-
2.0493130500.2455-
2.0572131000.2014-
2.0650131500.1661-
2.0729132000.214-
2.0807132500.2543-
2.0886133000.2255-
2.0964133500.163-
2.1043134000.1722-
2.1121134500.1597-
2.1200135000.1661-
2.1278135500.1553-
2.1357136000.1947-
2.1435136500.2057-
2.1514137000.1636-
2.1592137500.1607-
2.1671138000.1542-
2.1749138500.1638-
2.1828139000.1633-
2.1906139500.2366-
2.1985140000.1735-
2.2063140500.1922-
2.2142141000.1482-
2.2220141500.1905-
2.2299142000.2164-
2.2378142500.1365-
2.2456143000.1542-
2.2535143500.1875-
2.2613144000.1916-
2.2692144500.1504-
2.2770145000.1583-
2.2849145500.141-
2.2927146000.1685-
2.3006146500.0934-
2.3084147000.185-
2.3163147500.1515-
2.3241148000.1671-
2.3320148500.1657-
2.3398149000.1701-
2.3477149500.193-
2.3555150000.1281-
2.3634150500.1376-
2.3712151000.2094-
2.3791151500.1578-
2.3869152000.1831-
2.3948152500.1697-
2.4026153000.139-
2.4105153500.1514-
2.4183154000.1639-
2.4262154500.1649-
2.4340155000.1344-
2.4419155500.2138-
2.4497156000.1712-
2.4576156500.101-
2.4655157000.1714-
2.4733157500.1456-
2.4812158000.1677-
2.4890158500.1819-
2.4969159000.1921-
2.5047159500.1904-
2.5126160000.1357-
2.5204160500.163-
2.5283161000.124-
2.5361161500.1312-
2.5440162000.1304-
2.5518162500.1579-
2.5597163000.1124-
2.5675163500.1446-
2.5754164000.1379-
2.5832164500.1251-
2.5911165000.1455-
2.5989165500.1364-
2.6068166000.1659-
2.6146166500.1489-
2.6225167000.1152-
2.6303167500.1463-
2.6382168000.1203-
2.6460168500.145-
2.6539169000.1507-
2.6617169500.1676-
2.6696170000.0853-
2.6774170500.1279-
2.6853171000.1291-
2.6932171500.1344-
2.7010172000.1298-
2.7089172500.1329-
2.7167173000.1165-
2.7246173500.1167-
2.7324174000.073-
2.7403174500.1247-
2.7481175000.0858-
2.7560175500.1691-
2.7638176000.1168-
2.7717176500.1065-
2.7795177000.1447-
2.7874177500.1277-
2.7952178000.1103-
2.8031178500.1093-
2.8109179000.1271-
2.8188179500.1273-
2.8266180000.1082-
2.8345180500.1716-
2.8423181000.0526-
2.8502181500.1241-
2.8580182000.0836-
2.8659182500.1458-
2.8737183000.1602-
2.8816183500.1253-
2.8894184000.0827-
2.8973184500.1377-
2.9052185000.1408-
2.9130185500.0797-
2.9209186000.0912-
2.9287186500.0991-
2.9366187000.128-
2.9444187500.1706-
2.9523188000.1189-
2.9601188500.1391-
2.9680189000.1029-
2.9758189500.099-
2.9837190000.0714-
2.9915190500.1015-
2.9994191000.1236-
-1-1-0.3565

Framework Versions

  • Python: 3.10.18
  • Sentence Transformers: 5.1.1
  • Transformers: 4.56.2
  • PyTorch: 2.7.1+cu128
  • Accelerate: 1.10.1
  • Datasets: 4.1.1
  • Tokenizers: 0.22.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…

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

0 моделей