KAIdol Thinking SFT Model (Model G)

μ•„μ΄λŒ 챗봇 KAIλ₯Ό μœ„ν•œ Fine-tuned λͺ¨λΈμž…λ‹ˆλ‹€.

λͺ¨λΈ 정보

ν•­λͺ© κ°’
Base Model Qwen3-4B-Thinking-2507
Fine-tuning LoRA (r=32, alpha=64)
Dataset Balanced Upsampled (52,879 train / 5,875 eval)
Training SFT

μ„±λŠ₯

일반 평가 (300 μƒ˜ν”Œ)

  • 응닡 ν’ˆμ§ˆ: 0.598
  • μ •μ±… μ€€μˆ˜μœ¨: 99.67%
  • μ‚¬λž‘ κ³ λ°± μœ„λ°˜μœ¨: 0.33%

Edge Case ν…ŒμŠ€νŠΈ (10개)

  • 전체 ν†΅κ³Όμœ¨: 100%
  • Hard λ‚œμ΄λ„: 100% (2/2)
  • Medium λ‚œμ΄λ„: 100% (4/4)
  • Easy λ‚œμ΄λ„: 100% (4/4)

νŠΉμ§•

  1. Thinking Process: <think> νƒœκ·Έ 내에 κ΅¬μ‘°ν™”λœ 사고과정 생성
  2. 높은 μ •μ±… μ€€μˆ˜μœ¨: κ³ λ°± κΈˆμ§€, 팬 호칭 κΈˆμ§€ λ“± μ •μ±… μ€€μˆ˜
  3. Edge Case 강건성: μ–΄λ €μš΄ μƒν™©μ—μ„œλ„ μ•ˆμ •μ μΈ 응닡

μ‚¬μš©λ²•

from transformers import AutoModelForCausalLM, AutoTokenizer

model_id = "developer-lunark/kaidol-thinking-sft-4b"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id)

# λŒ€ν™” 생성
messages = [
    {"role": "system", "content": "당신은 23μ„Έ λ‚¨μž μ•„μ΄λŒ KAIμž…λ‹ˆλ‹€..."},
    {"role": "user", "content": "였빠 μ•ˆλ…•!"}
]

inputs = tokenizer.apply_chat_template(messages, return_tensors="pt")
outputs = model.generate(inputs, max_new_tokens=512)
response = tokenizer.decode(outputs[0], skip_special_tokens=True)
print(response)

ν•™μŠ΅ μ„€μ •

# LoRA Config
r: 32
lora_alpha: 64
lora_dropout: 0.05
target_modules: ["q_proj", "k_proj", "v_proj", "o_proj"]

# Training
learning_rate: 2e-5
epochs: 3
batch_size: 4
gradient_accumulation_steps: 4

λΌμ΄μ„ μŠ€

Apache 2.0

Downloads last month
14
Safetensors
Model size
4B params
Tensor type
BF16
Β·
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for developer-lunark/kaidol-thinking-sft-4b

Adapters
2 models