Closed y111x closed 12 months ago
stream输出会偶然漏掉输出文本中的序号,换行符之类的。例如: 1.今天天气很好。.昨天天气不错 3.明天天气一定会很好 丢掉了\n2
No response
搜索出文档后,使用流式输出
- OS:linux - Python:3+ - Transformers: - PyTorch: - CUDA Support (`python -c "import torch; print(torch.cuda.is_available())"`) :
Is there an existing issue for this?
Current Behavior
stream输出会偶然漏掉输出文本中的序号,换行符之类的。例如: 1.今天天气很好。.昨天天气不错 3.明天天气一定会很好 丢掉了\n2
Expected Behavior
No response
Steps To Reproduce
搜索出文档后,使用流式输出
Environment
Anything else?
No response