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
你好,如何使用 fastapi 部署微调后的模型 就像官方的一样。如何修改api.py的脚本??? 官方的如下: 首先需要安装额外的依赖 pip install fastapi uvicorn,然后运行仓库中的 api.py: python api.py 默认部署在本地的 8000 端口,通过 POST 方法进行调用
curl -X POST "http://127.0.0.1:8000" -H 'Content-Type: application/json' -d '{"prompt": "你好", "history": []}'
The text was updated successfully, but these errors were encountered:
不好意思哈,我们没有做过web化相关的研究,只拿来做了学术上的测试和验证,你可以去chatglm的issue那边问问?
Sorry, something went wrong.
No branches or pull requests
你好,如何使用 fastapi 部署微调后的模型
就像官方的一样。如何修改api.py的脚本???
官方的如下:
首先需要安装额外的依赖 pip install fastapi uvicorn,然后运行仓库中的 api.py:
python api.py
默认部署在本地的 8000 端口,通过 POST 方法进行调用
curl -X POST "http://127.0.0.1:8000"
-H 'Content-Type: application/json'
-d '{"prompt": "你好", "history": []}'
The text was updated successfully, but these errors were encountered: