Repository navigation
[Bugfix] Fix GSM8K post-processing for comma-separated numbers - #571
Merged
Merged
Conversation
|
🚫 PR 合入质量检查未通过,PR 已被禁止合入。 未通过项:
请按上述提示整改后,重新推送(push)或评论本 PR 即可触发再次检查。 |
|
✅ PR 合入质量五项检查全部通过,允许合入。 |
Contributor
Author
|
/pr_check |
|
✅ PR 合入质量五项检查全部通过,允许合入。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR Type / PR类型
Related Issue | 关联 Issue
Fixes #483
🔍 Motivation / 变更动机
当前 GSM8K 后处理逻辑无法正确划分包含逗号的数字,如
70,000。这可能导致错误的答案提取并影响评估结果。The current GSM8K post-processing logic cannot correctly parse numbers containing comma separators, such as
70,000. This may lead to incorrect answer extraction and affect the evaluation result. This PR fixes the number extraction logic so that comma-separated numeric answers can be correctly handled.📝 Modification / 修改内容
📐 Associated Test Results / 关联测试结果
使用逗号分隔的数字手动测试了 GSM8K 后处理逻辑。
Example:
Input:
The profit is **$70,000**.Output:
70000✅ Checklist / 检查列表
Before PR:
After PR:
👥 Collaboration Info / 协作信息