AutoConfig
Read a checkpoint's identity by name, without its weights.
from_pretrained
from_pretrained(source: 'str', *, revision: 'str | None' = None, cache_dir: 'str | None' = None, token: 'str | None' = None, offline: 'bool' = False) -> 'PretrainedConfig'
The :class:PretrainedConfig of the checkpoint at source (a
local directory, a hub repo id, or a .gguf file): what the registry
resolves from its configuration alone. A hub source fetches the
configuration files only.