mirror of
https://github.com/ml-explore/mlx-examples.git
synced 2025-08-21 12:06:51 +08:00
bug fix
This commit is contained in:
parent
e89a131668
commit
dd1690df81
@ -709,7 +709,7 @@ def load(
|
||||
model_config={},
|
||||
adapter_path: Optional[str] = None,
|
||||
lazy: bool = False,
|
||||
commit_hash: Optional[str] = "main",
|
||||
revision: Optional[str] = "main",
|
||||
) -> Tuple[nn.Module, TokenizerWrapper]:
|
||||
"""
|
||||
Load the model and tokenizer from a given path or a huggingface repository.
|
||||
|
Loading…
Reference in New Issue
Block a user