We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
希望通过paddlenlp启动的大模型服务可以兼容openai接口
# import openai # openai.api_key = "EMPTY" # Not support yet # openai.api_base = "http://localhost:8888/v1" # model = "chatglm2-6b" # # create a chat completion # completion = openai.ChatCompletion.create( # model=model, # messages=[{"role": "user", "content": "Hello! What is your name?"}] # ) # # print the completion # print(completion.choices[0].message.content)
希望将大模型运行在paddle的推理框架上,可以兼容openai接口
The text was updated successfully, but these errors were encountered:
目前没有开发的计划,欢迎开发者的贡献。
Sorry, something went wrong.
最新的flask server已经兼容。https://github.com/PaddlePaddle/PaddleNLP/tree/develop/llm#71-flask--gradio-ui-%E6%9C%8D%E5%8A%A1%E5%8C%96%E9%83%A8%E7%BD%B2
wawltor
No branches or pull requests
Feature request
希望通过paddlenlp启动的大模型服务可以兼容openai接口
Motivation
希望将大模型运行在paddle的推理框架上,可以兼容openai接口
Your contribution
希望将大模型运行在paddle的推理框架上,可以兼容openai接口
The text was updated successfully, but these errors were encountered: