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

A question from beginner: How Chinese chars converted in the vocab? #19

Open
Adenialzz opened this issue Dec 24, 2024 · 0 comments
Open

Comments

@Adenialzz
Copy link

I notice that in deepseek (llama) vocab, there is no Chinese chars in that, instead of something like åIJ¦, and that can be decoded to Chinese . I wonder how this happened. I have checked the source code in transformers and did not find the implementation about this.

(Pdb) mllm.tokenizer.convert_ids_to_tokens(3636)
'åIJ¦'
(Pdb) mllm.tokenizer.decode([3636])
''
(Pdb)
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

1 participant