Skip to content

Instantly share code, notes, and snippets.

@bearpelican
Created August 1, 2019 07:32
Show Gist options
  • Save bearpelican/4a58494426d1958886b1a6bc57afb417 to your computer and use it in GitHub Desktop.
Save bearpelican/4a58494426d1958886b1a6bc57afb417 to your computer and use it in GitHub Desktop.
pitch_temp, dur_temp = (1.1, 0.4) # Controls amount of prediction randomness
pred, full = learn.predict(seed_item, n_words=400, temperatures=(pitch_temp, dur_temp),
top_k=24, top_p=0.7)
full.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment