-
Notifications
You must be signed in to change notification settings - Fork 11.5k
Add support for stopping words [Automation] #726
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
Comments
Duplicate of #57 |
You didn't get me. I'm looking for a way to automate stuff which I can't just do with that feature. For example, let's say you use a prompt to automate replies for emails. prompt: Finally, when it generates the answer, I'm not able to stop the process, feed a different prompt instead of using the original or anything to properly automate that task which pretty much renders it useless unless you use llama models as sometimes factual chatbots. |
in main.cpp: look for if (!input_noecho) Really you just need to add the if statement and get your condition right. You cannot code c++? No worries, in 2023, only geniuses like @ggerganov need to know how to code. For everyone else, use ChatGPT, give him the code, tell him what you want and copy / paste. |
A stopping criteria or "stop sequence" would be highly appreciated here. These models are already pretty for information retrieval but for automating stuff be it maybe some hacky way to execute code or simply automate textual tasks is impossible. You can just use the model and expect it to work everytime with every input. And even if is the case, your won't last long before your prompt needs a modification.
Will you at least include that feature some day? I'm mot a cpp expert so I'm not sure how difficult would be this to implement.
The text was updated successfully, but these errors were encountered: