Created
June 27, 2020 09:31
-
-
Save prateekjoshi565/b97f30c6d0b21417382487c39398a82d 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
start = time.time() | |
# tokenize wikitext | |
encoded_output = tokenizer.encode_batch(text) | |
end = time.time() | |
print(end - start) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment