-
Notifications
You must be signed in to change notification settings - Fork 21
Ensure unicode support, strip carriage returns from vocab #215
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
Conversation
I've fixed up the |
it won't work for instance with llama vocabs where "\r" is a token on one line |
It will, simply not if that token does not have an associated count, the main format, eg |
the conversion script convert_HF.py will take the HF tokenizer and generate a vocab file without counts and again some vocabs have "\r" alone or with extra characters in front of it. It is what it is, Eole is not just an NMT toolkit anymore. |
Upon looking at it again, a simpler way is to just run |
No description provided.