typing.Union[str, os.PathLike]
safe_serialization: bool = False

)


Parameters 

save_directory (str or os.PathLike) —
Directory to which to save. Will be created if it doesn’t exist.


safe_serialization (bool, optional, defaults to False) —
Whether to save the model using safetensors or the traditional PyTorch way (that uses pickle).



Save all variables of the pipeline that can be saved and loaded as well as the pipelines configuration fil