/ Модель

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

Размер весов
62,5 ГБ
Лицензия
Apache 2.0
Архитектура
gemma4 · dense
Базовая модель
gemma-4-31B-it
Библиотека
transformers
Опубликована
15 ноя 2026

KnowLine-31B-Gen2

Классификация текстаТекст → label10 профессий

Плотная модель PelaAI на базе Gemma 4, которая оценивает варианты ответов и выдаёт вероятности для задач принятия решений и маршрутизации.

280скачиваний за 30 дней3лайкавеса обновлены15 ноя 2026

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

KnowLine-31B-Gen2 — модель принятия решений от PelaAI, созданная на базе google/gemma-4-31B-it. Она принимает текстовое состояние или диалог и до 64 вопросов с вариантами «да/нет», выбором одного из нескольких вариантов или оценкой по рубрике. Для каждого вопроса модель выдаёт распределение вероятностей по допустимым ответам за один проход, без генерации текста; это подходит для маршрутизации, ранжирования вариантов и других задач выбора по заданным критериям.

Модель представляет собой плотную архитектуру Gemma 4 примерно на 31 млрд параметров. Языковая часть дообучена методом LoRA, адаптер объединён с весами bf16; температура для калибровки вероятностей также встроена в веса. Заявлены английский и китайский языки. В карточке приведён результат 73,00 на публичном наборе Decision Index 0.3, полученный авторами самостоятельно.

Модель требует около 62,5 ГБ для весов bf16 и значительных вычислительных ресурсов. Вероятности могут быть недостаточно откалиброваны для конкретного предметного домена, а устойчивость к внедрённым в запрос инструкциям не гарантирована. Обучение на изображениях не проводилось, поэтому визуальные сценарии требуют отдельной проверки. Лицензия — Apache-2.0.

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

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

Ограничения

Плотные веса bf16 занимают около 62,5 ГБ и требуют мощного оборудования; точность калибровки вероятностей зависит от домена. У модели не было обучения на изображениях, и она может поддаваться внедрённым инструкциям в пользовательском вводе.

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

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

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

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

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

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

Открыть на Hugging Face

KnowLine-31B-Gen2

The 31B Gen2 release of PelaAI's System One decision model: 31B parameters, trained, like the other KnowLine models, through a data iteration and research loop driven by the same agent on an all-in-one computer. Served with read twice.

Inference guide · 中文说明 · weights Apache-2.0 · siblings: KnowLine-26B-A4B-Gen2.5, KnowLine-35B-A3B-Gen1.5 · previous release: KnowLine-31B-Gen1.5

Highlights:

  • Decision Index 0.3 public suite: 73.00 (self-run). KnowLine-35B-A3B-Gen1.5 and KnowLine-26B-A4B-Gen2.5 score 70.72 and 68.21 on the same suite with the same serving, respectively; see Comparison.
  • Calibrated probabilities: a temperature, fitted on held-out data, is folded into the weights. Computed with the board's method on the public suite, ECE is about 0.009–0.013 and the Brier score about 0.208–0.231 (KnowLine-26B-A4B-Gen2.5: 0.013-0.018 and 0.24-0.27); see Calibration.

KnowLine is an independently developed model. It is not affiliated with or endorsed by TypeSafe, Jev or Google, and it is not derived from TypeSafe or Jev.

What it does

You send a state (text or a conversation) and up to 64 typed questions: yes/no, choose one of k, or score on a rubric. The model answers every question with a probability distribution over its options:

  • one forward pass per question, with no text generation;
  • the output is the probability of each option's label token;
  • existing Jev clients only need to change the base URL, and users of other KnowLine models only need to change the model name, because the interface is the same.
Base modelgoogle/gemma-4-31B-it (Apache-2.0): dense, about 31B parameters
TrainingLoRA supervised fine-tuning of the language model component, merged into bf16 weights (see How Gen2 was made)
Release formatbf16 weights (about 62.5 GB), with a readout temperature T = 1.27 folded into the final norm weight and the final logit soft-cap (see Calibration); the front end reads score questions at an effective temperature of 1.0 (temperatures.json). The vision tower is unchanged from the base model; the tokenizer is Gemma 4's.
Servingserve_knowline.sh: SGLang in bf16, as for the 26B-A4B; knowline_server.py reads short requests twice, as in KnowLine-26B-A4B-Gen2.5 and KnowLine-35B-A3B-Gen1.5 (on by default; --no-read-twice reads each request once). SGLang reserves 85% of the GPU's memory by default (MEM); the weights take about 62.5 GB. This DI evaluation used H20 96 GB hardware.
LanguagesEnglish, Simplified Chinese, Traditional Chinese

Quickstart

pip install "sglang==0.5.21" "transformers==5.12.1" requests
bash serve_knowline.sh PelaAI/KnowLine-31B-Gen2 0 8080          # SGLang (bf16) on :9080, /v1/systemone on :8080
curl -s http://127.0.0.1:8080/v1/systemone -H 'Content-Type: application/json' -d '{
  "model": "m",
  "state": "Customer: my order arrived broken, I want my money back.",
  "questions": {"refund": {"type": "noul", "instructions": "Should the agent offer a refund?"},
                "tone": {"type": "choice", "instructions": "Customer tone?",
                         "criteria": {"angry": "Angry", "neutral": "Neutral", "happy": "Happy"}}}}'
  • Front end: knowline_server.py with knowline_layout.py next to it; together they depend only on transformers and requests. Text requests are rendered exactly as by the KnowLine-26B-A4B-Gen2.5 front end, prompt for prompt.
  • Full settings: the exact settings used for our Decision Index run are in INFERENCE.md.

How Gen2 was made

  • Base model: google/gemma-4-31B-it (Apache-2.0), a dense model.
  • Training: the language model component was trained with a LoRA adapter (rank 32, alpha 64, language model only, one epoch), merged into bf16 weights. Training examples include decision tasks written and labelled by LLM teachers, rendered with Gemma's chat template.
  • Serving and temperature: it is served with read twice, as KnowLine-26B-A4B-Gen2.5 and KnowLine-35B-A3B-Gen1.5. A single readout temperature T = 1.27, fitted on held-out data with this serving, is folded into the weights. It changes the size of the probabilities, but not which option ranks first.

The training data is not included in this repository.

Comparison

The table below shows Decision Index scores. Since Decision Index 0.4, the board's full score is 60% private tests of the same skills and 40% private tasks from new domains; the public suite is shown but no longer counts toward the full score. This model has no board entry yet.

ModelSizeDI 0.3 publicDI 0.4.1 fullSource
KnowLine-31B-Gen231B73.00Not yet scoredSelf-run, official kit
karpo-decision-31BAbout 31.3B75.0573.86Board
GLiDE 27BAbout 26.1B72.4973.37Board
REAX 1.3About 57.4B73.7172.64Board
Logits Sigma-1 DuoAbout 57.4B72.9372.28Board
Copernicus-31BAbout 31.3B70.3772.11Board
KnowLine 31B Gen1.5About 31.3B70.5071.91Board
Copernicus-57BAbout 57.4B75.3471.80Board
FlexDM-LoRA 2.1 · Gemma-4-31BAbout 31.3B68.9971.61Board

Board rows are from the official Decision Index data, updated on 2026-11-12.

Public-suite skill by area (DI 0.3, all three served with read twice):

AreaKnowLine-31B-Gen2KnowLine-26B-A4B-Gen2.5KnowLine-35B-A3B-Gen1.5
Knowledge & reasoning62.255.155.0
Language74.171.272.9
Retrieval & routing74.870.975.4
Tools & agents88.883.388.2
Arts & taste65.761.464.2

Releases

The model is trained in a self-evolving loop, and new versions will follow.

ModelVersion dateDI 0.3 publicNotes
KnowLine-31B-Gen2 (this model)2026-11-1373.00Second 31B release
KnowLine-12B-Gen12026-11-1369.37First 12B release
KnowLine-9B-Gen22026-11-1369.00Second 9B release
KnowLine-31B-Gen1.52026-11-0470.50Gen1 weights; read twice, with a question list for long requests
KnowLine-2B-Gen12026-10-2952.23First 2B release
KnowLine-0.8B-Gen12026-10-2944.51First 0.8B release
KnowLine-9B-Gen12026-10-2565.67First 9B release
KnowLine-31B-Gen12026-10-2470.13First 31B release
KnowLine-26B-A4B-Gen2.52026-10-2268.21Gen2 weights, read-twice serving
KnowLine-35B-A3B-Gen1.52026-10-2270.7235B-A3B Gen1 weights, read-twice serving
KnowLine-4B-Gen5.52026-10-2266.75Gen5 weights, read-twice serving
KnowLine-4B-Gen52026-10-2165.674B, fifth release
KnowLine-26B-A4B-Gen22026-10-1966.9426B-A4B, second release
KnowLine-26B-A4B-Gen12026-10-1965.76First release on a Gemma 4 base
KnowLine-35B-A3B-Gen12026-10-1269.49First 35B-A3B release
KnowLine-4B-Gen42026-10-1064.904B, fourth release
KnowLine-4B-Gen32026-10-0963.114B, third release
KnowLine-4B-Gen22026-10-0862.544B, second release
KnowLine-4B-Gen12026-10-0760.474B, first release

Evaluation

All results below are self-run and have not been verified by a third party. Every number for this model was measured through its release front end (read twice on). The 26B-A4B-Gen2.5 and 35B-A3B-Gen1.5 numbers are from their release evaluations with the same front end.

Images (zero-shot)

  • No image training: the vision tower is the base model's, unchanged, and no images were seen in training. knowline_server.py accepts OpenAI-style image / image_url content parts in a chat state and passes them to SGLang; each question is still one prefill. Requests with images are read once (read twice is text-only).

Calibration

Computed on the 0.3 public suite using the method described by the Decision Index board: each field is scored right or wrong, confidence is the probability of the chosen option, benchmarks are weighted equally, and 10 equal-width bins are used.

Metric31B-Gen226B-A4B-Gen2.535B-A3B-Gen1.5
ECE (lower is better)0.009–0.0130.013-0.0180.03-0.04
Brier score (lower is better)0.208–0.2310.24-0.270.24-0.26
Confidence ≥95% but wrong0.8–0.9%0.9%1.5%
Mean confidence / accuracy0.84–0.85 / 0.83–0.850.82-0.83 / 0.80-0.820.85-0.86 / 0.81-0.83
  • Temperature in the weights: the final norm weight and the final logit soft-cap include a readout temperature T = 1.27, fitted on held-out data with the read-twice serving, so every final logit is divided by 1.27 before the softmax over the option labels. The top-ranked option does not change.
  • Score questions at temperature 1.0: serve_knowline.sh passes temperatures.json ({"score": 0.7874}), so the front end divides the logits of score (rubric) questions by a further 0.7874 and reads them at an effective temperature of 1.27 × 0.7874 = 1.0; yes/no and choice questions stay at 1.27. Score questions are often read as an expected value over the scale, which a higher temperature pulls toward the middle. This is a serving setting, not a weight change, and earlier KnowLine releases have used it; starting knowline_server.py without --temperatures (or knowline_engine.py with --option temperatures=none) reads every question at 1.27.
  • Why ranges: the board does not publish which benchmarks it uses for calibration, so we report ranges over the plausible benchmark sets, as for the earlier releases.
  • Recommendation: if your use depends on probability thresholds, check calibration on your own data.

Disclosures

  • Decontamination: standard and strict decontamination checks were performed when assembling the training data for this run, removing 63,444 rows during assembly.
  • Teacher-labelled synthetic data: LLM teachers wrote and labelled our synthetic tasks. The labels were filtered, but not all of them were checked by a human.
  • Public suite: the Decision Index public suite is public; the board's private tests may show a lower score.

Limitations

  • Size and speed: about 62.5 GB of bf16 weights and dense, so every token uses all 31B parameters; this serving used a 96 GB H20. One request at a time on one H20, requests take 455.4 ms median and 1032.6 ms mean (4,251.6 ms at the 95th percentile; 30 requests in this release smoke run). The historical measurements for KnowLine-26B-A4B-Gen2.5 are 66.3 ms and 151 ms; see INFERENCE.md.
  • Read twice: text-only requests up to 3,000 tokens are written twice, about 1.54 times the prompt tokens on the Decision Index suite. Use --no-read-twice if latency matters more; we did not evaluate this model without read twice for this card.
  • Planted instructions: this model can be steered by instructions planted in the input; put untrusted content in data fields of the state, not in the instructions, and keep it clearly delimited.
  • Calibration: probabilities are calibrated on average, not for every domain; check calibration on your own data.
  • Images: there was no image training, so check image use on your own data.
  • Other attacks: other prompt-injection attacks may still work.
  • Private tests: the board's private tests may show a lower score than the public suite.

Citation

@misc{knowline31bgen2,
  title  = {KnowLine-31B-Gen2: a 31B decision model},
  author = {PelaAI},
  year   = {2026},
  url    = {https://huggingface.co/PelaAI/KnowLine-31B-Gen2}
}

License

  • Weights: Apache-2.0, the same as the base model.
  • Base model licence: google/gemma-4-31B-it is released under Apache-2.0; see Google's licence page, ai.google.dev/gemma/docs/gemma_4_license.
  • Code: knowline_server.py, knowline_layout.py and knowline_engine.py are MIT (see the file headers).

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

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

GPU в ailist

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

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

Подбираем GPU…

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

0 моделей