/ Модель

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

Контекст
262 144 токена
Лицензия
Apache 2.0
Базовая модель
Qwen3.5-4B
Библиотека
peft
Опубликована
10 окт 2026

Qwen3.5-4B-typed-decisions

Генерация текстаТекст → текст
15скачиваний за 30 дней0лайковвеса обновлены11 окт 2026

Описание модели

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

Русское описание этой модели ещё готовится. Пока можно заглянуть в карточку модели от автора ниже.

Публичные бенчмарки1

Результаты из открытых лидербордов в сравнении с лидерами каталога на 4 декабря 2026

typed-decisions

0,1387

Один прогон

Направление метрики неизвестно, сравнение не строится

Поднаборы

  • accuracy 0,7725
  • zero-shot-classification 0,7725
  • ece 0,1387
  • kl_from_gold 0,0992
Hugging Face Eval Results

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

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

Открыть на Hugging Face

Qwen3.5-4B-typed-decisions

A decision model fine-tuned from unsloth/Qwen3.5-4B with Unsloth on LocalLLaMA/typed-decisions. Instead of generating text, it answers typed questions about an input and returns a probability for each answer in a single forward pass.

This repository contains the LoRA adapters and the decision head, loaded on top of unsloth/Qwen3.5-4B.

The merged 16-bit version is at wozniakos10/Qwen3.5-4B-typed-decisions-merged.

Question types

TypeAnswersOutput
noulA yes/no questionProbability that the answer is yes
choiceOne option out of named criteriaProbability per option
scoreA position on an ordered scaleProbability per scale level

Usage

Install Unsloth, then:

from unsloth import FastDecisionModel

model, tokenizer = FastDecisionModel.from_pretrained("wozniakos10/Qwen3.5-4B-typed-decisions", load_in_4bit = True)
FastDecisionModel.for_inference(model)

answers = FastDecisionModel.predict(
    model,
    tokenizer,
    "Hi, I was charged twice for invoice #4411. Please refund the duplicate today.",
    {
        "team": {
            "type": "choice",
            "instructions": "Which team should handle this?",
            "criteria": {
                "billing": "invoices, payments, refunds",
                "technical": "bugs, outages, errors",
                "sales": "pricing, new plans",
            },
        },
        "refund": {"type": "noul", "instructions": "Does the customer ask for a refund?"},
        "urgency": {
            "type": "score",
            "instructions": "How urgent is this?",
            "criteria": ["not urgent", "soon", "today"],
        },
    },
)
for name, result in answers.items():
    print(name, result["answer"], result["probabilities"])

Intended use

Routing, triage, tagging, filtering and other places where code needs a structured judgment with a probability instead of free text. Questions and criteria are supplied at inference time, so no retraining is needed for new labels.

Training

Trained with DecisionTrainer on the all config, train split of LocalLLaMA/typed-decisions. A part of the training rows was held out with FastDecisionModel.split_holdout. The output probabilities have not been temperature-calibrated.

HyperparameterValue
Training steps240
Epochs1.71
Learning rate (LoRA adapters)2e-5
Learning rate (decision head)1e-4
LR schedulercosine
Warmup steps10
Weight decay0.01
Per-device batch size2
Gradient accumulation steps4
Max sequence length2048
Seed3407
LoRA rank (r)16
LoRA alpha16
LoRA dropout0
MetricValue
Final training loss0.7875
Held-out loss at last evaluation0.8747

Architecture

ComponentValue
Base modelunsloth/Qwen3.5-4B
Decision layoutclef
Decision head hidden_size2560
Decision head width512
Decision head routing_layers2
Decision head layers4
Decision head heads8
Decision head feedforward2048

Evaluation

Scored with the conventions of the LocalLLaMA/typed-decisions benchmark on the all config, test split (400 cases, 2,000 decisions): one request per case with all five questions. The model was fine-tuned on the train split, so these results are not zero-shot.

MetricValue
Accuracy0.7725
KL from gold0.0992
Brier0.0543
ECE0.1387

Per-decision predictions are in eval_predictions.jsonl.

Limitations

  • Probabilities are not temperature-calibrated, so validate on your own data before relying on thresholds.
  • Trained on English data. Other languages are untested.
  • Inputs longer than 2048 tokens are outside the trained range.
  • Outputs are judgments, not facts. Keep a human in the loop for high-stakes decisions.

License

Apache 2.0, inherited from the base model. Check the terms of LocalLLaMA/typed-decisions before commercial use.

Acknowledgements

Trained with the Unsloth decision model guide.

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

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

GPU в ailist

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

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

Репозиторий содержит только адаптер (LoRA/PEFT) без базовой модели.

Ревизия весов
38a68ba

0 моделей