/ Модель

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

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

coba-68m-ternary

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

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

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

Бенчмарки

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

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

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

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

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

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

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

Модель предназначена для классификации и маршрутизации обращений, выбора следующего действия агента и присвоения оценок. Веса энкодера и головы квантизованы до значений −1, 0 и +1 с масштабом по строкам, а эмбеддинги имеют точность 4 бита; ONNX-версия вместе с токенизатором занимает около 35 МБ и может запускаться в браузере. Модель дообучена на англоязычных наборах данных для принятия решений, включая обучающие части публичных бенчмарков, и дистиллирована из модели pplx-decider:flash. Лицензия репозитория — Apache-2.0.

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

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

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

Ограничения

Поддерживается и оценивался английский язык; длина вопроса и состояния вместе ограничена 512 токенами. Оценки по шкале — более слабый тип решения, а вероятности требуют проверки на данных конкретной области перед автоматическим использованием.

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

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

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

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

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

Открыть на Hugging Face

Coba 68m ternary

Coba 68m 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 35 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 (35 MB) and runs on the device.

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

const model = await load(fromHub('ollaya-dev/coba-68m-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:68m-ternary --ask "Is the customer asking for a refund?" < ticket.txt

or POST http://localhost:11435/api/decide with {"model": "coba:68m-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-68m-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 2.8e-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-ternaryternary0.5350.622 in-domain
coba:68m-ternary (this model)ternary0.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 68m (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: не понять архитектуру модели.

Ревизия весов
3553b95

0 моделей