Skip to content

Fix the issue of missing think tag in FunctionFormatter.apply #7201

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 7, 2025

Conversation

zhangch-ss
Copy link
Contributor

What does this PR do?

This PR fix a issue of think tag splicing in FunctionFormatter.apply

Fixes #7064

Before submitting

image

After submitting

image

@hiyouga hiyouga self-requested a review March 7, 2025 07:01
Copy link
Owner

@hiyouga hiyouga left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@hiyouga hiyouga merged commit 194e3bd into hiyouga:main Mar 7, 2025
12 checks passed
@hiyouga hiyouga added the solved This problem has been already solved label Mar 7, 2025
stephen-nju pushed a commit to stephen-nju/Llmtrain that referenced this pull request Mar 24, 2025
Co-authored-by: zhangchuanhui <[email protected]>
Former-commit-id: 194e3bd
yoonseok312 pushed a commit to pensieve-ai/LLaMA-Factory-vlm that referenced this pull request Apr 29, 2025
Co-authored-by: zhangchuanhui <[email protected]>
Former-commit-id: 194e3bd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
solved This problem has been already solved
Projects
None yet
Development

Successfully merging this pull request may close these issues.

关于FunctionFormatter中think标签的疑问
2 participants