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

Return position to EncodingResult (#80) #97

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

imsosleepy
Copy link

Implementation for issue #80

I added the lastTokenIndex variable to the EncodingResult class to know the last position of the text truncated by max token.

I only created a simple validation code to test this change. For a complete test, I think need to add one more column to the CSV file for the test and put in the appropriate position values.

And I need to review if lastTokenIndex is a proper variable name and if it reflects the proper requirements for the issue.

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.

None yet

1 participant