Are you sure you want to delete this task? Once this task is deleted, it cannot be recovered.
huolongshe 6afb95ae8c | 2 months ago | |
---|---|---|
app | 11 months ago | |
docs | 1 year ago | |
webapp | 11 months ago | |
.gitignore | 1 year ago | |
Dockerfile | 1 year ago | |
LICENSE | 1 year ago | |
README.md | 2 months ago | |
application.yml | 11 months ago | |
build-docker.sh | 1 year ago | |
pack_model.py | 1 year ago | |
pip-install-reqs.sh | 9 months ago | |
requirements.txt | 9 months ago | |
run_model_server.py | 1 year ago |
本模型封装自魔搭(ModelScope)社区项目: ChatPLUG-开放域对话模型-240M
https://www.modelscope.cn/models/damo/ChatPLUG-240M/summary
ChatPLUG是一个开放域对话模型,其接收用户对话历史和对话相关的外部知识、用户人设、模型人设信息,输出合适的文本回复。 该模型基于 PLUG ,使用亿级互联网社交数据、百科数据预训练和百万级高质量对话数据进行instruction微调得到。
ChatPLUG模型是基于PLUG的一个对话大模型,通过引入外部知识、人设信息等并采用FID(Fuse-in-Decoder)架构进行instruction微调得到,模型支持高效的输入多段外部知识、人设信息等文本进行知识增强,更多技术细节可参考 论文 。
本模型主要接收用户对话历史和对话相关的外部知识、用户人设、模型人设信息,输出合适的文本回复,具体调用方式请参考代码示例。
本模型基于 ServiceBoot微服务引擎 进行服务化封装,参见: 《CubeAI模型开发指南》
$ sh pip-install-reqs.sh
$ serviceboot start
或
$ python3 run_model_server.py
一键式本地容器化部署和运行,参见: 《CubeAI模型独立部署指南》 或 CubeAI Docker Builder
本模型服务可一键发布至 CubeAI智立方平台 进行共享和部署,参见: 《CubeAI模型发布指南》
本模型提供了1个API接口:
API接口1:
API端点: /api/data
HTTP方法: POST
HTTP请求体:
{
"action": "predict"
"args": {
"input": {
"text": <提问>,
"history": [历史对话列表]
}
}
}
HTTP响应体:
{
"status": "ok"|"err",
"value": {
"response": <回答>,
"history": [历史对话列表]
}
}
No Description
TypeScript HTML Python Shell Text other
Dear OpenI User
Thank you for your continuous support to the Openl Qizhi Community AI Collaboration Platform. In order to protect your usage rights and ensure network security, we updated the Openl Qizhi Community AI Collaboration Platform Usage Agreement in January 2024. The updated agreement specifies that users are prohibited from using intranet penetration tools. After you click "Agree and continue", you can continue to use our services. Thank you for your cooperation and understanding.
For more agreement content, please refer to the《Openl Qizhi Community AI Collaboration Platform Usage Agreement》