/ Модель

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

Лицензия
Apache 2.0
Опубликована
28 сен 2026

LightDec_Arthur

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

Компактная байтовая модель Falcons.ai для калиброванной классификации и выбора ответа из заданных вариантов по текстовому состоянию и вопросу.

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

Бенчмарки

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

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

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

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

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

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

LightDec_Arthur — небольшая калиброванная модель принятия решений от Falcons.ai, обученная с нуля на смеси FalconDec_V2. Она принимает состояние в виде текста, например письмо, обращение, трассу агента, журнал или запись JSON, типизированный вопрос и закрытый набор вариантов, а затем за один проход выбирает вариант и возвращает вероятности. Модель использует байтовый рекурсивный энкодер с взаимодействием вариантов, содержит около 12,3 млн параметров и не имеет предварительно обученной основы или токенизатора.

Модель предназначена для классификации намерений, маршрутизации обращений, бинарных проверок вроде выявления jailbreak-промптов, сопоставления кода и порядковой оценки состояний. Она поддерживает выбор из нескольких вариантов, ответы «да/нет» и ранжированную шкалу оценок. Калиброванная вероятность позволяет задавать порог уверенности и передавать сомнительные случаи человеку или более крупной модели. Это не генеративная модель: она выбирает только из переданных вариантов и не создаёт свободный текст.

Веса опубликованы в формате safetensors, лицензия — Apache-2.0. README сообщает о компромиссе между размером и точностью относительно LightDec_V2; приведённый показатель точности относится к описанному тесту и порогу уверенности. Для самостоятельного запуска репозиторий пока не содержит отдельного загрузчика: определение модели, сборка входа и температурная калибровка находятся в обучающем ноутбуке.

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

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

Ограничения

Модель уступает LightDec_V2 в точности согласно README и не генерирует свободный текст. В репозитории пока нет отдельного загрузчика; для запуска описан код из обучающего ноутбука.

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

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

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

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

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

Открыть на Hugging Face

LightDec_Arthur

LightDec_Arthur is a small, fast, calibrated decision model from Falcons.ai. Given a piece of state (an email, a ticket, an agent trace, a log, a JSON record) and a typed question, it picks an answer from a closed set of options in a single forward pass and returns calibrated probabilities, so your application knows when to trust the answer and when to defer to a human or a larger model.

Unlike Falconsai/LightDec_V2, it has no pretrained backbone and no tokenizer. It reads raw UTF-8 bytes and was trained from scratch on the FalconDec_V2 decision mixture. At about 12 million parameters it is roughly 13× smaller than LightDec_V2, trading accuracy for size and speed.

ArchitectureArthur (byte-level recursive encoder + option-interaction head), trained from scratch
BackboneNone
Parameters12,268,033 (fp16 weights; model folder 24.5 MB)
Context1,024 tokens of 4 bytes (4,096 bytes) per call; 2,048 tokens for questions with more than 24 options
Question typeschoice, noul (yes/no), score (ordinal levels)
Options per question2 or more in one pass (up to 77 in the test set)
Test accuracy59.6% micro / 58.4% macro over 26,597 test items, 58 tasks
CalibrationECE 0.030 after temperature scaling (0.246 before)
Latency5.1 ms per decision on GPU (NVIDIA RTX PRO 6000 Blackwell); CPU not yet measured
VersionArthur notebook v0.8.0, base tier

What it does

LightDec_Arthur answers the same kind of small, structured questions as LightDec: Which queue does this ticket go to? Is this code a clone of that one? Is this prompt a jailbreak? Which intent is this request? It is not a generative model and never produces free text; it only chooses among the options you give it.

Three question types are supported:

  • choice: pick one of N options.
  • noul: a yes/no judgment (options Yes, No).
  • score: an ordinal scale such as ["Calm", "Annoyed", "Furious"], trained with a ranked-probability term so near misses cost less than far ones.

The calibrated top probability works as a confidence. With a threshold of 0.80, the model answered 21.5% of test questions on its own and was 89.7% accurate on those; 94.6% of its mistakes fell in the deferred remainder.

How it works

The question, the options and the state are packed into one byte sequence:

[CLS] question [SEP] [OPT] option_1 [OPT] option_2 ... [OPT] option_k [SEP] state [SEP]

Each byte gets an embedding, plus hashed embeddings of the 2-, 3- and 4-byte fragments ending at it (65,536 buckets). A depthwise convolution mixes neighbouring bytes, and every 4 bytes are pooled into one position; each [OPT] marker starts a new position. One transformer block (8 heads, rotary positions) is applied 6 times over the text, with a learned step vector added before each pass.

The vector at each option's [OPT] position, plus the mean of the text and a question-type embedding, forms the option vector. The same block is applied twice more over the option vectors, without position encoding, so options can compare themselves with each other. A small MLP gives one logit per option. A temperature per question type and option-count bucket (2, 3–5, 6–12, 13+ options), fitted on validation data and stored in config.json, calibrates the softmax.

Usage

This repository does not yet include a standalone loader. The model definition (Arthur), the byte layout (assemble) and the temperature step live in the Arthur training notebook. To score a decision with the notebook's code:

import json, numpy as np, torch
from safetensors.torch import load_file

cfg = json.load(open("config.json"))                      # tier config, byte layout, temperatures
net = Arthur(TIER_CFG["base"])                             # class from the Arthur notebook
net.load_state_dict({k: v.float() for k, v in load_file("model.safetensors").items()})
net.to(DEVICE).eval()

d = dict(state="I was billed twice for my Pro plan in March. Please refund the duplicate charge.",
         question="What is this support email primarily about?",
         options=["billing", "technical", "feature request", "account"], qtype="choice")
ids, win, wmask, qt = batch_tensors([d])                   # from the Arthur notebook
with torch.no_grad():
    z = net(ids, win, wmask, qt)[0, :len(d["options"])].float().cpu().numpy()
t = np.array(cfg["temperatures"])[QTYPES[d["qtype"]], bucket(len(d["options"]))]
p = np.exp((z - z.max()) / t); p /= p.sum()
print(d["options"][int(p.argmax())], round(float(p.max()), 3), "DEFER" if p.max() < 0.8 else "")

Evaluation

All numbers come from results_full.json, written by the training run. The test split has 26,597 items across 58 tasks in 9 domains. Tasks marked held-out have no training or validation data.

By domain

Accuracy is the mean over the domain's tasks.

DomainTasksTest itemsAccuracy
support21,00099.5%
code93,85474.1%
guardrails41,29469.0%
agentic492560.5%
workflows42,00060.4%
intents41,80058.3%
policy94,50056.5%
reasoning189,22447.2%
classification42,00043.0%

Head-to-head against Arthur nano

Arthur nano is the 1.6 MB tier of the same architecture (793,729 parameters), scored on the same test set. It was trained for 8 epochs with a 512-token window, so this comparison mixes model size, epochs and input length.

On the 58 shared tasks, LightDec_Arthur averaged 58.4% against 53.6% for Arthur nano, winning on 39 tasks, tying on 3 and losing on 16.

TasknArthurArthur nanoΔ
policy/return_window_transfer50082.6%31.4%+51.2
mbpp/solution50079.2%49.2%+30.0
codexglue/doc_to_code50488.5%63.7%+24.8
qasc/mcq50046.8%22.4%+24.4
codexglue/code_to_doc50483.9%64.9%+19.1
codexglue/func_name46769.8%51.8%+18.0
hotpotqa/retrieve49758.6%41.6%+16.9
hotpotqa/comparison_yes_no2665.4%50.0%+15.4
sciq/mcq49860.8%47.6%+13.3
banking77/intent50058.2%46.4%+11.8
massive_en/intent50085.4%75.6%+9.8
policy/refund_approval_transfer50052.0%42.6%+9.4
snli/nli98872.4%63.8%+8.6
snli/contradicts50085.4%77.4%+8.0
policy/invoice_overdue_transfer50048.8%41.0%+7.8
snli/must_be_true50090.8%83.6%+7.2
policy/sla_urgency_transfer50030.2%23.0%+7.2
openbookqa/mcq50036.2%30.2%+6.0
policy/table_extreme_transfer50028.4%22.4%+6.0
arc_challenge/mcq50029.4%23.8%+5.6
winogrande/blank50056.2%50.8%+5.4
sst5/score50027.4%22.6%+4.8
clinc150/intent50084.8%80.2%+4.6
policy/free_shipping_transfer50080.0%75.6%+4.4
humaneval/completion11942.0%37.8%+4.2
mnli/claim50052.0%48.6%+3.4
typed_decisions/agent_trace_observability50069.8%66.6%+3.2
commonsense_qa/mcq49319.1%16.8%+2.2
boolq/yes_no50062.6%60.4%+2.2
arc_easy/mcq50030.4%28.4%+2.0
jailbreak/detect26291.2%89.3%+1.9
devign/vulnerability50064.2%62.4%+1.8
hellaswag/continuation50028.0%26.2%+1.8
banking77/intent_773004.7%3.0%+1.7
civil_comments/toxic50086.8%85.6%+1.2
ag_news/topic50084.6%83.6%+1.0
bitext/route50099.4%98.8%+0.6
bigclonebench/clone50095.4%95.0%+0.4
mbpp/bugspot25643.8%43.4%+0.4
codexglue/lang_id50499.8%99.8%+0.0
policy/access_control_transfer500100.0%100.0%+0.0
policy/invoice_total_transfer50052.0%52.0%+0.0
scitail/support50066.0%66.2%-0.2
bitext/category50099.6%99.8%-0.2
mmlu/mcq50028.4%28.8%-0.4
gsm8k/math50030.6%31.2%-0.6
yelp/score50048.6%50.6%-2.0
typed_decisions/security_incidents50065.8%68.2%-2.4
typed_decisions/invoice_processing50056.0%59.4%-3.4
policy/count_threshold_transfer50034.8%38.2%-3.4
agentharm/refuse41650.7%54.3%-3.6
aqua_rat/math24721.9%27.5%-5.7
counsel/step_has_error20172.1%78.1%-6.0
anli/nli49832.1%38.1%-6.0
counsel/critique_quality20145.8%53.2%-7.5
emotion/6way50011.6%19.2%-7.6
typed_decisions/customer_service50050.0%58.0%-8.0
prompt_injections/detect11647.4%56.0%-8.6

Input length

At the 1,024-token window, 385 of 972,625 training and test decisions (0.04%) have text cut off, concentrated in counsel/critique_quality (7.3%), jailbreak/detect (7.0%) and counsel/step_has_error (4.6%).

Decision Index 0.2 (partial)

LightDec_Arthur was scored on 39 benchmarks of the public Decision Index 0.2 with the index kit's own runner and scorers. Five benchmarks were not built (ToolRet and BRIGHT need tiktoken, POP909 needs mido, ChessBench needs python-chess, HLE is gated), so this is not a Decision Index score. The kit's rules apply: nothing is cut, and a request longer than 8,192 bytes, or a question of a type the harness does not map (score), is Unsupported and counts as wrong.

On 35 counted benchmarks, 21 score exactly 0 skill (chance level), and the best is SGD/SGD-X at 8.84. Five benchmarks share a source with the training mixture (ANLI, HellaSwag, WinoGrande, GSM8K, CLINC150), yet score near chance: the model learned those datasets in the training mixture's question format and does not transfer to the index's formats. For example, CLINC150 scores 84.8% on this card's test but 0.19 skill on the index, which asks all 151 intents plus out-of-scope in one question. 140 training decisions share text with index test rows (74 HellaSwag, 26 MMLU, 25 MMLU-Pro, 10 ARC-Easy, 4 ARC-Challenge, 1 BBH).

#BenchmarkSkill (0 = chance, 100 = perfect)RawCoverageUnsupportedCounted in index
#1BFCL2.940.28100.979934yes
#3API-Bank0.000.00000.0000508yes
#4BANKING770.000.00141.00000yes
#5CLINC150+OOS0.190.00791.00000yes
#6RouterBench0.000.53040.9266367yes
#9Home appliance simulator0.000.00001.00000yes
#10SGD/SGD-X8.840.45210.99961yes
#11ContractNLI0.000.08330.365978yes
#12ANLI0.300.33441.00000yes
#20BPoMP1.610.50811.00000yes
#21Humicroedit0.000.49201.00000yes
#23cfcolor0.000.47251.00000yes
#24MMLU0.730.25551.00000shown only
#25GPQA Diamond1.360.26021.00000yes
#26ARC-Easy2.390.26811.00000shown only
#27ARC-Challenge3.740.27821.00000shown only
#28WinoGrande0.720.50361.00000yes
#29HellaSwag3.250.27441.00000yes
#30GSM8K0.520.17781.00000yes
#32MuSR0.000.35771.00000yes
#33SATA-Bench0.000.00120.959467yes
#34SimpleBench0.000.00001.00000shown only
#37Amazon ESCI0.000.19651.00000yes
#38ACOS0.000.00001.00000yes
#39FinEntity0.000.21991.00000yes
#40iSarcasmEval5.160.26281.00000yes
#41VAST0.000.32761.00000yes
#42NLI4CT0.220.48710.9784119yes
#43CRUXEval7.870.41931.00000yes
#44CLadder0.000.49761.00000yes
#48ForecastBench0.000.00000.9853149yes
#50Habermas Machine0.000.28941.00000yes
#56PhishNChips phishing decisions0.000.49301.00000yes
#57MMLU-Pro0.020.11111.00000yes
#58BBH fixed-option tasks0.140.31111.00000yes
#59RAGTruth response-level hallucination0.000.25480.983744yes
#61HoVer claim verification0.000.49301.00000yes
#62When2Call MCQ0.000.22480.9721102yes
#64New Yorker caption matching0.000.19321.00000yes
DomainTasknAccuracyChanceHeld-out
agenticcounsel/critique_quality20145.8%33.3%
agenticcounsel/step_has_error20172.1%50.0%
agentichotpotqa/comparison_yes_no2665.4%50.0%
agentichotpotqa/retrieve49758.6%16.7%
classificationag_news/topic50084.6%25.0%
classificationemotion/6way50011.6%16.7%✓
classificationsst5/score50027.4%20.0%✓
classificationyelp/score50048.6%20.0%
codebigclonebench/clone50095.4%50.0%
codecodexglue/code_to_doc50483.9%26.2%
codecodexglue/doc_to_code50488.5%27.9%
codecodexglue/func_name46769.8%25.5%
codecodexglue/lang_id50499.8%23.5%
codedevign/vulnerability50064.2%50.0%
codehumaneval/completion11942.0%39.4%✓
codembpp/bugspot25643.8%40.6%
codembpp/solution50079.2%25.0%
guardrailsagentharm/refuse41650.7%50.0%✓
guardrailscivil_comments/toxic50086.8%50.0%
guardrailsjailbreak/detect26291.2%50.0%
guardrailsprompt_injections/detect11647.4%50.0%✓
intentsbanking77/intent50058.2%32.1%✓
intentsbanking77/intent_773004.7%1.3%✓
intentsclinc150/intent50084.8%12.4%
intentsmassive_en/intent50085.4%13.0%
policypolicy/access_control_transfer500100.0%33.3%✓
policypolicy/count_threshold_transfer50034.8%17.8%✓
policypolicy/free_shipping_transfer50080.0%50.0%✓
policypolicy/invoice_overdue_transfer50048.8%50.0%✓
policypolicy/invoice_total_transfer50052.0%50.0%✓
policypolicy/refund_approval_transfer50052.0%33.3%✓
policypolicy/return_window_transfer50082.6%33.3%✓
policypolicy/sla_urgency_transfer50030.2%25.0%✓
policypolicy/table_extreme_transfer50028.4%23.7%✓
reasoninganli/nli49832.1%33.3%
reasoningaqua_rat/math24721.9%20.0%
reasoningarc_challenge/mcq50029.4%25.0%✓
reasoningarc_easy/mcq50030.4%25.0%✓
reasoningboolq/yes_no50062.6%50.0%
reasoningcommonsense_qa/mcq49319.1%20.0%
reasoninggsm8k/math50030.6%25.0%
reasoninghellaswag/continuation50028.0%25.0%
reasoningmmlu/mcq50028.4%25.0%✓
reasoningmnli/claim50052.0%33.3%
reasoningopenbookqa/mcq50036.2%25.0%
reasoningqasc/mcq50046.8%12.5%
reasoningsciq/mcq49860.8%25.0%
reasoningscitail/support50066.0%50.0%
reasoningsnli/contradicts50085.4%33.3%
reasoningsnli/must_be_true50090.8%33.3%
reasoningsnli/nli98872.4%33.3%
reasoningwinogrande/blank50056.2%50.0%
supportbitext/category50099.6%16.1%
supportbitext/route50099.4%19.0%
workflowstyped_decisions/agent_trace_observability50069.8%30.0%
workflowstyped_decisions/customer_service50050.0%28.0%
workflowstyped_decisions/invoice_processing50056.0%35.0%
workflowstyped_decisions/security_incidents50065.8%34.0%

Training

InitializationRandom (trained from scratch; no pretrained weights, no tokenizer)
Data946,028 training / 26,597 test examples, plus a validation split from the same build
SourcesFalconDec_V2's mixture: public classification, NLI, QA, code, intent, guardrail and agent-trace datasets converted into typed decisions, plus synthetic policy-transfer and workflow tasks. mind2web was excluded; no custom data was added.
Presetfull (up to 40,000 training decisions per source)
ObjectiveLog score + 0.5 × spherical score, plus ranked probability score for score questions; option order reshuffled every epoch; "None of the above" augmentation on choice questions (8% replace, 4% insert); teacher probabilities mixed 50/50 with the answer where the data provides them; task sampling ∝ n^0.5, at most 3× repetition
OptimizerAdamW, learning rate 1.5e-4, betas (0.9, 0.98), weight decay 0.01 (not on embeddings or norms), 6% warmup then cosine to 5%, gradient clip 1.0, EMA up to 0.999
BatchingLength-sorted batches of up to 16,384 pooled positions and 64 decisions
Schedule20 epochs, 320,917 steps; EMA weights from epoch 12 selected on validation macro accuracy
CalibrationTemperature per (question type × option-count bucket), fitted on validation by log loss
Compute121.6 minutes on one NVIDIA RTX PRO 6000 Blackwell Server Edition (training and test evaluation)
SoftwarePyTorch 2.9.0 (CUDA 13.0), Python 3.12

Validation accuracy peaked at epoch 12 and drifted down slightly afterwards, while many late training batches reached near-zero loss.

Speed

Measured one decision at a time on 200 test decisions after 20 warm-up calls, including building the byte input.

DevicePrecisionDecisions per callp50p90
cuda (RTX PRO 6000 Blackwell)bf16 mixed precision (fp16 weights)15.14 ms5.26 ms

GPU throughput: about 7,476 decisions per second in batches of 128. CPU latency has not been measured yet.

Intended use

LightDec_Arthur is built for high-volume, low-latency decisions where model size matters: ticket and email routing, intent detection, code and content screening, and pre-filtering before a more expensive model. At 24.5 MB it fits places a backbone-based model does not. Use the calibrated confidence to act on confident cases and send the rest to a person or a larger model.

Limitations

  • Closed-set only. The model can only choose among the options you supply. If the right answer is not listed, it will still pick something.
  • Weak outside its training formats. Held-out tasks average 44.2% against 65.4% for tasks seen in training, and on the Decision Index it scores near chance, even on benchmarks whose source it trained on. Validate on your own questions before relying on it.
  • At or below chance on some tasks. Emotion 11.6% (chance 16.7%, and 38.6% for always giving the most common label), ANLI 32.1% (chance 33.3%), CommonsenseQA 19.1% (20.0%), HellaSwag 28.0% (25.0%), MMLU 28.4% (25.0%), ARC-Challenge 29.4% (25.0%), prompt-injection detection 47.4% and harmful-request refusal 50.7% (50.0%). It is not a safety layer.
  • Fine-grained labels. 77-way banking intents score 4.7%.
  • Policy transfer is uneven. Scores range from 100% (access_control) to below the most-common-answer baseline (invoice_overdue 48.8% against 61.6%, sla_urgency 30.2% against 40.2%). At confidence ≥ 0.80 it acts on 41% of policy decisions but is right on only 77.4% of those.
  • Workflow decisions never reach 0.80 confidence (0 of 2,000 test items), so with that threshold they always defer.
  • Calibration is aggregate. Overall ECE is 0.030; per-task calibration has not been measured.
  • English only. Questions are cut to 96 tokens (384 bytes) and each option to 24 tokens (96 bytes) by default.
  • No standalone loader yet; see Usage.

Files

FileDescription
model.safetensorsfp16 weights (12,268,033 parameters)
config.jsonTier configuration, byte layout and calibration temperatures
results_full.jsonFull test results: per-task accuracy, speed, DecisionLab-style components and calibration

Citation

@misc{falconsai_lightdec_arthur_2026,
  title        = {LightDec_Arthur: A Byte-Level, Calibrated Decision Model},
  author       = {Falcons.ai},
  year         = {2026},
  howpublished = {\url{https://huggingface.co/Falconsai/LightDec_Arthur}}
}

Architecture

  • Byte-level input: 260 ids (256 bytes plus [PAD], [OPT], [SEP], [CLS]); no tokenizer
  • Hashed 2/3/4-byte fragment embeddings: 65,536 buckets × 128 dimensions, projected to 512
  • Depthwise convolution (kernel 5), then 4:1 pooling
  • One transformer block (width 512, 8 heads, MLP 1,536, rotary positions) applied 6 times over the text and 2 times over the options
  • Option scorer: 2-layer MLP, one logit per option
  • 12,268,033 parameters, stored in fp16
  • License: to be confirmed (training-data licence review pending)

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

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

GPU в ailist

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

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

Архитектура ? неизвестна transformers в образе рантайма.

Ревизия весов
3bb5074

0 моделей