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

输出结果问题 #100

Open
listenyb opened this issue Aug 24, 2023 · 2 comments
Open

输出结果问题 #100

listenyb opened this issue Aug 24, 2023 · 2 comments

Comments

@listenyb
Copy link

1.怎么将输出结果中的多余\n去掉?
2.怎么多个问题进行推理?
2.怎么更改batch大小

@llehtahw
Copy link
Contributor

llehtahw commented Aug 24, 2023

import re
text = re.sub(r'\n+', '\n', text)

2.推完一个问题,然后推下一个问题
2.趁router没反应过来,把多个问题提上去

@hiworldwzj
Copy link
Collaborator

能具体描述下你的第二三个问题的诉求吗?

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

No branches or pull requests

3 participants