Skip to content
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

How do i stop the ai from talking to itself?? #841

Closed
Asory2010 opened this issue Apr 7, 2023 · 7 comments
Closed

How do i stop the ai from talking to itself?? #841

Asory2010 opened this issue Apr 7, 2023 · 7 comments
Labels

Comments

@Asory2010
Copy link

It sometimes just talks to itself for example:

###Human: Hi
###Assistant: Hello, how can i assist you?

(i am runing the latest release with vicuna mode)

@hungerf3
Copy link

hungerf3 commented Apr 7, 2023

Take a look at the --reverse-prompt option; it lets you indicate when you want to be able to enter your input.

@andresdelcampo
Copy link

Great to know!
Is there a way to prevent the reverse prompt ('### Human:") from being printed in the screen?

> Hi there
Hello! How can I assist you today?
### Human:
>

@ungarscool1
Copy link

On a personal project, I detect the first # and : or \n. If between these, it contains 'Human', so I stop the execution and find&replace ### Human: to blank.

@Alumniminium
Copy link

Alumniminium commented Apr 10, 2023

-r '###' works sufficiently well and catches all the other various things like ### Instruction, ### Next Prompt, ### Question, ... the model occasionally creates.

You can pass multiple -r by the way. I also have a -r "Im sorry," and -r "However," to cut it off from either lecturing me about ethics or overexplaining things.

@IIIIIIIllllllllIIIII
Copy link

doesnt work at all on mac - super weird....

./main -m ./models/ggml-vicuna-7b-1.0-uncensored-q4_0.bin -n 256 --repeat_penalty 1.1 --color -i -r '### Human:' -r '##' -r '###' -f prompts/chat-with-vicuna.txt

@ibndias
Copy link

ibndias commented May 1, 2023

This works for me for vicuna prompt trained model

./main -m ../../Downloads/wizardLM-7B.ggml.q4_0.bin -n 2048 --repeat_penalty 1.0 --color -i -r "### Human:" -f prompts/chat-with-vicuna.txt

chat-with-vicuna.txt

@github-actions github-actions bot added the stale label Mar 25, 2024
Copy link
Contributor

This issue was closed because it has been inactive for 14 days since being marked as stale.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

7 participants