/ Модель

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

Контекст
512 токенов
Параметры
434 млн
Архитектура
bert · dense
Базовая модель
snowflake-arctic-embed-l
Библиотека
sentence-transformers
Опубликована
11 мая 2025

ab_testing_finetuned_2_arctic_ft-711c8143-04b7-4ecb-8e01-8847274c1d9c

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

Модель на базе Arctic Embed L, дообученная для семантического сопоставления запросов с текстами, в частности по теме A/B-тестирования.

115скачиваний за 30 дней0лайковвеса обновлены11 мая 2025

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Это дообученная модель Sentence Transformers на базе Snowflake/snowflake-arctic-embed-l, опубликованная пользователем kamkol. Она преобразует предложения и абзацы в плотные векторы размерностью 1024 и предназначена для измерения семантического сходства и поиска релевантных текстов. Её можно применять для поиска по смыслу, поиска перефразировок, кластеризации и классификации текста.

Модель использует архитектуру BERT с пулингом CLS-токена и нормализацией векторов; сходство оценивается косинусной мерой. Максимальная длина входа — 512 токенов, число параметров — около 433,9 млн. README описывает дообучение на 250 парах текстов о A/B-тестировании, поэтому модель ориентирована на сопоставление запросов с материалами по этой теме. Лицензия в предоставленных сведениях не указана.

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

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

Ограничения

Вход ограничен 512 токенами, а обучающая выборка содержит 250 пар текстов и посвящена A/B-тестированию, поэтому качество за пределами этой тематики может быть ограничено. Языки и лицензия в предоставленных сведениях не определены.

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

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

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

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

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

Открыть на Hugging Face

SentenceTransformer based on Snowflake/snowflake-arctic-embed-l

This is a sentence-transformers model finetuned from Snowflake/snowflake-arctic-embed-l. 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: Snowflake/snowflake-arctic-embed-l
  • Maximum Sequence Length: 512 tokens
  • Output Dimensionality: 1024 dimensions
  • Similarity Function: Cosine Similarity

Model Sources

Full Model Architecture

SentenceTransformer(
  (0): Transformer({'max_seq_length': 512, 'do_lower_case': False}) with Transformer model: BertModel 
  (1): Pooling({'word_embedding_dimension': 1024, '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("kamkol/ab_testing_finetuned_2_arctic_ft-711c8143-04b7-4ecb-8e01-8847274c1d9c")
# Run inference
sentences = [
    'What are the estimated monthly rates of first-party cookie deletion among U.S. Internet users according to comScore and Anirban Dasgupta et al.?',
    'Tracking on the Web: Privacy and Security Implication [23]. \nCookie deletion rates are hard to estimate.  Using a panel \nof 400,000 home PCs, comScore estimated that 31 percent of \nU.S. Internet users cleared their first -party cookies during a \nmonth [24].   Anirban Dasgupta etal. [25] showed similar \nlevels of cookie clearing (25% -33% monthly, depending on \ngeography) based on the Yahoo toolbar.  Such rates imply \nthat long studies (e.g., months), where users are identified \nbased on cookies could have a selection bi as problem – as',
    'both directions: when we show fewer ads, users increase \nengagement, and when we show more ads, users decrease \nengagement or abandon. If users abandon at different rates \nbetween Control and Treatment, the remaining surviving \npopulation is different, and the conclusions can be \ncompletely wrong.  For example, the users generating the \nmost revenue may get annoyed with more ads and abandon, \nleaving a surviving population with lower Revenue/user. \n3. Not taking into account selection bias [34].  \n In an online longitudinal study that relies on cookies for \nidentification, there is likely to be a significant attrition due',
]
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]

Evaluation

Metrics

Information Retrieval

MetricValue
cosine_accuracy@10.5
cosine_accuracy@30.7419
cosine_accuracy@50.7903
cosine_accuracy@100.8629
cosine_precision@10.5
cosine_precision@30.2473
cosine_precision@50.1581
cosine_precision@100.0863
cosine_recall@10.5
cosine_recall@30.7419
cosine_recall@50.7903
cosine_recall@100.8629
cosine_ndcg@100.6895
cosine_mrr@100.6334
cosine_map@1000.6397

Training Details

Training Dataset

Unnamed Dataset

  • Size: 250 training samples
  • Columns: sentence_0 and sentence_1
  • Approximate statistics based on the first 250 samples:
    sentence_0sentence_1
    typestringstring
    detailsmin: 5 tokensmean: 24.08 tokensmax: 51 tokensmin: 13 tokensmean: 123.64 tokensmax: 151 tokens
  • Samples:
    sentence_0sentence_1
    What are some common pitfalls associated with long-term online controlled experiments as discussed by Dmitriev et al. in their IEEE Big Data paper?Appears in IEEE Big Data. Paper available at http://bit.ly/expLongTerm Pitfalls of Long-Term Online Controlled Experiments Pavel Dmitriev, Brian Frasca, Somit Gupta, Ron Kohavi, Garnet Vaz Analysis and Experimentation Microsoft Corporation Redmond, WA 98052, USA {padmitri,brianfra,sogupta,ronnyk,gavaz}@microsoft.com Abstract—Online controlled experiments (e.g., A/B tests) are now regularly used to guide product development and accelerate innovation in software. Product ideas are evaluated
    What are online controlled experiments used for in product development according to the context?Analysis and Experimentation Microsoft Corporation Redmond, WA 98052, USA {padmitri,brianfra,sogupta,ronnyk,gavaz}@microsoft.com Abstract—Online controlled experiments (e.g., A/B tests) are now regularly used to guide product development and accelerate innovation in software. Product ideas are evaluated as scientific hypotheses, and tested on web sit es, mobile applications, desktop applications, services, and operating system features. One of the key challenges for organizations that run controlled experiments is to select an Overall Evaluation
    What is one of the key challenges organizations face when running online controlled experiments?Abstract—Online controlled experiments (e.g., A/B tests) are now regularly used to guide product development and accelerate innovation in software. Product ideas are evaluated as scientific hypotheses, and tested on web sit es, mobile applications, desktop applications, services, and operating system features. One of the key challenges for organizations that run controlled experiments is to select an Overall Evaluation Criterion (OEC), i.e., the criterion by which to evaluat e the different variants. The difficulty is that short -term changes to metrics may not predict the long-term impact of a change. For
  • Loss: MatryoshkaLoss with these parameters:
    {
        "loss": "MultipleNegativesRankingLoss",
        "matryoshka_dims": [
            1024,
            768,
            512,
            256,
            128
        ],
        "matryoshka_weights": [
            1,
            1,
            1,
            1,
            1
        ],
        "n_dims_per_step": -1
    }
    

Training Hyperparameters

Non-Default Hyperparameters

  • eval_strategy: steps
  • per_device_train_batch_size: 16
  • per_device_eval_batch_size: 16
  • num_train_epochs: 100
  • 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: 16
  • per_device_eval_batch_size: 16
  • 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: 100
  • 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: 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}
  • 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
  • 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 Losscosine_ndcg@10
1.016-0.6381
2.032-0.6800
3.048-0.6948
3.12550-0.6967
4.064-0.6999
5.080-0.7013
6.096-0.6831
6.25100-0.6885
7.0112-0.6893
8.0128-0.7012
9.0144-0.6893
9.375150-0.6900
10.0160-0.6860
11.0176-0.6840
12.0192-0.7025
12.5200-0.6775
13.0208-0.6786
14.0224-0.7115
15.0240-0.7309
15.625250-0.7355
16.0256-0.7339
17.0272-0.7246
18.0288-0.7249
18.75300-0.7244
19.0304-0.7183
20.0320-0.6952
21.0336-0.6968
21.875350-0.7299
22.0352-0.7278
23.0368-0.7122
24.0384-0.6990
25.0400-0.6857
26.0416-0.6824
27.0432-0.6905
28.0448-0.6494
28.125450-0.6461
29.0464-0.6747
30.0480-0.6761
31.0496-0.6958
31.255000.84590.6855
32.0512-0.6940
33.0528-0.7156
34.0544-0.7284
34.375550-0.7281
35.0560-0.7288
36.0576-0.6940
37.0592-0.6992
37.5600-0.6948
38.0608-0.6991
39.0624-0.6931
40.0640-0.6893
40.625650-0.6905
41.0656-0.6960
42.0672-0.7133
43.0688-0.7137
43.75700-0.7055
44.0704-0.7077
45.0720-0.7215
46.0736-0.7056
46.875750-0.7030
47.0752-0.6996
48.0768-0.6985
49.0784-0.6878
50.0800-0.7042
51.0816-0.7097
52.0832-0.7067
53.0848-0.6977
53.125850-0.6972
54.0864-0.6999
55.0880-0.6963
56.0896-0.7006
56.25900-0.6971
57.0912-0.7008
58.0928-0.7051
59.0944-0.7034
59.375950-0.7031
60.0960-0.6978
61.0976-0.6923
62.0992-0.6966
62.510000.22270.6989
63.01008-0.6941
64.01024-0.7020
65.01040-0.7024
65.6251050-0.7050
66.01056-0.7079
67.01072-0.7059
68.01088-0.7200
68.751100-0.7207
69.01104-0.7177
70.01120-0.7008
71.01136-0.6948
71.8751150-0.6883
72.01152-0.6858
73.01168-0.6894
74.01184-0.6961
75.01200-0.6934
76.01216-0.6894
77.01232-0.6830
78.01248-0.6892
78.1251250-0.6903
79.01264-0.6903
80.01280-0.6911
81.01296-0.7021
81.251300-0.7032
82.01312-0.7032
83.01328-0.6984
84.01344-0.6872
84.3751350-0.6863
85.01360-0.6863
86.01376-0.6879
87.01392-0.6909
87.51400-0.6910
88.01408-0.6911
89.01424-0.6894
90.01440-0.6892
90.6251450-0.6952
91.01456-0.6954
92.01472-0.6924
93.01488-0.6895
93.7515000.17830.6895
94.01504-0.6895
95.01520-0.6895
96.01536-0.6895
96.8751550-0.6895
97.01552-0.6895
98.01568-0.6895
99.01584-0.6895
100.01600-0.6895

Framework Versions

  • Python: 3.11.12
  • Sentence Transformers: 4.1.0
  • Transformers: 4.51.3
  • PyTorch: 2.6.0+cu124
  • Accelerate: 1.6.0
  • Datasets: 3.6.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",
}

MatryoshkaLoss

@misc{kusupati2024matryoshka,
    title={Matryoshka Representation Learning},
    author={Aditya Kusupati and Gantavya Bhatt and Aniket Rege and Matthew Wallingford and Aditya Sinha and Vivek Ramanujan and William Howard-Snyder and Kaifeng Chen and Sham Kakade and Prateek Jain and Ali Farhadi},
    year={2024},
    eprint={2205.13147},
    archivePrefix={arXiv},
    primaryClass={cs.LG}
}

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…

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

0 моделей