modify style

This commit is contained in:
BUAADreamer
2024-04-25 21:29:50 +08:00
parent fc0fa9f048
commit 235b411370
2 changed files with 4 additions and 4 deletions

View File

@@ -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.
"""