Created
June 27, 2020 09:27
-
-
Save prateekjoshi565/ea45d0c2628618ebe624835d1243bfc7 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
# open file and read in data as `text` | |
with open('wikitext-103/wiki.train.tokens', 'r') as f: | |
text = f.readlines() | |
# check number of sequences | |
len(text) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment