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

Llama models apparently adding extra input tokens. #292

Open
snova-rodrigom opened this issue Mar 17, 2025 · 0 comments
Open

Llama models apparently adding extra input tokens. #292

snova-rodrigom opened this issue Mar 17, 2025 · 0 comments

Comments

@snova-rodrigom
Copy link

Hi, I've tested multiple Llama models 3.1-3.3 from SambaNova, Fireworks and TogetherAI and have noticed that additional tokens are apparently being added per API model call. I'm using the right model tokenizer to cut and count the number of desire tokens to process as prompt tokens, however APIs always return ~30 extra tokens more, which is not expected. Since this is happening in all of them, is this a model related issue? is there a way to get the exact amount of prompt tokens expected?

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

1 participant