-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Streaming openai api support #783
base: main
Are you sure you want to change the base?
Conversation
代码有些问题,流式接口返回时这块会报错, 要在
|
您好,我修改了一下代码,使得
|
Thank you for your contribution to our project. As long as we have reviewed your code, we will merge your PRs in both repos. |
ok |
Description
Use
transformers
TextIteratorStreamer
to support streaming response for the OpenAI API. #762Ref https://huggingface.co/docs/transformers/internal/generation_utils
Related Issue
None