This model is uploaded for reproducibility and diagnostic analysis. It should
not be treated as a public benchmark improvement over KO-CPT. It adds a small
Agentic/Fable behavior stage after the failed Stage2 KO-SFT line.
The Stage3 Agentic/Fable run is not a successful public benchmark repair. It
shows small partial recovery on a few diagnostic slices, but it does not restore
the broad benchmark quality that KO-CPT had before SFT.
This stage is only 7.12M tokens and is focused on behavior traces: reading logs,
following repository docs, planning terminal commands, and explaining evidence.
Those examples are not direct repair data for Korean multiple-choice likelihood,
exact-answer extraction, or option-only output.
The previous Stage2 KO-SFT checkpoint had already moved away from the KO-CPT
benchmark distribution. Training a small agentic trace set on top of that did
not restore the lost answer-token scoring behavior.
Use this checkpoint only for inspecting the Agentic/Fable behavior experiment.
For public Korean benchmark quality, prefer:
If future work resumes, start from KO-CPT and run a small MCQA/answer-format
repair SFT with strict gates instead of continuing this checkpoint.
1from transformers import AutoTokenizer, AutoModelForCausalLM
2import torch
3
4model_id = "LLM-OS-Models/LFM2.5-8B-A1B-KO-Agentic-SFT"
5tokenizer = AutoTokenizer.from_pretrained(model_id, trust_remote_code=True)
6model = AutoModelForCausalLM.from_pretrained(
7 model_id,
8 torch_dtype=torch.bfloat16,
9 trust_remote_code=True,
10 device_map="auto",
11)
12
13messages = [
14 {"role": "system", "content": "You are a careful terminal and log analysis assistant."},
15 {"role": "user", "content": "다음 학습 로그에서 loss가 갑자기 튀는 원인을 어떻게 확인할지 단계별로 말해줘."},
16]
17inputs = tokenizer.apply_chat_template(
18 messages,
19 tokenize=True,
20 add_generation_prompt=True,
21 return_tensors="pt",
22).to(model.device)
23outputs = model.generate(inputs, max_new_tokens=512, do_sample=False)
24print(tokenizer.decode(outputs[0][inputs.shape[-1]:], skip_special_tokens=True))
이 모델은 Stage2 KO-SFT 위에 Fable/문서/로그 기반 agentic SFT를 소량 얹은
진단용 모델입니다. 공개 벤치 개선 모델이 아닙니다. 일부 항목은 Stage2보다
조금 회복했지만, KO-CPT가 가진 공개 벤치 성능을 되찾지 못했습니다.