system for storing models and other artifacts on huggingface.co, so revision can be any
identifier allowed by git.



Instantiate a Scheduler class from a pre-defined JSON configuration file inside a directory or Hub repo.
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_pretrained

<
source
>
(
save_dire