Skip to content

Instantly share code, notes, and snippets.

@maze-runnar
Created May 28, 2020 12:55
Show Gist options
  • Save maze-runnar/a9e9da6e7eb6a853023f7190ead520c8 to your computer and use it in GitHub Desktop.
Save maze-runnar/a9e9da6e7eb6a853023f7190ead520c8 to your computer and use it in GitHub Desktop.
from joblib import load, dump
#dump your model
model1 = dump(your_model_name)
## loading the joblib model
clf = load('/home/saurabh/Desktop/smsspamcollection/frontend/model1.joblib')
# model = load(your path of model)
# https://www.kaggle.com/thedeathcure/sms-spam-filtering download pretrained model1.joblib from here
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment