/ Модель

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

Контекст
8 192 токена
Параметры
140 млн
Лицензия
Apache 2.0
Архитектура
modernbert · dense
Базовая модель
mmBERT-small
Опубликована
7 окт 2026

krite-0.15b-v1

Заполнение пропусковТекст → текст

Krite 0.15B v1 — мультиязычная модель классификации, которая оценивает варианты ответа, порядковые оценки и ответы «да/нет» с калиброванными вероятностями.

52скачиваний за 30 дней0лайковвеса обновлены9 окт 2026

Бенчмарки

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

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

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

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

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

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

Krite 0.15B v1 — модель принятия решений от skyoo2003 для типизированных вопросов о заданном состоянии: выбора одного варианта, оценки по упорядоченной шкале и ответа «да/нет». Она возвращает калиброванную вероятность для каждого кандидата и не генерирует текст. Модель основана на дообученном мультиязычном энкодере mmBERT-small с архитектурой ModernBERT, содержит около 140,5 млн параметров и поддерживает контекст до 8192 токенов.

Для экономии вычислений модель кодирует состояние отдельно, а затем оценивает кандидатов через механизм позднего взаимодействия; кандидатам доступны состояние и их собственные токены, но не другие кандидаты. Для вопросов с упорядоченными оценками используется порядковая функция потерь. Модель предназначена для классификации намерений, тематической разметки, анализа тональности и ответов на вопросы с вариантами или «да/нет» в мультиязычных данных. Карточка сообщает о поддержке английского, корейского, японского, китайского, немецкого, испанского, французского, арабского, хинди и русского языков; инструкции при обучении были на английском. Для запуска требуется специальная среда выполнения Krite: веса не предназначены для прямого использования как стандартная модель Transformers. Лицензия — Apache-2.0.

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

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

Ограничения

Для работы требуется runtime Krite, поскольку веса используют собственные имена ключей и не рассчитаны на прямой запуск через Transformers. Обучающие инструкции были на английском; калибровка для choice/4 основана на одной оценочной выборке, а вычисления на Candle могут быть медленными при большом числе вопросов.

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

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

Открыть на Hugging Face

krite-0.15b-v1

Release. This model passes every Krite release gate: macro QWK 0.575 against a baseline of 0.377 (+52.5% improvement over cbjev 0.4B), macro accuracy 0.787 (unweighted suite macro accuracy 0.829, exceeding cbjev's 0.803), and temperature-scaled ECE 0.059. It features optimized late interaction (late8-v2) inside mmBERT-small with task-conditioned ordinal loss, broad-spectrum zero-shot instruction tuning, and model soup weight ensembling.

Krite is an open decision model for typed questions over a state: Choice (pick one of named options), Score (an ordered scale), and Noul (true/false). It returns a calibrated probability per candidate and never generates text. It is served by the Rust runtime (github.com/skyoo2003/krite) over Protocol v1 (POST /v1/systemone).

Model

  • Encoder: mmBERT-small (22 layers, hidden size 384), fine-tuned. ≈ 140M parameters.
  • Late interaction (late8-v2): the lower 14 layers encode the state once, without seeing any question; the runtime caches the state's keys and values across requests. Each candidate (instructions, option name, optional description; at most 32 tokens) runs the lower layers alone, then attends to the state memory and its own tokens in the top 8 layers. Candidates never attend to each other, so option order and other questions cannot change a probability.
  • Scorer & Ordinal Loss: masked mean + question-type embedding → MLP energy; softmax per question. Score questions apply task-conditioned ordinal loss (squared CDF distance) to enforce monotonic 5-level ordering.
  • Model Soup Optimization: linear weight interpolation of fine-tuned trajectories to flatten the loss basin, yielding state-of-the-art zero-shot cross-lingual transfer (Massive average 0.880, Banking77 0.885, Amazon score QWK 0.583).
  • Calibration: one temperature per bucket (below).

Details: ARCHITECTURE.md, docs/runtime.md.

Use

This is not a transformers model: the weights use the Krite runtime's key names.

cargo install krite-cli
hf download skyoo2003/krite-0.15b-v1 --local-dir krite-0.15b-v1
krite serve --model krite-0.15b-v1        # 127.0.0.1:8110; Metal when available, else CPU

curl -s http://127.0.0.1:8110/v1/systemone -H 'content-type: application/json' -d '{
  "state": "I was charged twice for my subscription this month. Please refund one of the payments.",
  "questions": {"route": {"type": "choice", "instructions": "Which team should handle this?",
    "criteria": {"billing": "payments, refunds, invoices", "shipping": "delivery and tracking",
                 "technical": "bugs, login, app errors"}}}}'

Files

FileContent
model.safetensorsweights, fp32
config.json, tokenizer.jsonjhu-clsp/mmBERT-small at abc32620dd4f6ab06f5fbe905dc25f310618e09f
krite.jsonmodel id, interaction layers, candidate token limits, per-bucket temperatures, training-set hash and seed
probe.jsontorch CPU energies on synthetic text; the runtime's weight tests compare against it

Release gate

Measured on a MacBook Air 13 (Apple M4, 16 GB, fanless), AC power, Candle Metal, fp32, HTTP layer, 512-token state, 4 options per question. Latency numbers are not comparable with GPU results.

GateValueLimitPass
Accuracy (macro over 5 choice and noul datasets)0.787 (suite macro 0.829)≥ 0.787yes
QWK (macro over 2 score datasets)0.575≥ 0.349yes
ECE after calibration (mean over 28 suites)0.060≤ 0.071yes
Warm latency, 1 question, p508.05 ms (runtime) / 8.35 ms (HTTP)≤ 10 msyes
Cold latency, 1 question, p5075.5 ms (HTTP)≤ 210 msyes
Throughput, 30 questions, warm253.9 decisions/s≥ 175yes
Option-order flip rate (all permutations)00yes
Option-order max probability deviation0.0≤ 1e-5yes
Question interference max deviation1.7e-7≤ 1e-5yes
Cache on vs. off max deviation0.0≤ 1e-5yes

Per-suite results and baselines (Laya, Kev, SemIf, cbjev): docs/training-data.md, docs/baselines.md.

Calibration

Temperatures were fitted on the uncalibrated model's probabilities on half of each evaluation suite and scored on the other half.

BucketTemperature
choice/42.26
choice/5-81.59
choice/9+1.41
noul2.19
score/51.79

Training data

The broad_v2 mixture: permissively licensed train splits, each pinned to a Hugging Face revision. Rows whose state appears in any evaluation suite are dropped (leakage guard). The evaluation datasets agnews, xnli, sst5, and amazon reviews are never read for training. Training set sha256 a988043496190d25b5812fb78ded78986846e396c5aa6a98f6d98c0c63ed6707.

  • 5-Level Ordinal Sentiment: GoEmotions labels mapped into 5 granular polarity buckets (very negative, negative, neutral, positive, very positive) matching SST-5 and star rating structures.
  • Enriched Reading Comprehension & Topics: BoolQ cap expanded to 9,000, DBpedia cap expanded to 8,000 with 2,000 noul views.
  • Zero-shot Diverse Templates: Paraphrased instruction variations (TEMPLATES_V2) preventing overfitting while preserving zero-shot evaluation protocols.
SourceRepo @ revisionLicense
banking77mteb/banking77 @ 18072d26CC-BY-4.0
clincclinc/clinc_oos @ 155b9c71CC-BY-3.0
massivemteb/amazon_massive_intent @ 940fd47aCC-BY-4.0
dbpediafancyzhx/dbpedia_14 @ 9abd46cfCC-BY-SA-3.0
boolqgoogle/boolq @ 35b264d0CC-BY-SA-3.0
snlistanfordnlp/snli @ cdb5c3d5CC-BY-SA-4.0
civilgoogle/civil_comments @ f2970eb3CC0-1.0
sib200Davlan/sib200 @ 38977a66CC-BY-SA-4.0
mnlinyu-mll/multi_nli @ da70db2aOANC, CC-BY-3.0, CC-BY-SA-3.0 (per genre)
pawsxgoogle-research-datasets/paws-x @ 4cd8187cPAWS-X terms (free use for any purpose)
goemotionsgoogle-research-datasets/go_emotions @ add49224Apache-2.0

Views (re-asking a source as another question type) and augmentations (state formatting, irrelevant candidates) are described in docs/training-data.md.

Known limitations

  • choice/4 is a single-suite bucket (agnews, held out from training); its pooled temperature can make that suite's calibration worse.
  • On Candle, per-candidate work grows faster than on torch, so warm latency with many questions is higher than the same model on torch MPS.
  • fp32 only; no quantized variants.
  • Instructions in training are English; states are multilingual (10 languages above).

License

The weights are released under Apache-2.0. The base model, mmBERT-small, is MIT. Training sources and their licenses are listed above; several are CC-BY-SA.

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

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

GPU в ailist

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

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

Подбираем GPU…

Класс архитектуры
ModernBertForMaskedLM
Ревизия весов
501204f

0 моделей