Update README.md

This commit is contained in:
HPCL-EI 2024-03-07 21:42:43 +08:00 committed by GitHub
parent 94332dac0a
commit ae716e4fe4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 16 additions and 1 deletions

View File

@ -56,7 +56,22 @@ pip install -e .
pip install zh_core_web_lg-3.7.0-py3-none-any.whl pip install zh_core_web_lg-3.7.0-py3-none-any.whl
``` ```
## 2.4 快速入门 ## 2.4 部署大模型
可采用本地部署大模型或调用在线大模型API的方式。
1. 本地部署
比赛中使用的是ChatGLM3模型并部署在本地集群上。
可参考 https://github.com/THUDM/ChatGLM3 官方链接进行部署,并根据[该小节](https://github.com/THUDM/ChatGLM3?tab=readme-ov-file#openai-api--zhipu-api-demo)来开放API。
2. 使用在线大模型API
若不方便本地部署大模型建议直接调用在线大模型的API如GLM4文心一言, GPT4 等。
无论是本地部署还是直接使用在线大模型API最终都要在 robowaiter/llm_client/single_round.py 文件中修改相应的API地址以便机器人与大模型通信。
## 2.5 快速入门
1. 下载[仿真器](https://drive.google.com/file/d/1ZQ_Muf3b8kPgit-cIsf0VxsrMGKX8cx7/view)解压并运行CafeSimulator.exe即可打开仿真器此时显示空场景等待代码端生成场景并完成机器人交互。 1. 下载[仿真器](https://drive.google.com/file/d/1ZQ_Muf3b8kPgit-cIsf0VxsrMGKX8cx7/view)解压并运行CafeSimulator.exe即可打开仿真器此时显示空场景等待代码端生成场景并完成机器人交互。