Skip to content

Instantly share code, notes, and snippets.

@fedden
Created April 21, 2018 16:14
Show Gist options
  • Save fedden/a01360da907606440bccabc24766cc96 to your computer and use it in GitHub Desktop.
Save fedden/a01360da907606440bccabc24766cc96 to your computer and use it in GitHub Desktop.
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