Zero-Shot Classification
Transformers
Safetensors
Korean
English
qwen3_5_text
text-generation
decision-model
korean
structured-decision
calibrated-probabilities
typed-decisions
system-one
Eval Results (legacy)
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์ ์ํ(state)์ ํ์ดํ๋ ์ง๋ฌธ(typed questions)์ ์ ๋ ฅ๋ฐ์, ๋ชจ๋ ์ต์ ์ ๊ฑธ์ณ ๋ณด์ ๋ ํ๋ฅ ๋ถํฌ(calibrated probabilities) ๋ฅผ ๋ถ์ธ ๊ตฌ์กฐํ ๊ฒฐ์ ์ ๋จ์ผ forward ํจ์ค๋ก ๋ฐํํ๋ ๊ฒฝ๋ ์์ฌ๊ฒฐ์ ์์ง์ ๋๋ค. ์ผ๋ฐ ์ฑ LLM๊ณผ ๋ฌ๋ฆฌ ํ ์คํธ๋ฅผ ์์ฑํ์ง ์๊ณ , ๊ฐ ์ง๋ฌธ์ ์ ๋ต ์ฌ๋ณผ ๋ก์ง๋ง ์์ธกํฉ๋๋ค(System One / Jev ํธํ).
์ฑ๋ฅ (Benchmarks)
| ๋ฒค์น๋งํฌ | ์ ์ | ๊ท๋ชจ |
|---|---|---|
| LocalLLaMA typed-decisions (test 400์ผ์ด์ค / 2,000๊ฒฐ์ , fitted) | 0.818 | ์์ด์ ํธ ํธ๋ ์ด์คยท๋ณด์ยทCSยท์ธ๋ณด์ด์ค 4๋๋ฉ์ธ 5์ง๋ฌธ |
| KoBEST 5ํ์คํฌ ๋ณํ (boolq/copa/hellaswag/sentineg/wic) | 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 (raw 44.8) | 14๋ง ์์ฒญ, ์๋ฌ 0, ์ง์ฐ p50 168ms |
- ํ์ตยท์๋น ๋ชจ๋ ๋จ์ผ 24GB ์๋น์ GPU๋ก ์ํ (int8 LoRA, r=32)
- ํ๋ฅ ๋ณด์ : ECE 0.001 ์์ค(๋๋ฉ์ธ ํ๋์์), ํ์ ๋ณ ์จ๋ ํผํ ์ ์ฉ
Quickstart
1) ํ๊น ํ์ด์ค 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 ์๋ฒ (System One / Jev ํธํ)
git clone https://github.com/onyultea/k-decision
python src/serve_systemone.py --merged ONYULTEA/K-Decision-9B --port 8111
// ์์ฒญ
{"model": "k-decision",
"state": "๋ฏผ์ ์ ์: ๊ฐ์ค ๋์๊ฐ ์ฌํ๊ฒ ๋์ (์ฝ์ผํฐ)",
"questions": {
"route": {"type": "choice", "instructions": "๋ด๋น ๋ถ์๋?",
"criteria": {"gas": "๊ฐ์ค์์ ๊ณผ", "water": "์ํ์๋๊ณผ", "road": "๋๋ก๊ณผ"}},
"urgent": {"type": "noul", "instructions": "๊ธด๊ธ ์ฒ๋ฆฌ ๋์์ธ๊ฐ?"}}}
// ์๋ต โ ๋ชจ๋ ์ต์
์ ํ๋ฅ
{"answers": {
"route": {"type": "choice", "choice": "gas",
"probabilities": {"gas": 0.87, "water": 0.05, "road": 0.08}},
"urgent": {"type": "noul", "noul": 0.93}}}
์ง๋ฌธ ํ์
: choice(2~26์ต์
), noul(์/์๋์ค). Decision Index reproduction kitยทKev ํด๋ผ์ด์ธํธ์ ํธํ๋ฉ๋๋ค.
์๋ ์๋ฆฌ (Method)
- ๋ง์ปค ๋จ์ผํจ์ค: ํ๋กฌํํธ์ JSON ์คํฌ๋ ํค
{"route":โก,"urgent":โก}์ ๋ถ์ด๊ณ ๋ง์ปค(โก) ์ง์ ์์น์ ๋ก์ง์ด ํด๋น ํ๋์ ๊ฒฐ์ ์ ์์ธก โ N๊ฐ ํ๋๊ฐ 1ํ forward๋ก ๋์ ๊ฒฐ์ (๋์ฝ๋ฉ ๋ฃจํ ์์) - ์ ์ฝ ๋์ฝ๋ฉ: ํฉ๋ฒ์ ์ ๋ต ์ฌ๋ณผ(A~Z / Y,N)๋ก ๋ก์ง์ ์ ํํ softmax โ ๋ชจ๋ ์ต์ ์ ํฉ๊ณ 1์ ํ๋ฅ ๋ณด์ฅ
- ์บ๋ฆฌ๋ธ๋ ์ด์ : choice/noul ๊ฐ๊ฐ ํ๋์์์์ ์จ๋๋ฅผ ํผํ ํด Brier/ECE ์ต์ ํ โ ํ๋ฅ ์ด ๊ณง ์ ๋ขฐ๋
- int8 LoRA ํ์ต: 4๋นํธ ์์๊ฐ ํ๋ฅ ํ๋จ ์ ๋ฐ๋๋ฅผ ํด์น๋ ๊ฒ์ ์ค์ธก์ผ๋ก ํ์ธํ๊ณ int8์ ์ฑํ (๊ฐ์ ์์ฐ์์ ์ ํ๋ +3pp)
ํ์ต ๋ฐ์ดํฐ (Data)
- ํ๊ตญ ์ํ 7๋๋ฉ์ธ ํฉ์ฑ(์ฝ 2.8๋ง ๋ ์ฝ๋): ํ์ 20์ข ์๋น์ค ๋ผ์ฐํ , ์๋ฃ ์๋, ์ผํ CS, ์ํ์ธํ๋ผ(๋ถ๋์ฐยท๊ตํตยทํต์ ), ๊ต์ก, ์ง์ฅ ๊ฒฐ์ฌ, ์์ด์ ํธ ๋๊ตฌ ๊ฒ์ดํ โ ์กด๋๋ง/๋ฐ๋ง/์คํ์/์ ์กฐ์ด ์ธ์ด ์ฆ๊ฐ ํฌํจ
- ์ผ๋ฐ ํ์ดํ๋ ๊ฒฐ์ : tasksource-jev-typed-decisions(CC-BY-4.0) ์ํ, ๋ค๊ตญ์ด ์ฆ๋ฅ(Apache-2.0, teacher ํ๋ฅ ์ํํธ๋ผ๋ฒจ), ๋๊ตฌ๊ฒฐ์ ํ(CC-BY-4.0)
- ๊ท์ ์ค๊ฑฐ ํ์คํฌ: ๊ณต๊ฐ ๋ํ ๊ท์ ๋ฌธ ๊ธฐ๋ฐ(์ฃผ์ ๋ผ์ฐํ ยท์์น ์๊ฑด ์๋ฐ ํ๋จยท์ ์ฉ ๋์ ํ๋จ)
ํ๊ณ (Limitations)
- choice ์ต๋ 26์ต์
, state ์ต๋ 6,000์ โ ์ด๊ณผ ์
Unsupported(HTTP 422)๋ก ์ ์งํ๊ฒ ๊ฑฐ๋ถ - ์ธ๊ณ ์ง์(KMMLU ~30%)์ 9B ๋ฒ ์ด์ค ์์ค โ ํ์ธํ๋์ ๋ฐํ์ ๋ฐ๊พธ์ง ์ง์์ ๋ง๋ค์ง ์์
- ๊ณ ์ํ ์์ฌ๊ฒฐ์ (์๋ฃ ์ฒ์นยท์๊ฒฉ ๋ถ์ฌยท์ฑ์ฉ)์๋ ๋ฐ๋์ ์ธ๊ฐ ๊ฒํ ์ ๋ณํ
- ํ๋ฅ ์ด ๋๋ค๊ณ ์ ๋ต์ ๋ณด์ฅํ์ง ์์ โ ์๊ณ๊ฐ ๊ธฐ๋ฐ ์ด์ ๊ถ์ฅ
๋ผ์ด์ ์ค
- ๋ณธ ๋ชจ๋ธ ๊ฐ์ค์น: Apache-2.0 (Qwen3.5-9B ํ์)
- ํ์ตยทํ๊ฐ ์ฝ๋: 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}
}
ยฉ 2026 ONYULTEA ยท https://onyultea.kr
- Downloads last month
- 37
Model tree for ONYULTEA/K-Decision-9B
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