Skip to content

Conversation

helena-intel
Copy link
Contributor

With OpenVINO tokenizers, actual inputs to the model are truncated at model max length, so the count_tokens function should do the same.

Align with OpenVINO Tokenizers which truncates inputs at model max length.
@dtrawins dtrawins merged commit 8829d45 into openvinotoolkit:main Aug 21, 2025
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

Successfully merging this pull request may close these issues.

3 participants