add om_hub_token argument

Former-commit-id: b3214e69d32067a1c22dbd60c2cde1545ba75b19
This commit is contained in:
huniu20
2024-10-10 17:16:46 +08:00
parent aad79127e6
commit 5b15ca0b0b
3 changed files with 6 additions and 2 deletions

View File

@@ -267,6 +267,10 @@ class ModelArguments(QuantizationArguments, ProcessorArguments, ExportArguments,
default=None,
metadata={"help": "Auth token to log in with ModelScope Hub."},
)
om_hub_token: Optional[str] = field(
default=None,
metadata={"help": "Auth token to log in with Modelers Hub."},
)
print_param_status: bool = field(
default=False,
metadata={"help": "For debugging purposes, print the status of the parameters in the model."},