older name here.



Instantiate a Python class from a config dictionary
It is required to be logged in (huggingface-cli login) when you want to use private or gated
models.
Activate the special “offline-mode” to
use this method in a firewalled environment.

save_config

<
source
>
(
save_directory: typing.Union[str, os.PathLike]
push_to_hub: bool = False
**kwargs

)


Parameters 

save_directory (str or os.PathLike) —
Directory where the config