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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] BOS token on textgen API? Does it show up for you? #2197

Open
3 tasks done
Ph0rk0z opened this issue May 8, 2024 · 0 comments
Open
3 tasks done

[BUG] BOS token on textgen API? Does it show up for you? #2197

Ph0rk0z opened this issue May 8, 2024 · 0 comments
Labels
馃悰 Bug [ISSUE] Ticket describing something that isn't working 馃惂 Linux [ISSUE] The Environment is on Linux

Comments

@Ph0rk0z
Copy link

Ph0rk0z commented May 8, 2024

Environment

馃惂 Linux

System

Ubuntu 22.04

Version

Git Staging

Desktop Information

No response

Describe the problem

Since all of the llama.cpp drama about the BOS token placement, I decided to check what's happening in my own gens.

I fired up textgen in verbose mode. Both exllamv2 loaders, HF and regular.

In the webui, if I tick "Add BOS token", it shows up in the prompt printed in the console. When I uncheck it, BOS token disappears as expected. At least while using chat-instruct.

Unfortunately, when using SillyTavern, every request I send has no BOS token in the ooba log. It doesn't matter if I check "add BOS" or not, the output is identical and only displays what I sent. I also see confirmation of my ST settings in the webui verbose output but I do not see add_bos_token. One thing I noticed is that I have both max_tokens and max_new_tokens, could be wrong but one of those is a chat completion only parameter.

Sooo.. if this wasn't TLDR, is this a bug on my particular system or is this happening for anyone else? Do you see add_bos_token:True in your verbose output and do you see the BOS token in the prompt?

Additional info

txtgen
ST

Please tick the boxes

@Ph0rk0z Ph0rk0z added the 馃悰 Bug [ISSUE] Ticket describing something that isn't working label May 8, 2024
@github-actions github-actions bot added the 馃惂 Linux [ISSUE] The Environment is on Linux label May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
馃悰 Bug [ISSUE] Ticket describing something that isn't working 馃惂 Linux [ISSUE] The Environment is on Linux
Projects
None yet
Development

No branches or pull requests

1 participant