code: def load(file_or_path):
      
      from pickle import UnpicklingError
      _python3 = True
      try: 
          import cPickle as pickle
          _python3 = False
      except ImportError: #python3
          import pickle
     
      try:
          if _python3:
              strcl = str
              p3kw = dict(encoding='latin1')
              return _unpickle(file_or_path, pickle, strcl, p3kw)
          else:
              strcl = basestring
              p3kw = {}
              return _unpickle(file_or_path, pickle, strcl, p3kw)
      
      except UnpicklingError: # pragma: no coverage
          import pickle
          return _unpickle(file_or_path, pickle, strcl, p3kw)
docs: Load a previously pickled model, using `m.pickle('path/to/file.pickle)'`
  
      :param file_name: path/to/file.pickle