Skip to content

Instantly share code, notes, and snippets.

@francoisstamant
Created November 14, 2021 20:44
Show Gist options
  • Save francoisstamant/9e2995f0802754ea02c7d964a6b3227d to your computer and use it in GitHub Desktop.
Save francoisstamant/9e2995f0802754ea02c7d964a6b3227d to your computer and use it in GitHub Desktop.
outputs = learn.blurr_generate(text_to_generate, early_stopping=False, num_return_sequences=1)
for idx, o in enumerate(outputs):
print(f'=== Prediction {idx+1} ===\n{o}\n')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment