HF 追踪数据(HF traces):https://huggingface.co/datasets/CohereLabs/10-2026-qwen-investigation-traces
-
理解该 Python 脚本:
ids ids = dataset[0][“token_ids”] if len(ids) < 2323: raise ValueError(“The trace is shorter than the required 2,323-token prefix.”) ids = ids[:2323] #