umber of (optionally, trainable or non-embeddings) parameters in the module.

save_pretrained

<
source
>
(
save_directory: typing.Union[str, os.PathLike]
is_main_process: bool = True
save_function: typing.Callable = None
safe_serialization: bool = False

)


Parameters 

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


is_main_process (bool, optional, defaults to True) —
Whether the proce