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

add warning for truncation #2585

Merged
merged 2 commits into from
Dec 19, 2024
Merged

add warning for truncation #2585

merged 2 commits into from
Dec 19, 2024

Conversation

baberabb
Copy link
Contributor

When sequences are too long for the model's context window, we now explicitly warn users about truncation instead of silently dropping tokens. While these warnings do clutter the logger, I feel it's important to make users aware.

@baberabb baberabb merged commit 6ccd520 into main Dec 19, 2024
7 of 8 checks passed
@baberabb baberabb deleted the maxlenwarning branch December 19, 2024 21:58
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.

1 participant