Skip to content

Instantly share code, notes, and snippets.

@prateekjoshi565
Created June 27, 2020 09:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save prateekjoshi565/b97f30c6d0b21417382487c39398a82d to your computer and use it in GitHub Desktop.
Save prateekjoshi565/b97f30c6d0b21417382487c39398a82d to your computer and use it in GitHub Desktop.
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