/ Модель

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

Контекст
512 токенов
Параметры
137 млн
Архитектура
bert · dense
Базовая модель
bert-base-uncased
Библиотека
sentence-transformers
Опубликована
21 ноя 2026

reranker-finetuned

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

Англоязычный CrossEncoder на базе BERT для оценки пар текстов, переранжирования результатов и семантического поиска.

39скачиваний за 30 дней0лайковвеса обновлены21 ноя 2026

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Luca207/reranker-finetuned — англоязычная CrossEncoder-модель, дообученная разработчиком на базе google-bert/bert-base-uncased с использованием библиотеки Sentence Transformers. Модель совместно обрабатывает пару текстов и выдаёт оценку соответствия; её назначение — ранжирование текстов и семантический поиск. В README описано дообучение на 9 000 обучающих примеров и 2 250 примерах для оценки, связанных с текстами математических заданий и типичными ошибочными представлениями. Модель содержит 136,7 млн параметров, поддерживает только текст и принимает последовательности длиной до 512 токенов.

Её можно применять для переупорядочивания кандидатов по релевантности запросу или для оценки связи между заданием и описанием заблуждения. Архитектура — BertForSequenceClassification с одним выходным значением. Лицензия в предоставленных данных не указана.

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

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

Ограничения

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

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

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

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

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

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

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

Открыть на Hugging Face

CrossEncoder based on google-bert/bert-base-uncased

This is a Cross Encoder model finetuned from google-bert/bert-base-uncased 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
  • Base model: google-bert/bert-base-uncased
  • 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("reranker-finetuned")
# Get scores for pairs of inputs
pairs = [
    ['\n  QuestionText: Solve this equation, giving all solutions:\n\\(\n3 p^{2}+9=39\n\\)\n\n  ConstructName: Solve quadratic equations using balancing\n\n  SubjectName: Quadratic Equations\n\n  CorrectAnswer: \\(\np=\\sqrt{10}\n\\)\nor\n\\(\np=-\\sqrt{10}\n\\)\n\n  WrongAnswer: \\[\np=2\n\\]\nor\n\\[\np=-2\n\\]\n  ', 'When solving an equation, uses the same operation rather than the inverse.'],
    ['\n  QuestionText: Dave has recorded the number of pets his classmates have in the frequency table on the right. \\begin{tabular}{|c|c|}\n\\hline Number of pets & Frequency \\\\\n\\hline \\( 0 \\) & \\( 4 \\) \\\\\n\\hline \\( 1 \\) & \\( 6 \\) \\\\\n\\hline \\( 2 \\) & \\( 3 \\) \\\\\n\\hline \\( 3 \\) & \\( 2 \\) \\\\\n\\hline \\( 4 \\) & \\( 5 \\) \\\\\n\\hline\n\\end{tabular} How many people did Dave record the results of?\n\n  ConstructName: Interpret numbers in a frequency table\n\n  SubjectName: Frequency tables\n\n  CorrectAnswer: \\( 20 \\)\n\n  WrongAnswer: \\( 5 \\)\n  ', 'Adds up the variable column when asked for total frequency'],
    ['\n  QuestionText: Which of the following is a correct way to describe the marked angle? ![Trapezium PQRS with angle QPS highlighted in red]()\n\n  ConstructName: Label angles using correct 3-letter notation (e.g. angle ADB)\n\n  SubjectName: Types, Naming and Estimating\n\n  CorrectAnswer: \\( Q P S \\)\n\n  WrongAnswer: QPRS\n  ', 'Gives the vertex instead of the 3-letter angle notation'],
    ['\n  QuestionText: A coach takes \\( 3 \\) hours \\( 50 \\) minutes to complete a journey from Manchester to London.\n\nIf the coach leaves Manchester at 09:25, what time does it arrive in London?\n\n  ConstructName: Solve problems involving adding a period of time on to a given start time\n\n  SubjectName: Time\n\n  CorrectAnswer: \\( 13: 15 \\)\n\n  WrongAnswer: 01:15\n  ', 'Writes times in the afternoon as if they are morning on a 24 hour clock'],
    ['\n  QuestionText: \\( 6-(-8)= \\)\n\n  ConstructName: Carry out subtraction problems involving one negative integer\n\n  SubjectName: Adding and Subtracting Negative Numbers\n\n  CorrectAnswer: \\( 14 \\)\n\n  WrongAnswer: \\( -14 \\)\n  ', "Does not realise that subtracting a negative is the same as adding it's additive inverse"],
]
scores = model.predict(pairs)
print(scores)
# [0.8266 0.9364 0.9766 0.9578 0.9748]

# Or rank different texts based on similarity to a single text
ranks = model.rank(
    '\n  QuestionText: Solve this equation, giving all solutions:\n\\(\n3 p^{2}+9=39\n\\)\n\n  ConstructName: Solve quadratic equations using balancing\n\n  SubjectName: Quadratic Equations\n\n  CorrectAnswer: \\(\np=\\sqrt{10}\n\\)\nor\n\\(\np=-\\sqrt{10}\n\\)\n\n  WrongAnswer: \\[\np=2\n\\]\nor\n\\[\np=-2\n\\]\n  ',
    [
        'When solving an equation, uses the same operation rather than the inverse.',
        'Adds up the variable column when asked for total frequency',
        'Gives the vertex instead of the 3-letter angle notation',
        'Writes times in the afternoon as if they are morning on a 24 hour clock',
        "Does not realise that subtracting a negative is the same as adding it's additive inverse",
    ]
)
# [{'corpus_id': ..., 'score': ...}, {'corpus_id': ..., 'score': ...}, ...]

Training Details

Training Dataset

Unnamed Dataset

  • Size: 9,000 training samples
  • Columns: text, missconception, and label
  • Approximate statistics based on the first 100 samples:
    textmissconceptionlabel
    typestringstringint
    modalitytexttext
    detailsmin: 47 tokensmean: 121.94 tokensmax: 419 tokensmin: 7 tokensmean: 15.26 tokensmax: 38 tokens0: ~42.31%1: ~57.69%
  • Samples:
    textmissconceptionlabel
    QuestionText: What temperature does the thermometer show? A thermometer showing the temperature in degrees Celsius. There are five steps on the scale between 10 and 0, and five steps between 0 and -10. The temperature is shown at 4 steps below 0. ConstructName: Read a negative integer temperature from a thermometer SubjectName: Temperature units CorrectAnswer: ( -8^{\circ} \mathrm{C} ) WrongAnswer: ( -4^{\circ} \mathrm{C} ) When reading integers on a number line, assumes each dash is 11
    QuestionText: What is the size of angle ( q ) ? A long straight line with two shorter lines joining it, but not crossing it. Where the line on the left joins it forms two angles, q on the left, 126 degrees on the right. Where the line on the right joins it forms two angles, the left is unmarked, 37 degrees on the right. ConstructName: Find missing angles using angles on a straight line SubjectName: Basic Angle Facts (straight line, opposite, around a point, etc) CorrectAnswer: ( 54^{\circ} ) WrongAnswer: ( 64^{\circ} ) Misinterprets the meaning of angles on a straight line angle fact0
    QuestionText: What is the value of:[485+78-9] ConstructName: Complete multi-step mental calculations SubjectName: Mental Addition and Subtraction CorrectAnswer: ( 554 ) WrongAnswer: ( 398 ) When two digits sum to 10 or more during an addition problem, does not add one to the preceding digit0
  • Loss: MultipleNegativesRankingLoss with these parameters:
    {
        "scale": 10.0,
        "num_negatives": 4,
        "activation_fn": "torch.nn.modules.activation.Sigmoid"
    }
    

Evaluation Dataset

Unnamed Dataset

  • Size: 2,250 evaluation samples
  • Columns: text, missconception, and label
  • Approximate statistics based on the first 100 samples:
    textmissconceptionlabel
    typestringstringint
    modalitytexttext
    detailsmin: 46 tokensmean: 108.51 tokensmax: 399 tokensmin: 6 tokensmean: 15.18 tokensmax: 35 tokens0: ~43.27%1: ~56.73%
  • Samples:
    textmissconceptionlabel
    QuestionText: Solve this equation, giving all solutions:(3 p^{2}+9=39) ConstructName: Solve quadratic equations using balancing SubjectName: Quadratic Equations CorrectAnswer: (p=\sqrt{10})or(p=-\sqrt{10}) WrongAnswer: [p=2]or[p=-2] When solving an equation, uses the same operation rather than the inverse.0
    QuestionText: Dave has recorded the number of pets his classmates have in the frequency table on the right. \begin{tabular}{|c|c|}\hline Number of pets & Frequency \\hline ( 0 ) & ( 4 ) \\hline ( 1 ) & ( 6 ) \\hline ( 2 ) & ( 3 ) \\hline ( 3 ) & ( 2 ) \\hline ( 4 ) & ( 5 ) \\hline\end{tabular} How many people did Dave record the results of? ConstructName: Interpret numbers in a frequency table SubjectName: Frequency tables CorrectAnswer: ( 20 ) WrongAnswer: ( 5 ) Adds up the variable column when asked for total frequency0
    QuestionText: Which of the following is a correct way to describe the marked angle? Trapezium PQRS with angle QPS highlighted in red ConstructName: Label angles using correct 3-letter notation (e.g. angle ADB) SubjectName: Types, Naming and Estimating CorrectAnswer: ( Q P S ) WrongAnswer: QPRS Gives the vertex instead of the 3-letter angle notation0
  • Loss: MultipleNegativesRankingLoss with these parameters:
    {
        "scale": 10.0,
        "num_negatives": 4,
        "activation_fn": "torch.nn.modules.activation.Sigmoid"
    }
    

Training Hyperparameters

Non-Default Hyperparameters

  • per_device_train_batch_size: 16
  • num_train_epochs: 2
  • learning_rate: 0.0001
  • warmup_steps: 0.1
  • gradient_accumulation_steps: 2
  • fp16: True
  • per_device_eval_batch_size: 16

All Hyperparameters

  • per_device_train_batch_size: 16
  • num_train_epochs: 2
  • max_steps: -1
  • learning_rate: 0.0001
  • 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: True
  • 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: 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
  • 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: batch_sampler
  • multi_dataset_batch_sampler: proportional
  • router_mapping: {}
  • learning_rate_mapping: {}
  • warmup_ratio: None

Training Logs

EpochStepTraining LossValidation Loss
0.021361.9288-
0.0426121.5921-
0.0639181.1075-
0.0853240.7169-
0.1066300.5473-
0.1279360.4761-
0.1492420.3948-
0.1705480.4800-
0.1918540.5520-
0.2131600.5596-
0.2345660.3587-
0.2558720.4442-
0.2771780.3607-
0.2984840.3622-
0.3197900.3339-
0.3410960.4211-
0.36231020.3275-
0.38371080.2806-
0.40501140.4830-
0.42631200.3304-
0.44761260.3471-
0.46891320.2266-
0.49021380.2479-
0.51151440.2506-
0.53291500.2103-
0.55421560.2699-
0.57551620.2931-
0.59681680.4029-
0.61811740.1841-
0.63941800.2195-
0.66071860.2391-
0.68211920.2131-
0.70341980.2103-
0.72472040.2687-
0.74602100.3169-
0.76732160.2280-
0.78862220.2084-
0.80992280.2113-
0.83132340.2049-
0.85262400.2736-
0.87392460.1631-
0.89522520.1771-
0.91652580.2031-
0.93782640.2642-
0.95912700.2185-
0.98052760.1537-
1.02820.19270.1680
1.02132880.0810-
1.04262940.1010-
1.06393000.1640-
1.08533060.1220-
1.10663120.2518-
1.12793180.1932-
1.14923240.1435-
1.17053300.1295-
1.19183360.2066-
1.21313420.1823-
1.23453480.1687-
1.25583540.1663-
1.27713600.1192-
1.29843660.1610-
1.31973720.2017-
1.34103780.0877-
1.36233840.1714-
1.38373900.1482-
1.40503960.1481-
1.42634020.1413-
1.44764080.1010-
1.46894140.2108-
1.49024200.0982-
1.51154260.1551-
1.53294320.1501-
1.55424380.1301-
1.57554440.1083-
1.59684500.1894-
1.61814560.1167-
1.63944620.1397-
1.66074680.0776-
1.68214740.1218-
1.70344800.1077-
1.72474860.1507-
1.74604920.0702-
1.76734980.1216-
1.78865040.0844-
1.80995100.1513-
1.83135160.0762-
1.85265220.1426-
1.87395280.0782-
1.89525340.1015-
1.91655400.0699-
1.93785460.1085-
1.95915520.1081-
1.98055580.0689-
2.05640.07050.1055

Training Time

  • Training: 49.0 minutes

Framework Versions

  • Python: 3.13.16
  • Sentence Transformers: 5.7.0
  • Transformers: 5.22.1
  • PyTorch: 2.14.1+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",
}

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

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

GPU в ailist

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

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

Подбираем GPU…

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

0 моделей