/ Модель

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

Архитектура
pivot · dense
Базовая модель
LFM2.5-Encoder-350M
Библиотека
transformers
Опубликована
20 сен 2026

Pivot

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

Pivot — дообученный двунаправленный энкодер, который быстро выбирает и оценивает один из заданных вариантов ответа по контексту.

122скачиваний за 30 дней3лайкавеса обновлены24 сен 2026

Бенчмарки

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

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

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

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

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

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

Pivot — двунаправленный энкодер решений с 357,6 млн параметров, разработанный авторами репозитория Q1z/Pivot и дообученный на базе LiquidAI/LFM2.5-Encoder-350M. Модель принимает контекст и набор из двух или более вариантов ответа, оценивает их за один проход и возвращает выбранный вариант, его позицию и распределение вероятностей. Свободный текст она не генерирует; веса представлены в формате safetensors, для работы используется Transformers и пользовательский код модели.

Pivot предназначен для быстрых закрытых решений: выбора ответа из кандидатов, бинарных решений «да/нет», оценки и структурированных выборов. В README приведены результаты на публичной части JevBench v1.4.1: точность 46,32%; официальная составная оценка JevBench не измерялась. Заявлены задержка и пропускная способность на NVIDIA H200, но они относятся к указанной конфигурации и не гарантируют такой же скорости на другом оборудовании.

Вероятности относительны к переданному набору кандидатов и сами по себе не подтверждают правильность или безопасность решения; отказ от ответа следует задавать отдельным кандидатом. Для оценки соответствия языков и прикладных областей специальных данных в карточке недостаточно. Лицензия в предоставленных данных не указана.

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

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

Ограничения

Вероятности зависят от набора кандидатов и не являются самостоятельной гарантией правильности или безопасности; для отказа от ответа нужно добавить отдельный вариант. Официальный составной балл JevBench не измерялся, а опубликованная точность относится только к публичным заданиям.

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

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

Открыть на Hugging Face

Pivot

Fast closed-set decisions from context and candidate actions

Pivot is a 357.6M-parameter bidirectional decision encoder. Give it a context and two or more candidate answers; it scores the set in one forward pass and returns the chosen answer, its position, and a probability for every candidate. It does not generate free-form text. The full FP32 checkpoint, tokenizer and Transformers custom runtime are stored in this model repository.

Measured resultPivot
JevBench v1.4.1 public accuracy46.32% (107 / 231)
NVIDIA H200 warm single-decision p50 / p9515.8 / 19.9 ms
NVIDIA H200 throughput, batch 32545.3 decisions/s
4-thread Xeon CPU warm single-decision p50 / p95797.6 / 1,089.0 ms
4-thread Xeon CPU throughput, batch 43.77 decisions/s

These are measurements on the pinned checkpoint, in FP32, including tokenization and scoring. GPU and CPU throughput used different batch sizes. The 46.32% figure is public-task accuracy; the official JevBench v1.4 composite score has not been measured because the sealed/judge portion and cost input are unavailable. Protocol and limitations · Full measurement details

Public accuracy and warm local speed

Start with one decision

Install a suitable PyTorch build and the runtime packages:

python -m pip install "transformers==5.17.0" "safetensors==0.8.0"
import torch
from transformers import AutoModel, AutoTokenizer

tokenizer = AutoTokenizer.from_pretrained("Q1z/Pivot", trust_remote_code=True)
model = AutoModel.from_pretrained(
    "Q1z/Pivot", trust_remote_code=True, dtype=torch.float32
).eval()

context = "CONTEXT:\nA customer disputes an invoice and asks for a correction."
options = [
    "route to billing support",
    "route to technical support",
    "route to sales",
]
decision = model.choose(tokenizer, context, options)
print(decision)  # {"choice": ..., "index": ..., "probs": [...]}

The serving configuration now defaults to 512 context tokens and 128 option tokens, matching the published public evaluation. It does not change the checkpoint weights. Run on CUDA with model.to("cuda") if your PyTorch build supports it. Review the repository's custom model code before enabling trust_remote_code=True.

Three ways to use Pivot

MethodInputOutput
model.choose(tokenizer, context, options)Context and ordered answer stringsChosen answer, index, probability vector
model.decide_native(tokenizer, context, candidates)Candidate IDs, semantic text, optional abstain actionSelected ID, relative confidence, per-candidate probabilities
model.decide(tokenizer, state, questions)Several typed choice / yes-no / score questionsTyped decision response

For repeated decisions using the same options, encode_candidates, encode_context, and choose_cached reuse candidate representations. This can avoid repeated candidate encoding; the measured throughput above uses the uncached path. Examples: basic, structured decisions, cached candidates, and full inference guide.

Pivot's probabilities are relative to the supplied candidate set. Give each candidate a clear, distinct meaning. An abstain route must be an explicit candidate; a high relative probability alone does not establish real-world correctness or safety.

Evaluated performance

The official JevBench v1.4.1 public tasks were scored with the official per-task scorer at commit 24b9b5c1609a7a9e8fa14f49e5985a836c9dc842. The exact evaluated model commit was 14bf8c26bf344ebdf88e22a4b6152dc5f75f3578.

Public tierCorrect / tasksAccuracyECE, 10 bins
Original27 / 7237.50%0.525
Easy39 / 4881.25%0.114
Hard41 / 11136.94%0.379
All public tasks107 / 23146.32%—

The frozen evaluation format is a CONTEXT: prefix, task rubric descriptions where provided (otherwise humanized labels) in official label order, right truncation, 512 context tokens and 128 option tokens. Public accuracy is not an official leaderboard score. Reproduce public results or run the CPU speed entry point. The CPU notebook provides an interactive alternative.

Repository guide

The files model.safetensors, modeling_pivot.py, modeling_lfm2_bidirectional.py, pivot_model.py and pivot_infer.py contain the checkpoint and model runtime. Package manifest records file hashes. The original checkpoint and evaluated metrics remain anchored to the exact revision above.

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

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

GPU в ailist

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

Нельзя запустить

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

Класс архитектуры
PivotModel
Ревизия весов
7c85c7e

0 моделей