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

Gemma tokenizer, fix Unicode split #52

Merged
merged 2 commits into from
Feb 29, 2024
Merged

Gemma tokenizer, fix Unicode split #52

merged 2 commits into from
Feb 29, 2024

Conversation

pcuenca
Copy link
Member

@pcuenca pcuenca commented Feb 28, 2024

No description provided.

pcuenca and others added 2 commits February 28, 2024 20:50
This makes it equivalent to the Python and JavaScript versions as far as
I can tell.

Co-authored-by: davidkoski <davidkoski@users.noreply.github.com>
@pcuenca
Copy link
Member Author

pcuenca commented Feb 28, 2024

Fixes #51, reported by @davidkoski.

Also had to disable omitting empty sequences to make it work like Python and JavaScript (" " is now split to ["", ""] rather than [])

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

Successfully merging this pull request may close these issues.

None yet

1 participant