Conversations are ChatML messages lists. Tool calls are written inline in the
assistant content as MiniCPM5-style XML, so the chat template applies directly:
from datasets import load_dataset
from transformers import AutoTokenizer
ds = load_dataset("koshuro/fable5-chatml", split="train")
tok = AutoTokenizer.from_pretrained("openbmb/MiniCPM5-1B")
text = tok.apply_chat_template(ds[0]["messages"], tokenize=False)
Assistant chain-of-thought is wrapped in
….… See the full description on the dataset page:
https://huggingface.co/datasets/koshuro/fable5-chatml.