You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: patch chat_template to remove <think> tags at the source (#250)
Stripping <think> from rendered text was insufficient — TRL or the
processor may re-apply the template, re-inserting the tags. The fix:
patch processor.chat_template and processor.tokenizer.chat_template
on first rollout call, removing <think>/<think> from the Jinja
template itself. This ensures no code path can re-insert thinking mode.
Also strips </think> (was missed in #249).
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
0 commit comments