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

Bug: Add tiktoken as dependency to count exactly the number of tokens #16

Open
dorbanianas opened this issue Sep 18, 2024 · 0 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@dorbanianas
Copy link
Member

dorbanianas commented Sep 18, 2024

At the moment, we have tiktoken wrapper which was using Python code but in order to release, we simplified to a split and count approach giving reasonable numbers for english prompts. We need to add tiktoken as a dependency next.

@queryproc queryproc added the bug Something isn't working label Oct 21, 2024
@queryproc queryproc changed the title Exact Token Count per Row in Prompts Bug: Add tiktoken as dependency to count exactly the number of tokens Oct 22, 2024
@queryproc queryproc mentioned this issue Oct 22, 2024
15 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants