Created
June 27, 2020 08:54
-
-
Save prateekjoshi565/5bce12994fb7bd6b30bed6be55b02384 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from tokenizers import Tokenizer | |
# save tokenizer | |
tokenizer.save("my_tokenizer.json") | |
# load tokenizer | |
tokenizer = Tokenizer.from_file("my_tokenizer.json") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment