/ Модель

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

Лицензия
Apache 2.0
Базовая модель
ettin-encoder-150m
Библиотека
onnx
Опубликована
23 окт 2026

coba-150m-ternary

Классификация без дообученияТекст → label3 профессии

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

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

Бенчмарки

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

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

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

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

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

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

Coba 150m ternary — англоязычная модель принятия решений от Ollaya на основе энкодера Ettin 150m с архитектурой ModernBERT. Она принимает состояние в виде сообщения, обращения в поддержку или небольшого JSON-объекта вместе с вопросами и за один проход выдаёт вероятности для ответов «да/нет», выбора из вариантов или оценки по описанной шкале. В энкодере и классификационной голове используются тернарные веса, а токеновые эмбеддинги имеют точность 4 бита; модель доступна в форматах ONNX и safetensors. Совокупная длина вопроса и состояния ограничена 512 токенами.

Модель предназначена для классификации и ранжирования решений в поддержке и агентских сценариях, а также для оценки текста по заданным критериям. Она обучалась на англоязычных данных и включает обучающие части десяти публичных бенчмарков, поэтому результаты на этих наборах отражают внутридоменную оценку, а не zero-shot качество. Вероятности усреднённо откалиброваны, но могут требовать проверки на собственных данных. Модель распространяется по лицензии Apache-2.0.

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

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

Ограничения

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

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

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

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

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

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

Открыть на Hugging Face

Coba 150m ternary

Coba 150m ternary is a small English decision model by Ollaya. Give it a state (a message, a support ticket, a JSON object, an agent's next tool call) and questions, and it answers every question in one forward pass with calibrated probabilities:

  • noul: yes or no, as the probability of yes;
  • choice: one of up to 255 options, each described in plain words;
  • score: a level on a scale of 2 to 10 described levels.

Ternary: every weight of the encoder layers and the head is −1, 0 or +1 times a scale per output row, and the token embeddings have 4 bits, so in a browser tab the whole model is a 66 MB download (onnx/model.onnx and the tokenizer); model.safetensors holds the same weights as float32, for laya and Ollaya. It trained in-domain: its data includes the train splits of ten of the public benchmark's datasets (see Results).

Run it

In a web page (npm install @ollaya/web): the model downloads once (66 MB) and runs on the device.

import { fromHub, load } from '@ollaya/web';

const model = await load(fromHub('ollaya-dev/coba-150m-ternary'));
const { answers } = await model.decide({
  state: "I was charged twice for order A-104. Refund the duplicate today or I'm cancelling.",
  questions: {
    refund: { type: 'noul', instructions: 'Is the customer asking for a refund?' },
    team: { type: 'choice', instructions: 'Which team handles this?',
            criteria: { billing: 'Payments, charges, refunds', technical: 'Bugs, outages, errors' } },
    urgency: { type: 'score', instructions: 'How urgent is this?', criteria: ['Can wait', 'This week', 'Today'] },
  },
});

With Ollaya (Linux, macOS, Windows; CPU, CUDA, Metal):

curl -fsSL https://ollaya.dev/install.sh | sh
ollaya run coba:150m-ternary --ask "Is the customer asking for a refund?" < ticket.txt

or POST http://localhost:11435/api/decide with {"model": "coba:150m-ternary", "state": …, "questions": …} (API). Ollaya also speaks TypeSafe's /v1/systemone, so Jev clients work unchanged.

In Python with laya (pip install laya):

import laya

agent = laya.load("ollaya-dev/coba-150m-ternary")
agent.system_one("I was charged twice for order A-104.", {
    "refund": {"type": "noul", "instructions": "Is the customer asking for a refund?"},
})

Ollaya and laya give the same answers, and so does the browser (checked against Ollaya's runtime on the same questions): Ollaya checks its runtime against this checkpoint's PyTorch outputs on 2,383 questions (every decision the same, probabilities within 3.6e-6).

Results

ModelWeightstyped-decisionsPublic benchmark
coba:1bfp320.6080.561 zero-shot
coba:400mfp320.5910.561 zero-shot
coba:400m-ternaryternary0.5590.654 in-domain
coba:150m-ternary (this model)ternary0.5350.622 in-domain
coba:68m-ternaryternary0.4830.603 in-domain
pplx-decider:flash (the teacher, 4B decoder)bf160.7260.824 zero-shot
decider:0.8b (0.8B decoder)bf160.5060.669 zero-shot
laya:en (Laya's English model)fp320.3580.532
  • typed-decisions: accuracy on the 400 rows of LocalLLaMA/typed-decisions' test split, which no model here trained on.
  • Public benchmark: macro accuracy over the 3,880 records of the eleven datasets Ollaya's bench uses (MNLI, BoolQ, PAWS, VitaminC, civil_comments, Aegis 2.0, HelpSteer2, PubMedQA, SQuAD 2.0, MASSIVE, SummEval). In-domain: the model also trained on the train splits of ten of them (never their test records; rows that share any text with a test record were dropped). Zero-shot: trained without them.
  • For scale: pplx-decider:flash, the 4B decoder this model learned from, scores 0.726 and 0.824 zero-shot; 0.8B decoders score 0.46–0.51 and 0.61–0.67.

Training

  • Network: Laya's (laya 0.3.7): the question, a [MASK] before every option and the state in one sequence of up to 512 tokens; a two-layer transformer head scores each option at its marker. Encoder: Ettin 150m (ModernBERT architecture, MIT).
  • Data: about 400,000 English questions in 344,000 states from permissively licensed decision datasets (Apache-2.0, MIT, CC BY, CC BY-SA, CC0, BSD; every source and its license is in DATA_SOURCES.tsv), plus 180,000 from the benchmark datasets' train splits. Rows from datasets with a non-commercial or unknown license were dropped.
  • Labels: each question's gold answer where the data has one, mixed with the full probability distribution of pplx-decider:flash (Apache-2.0), computed through Ollaya.
  • Recipe: soft cross-entropy plus the ranked probability score on score questions; options shuffled half the time; one temperature per question type fitted on held-out data. Ternary weights: quantization-aware training from the fp model of the same size (absmean per row, as BitNet b1.58, with a straight-through estimator), distilled from it (logits, attention relations and every layer's hidden states), with the fp weights blended into the quantized ones over the first 30% of the steps.

Limits

  • English only. Other languages are not refused but are not measured.
  • 512 tokens for the state and the question together: messages, tickets and small JSON states, not long documents or agent traces.
  • score questions are the weakest kind for every model of this size; read the probabilities, not only the expected level.
  • Probabilities are calibrated on average, not per domain: check them on your own data before acting on them automatically, and keep a person in the loop for decisions that matter.

License

Apache-2.0. The encoder started from Ettin (MIT; see NOTICE). The training data's sources and their licenses are in DATA_SOURCES.tsv; CC BY and CC BY-SA sources are credited there.

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

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

GPU в ailist

Универсальный рантайм · onnx · zero-shot-classification

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

В репозитории нет config.json: не понять архитектуру модели.

Ревизия весов
b5f7c77

0 моделей