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

如何加载微调之后的checkpoint呢 #228

Closed SmallZhangZhang closed 8 months ago

SmallZhangZhang commented 8 months ago

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

问题类型 | Type of problem

None

操作系统 | Operating system

None

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

# 请在此处粘贴运行代码(如没有可删除该代码块)
# Paste the runtime code here (delete the code block if you don't have it)

image

我在.env文件中更改了ADAPTER_MODEL_PATH和USING_PTUNING_V2,也试过只改ADAPTER_MODEL_PATH,但是看起来像是没有用成功。对同一个问题模型的答案是一模一样的。

Dependencies

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

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

# 请在此处粘贴运行日志
# Please paste the run log here
nolynn commented 6 months ago

这个问题怎么解决的,我也遇到了 @SmallZhangZhang