Skip to content

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

Open

Description

@vovanb

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?

Activity

  1. dmitry-brazhenko commented on Jul 26, 2024

    @dmitry-brazhenko
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions