diff --git a/docs/performance_tester.md b/docs/performance_tester.md index 859871208..6e794ccfb 100644 --- a/docs/performance_tester.md +++ b/docs/performance_tester.md @@ -1,19 +1,19 @@ -# 语音识别、大语言模型、非流式语音合成、流式语音合成、视觉模型的性能测试工具使用指南 +# Guide to using performance testing tools for speech recognition, large language models, non-streaming speech synthesis, streaming speech synthesis, and vision models -1.在main/xiaozhi-server目录下创建data目录 -2.在data目录下创建.config.yaml文件 -3.在.data/config.yaml中,写入你的语音识别、大语言模型、流式语音合成、视觉模型的参数 -例如: +1. Create a data directory in the main/xiaozhi-server directory +2. Create a .config.yaml file in the data directory +3. In .data/config.yaml, write the parameters of your speech recognition, large language model, streaming speech synthesis, and vision model +For example: ``` LLM: ChatGLMLLM: - # 定义LLM API类型 + # Define LLM API type type: openai - # glm-4-flash 是免费的,但是还是需要注册填写api_key的 - # 可在这里找到你的api key https://bigmodel.cn/usercenter/proj-mgmt/apikeys + # glm-4-flash is free, but you still need to register and fill in the api_key + # You can find your api key here https://bigmodel.cn/usercenter/proj-mgmt/apikeys model_name: glm-4-flash url: https://open.bigmodel.cn/api/paas/v4/ - api_key: 你的chat-glm web key + api_key: your chat-glm web key TTS: @@ -21,7 +21,7 @@ VLLM: ASR: ``` -4.在main/xiaozhi-server目录下运行performance_tester.py: +4. Run performance_tester.py in the main/xiaozhi-server directory: ``` python performance_tester.py -``` \ No newline at end of file +```