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

SharpToken.GptEncoding.GetEncoding(o200k_base) takes minutes #45

Open
vovanb opened this issue Jul 25, 2024 · 1 comment
Open

SharpToken.GptEncoding.GetEncoding(o200k_base) takes minutes #45

vovanb opened this issue Jul 25, 2024 · 1 comment

Comments

@vovanb
Copy link

vovanb commented Jul 25, 2024

Hi
I am using your library in MAUI android. For some reason method
SharpToken.GptEncoding.GetEncoding(o200k_base)
first time takes minutes to respond
What can be issue?

@dmitry-brazhenko
Copy link
Owner

Hey!

Sounds interesting. Could you share some more details please

  1. Text length
  2. android ver
  3. device

Probably could you share apk to check it?
My guess is that it takes significant time just to read tokenizer dict, but not sure about it.

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

No branches or pull requests

2 participants