-
Notifications
You must be signed in to change notification settings - Fork 8.6k
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
Different result between use llama_tokenize and python original transformers tokenizer #7384
Comments
the model is qwen1.5-7b |
Can you share the results that you get for each? |
when prompt contains “\n” , the results is different |
the problem is llama_tokenize can not recognize the escape character,such as "\n". |
The llama.cpp binaries like |
It might be better to move the escape logic from |
Different result between use llama_tokenize and python original transformers tokenizer
The text was updated successfully, but these errors were encountered: