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

EOS token triggered! #1177

Open
HarryK4673 opened this issue Oct 20, 2024 · 3 comments
Open

EOS token triggered! #1177

HarryK4673 opened this issue Oct 20, 2024 · 3 comments

Comments

@HarryK4673
Copy link

HarryK4673 commented Oct 20, 2024

Hi everyone!

I met a problem when generating texts. I set the flags to --contextsize 98304 and when I test it, I input a text with about 30k tokens and set the maximum output tokens to 600. EOS token triggered when it output 8/400 tokens.

(EOS token triggered! ID:128009)
CtxLimit:30989/98304, Amt:8/600, Init:0.12s, Process:268.39s (8.7ms/T = 115.43T/s), Generate:10.71s (1338.2ms/T = 0.75T/s), Total:279.10s (0.03T/s)

Is there any ways to modify the EOS token?

I met this problem only on Google Colab. It's fine on my local computer.

@LostRuins
Copy link
Owner

EOS means the model wishes to stop generating the current response as it believes it is complete

To override this, set EOS token ban to "Ban"

image

@HarryK4673
Copy link
Author

EOS means the model wishes to stop generating the current response as it believes it is complete

To override this, set EOS token ban to "Ban"

image

Thanks for that, but I'm using Google Colab (using the Linux version and command to execute). I did not find any flag related to EOS when ./koboldcpp

@LostRuins
Copy link
Owner

EOS banning is set over the API by the frontend. Are you using the KoboldAI Lite frontend?

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

2 participants