code: def _byte2string(cls, model):
      for param_set in ["hyper_params", "model_params"]:
          for k in model[param_set].keys():
              if type(model[param_set][k]) == type(b""):
                  model[param_set][k] = model[param_set][k].decode(
                      "utf-8"
                  )
      return model
  
imports: from abc import ABCMeta, abstractmethod
  from sklearn.exceptions import NotFittedError
  from sklearn.base import BaseEstimator
  import json
  import pickle
  import numpy
  from warnings import warn
label_desc: Use image node_id 7 for calling the BaseModelPackage obj's underlying member method code with example usage: obj._byte2string(cls, model) and returns: model