/ Модель

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

Контекст
512 токенов
Параметры
25,9 млн
Архитектура
bert · dense
Библиотека
sentence-transformers
Опубликована
30 июл 2026

cacheverifier-searchqueries

Ранжирование текстаТекст → score7 профессий

Текстовый BERT Cross Encoder оценивает соответствие запроса и текста для переранжирования результатов поиска.

16скачиваний за 30 дней0лайковвеса обновлены16 авг 2026

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

ChengyouXin/cacheverifier-searchqueries — текстовый Cross Encoder на базе BERT, обученный с библиотекой Sentence Transformers для оценки пар «запрос—текст». Модель выдаёт один числовой балл для пары и подходит для переранжирования результатов семантического поиска и оценки соответствия текста запросу.

Модель содержит 25,9 млн параметров, принимает текст и ограничивает длину последовательности 512 токенами. В README указано обучение на 60 398 примерах с запросами, ответами и метками, с функцией потерь BinaryCrossEntropyLoss. Язык примеров в карточке — английский; подтверждения поддержки других языков нет.

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

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

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

Ограничения

Максимальная длина последовательности составляет 512 токенов; языки и качество за пределами англоязычных примеров не подтверждены. Лицензия в предоставленных данных не указана.

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

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

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

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

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

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

Открыть на Hugging Face

CrossEncoder

This is a Cross Encoder model trained using the sentence-transformers library. It computes scores for pairs of texts, which can be used for text reranking and semantic search.

Model Details

Model Description

  • Model Type: Cross Encoder
  • Maximum Sequence Length: 512 tokens
  • Number of Output Labels: 1 label
  • Supported Modality: Text

Model Sources

Full Model Architecture

CrossEncoder(
  (0): Transformer({'transformer_task': 'sequence-classification', 'modality_config': {'text': {'method': 'forward', 'method_output_name': 'logits'}}, 'module_output_name': 'scores', 'architecture': 'BertForSequenceClassification'})
)

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 CrossEncoder

# Download from the 🤗 Hub
model = CrossEncoder("cross_encoder_model_id")
# Get scores for pairs of inputs
pairs = [
    ['best way to cook turkey legs', 'The best way to bake chicken legs is to pat them dry, season generously, and bake at 400°F (200°C) for 40-45 minutes. For extra crispiness, start them at a higher temperature (425°F) for the first 20 minutes, then lower to 375°F until the internal temperature reaches 165°F.'],
    ['best way to burn belly fat', "You cannot spot-reduce stomach fat; the most effective approach combines full-body strength training (like squats, deadlifts, and push-ups) with high-intensity interval training (HIIT) and a calorie-controlled diet. Core exercises like planks and Russian twists build muscle but won't burn the fat on top of them. Prioritize compound movements and consistent cardio to lower overall body fat."],
    ['crockpot pork tenderloin slow cooker recipes', 'For the best crock pot pork carnitas, season a pork shoulder (or butt) with cumin, oregano, garlic, salt, and pepper, then cook on low for 8-10 hours with orange juice, lime juice, and bay leaves until fall-apart tender. After shredding, spread the meat on a baking sheet and broil for 5-10 minutes to get crispy, golden edges before serving.'],
    ['bed bath and beyond schaumburg', "Bed Bath & Beyond operated in Canada until its closures in 2023, when all Canadian stores and its e-commerce site were shut down following the company's bankruptcy. The Canadian business was acquired by a private equity firm but ultimately liquidated, so there are no remaining Bed Bath & Beyond locations in Canada."],
    ['brother printer download for windows 10', 'Try reinstalling the printer driver from Brother\'s official support site, as Windows 10 often needs the specific "Full Driver & Software Package" instead of the basic driver. If it\'s a USB connection, unplug the cable, restart both the printer and PC, then reconnect; for network printers, run the Brother "Printer Setting Tool" or check that the IP address hasn\'t changed. Also, run the Windows built-in "Printer troubleshooter" (Settings > Update & Security > Troubleshoot) to auto-detect and fix common issues.'],
]
scores = model.predict(pairs)
print(scores)
# [-1.6193  1.0399 -0.3764 -1.8634  0.1748]

# Or rank different texts based on similarity to a single text
ranks = model.rank(
    'best way to cook turkey legs',
    [
        'The best way to bake chicken legs is to pat them dry, season generously, and bake at 400°F (200°C) for 40-45 minutes. For extra crispiness, start them at a higher temperature (425°F) for the first 20 minutes, then lower to 375°F until the internal temperature reaches 165°F.',
        "You cannot spot-reduce stomach fat; the most effective approach combines full-body strength training (like squats, deadlifts, and push-ups) with high-intensity interval training (HIIT) and a calorie-controlled diet. Core exercises like planks and Russian twists build muscle but won't burn the fat on top of them. Prioritize compound movements and consistent cardio to lower overall body fat.",
        'For the best crock pot pork carnitas, season a pork shoulder (or butt) with cumin, oregano, garlic, salt, and pepper, then cook on low for 8-10 hours with orange juice, lime juice, and bay leaves until fall-apart tender. After shredding, spread the meat on a baking sheet and broil for 5-10 minutes to get crispy, golden edges before serving.',
        "Bed Bath & Beyond operated in Canada until its closures in 2023, when all Canadian stores and its e-commerce site were shut down following the company's bankruptcy. The Canadian business was acquired by a private equity firm but ultimately liquidated, so there are no remaining Bed Bath & Beyond locations in Canada.",
        'Try reinstalling the printer driver from Brother\'s official support site, as Windows 10 often needs the specific "Full Driver & Software Package" instead of the basic driver. If it\'s a USB connection, unplug the cable, restart both the printer and PC, then reconnect; for network printers, run the Brother "Printer Setting Tool" or check that the IP address hasn\'t changed. Also, run the Windows built-in "Printer troubleshooter" (Settings > Update & Security > Troubleshoot) to auto-detect and fix common issues.',
    ]
)
# [{'corpus_id': ..., 'score': ...}, {'corpus_id': ..., 'score': ...}, ...]

Training Details

Training Dataset

Unnamed Dataset

  • Size: 60,398 training samples
  • Columns: query, response, and label
  • Approximate statistics based on the first 100 samples:
    queryresponselabel
    typestringstringfloat
    modalitytexttext
    detailsmin: 7 tokensmean: 8.26 tokensmax: 13 tokensmin: 31 tokensmean: 79.28 tokensmax: 150 tokensmin: 0.0mean: 0.19max: 1.0
  • Samples:
    queryresponselabel
    best way to cook turkey legsThe best way to bake chicken legs is to pat them dry, season generously, and bake at 400°F (200°C) for 40-45 minutes. For extra crispiness, start them at a higher temperature (425°F) for the first 20 minutes, then lower to 375°F until the internal temperature reaches 165°F.0.0
    best way to burn belly fatYou cannot spot-reduce stomach fat; the most effective approach combines full-body strength training (like squats, deadlifts, and push-ups) with high-intensity interval training (HIIT) and a calorie-controlled diet. Core exercises like planks and Russian twists build muscle but won't burn the fat on top of them. Prioritize compound movements and consistent cardio to lower overall body fat.0.0
    crockpot pork tenderloin slow cooker recipesFor the best crock pot pork carnitas, season a pork shoulder (or butt) with cumin, oregano, garlic, salt, and pepper, then cook on low for 8-10 hours with orange juice, lime juice, and bay leaves until fall-apart tender. After shredding, spread the meat on a baking sheet and broil for 5-10 minutes to get crispy, golden edges before serving.0.0
  • Loss: BinaryCrossEntropyLoss with these parameters:
    {
        "activation_fn": "torch.nn.modules.linear.Identity",
        "pos_weight": null
    }
    

Training Hyperparameters

Non-Default Hyperparameters

  • per_device_train_batch_size: 16
  • num_train_epochs: 1
  • disable_tqdm: True

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
  • 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: 1
  • 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: True
  • project: huggingface
  • trackio_space_id: None
  • trackio_bucket_id: None
  • trackio_static_space_id: None
  • per_device_eval_batch_size: 8
  • prediction_loss_only: True
  • eval_on_start: False
  • 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: False
  • 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
  • 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
  • warmup_ratio: None
  • local_rank: -1
  • prompts: None
  • batch_sampler: batch_sampler
  • multi_dataset_batch_sampler: proportional
  • router_mapping: {}
  • learning_rate_mapping: {}

Training Logs

EpochStepTraining Loss
0.000311.4164
0.0026101.6867
0.0053201.0120
0.0079300.8804
0.0106400.7323
0.0132500.7835
0.0159600.7049
0.0185700.6971
0.0212800.6359
0.0238900.7263
0.02651000.7078
0.02911100.6384
0.03181200.6927
0.03441300.6432
0.03711400.6371
0.03971500.6497
0.04241600.6716
0.04501700.6637
0.04771800.6525
0.05031900.6316
0.05302000.6499
0.05562100.6469
0.05832200.6191
0.06092300.5827
0.06362400.7219
0.06622500.7073
0.06892600.7059
0.07152700.6503
0.07422800.6666
0.07682900.6783
0.07953000.6520
0.08213100.7278
0.08483200.6807
0.08743300.6322
0.09013400.6281
0.09273500.6566
0.09543600.6422
0.09803700.6129
0.10073800.6519
0.10333900.6105
0.10604000.7017
0.10864100.6183
0.11134200.6435
0.11394300.6163
0.11664400.6073
0.11924500.6686
0.12194600.5915
0.12454700.6867
0.12724800.6514
0.12984900.6234
0.13255000.7231
0.13515100.6752
0.13775200.6850
0.14045300.6246
0.14305400.6448
0.14575500.6384
0.14835600.6507
0.15105700.6698
0.15365800.6437
0.15635900.6700
0.15896000.6922
0.16166100.6558
0.16426200.6543
0.16696300.6623
0.16956400.6519
0.17226500.7129
0.17486600.6629
0.17756700.7004
0.18016800.6801
0.18286900.6362
0.18547000.6492
0.18817100.6198
0.19077200.6550
0.19347300.6379
0.19607400.6613
0.19877500.5927
0.20137600.6787
0.20407700.6305
0.20667800.6491
0.20937900.6448
0.21198000.6268
0.21468100.6884
0.21728200.6439
0.21998300.5978
0.22258400.6046
0.22528500.6475
0.22788600.7012
0.23058700.7130
0.23318800.6389
0.23588900.6361
0.23849000.6038
0.24119100.6292
0.24379200.6372
0.24649300.6516
0.24909400.6012
0.25179500.6210
0.25439600.6331
0.25709700.6447
0.25969800.6170
0.26239900.6522
0.264910000.6478
0.267510100.6565
0.270210200.6779
0.272810300.5857
0.275510400.6579
0.278110500.6550
0.280810600.6872
0.283410700.6193
0.286110800.6520
0.288710900.6288
0.291411000.6431
0.294011100.6261
0.296711200.6611
0.299311300.6272
0.302011400.6233
0.304611500.6476
0.307311600.6371
0.309911700.6419
0.312611800.6269
0.315211900.5902
0.317912000.6759
0.320512100.6018
0.323212200.5933
0.325812300.6813
0.328512400.6602
0.331112500.6151
0.333812600.6993
0.336412700.6090
0.339112800.6280
0.341712900.6401
0.344413000.6348
0.347013100.6247
0.349713200.6340
0.352313300.6235
0.355013400.6398
0.357613500.6428
0.360313600.5905
0.362913700.6111
0.365613800.6149
0.368213900.6170
0.370914000.6312
0.373514100.6468
0.376214200.6192
0.378814300.6379
0.381514400.6349
0.384114500.6483
0.386814600.5781
0.389414700.6124
0.392114800.6726
0.394714900.6514
0.397415000.6686
0.415100.6760
0.402615200.6189
0.405315300.6204
0.407915400.5860
0.410615500.6148
0.413215600.6168
0.415915700.6297
0.418515800.6276
0.421215900.6515
0.423816000.5978
0.426516100.6310
0.429116200.6304
0.431816300.6473
0.434416400.6485
0.437116500.6604
0.439716600.6157
0.442416700.6129
0.445016800.7063
0.447716900.6170
0.450317000.6413
0.453017100.6405
0.455617200.6849
0.458317300.6015
0.460917400.6486
0.463617500.6748
0.466217600.6085
0.468917700.6067
0.471517800.6963
0.474217900.6343
0.476818000.6466
0.479518100.6349
0.482118200.6210
0.484818300.6484
0.487418400.6274
0.490118500.6578
0.492718600.6256
0.495418700.7020
0.498018800.6198
0.500718900.6457
0.503319000.6248
0.506019100.5870
0.508619200.6228
0.511319300.6996
0.513919400.6112
0.516619500.6389
0.519219600.6378
0.521919700.5988
0.524519800.6403
0.527219900.6261
0.529820000.5839
0.532520100.6167
0.535120200.6513
0.537720300.6450
0.540420400.6429
0.543020500.6528
0.545720600.5987
0.548320700.6270
0.551020800.6091
0.553620900.6311
0.556321000.6079
0.558921100.6404
0.561621200.5812
0.564221300.5952
0.566921400.5462
0.569521500.5837
0.572221600.6012
0.574821700.6098
0.577521800.6354
0.580121900.6451
0.582822000.6939
0.585422100.5740
0.588122200.6262
0.590722300.6177
0.593422400.6054
0.596022500.6323
0.598722600.6014
0.601322700.6029
0.604022800.6510
0.606622900.6106
0.609323000.6658
0.611923100.6148
0.614623200.5705
0.617223300.6343
0.619923400.6189
0.622523500.6195
0.625223600.6301
0.627823700.6341
0.630523800.6970
0.633123900.6382
0.635824000.6147
0.638424100.6227
0.641124200.6444
0.643724300.6539
0.646424400.6036
0.649024500.5803
0.651724600.5509
0.654324700.6734
0.657024800.6047
0.659624900.6228
0.662325000.6495
0.664925100.5809
0.667525200.5985
0.670225300.6411
0.672825400.6028
0.675525500.6446
0.678125600.6517
0.680825700.6912
0.683425800.6082
0.686125900.6456
0.688726000.5687
0.691426100.6497
0.694026200.6519
0.696726300.6755
0.699326400.6039
0.702026500.6252
0.704626600.5952
0.707326700.6513
0.709926800.5913
0.712626900.6494
0.715227000.6464
0.717927100.6148
0.720527200.6189
0.723227300.6096
0.725827400.6257
0.728527500.6643
0.731127600.6037
0.733827700.5765
0.736427800.6253
0.739127900.6314
0.741728000.6280
0.744428100.6428
0.747028200.6571
0.749728300.6249
0.752328400.6677
0.755028500.6373
0.757628600.5973
0.760328700.6336
0.762928800.5572
0.765628900.6219
0.768229000.6223
0.770929100.6338
0.773529200.6454
0.776229300.6187
0.778829400.6364
0.781529500.6503
0.784129600.6184
0.786829700.6502
0.789429800.5683
0.792129900.5877
0.794730000.6358
0.797430100.6351
0.830200.6345
0.802630300.6210
0.805330400.5930
0.807930500.5895
0.810630600.6353
0.813230700.5700
0.815930800.6433
0.818530900.6550
0.821231000.6339
0.823831100.6142
0.826531200.6546
0.829131300.6292
0.831831400.5963
0.834431500.6108
0.837131600.6355
0.839731700.5676
0.842431800.6031
0.845031900.5923
0.847732000.6513
0.850332100.6188
0.853032200.6284
0.855632300.6340
0.858332400.6147
0.860932500.5917
0.863632600.6779
0.866232700.6350
0.868932800.6473
0.871532900.6474
0.874233000.5871
0.876833100.6273
0.879533200.6149
0.882133300.6161
0.884833400.6093
0.887433500.6370
0.890133600.5999
0.892733700.5798
0.895433800.6397
0.898033900.6465
0.900734000.5869
0.903334100.6462
0.906034200.6473
0.908634300.6154
0.911334400.6151
0.913934500.6234
0.916634600.5975
0.919234700.6232
0.921934800.6272
0.924534900.6518
0.927235000.6128
0.929835100.5916
0.932535200.5841
0.935135300.5625
0.937735400.6427
0.940435500.5752
0.943035600.6391
0.945735700.6066
0.948335800.6980
0.951035900.6205
0.953636000.6102
0.956336100.6038
0.958936200.5955
0.961636300.6513
0.964236400.6105
0.966936500.6158
0.969536600.6189
0.972236700.6710
0.974836800.6418
0.977536900.6060
0.980137000.6531
0.982837100.5995
0.985437200.5584
0.988137300.6247
0.990737400.6302
0.993437500.5997
0.996037600.6169
0.998737700.6731

Training Time

  • Training: 3.9 minutes

Framework Versions

  • Python: 3.11.6
  • Sentence Transformers: 5.6.1
  • Transformers: 5.14.1
  • PyTorch: 2.13.0+cu130
  • Accelerate: 1.14.0
  • Datasets: 5.0.0
  • Tokenizers: 0.22.2

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

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

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

GPU в ailist

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

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

Подбираем GPU…

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

0 моделей