import pickle


def get_reddit_model(fname='models/reddit_regression.pkl'):
    """ Load pre-trained reddit model from pickle file """
    with open(fname, 'rb') as fid:
        reddit_model = pickle.load(fid)
    return reddit_model