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 to enable infinite generations? #820

Open
yukiarimo opened this issue May 2, 2024 · 9 comments
Open

How to enable infinite generations? #820

yukiarimo opened this issue May 2, 2024 · 9 comments

Comments

@yukiarimo
Copy link

I want the model, no matter what tokens are printed, to continue forever until I stop it. Is it possible?

@kaylaa0
Copy link

kaylaa0 commented May 3, 2024

Would banning EOS (End-Of-Stream) token be a possible solution ?

Settings -> Advanced -> EOS Token Ban

@yukiarimo
Copy link
Author

Yes, this helps in the token terms, but there's an Amount to Gen option that is max 512. Can it be any number like 99999 for AI to generate an entire novel for me?!

@LostRuins
Copy link
Owner

It can be set higher, up to about 80% of the max context length. Try increase your max context length first, then manually override and input the amount to gen as a larger number than 512.

@aleksusklim
Copy link

Not only you can type any number to "amount to generate", but also you can just press the sending button with empty input box to force the model to continue right where it stopped!
So you don't actually need very long chunk of text unless you leave your machine while it busy generating.

Personally, I edit model's output often, so it's useless to generate too long text, since it would be reprocessed in my next turn if I'll edit something.

@Denplay195
Copy link

Also. you may use Idle Responses to let the generating go infinitely further as if you were doing it manually, the only problem is it can stuck somewhere even after banning EOS tokens, but for me it is a rare occasion

@yukiarimo
Copy link
Author

Idle Responses

What is that?

@Denplay195
Copy link

Denplay195 commented May 3, 2024

What is that?
I wonder if you are using KoboldAI Lite or not, but it has that in advanced settings
image

@yukiarimo
Copy link
Author

I wonder if you are using KoboldAI Lite or not, but it has that in advanced settings

I do. I'm just running Python koboldcpp.py! Anyway, what does this thing do?

@LostRuins
Copy link
Owner

Idle Responses allow the AI to automatically continue the response without user input after some amount of inactive time.

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

No branches or pull requests

5 participants