Skip to content

Instantly share code, notes, and snippets.

@joeyism
Last active October 9, 2019 01:50
Show Gist options
  • Save joeyism/6022717dcc235690757f32ea1cb3221c to your computer and use it in GitHub Desktop.
Save joeyism/6022717dcc235690757f32ea1cb3221c to your computer and use it in GitHub Desktop.
import gpt2
predictor = gpt2.Gpt2Predictor()
result = predictor.predict_json({"previous": "Toronto Raptors, who are currently tied for the league leader in wins"})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment