Instructions to use ONYULTEA/K-Decision-9B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ONYULTEA/K-Decision-9B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("zero-shot-classification", model="ONYULTEA/K-Decision-9B")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("ONYULTEA/K-Decision-9B") model = AutoModelForCausalLM.from_pretrained("ONYULTEA/K-Decision-9B", device_map="auto") - Notebooks
- Google Colab
- Kaggle
K-Decision-9B v0.1
Korean-specialized decision model by ONYULTEA β first public release.
K-Decision is a lightweight decision engine that takes a state and typed questions as input and returns structured decisions with calibrated probability distributions over all options β all in a single forward pass. Unlike chat LLMs, it does not generate text; it predicts only the answer-symbol logits for each question (System One / Jev compatible).
Benchmarks
| Benchmark | Score | Scale |
|---|---|---|
| LocalLLaMA typed-decisions (test 400 cases / 2,000 decisions, fitted) | 0.818 | Agent traces Β· Security Β· CS Β· Invoice (4 domains, 5 questions each) |
| KoBEST 5-task conversion (boolq/copa/hellaswag/sentineg/wic) | 0.866 | 2,600 items |
| Korean Life-Domain Holdout | 0.997 | Admin(20 services) Β· Medical Β· Shopping CS Β· Life Infra Β· Education Β· Workplace Β· Agent (7 domains) |
| korean-jev-decision-index | 0.635 | 64 Korean benchmark sources, 3,000 items |
| University Regulation Compliance | 0.791 | Novel task (3 regulation documents) |
| Decision Index 0.3 public suite | Index 30.7 (raw 44.8) | 140K requests, 0 errors, p50 latency 168ms |
- Trained and served on a single 24GB consumer GPU (int8 LoRA, r=32)
- Calibration: ECE 0.001 level (domain holdout), per-type temperature fitting
Quickstart
1) Hugging Face transformers
from transformers import AutoModelForCausalLM, AutoTokenizer
import torch
model = AutoModelForCausalLM.from_pretrained(
"ONYULTEA/K-Decision-9B", torch_dtype=torch.bfloat16, device_map="auto")
tok = AutoTokenizer.from_pretrained("ONYULTEA/K-Decision-9B")
2) /v1/systemone server (System One / Jev compatible)
git clone https://github.com/onyultea/k-decision
python src/serve_systemone.py --merged ONYULTEA/K-Decision-9B --port 8111
// Request
{"model": "k-decision",
"state": "Civil complaint: Strong gas smell reported (call center)",
"questions": {
"route": {"type": "choice", "instructions": "Which department handles this?",
"criteria": {"gas": "Gas Safety Division", "water": "Waterworks", "road": "Road Maintenance"}},
"urgent": {"type": "noul", "instructions": "Is this an urgent case?"}}}
// Response β probability for every option
{"answers": {
"route": {"type": "choice", "choice": "gas",
"probabilities": {"gas": 0.87, "water": 0.05, "road": 0.08}},
"urgent": {"type": "noul", "noul": 0.93}}}
Question types: choice (2β26 options), noul (yes/no). Compatible with Decision Index reproduction kit and Kev clients.
Method
- Marker single-pass β A JSON skeleton
{"route":β‘,"urgent":β‘}is appended to the prompt; the logit immediately before each marker predicts that field's answer. All fields decided in one forward pass (no decoding loop). - Constrained decoding β Softmax restricted to legal answer symbols (AβZ / Y,N) β guaranteed sum-to-1 probabilities for all options.
- Calibration β Per-type (choice/noul) temperature fitted on held-out data to optimize Brier/ECE β probabilities are trust scores.
- int8 LoRA training β 4-bit quantization was measured to degrade probability precision; int8 adopted instead (+3pp accuracy at same budget).
Training Data
- Korean life-domain synthetic (~28K records): 20 government services, medical triage, shopping CS, life infrastructure (real estate/transport/telecom), education, workplace, agent tool gating β with honorific/casual register, typo, and slang augmentation.
- General typed decisions: tasksource-jev-typed-decisions (CC-BY-4.0) sample, multilingual distillation (Apache-2.0, teacher-probability soft labels), tool-decision pool (CC-BY-4.0).
- Regulation compliance task: public university regulation documents (topic routing, numeric-threshold violation, applicability).
Limitations
- Choice up to 26 options, state up to 6,000 characters β exceeding limits returns
Unsupported(HTTP 422, honest rejection). - World knowledge (KMMLU ~30%) is at 9B base level β fine-tuning changes expression, not knowledge.
- High-stakes decisions (medical treatment, credentialing, hiring) require human review.
- High probability does not guarantee correctness β threshold-based operation recommended.
License
- Model weights: Apache-2.0 (derived from Qwen3.5-9B)
- Training & evaluation code: github.com/onyultea/k-decision
Citation
@software{kdecision2026,
title = {K-Decision-9B: Korean-specialized decision model},
author = {ONYULTEA},
year = {2026},
url = {https://huggingface.co/ONYULTEA/K-Decision-9B}
}
K-Decision-9B v0.1 (νκ΅μ΄)
ONYULTEA νκ΅ νΉν λμμ λͺ¨λΈ β 첫 κ³΅κ° λ¦΄λ¦¬μ€.
K-Decisionμ μν(state)μ νμ΄νλ μ§λ¬Έ(typed questions)μ μ λ ₯λ°μ, λͺ¨λ μ΅μ μ κ±Έμ³ λ³΄μ λ νλ₯ λΆν¬λ₯Ό λΆμΈ ꡬ쑰ν κ²°μ μ λ¨μΌ forward ν¨μ€λ‘ λ°ννλ κ²½λ μμ¬κ²°μ μμ§μ λλ€. μΌλ° μ± LLMκ³Ό λ¬λ¦¬ ν μ€νΈλ₯Ό μμ±νμ§ μκ³ , κ° μ§λ¬Έμ μ λ΅ μ¬λ³Ό λ‘μ§λ§ μμΈ‘ν©λλ€ (System One / Jev νΈν).
μ±λ₯
| λ²€μΉλ§ν¬ | μ μ | κ·λͺ¨ |
|---|---|---|
| LocalLLaMA typed-decisions (2,000κ²°μ , fitted) | 0.818 | μμ΄μ νΈ νΈλ μ΄μ€Β·λ³΄μΒ·CSΒ·μΈλ³΄μ΄μ€ 4λλ©μΈ |
| KoBEST 5νμ€ν¬ λ³ν | 0.866 | 2,600λ¬Έν |
| νκ΅ μν λλ©μΈ νλμμ | 0.997 | νμ Β·μλ£Β·μΌνCSΒ·μνμΈνλΌΒ·κ΅μ‘Β·μ§μ₯Β·μμ΄μ νΈ 7λλ©μΈ |
| korean-jev-decision-index | 0.635 | 64κ° νκ΅ λ²€μΉλ§ν¬ μμ€ 3,000λ¬Έν |
| λν κ·μ μ€κ±° νλ¨ | 0.791 | κ·μ 3μ’ κΈ°λ° μ κ· νμ€ν¬ |
| Decision Index 0.3 κ³΅κ° μ€μνΈ | μ§μ 30.7 | 14λ§ μμ², μλ¬ 0, μ§μ° p50 168ms |
- νμ΅Β·μλΉ λͺ¨λ λ¨μΌ 24GB μλΉμ GPU (int8 LoRA, r=32)
- νλ₯ 보μ : ECE 0.001 μμ€, νμ λ³ μ¨λ νΌν
λΉ λ₯Έ μμ
νκΉ νμ΄μ€ transformers
from transformers import AutoModelForCausalLM, AutoTokenizer
import torch
model = AutoModelForCausalLM.from_pretrained(
"ONYULTEA/K-Decision-9B", torch_dtype=torch.bfloat16, device_map="auto")
tok = AutoTokenizer.from_pretrained("ONYULTEA/K-Decision-9B")
/v1/systemone μλ²
git clone https://github.com/onyultea/k-decision
python src/serve_systemone.py --merged ONYULTEA/K-Decision-9B --port 8111
μ§λ¬Έ νμ
: choice(2~26μ΅μ
), noul(μ/μλμ€). Decision Index ν·Β·Kev ν΄λΌμ΄μΈνΈ νΈν.
μλ μ리
- λ§μ»€ λ¨μΌν¨μ€ β JSON μ€ν¬λ ν€μ λ§μ»€(β‘) μ§μ λ‘μ§μ΄ ν΄λΉ νλ κ²°μ μ μμΈ‘, Nκ° νλ 1ν forward λμ κ²°μ
- μ μ½ λμ½λ© β ν©λ² μ¬λ³Ό(A~Z / Y,N)λ§μΌλ‘ softmax, ν©κ³ 1 보μ₯
- μΊλ¦¬λΈλ μ΄μ β choice/noul κ°κ° μ¨λ νΌν , Brier/ECE μ΅μ ν
- int8 LoRA β 4λΉνΈ μμκ° νλ₯ μ λ°λλ₯Ό ν΄μΉ¨μ μ€μΈ‘ νμΈ, int8 μ±ν
νκ³
- choice μ΅λ 26μ΅μ , state μ΅λ 6,000μ β μ΄κ³Ό μ μ μ§ κ±°λΆ
- μΈκ³ μ§μ(KMMLU ~30%)μ 9B λ² μ΄μ€ μμ€ β νμΈνλμ λ°νμ λ°κΎΈμ§ μ§μμ λ§λ€μ§ μμ
- κ³ μν μμ¬κ²°μ μλ μΈκ° κ²ν νμ
Β© 2026 ONYULTEA Β· https://onyultea.kr
- Downloads last month
- 88
Model tree for ONYULTEA/K-Decision-9B
Space using ONYULTEA/K-Decision-9B 1
Evaluation results
- accuracy (fitted) on LocalLLaMA/typed-decisions (test, 400 cases / 2,000 decisions)self-reported0.818
- accuracy on skt/kobest_v1 (5-task conversion, 2,600 items)self-reported0.866
- accuracy on bzantium/korean-jev-decision-index (3,000 items)self-reported0.635