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

Auto convert without tokenizer.json to prevent performance downgrade? #62

Open
leiwen83 opened this issue Aug 12, 2023 · 2 comments
Open

Comments

@leiwen83
Copy link

As mentioned in #20 , lightllm performance would downgrade a lot if without tokenizer.json. So for those model without this file, shall it be reasonable to add some auto conversion process in the server start to workaround this case?

Thx

@llehtahw
Copy link
Contributor

Hi @leiwen83, Were you able to use the fast tokenizer in LightLLM? If yes, would you like to open a pull request ? 😄

@super-buster
Copy link

You can save fast tokenizer in advane, refer to fix slow tokenizer

Then auto load fast tokenizer if you want. I have modified in my code

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

3 participants