/ Модель

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

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

oscar-1-17m

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

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

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

Бенчмарки

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

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

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

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

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

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

Oscar-1 17M — компактная модель принятия решений от разработчика Oscar-1, построенная на энкодере JHU CLSP Ettin Encoder 17M, который полностью дообучен вместе с решающей головой; всего около 20 млн параметров. Она принимает документ-состояние и набор типизированных вопросов, а за один проход выдаёт вероятностный ответ для каждого вопроса. Генерацию текста модель не выполняет. Для работы автор указывает библиотеку laya и Python 3.10 или новее; поддерживаются CPU и CUDA.

В README приведены результаты на наборе typed-decisions, который близок к обучающим данным, и на проверке переноса между наборами задач. Качество и калибровка уверенности заметно зависят от распределения данных: вне обучающего домена часто встречаются уверенные ошибки, а перенос на задачи NLI и тонкого анализа тональности слабый. Авторы отдельно предостерегают от использования этой версии для фильтрации prompt injection и политик безопасности. Лицензия — Apache-2.0.

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

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

Ограничения

Результаты на typed-decisions отражают близкое к обучающим данным распределение; вне домена авторы сообщают о частых уверенных ошибках и рекомендуют заново калибровать температуры на собственных данных. Перенос на NLI и тонкий анализ тональности слабый; модель не следует использовать для фильтрации prompt injection или политик безопасности.

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

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

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

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

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

Открыть на Hugging Face

Oscar-1 17M

A 17M-parameter rung of the Oscar-1 scale ladder: this size learned the full recipe before corpus expansion, published as the family's baseline. The number that matters: 0.6775 typed-decisions test accuracy at ~1.9 ms p50 and 37 MB.

What it is. A decision model: one document (the state) and a set of typed questions in, a probability distribution per question out, in one forward pass. No text generation — nothing to parse, nothing to hallucinate. It is a decision head on a JHU CLSP Ettin encoder (ettin-encoder-17m, fully fine-tuned; ~20M parameters with the head), serving the same answers contract the hosted Jev API serves, and loads only with the laya runtime — pip install laya, then laya.load("oscar-1-17m"). The shipped temperatures (choice 1.069, score 1.086, noul 1.284) were fitted post-hoc in-distribution on a held-out 400-item split. Part of the Oscar-1 collection (all checkpoints + live demo Space).

This version (2026-09-30)

Paired against the previous generation (variants-only corpus generation (before the mix expansion; unpublished)): +23.5 pp on the sealed harness (0.3347 → 0.5702); see Paired reads.

Read this before relying on these numbers:

  • typed-decisions is in-distribution. The training mix contains the same public sources the benchmark's five public suites come from (agnews, mnli, emotion, sst5, banking77) plus the five decision workflows; the test split was held out of training, but the capabilities it measures were trained. Read 0.6775 as what this size learned from the mix, not a general read.
  • The sealed 9-suite harness is the transfer check: byte-identical cases at seed 42, labels are the datasets' own (not adjudicated for this harness), 1,240 decisions per participant. With one read and case-clustered resampling, CIs here are wide; treat sub-point gaps as noise.
  • As served, confident errors are 19.9% out of domain (decisions at reported confidence ≥ 0.9 that are wrong; the laya anchor: 5.3%). The shipped temperatures were fitted in-distribution; refit on your own decisions before gating anything on confidence.
  • No pre-registered release rule for this generation. The family's release rule is registered from the next corpus delta onward (docs/release-rule.md); this release was decided by reading the results and shipping, which is exactly what the rule is meant to prevent.
  • mnli 0.350 / sst5 0.283 as served — natural-language-inference and fine sentiment remain the weak transfers at this size.
  • guardrails as served: 0.458 — route prompt-injection and policy screens to a dedicated stack, never to these rungs.

Results (as served: each checkpoint at its own fitted temperature)

Oscar-1 17M (this checkpoint)previous generation (variants-only, unpublished)laya anchor
typed-decisions test accuracy (400 cases / 2,000 decisions)0.6775—0.7685
typed-decisions Brier / ECE (as served)0.1037 / 0.0987—0.0657 / 0.2156
typed-decisions raw accuracy (T = 1.0)0.6775—0.7685
typed raw Brier / ECE0.1042 / 0.0769—0.0537 / 0.1301
typed score MAE / within-10.3409 / 0.963—0.2425 / 0.995
typed latency p501.9 ms—10.0 ms
sysone sealed overall (952 cases / 1,240 decisions)0.57020.33470.7258
sysone agnews0.8690.2870.844
sysone banking77 (12)0.8120.1670.812
sysone emotion0.5520.0730.693
sysone guardrails screens0.4580.2920.750
sysone mnli0.3500.3920.575
sysone moderation0.7290.7290.847
sysone multilingual intent0.2750.1920.567
sysone sst5 (5-way sentiment)0.2830.1330.375
sysone support triage0.6560.6250.927
confident errors out of domain (p ≥ 0.9 and wrong, as served)19.9%—5.3%
coverage at ≤ 5% error (share of decisions automatable)0.0060.0250.135

Latency: typed-decisions readout on an RTX 5060 Ti (bf16); the sealed harness runs the same checkpoint as served. The laya anchor is our own re-measure on this host, using the same evaluator that produced the Oscar rows. Its published figures (accuracy 0.766, Tesla T4) differ from the re-measure within temperature-fitting rounding; its shipped temperatures include one invalid entry (choice:11+, clamped at load) — accuracy is unaffected.

Paired reads

Paired with the previous generation: sealed overall +23.5 pp [+20.4, +26.8]; 79 decisions right only in the previous generation, 371 only in this checkpoint (exact McNemar p ≈ 0). The delta is clear.

Paired with oscar-1-32m: sealed overall -1.5 pp [-3.6, +0.6]; 100 decisions right only in oscar-1-32m, 82 only in this checkpoint (exact McNemar p = 0.2075). Level on this harness.

Calibration (raw vs served)

Temperature fitting moved typed-decisions accuracy 0.6775 → 0.6775 and Brier 0.1042 → 0.1037 (raw = all three temperatures at 1.0, set via agent.cfg['temperature'] = [1, 1, 1]). The sealed-harness runs above are as served only: the harness answers every case through the stock laya contract with the shipped temperatures.

The family ladder

membertyped-decisions test accsysone sealed overallconfident errors (p ≥ 0.9)coverage at ≤ 5% error
Oscar-1 17M (this checkpoint)0.67750.570219.9%0.006
oscar-1-32m0.70050.584720.3%0.002
oscar-1-68m0.74550.662925.0%0.060
oscar-1-150m0.77500.676625.4%0.019
oscar-1-400m0.77700.700026.6%0.002
laya-typed-decisions (anchor, measured by us)0.76850.72585.3%0.135

All rows measured by us on this host: typed-decisions official test split; sealed 9-suite harness (seed 42). Method and per-decision provenance: see Reproduce.

How it was built

  • Backbone: JHU CLSP Ettin ettin-encoder-17m (bidirectional encoder, fully fine-tuned) + a decision head trained from scratch: 2 transformer layers, an option-marker scorer, an act/escalate head. ~20M parameters together, 37.0 MB shipped on disk.
  • Recipe (RLCD, the Laya method): the policy reports a full distribution per question; exploration adds zero-mean Gaussian noise to the logits (sigma annealed 0.4 → 0.1); the reward is a strictly proper scoring rule (log + spherical, plus ranked probability score for ordinal score questions), so expected reward is maximised only by honest probabilities. Updates are REINFORCE with a group-mean baseline (GRPO-style), alongside soft cross-entropy against teacher targets (w_ce = 1.0). 4 epochs, 3,696 updates, AdamW, bf16, 2-GPU DDP (0.37 GPU-h per run).
  • Lineage: the config carries fine_tuned_from_checkpoint: true (warm-started from an earlier family checkpoint whose exact parent the artifact does not record).
  • Corpus: variants (19,854) + mix (39,281) = 59,135 train items.
  • Calibration: one temperature per primitive fitted post-hoc on a held-out 400-item split (no id overlap with training): choice 1.069, score 1.086, noul 1.284; set agent.cfg['temperature'] = [1, 1, 1] for the raw readout.
  • Weights: model.safetensors sha-256 a278214187aa7952… (full digest in results provenance below).

Known limits

  • Routing. The lowest rung, kept for the scale ladder and the cheapest possible in-distribution routing. Out of distribution it stays honest-to-a-fault (it rarely crosses 0.9 confidence) and inaccurate. oscar-1-32m at 71 MB is usually the better tiny deploy.
  • Out-of-domain calibration is the open problem. As served, decisions at reported confidence ≥ 0.9 are wrong 19.9% of the time on the sealed harness (laya: 5.3%); coverage at a 5% error budget is 0.006 (laya: 0.135). Do not treat confidence as an abstention signal out of distribution; refit or threshold your own data first.
  • guardrails 0.458 as served; route prompt-injection and policy screens to a dedicated stack.
  • Ordinal score is the weakest primitive (within-1 0.963, argmax accuracy falls). Keep rubrics to 3-5 levels and read the expected score, not the argmax.
  • Long states: trained and benchmarked at max_len = 512 (the measured p50 reflects the 512 budget); the ModernBERT encoder itself reads up to ~8,000 tokens — raise agent.cfg["max_len"] for long states and verify on your own data (the same caveat the laya cards document for their 8k mode). Keep choice sets under ~20 options unless head_max_len is raised too.
  • English-only. The multilingual intent cell is 0.275 as served; for non-English states use laya-multilingual.
  • A decision model, not an assistant. It cannot answer free-form questions, generate text, or abstain with an "I don't know" option unless you add one to the criteria.

Use

pip install laya

Python 3.10 or newer; CPU inference works, device="cuda" with any modern GPU.

import laya

agent = laya.load("mgoeckel/oscar-1-17m")   # downloads and builds

state = {"text": "I was charged twice, please return the money."}
questions = {
    "intent": {"type": "choice", "instructions": "What does the customer want?",
               "criteria": ["refund", "cancel", "information", "other"]},
    "urgency": {"type": "score", "instructions": "Rate urgency 0 to 4.",
                "criteria": ["routine", "low", "moderate", "high", "critical"]},
    "sensitive": {"type": "noul", "instructions": "Is this a fraud/security issue?"},
}
r = agent.predict(state, questions)
print(r["answers"]["intent"]["choice"])          # -> refund
print(r["answers"]["urgency"]["score"])           # -> 0.898 (expected level, 0..1)
print(r["answers"]["sensitive"]["noul"])          # -> probability the answer is true

All questions in a call are answered in one forward pass; latency follows the state's length, not the question count. Answer shape per primitive:

typecriteriaanswer fields
choice2-16 option IDs to descriptionschoice, probabilities, answer_confidence
scoreordered rubric levels of 2-16score (expected level, 0-1), probabilities, answer_confidence
nouloptional true/false descriptionsnoul (probability true), confidence = max(p, 1-p)

The raw JSON is the same answers contract the hosted Jev API and the laya-demo Space serve — a client written for either reads Oscar's answers unchanged.

act_probability is present on every answer (act/escalate head, escalate cost 0.5, wrong-act cost 3.0) but carries no calibrated escalation signal yet — gate decisions on answer_confidence.

Reproduce

  • Sealed harness: sysone-bench v2 orchestrator, dataset version 2.0.0 checksum-verified, seed 42; per-decision predictions, checksums and manifests are archived in /tmp/rlcd-research/sysone-bench/runs-v2/ (regenerable with scripts/run_sysone_gpu.py <name> <checkpoint> <run_id>).
  • Typed-decisions readout: encoder_rlcd/eval.py single mode over the official test split (400 cases / 2,000 decisions; dataset revision as served through 2026-09).
  • Result files: results/variants-plus-mix-17m-sysone.json (sealed), results/variants-plus-mix-17m-typeddec.json (typed; raw and as-served blocks), results/oscar-1-paired-sysone.json (paired reads), results/oscar-1-family-sysone.json (as-served confidence metrics), reports/oscar-1-400m-gpu-sweep.md and reports/oscar-1-68m-150m-gpu-sweep.md (sweep narratives). Pairing method: exact McNemar on discordant decisions + case-clustered bootstrap (10,000 resamples, seed 42). Oscar accuracy is read post-temperature with the per-primitive temperatures in rl_agent_config.json; set all temperatures to 1.0 for the raw readout.

Links

Apache 2.0 · Oscar-1 (mgoeckel) · Ettin encoders MIT (JHU CLSP) · RLCD method & Laya runtime Apache-2.0 (Convai Innovations)

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

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

GPU в ailist

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

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

Подбираем GPU…

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

0 моделей