erimental and might change in the future.
It is required to be logged in (huggingface-cli login) when you want to use private or gated
models.

load_lora_weights

<
source
>
(
pretrained_model_name_or_path_or_dict: typing.Union[str, typing.Dict[str, torch.Tensor]]
**kwargs

)


Parameters 

pretrained_model_name_or_path_or_dict (str or os.PathLike or dict) —
Can be either:

A string, the model id of a pretrained model hosted inside a model repo