Skip to content
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

LLM造数据时需要try_num参数 #470

Open
2 tasks done
BeachWang opened this issue Nov 4, 2024 · 1 comment
Open
2 tasks done

LLM造数据时需要try_num参数 #470

BeachWang opened this issue Nov 4, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@BeachWang
Copy link
Collaborator

Search before continuing 先搜索,再继续

  • I have searched the Data-Juicer issues and found no similar feature requests. 我已经搜索了 Data-Juicer 的 issue 列表但是没有发现类似的功能需求。

Description 描述

使用LLM生成数据时,LLM有时候会返回格式错误的回答,不能解析成功,建议添加一个try_num参数,在没有解析出内容时重试。

Use case 使用场景

No response

Additional 额外信息

No response

Are you willing to submit a PR for this feature? 您是否乐意为此功能提交一个 PR?

  • Yes I'd like to help by submitting a PR! 是的!我愿意提供帮助并提交一个PR!
@BeachWang BeachWang added the enhancement New feature or request label Nov 4, 2024
@BeachWang
Copy link
Collaborator Author

目前完成基于api model的try_num参数,基于本地huggingface和vllm的还没完成。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants