This commit is contained in:
Sindhu Satish 2025-01-29 06:00:06 -08:00
parent e89a131668
commit dd1690df81

View File

@ -709,7 +709,7 @@ def load(
model_config={}, model_config={},
adapter_path: Optional[str] = None, adapter_path: Optional[str] = None,
lazy: bool = False, lazy: bool = False,
commit_hash: Optional[str] = "main", revision: Optional[str] = "main",
) -> Tuple[nn.Module, TokenizerWrapper]: ) -> Tuple[nn.Module, TokenizerWrapper]:
""" """
Load the model and tokenizer from a given path or a huggingface repository. Load the model and tokenizer from a given path or a huggingface repository.