mirror of
https://github.com/hiyouga/LlamaFactory.git
synced 2026-01-31 20:03:39 +00:00
modify style
Former-commit-id: c1f1df99e4dc3d0aadf1207b4e9a16218187fd5a
This commit is contained in:
@@ -112,7 +112,7 @@ def load_model(
|
||||
finetuning_args: "FinetuningArguments",
|
||||
is_trainable: bool = False,
|
||||
add_valuehead: bool = False,
|
||||
) -> Union["PreTrainedModel"]:
|
||||
) -> "PreTrainedModel":
|
||||
r"""
|
||||
Loads pretrained model.
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user