CoolFace
Modelpublic

DimensionSTP/kanana-nano-2.1b-instruct-Ko-Reasoning

sourceHugging Facecc-by-nc-4.0updated 1y agoView on Hugging Face
0likes12downloads
Model Card

🧠 kanana-nano-2.1b-instruct-Ko-Reasoning

A large-scale Korean reasoning model fine-tuned from kakaocorp/kanana-nano-2.1b-instruct, designed to excel in logical and multi-hop reasoning tasks in Korean.

πŸ“Œ Overview

kanana-nano-2.1b-instruct-Ko-Reasoning is a fine-tuned version of kakaocorp/kanana-nano-2.1b-instruct, specifically optimized for logical reasoning in Korean. This model is part of a broader research initiative to explore:

  • β€”The transition from multilingual reasoning LLMs to Korean-specialized reasoning models
  • β€”The enhancement of non-reasoning Korean language models into reasoning-capable variants
  • β€”The development of open-access models that rival proprietary alternatives in complex reasoning tasks

This model was fine-tuned using a large-scale Korean-English instruction dataset containing diverse multi-hop questions, symbolic logic tasks, and human-crafted reasoning steps.


πŸ§ͺ Benchmark Results

- πŸ“Š All benchmarks were measured using the 0-shot CoT (Chain-of-Thought) method. - πŸ“Š The Score represents either the accuracy (%) of correct answers or a rating on a 1-10 scale from a judge model.
**Benchmark****Score**
GPQA diamond44.3
GSM8K54.1
HAERAE50.3
KSM35.2
Math50066.9

πŸ§‘β€πŸ’» Usage

Install Transformers >= 4.50:

bash
pip install -U transformers

Basic example:

python
from transformers import AutoModelForCausalLM, AutoTokenizer

model_name = "DimensionSTP/kanana-nano-2.1b-instruct-Ko-Reasoning"

model = AutoModelForCausalLM.from_pretrained(
    model_name,
    torch_dtype="auto",
    device_map="auto"
)
tokenizer = AutoTokenizer.from_pretrained(model_name)

prompt = "μ„œμšΈκ³Ό λΆ€μ‚° 쀑 μ–΄λ””κ°€ 더 컀?"
messages = [
    {"role": "user", "content": prompt}
]
text = tokenizer.apply_chat_template(
    messages,
    tokenize=False,
    add_generation_prompt=True
)

model_inputs = tokenizer([text], return_tensors="pt").to(model.device)

generated_ids = model.generate(
    **model_inputs,
    max_new_tokens=4096
)
generated_ids = [
    output_ids[len(input_ids):] for input_ids, output_ids in zip(model_inputs.input_ids, generated_ids)
]

response = tokenizer.batch_decode(generated_ids, skip_special_tokens=True)[0]
print(response)

🧠 Base Model: kakaocorp/kanana-nano-2.1b-instruct

The base model, kakaocorp/kanana-nano-2.1b-instruct, is a LLM developed by the Kakao Kanana team. For more technical details, refer to the Kanana Technical Report.


🧱 Model Architecture

PropertyValue
ArchitectureLlamaForCausalLM
Parameters2.1B
Context Length8,192 tokens
TokenizerLlamaTokenizer (BPE)

πŸ“… Release Date

Mar 2025 This model was released in March 2025 as part of the Ko-Reasoning Series, which focuses on pushing the boundaries of open-source reasoning in Korean using modern LLMs.


πŸ“¬ Contact

For questions, collaborations, or deployment inquiries, please contact:


πŸ“¦ Available Checkpoints

  • β€”βœ… main: Final stable version from the last branch
  • β€”βœ… All training artifacts available (tokenizer, config, model weights)