prospector/ranking/utils/model_loader.py
def save_model(model, model_name: str) -> str:
    """
    Serves for saving pre-trained models to disk. Takes <model, model_name> as input (the name of the
    saved model - can be with or without file extension).
    Raises Exception if the model cannot be saved to disk.
    """
    model_path = get_model_path(model_name)
    dump(model, model_path)
    return model_path

    Serves for saving pre-trained models to disk. Takes <model, model_name> as input (the name of the
    saved model - can be with or without file extension).
    Raises Exception if the model cannot be saved to disk.
    
Serves for saving pre-trained models to disk. Takes  as input (the name of the
saved model - can be with or without file extension).
Raises Exception if the model cannot be saved to disk.
Serves for saving pre - trained models to disk . Takes as input ( the name of the saved model - can be with or without file extension ) . Raises Exception if the model cannot be saved to disk .
def save_model(model, model_name: str) -> str:
    model_path = get_model_path(model_name)
    dump(model, model_path)
    return model_path
def save_model ( model , model_name : str ) -> str : model_path = get_model_path ( model_name ) dump ( model , model_path ) return model_path
Serves for saving pre-trained models to disk.
Serves for saving pre - trained models to disk .
"""
    Serves for saving pre-trained models to disk. Takes <model, model_name> as input (the name of the
    saved model - can be with or without file extension).
    Raises Exception if the model cannot be saved to disk.
    """
model
model_name
str