-
Notifications
You must be signed in to change notification settings - Fork 146
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
Vicuna dont follow the prompt #45
Comments
I have the same problem: it keeps writing text after I ask it a question and responds to itself. |
Temp is probably too high (0.8), iirc vicuna likes 0.3. it will be fixed when I add settings. |
I just added an additional index 45e2f0f..5d9ab83 100644
--- a/index.js
+++ b/index.js
@@ -218,7 +218,7 @@ function initChat() {
});
}
});
- const chatArgs = `--interactive-first -i -ins -r "User:" -f "${path.resolve(__dirname, "bin", "prompts", "alpaca.txt")}"`;
+ const chatArgs = `--interactive-first -i -ins -r "User:" -r "##" -f "${path.resolve(__dirname, "bin", "prompts", "alpaca.txt")}"`;
const paramArgs = `-m "${modelPath}" -n -1 --ctx_size 2048 --temp 0.5 --top_k 420 --top_p 0.9 --threads ${threads} --repeat_last_n 64 --repeat_penalty 1.3`;
if (platform == "win32") {
runningShell.write(`[System.Console]::OutputEncoding=[System.Console]::InputEncoding=[System.Text.Encoding]::UTF8; ."${path.resolve(__dirname, "bin", supportsAVX2 ? "" : "no_avx2", "chat.exe")}" ${paramArgs} ${chatArgs}\r`); I am using it with the BTW: I think I like |
I had similar issue with other 7B 4bit model who made an infinite wall of hashtag. This seem to be a recurring issue with many 7B 4bit model. But personally I am ok with forcing them to stop when used as chatbot. So I'll probably add other -r too, for now. I'll try vicuna AlekseyKorshuk. |
I tried to run ggml-vicuna-7b-4bit-rev1
The model load but the character go off script and start to talk to itself ... Something like this.
But the vicuna model and prompts work when launched in a terminal with chat or main from llama.cpp main.
I tired writhing a couple of different prompts to see if it could fix the issue but I had no success.
So I was thinking if it work directly with chat binary then there is probably something unexpected with the UI.
I can see in the terminal that the UI send "Ready!" at same time than the first message. I wonder if this can mess up with vicuna.
The text was updated successfully, but these errors were encountered: