Created
January 1, 2019 19:23
-
-
Save bluedistro/907dfd4957b01fa790421527fcf1c106 to your computer and use it in GitHub Desktop.
save tokenizer
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
# save the tokenizer | |
with open(os.path.join(tokenizer_path, 'tokenizer_m1.pickle'), 'wb') as handle: | |
pk.dump(tokenizer, handle, protocol=pk.HIGHEST_PROTOCOL) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment