Skip to content

Instantly share code, notes, and snippets.

@Davisy
Created June 25, 2021 08:04
Show Gist options
  • Save Davisy/e5b6969f359cbe08fb9fc4759ea77e8e to your computer and use it in GitHub Desktop.
Save Davisy/e5b6969f359cbe08fb9fc4759ea77e8e to your computer and use it in GitHub Desktop.
# load the sentiment model
with open(
join(dirname(realpath(__file__)), "models/sentiment_model_pipeline.pkl"), "rb"
) as f:
model = joblib.load(f)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment