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 an option to use the relevant tokenizer #81

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

Conversation

pinak-p
Copy link

@pinak-p pinak-p commented Jan 21, 2025

Currently, a default llama2 tokenizer is used to count tokens. This change allows one to pass a tokenizer that will be used to count tokens. This makes the computed metrics more accurate.

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