xusenlinzy / api-for-open-llm

Openai style api for open large language models, using LLMs just as chatgpt! Support for LLaMA, LLaMA-2, BLOOM, Falcon, Baichuan, Qwen, Xverse, SqlCoder, CodeLLaMA, ChatGLM, ChatGLM2, ChatGLM3 etc. 开源大模型的统一后端接口
Apache License 2.0
2.33k stars 264 forks source link

llama3提问后回答不停止 #266

Closed gptcod closed 5 months ago

gptcod commented 5 months ago

提交前必须检查以下项目 | The following items must be checked before submission

问题类型 | Type of problem

效果问题 | Effectiveness issues

操作系统 | Operating system

Linux

详细描述问题 | Detailed description of the problem

python server.py后再使用streamlit启动前端界面,不管是使用中文还是英文提问,都是回答不停止。

Dependencies

# 请在此处粘贴依赖情况
# Please paste the dependencies here

运行日志或截图 | Runtime logs or screenshots

image

xusenlinzy commented 5 months ago

更新一下代码试试

claudegpt commented 5 months ago

更新一下代码试试

可以了,请您再略微修改下代码:"token_ids" [128001, 128009],中间少了个冒号。