def METHOD_NAME(self, model_dir):
    # type: (Text) -> Dict[Text, Any]
    """Persist this model into the passed directory.
    Returns the metadata necessary to load the model again."""
    featurizer_file = os.path.join(model_dir, self.name + ".pkl")
    utils.pycloud_pickle(featurizer_file, self)
    return {"featurizer_file": self.name + ".pkl"}