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

Can we adapt this to hugging face Tokenizers? #6

Open
karims opened this issue Jun 27, 2021 · 1 comment
Open

Can we adapt this to hugging face Tokenizers? #6

karims opened this issue Jun 27, 2021 · 1 comment

Comments

@karims
Copy link

karims commented Jun 27, 2021

Hi,
I wanted to know if this codebase can be directly utilized to make a hugging face Tokenizer. It doesn't look like, but wanted to know if I'm missing something.

@XinhaoLi74
Copy link
Owner

Hi,
The following link contains an example of generating an SPE tokenizer from the Huggingface PreTrainedTokenizer. Hope this is helpful. https://colab.research.google.com/drive/1tsiTpC4i26QNdRzBHFfXIOFVToE54-9b?usp=sharing

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

2 participants