-
Notifications
You must be signed in to change notification settings - Fork 576
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
预训练完毕,合成完毕,在oobabooga运行模型会出现自问自答的情况。 #56
Comments
确认个问题:推理模型是发布的chinese-alpaca-2模型还是对chinese-alpaca-2继续预训练后合并得到的模型? |
推理模型是chinese-alpaca-2继续预训练后合并得到的模型 |
还有就是我想问,预训练的格式 是按照 llama1-alpaca 里边的,文本格式一样的嘛
这是1里边提供的txt数据。 这样格式的数据 在2里边一样的通用嘛?还是说已经换了其他格式,导致的最后不能停止 |
预训练后的模型不适合对话,应该使用alpaca模型。llama不能停止的问题我们稍后提交修复代码。 |
需要重新拉取仓库代码 即可是吧 |
是的。另外text-generaton-webui使用我们的chinese-alpaca-2模型推理的wiki已更新,如果有描述不清楚的地方可以随时向我们反馈,谢谢。 最后,如果你是要训练对话模型,要跑的是sft代码,不是预训练代码。 |
好的刚才看到你们修复的bug ,在pt脚本已经添加 代码。经过测试完美解决 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your consideration. |
自问自答的问题依然存在,输入 Hi之后就开始自问自答了。 |
有按照text-generation-webui wiki部署吗?我没有遇到这种情况。 |
没有,我直接用llama.cpp部署的,也许是Context的问题。 |
llama.cpp下也没遇到过这个问题,你的运行命令是什么? |
抱歉最近太忙了,来不及回复。 dev ❯ cat run.sh
#!/bin/bash
# temporary script to chat with Chinese Alpaca-2 model
# usage: ./chat.sh alpaca2-ggml-model-path your-first-instruction
SYSTEM='You are a helpful assistant. 你是一个乐于助人的助手。'
FIRST_INSTRUCTION=$2
./main -m $1 \
--color -i -c 2048 -t 8 --temp 0.5 --top_k 40 --top_p 0.9 --repeat_penalty 1.1 \
--in-prefix-bos --in-prefix ' [INST] ' --in-suffix ' [/INST]' -p \
"[INST] <<SYS>>
$SYSTEM
<</SYS>>
$FIRST_INSTRUCTION [/INST]" 可能是没输入 |
@homjay 麻烦你新开一个issue讨论这个llama.cpp的问题吧。另外新开的时候建议你把使用的模型,以及如何转换为llama.cpp格式的命令也贴一下。 |
好的,已新开issue |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your consideration. |
This comment was marked as off-topic.
This comment was marked as off-topic.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your consideration. |
提交前必须检查以下项目
问题类型
模型推理
基础模型
Alpaca-2-7B
操作系统
Windows
详细描述问题
依赖情况(代码类问题务必提供)
运行日志或截图
The text was updated successfully, but these errors were encountered: