将huggingface的模型下载到本地,从本地加载模型,报错:
huggingface_hub.utils._validators.HFValidationError: Repo id must be in the form 'repo_name' or 'namespace/repo_name': '/root/model/bloomz-560mm'. Use `repo_type` argument if needed.
原因:部分文件没有下载全,比如tokenizer.json文件没有下载。