Created
April 21, 2018 16:14
-
-
Save fedden/a01360da907606440bccabc24766cc96 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
male_bios = ... # Downloaded bios as a list of strings. | |
# Create the dataset. | |
dataset = SequenceDataset(sequence_length=50) | |
# Create token sequences from the bios. | |
dataset.add_sequences_from_bios(male_bios) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment