问题:
2023-11-26 07:45:38 | ERROR | stderr | raise HFValidationError(
2023-11-26 07:45:38 | ERROR | stderr | huggingface_hub.utils._validators.HFValidationError: Repo id must be in the form 'repo_name' or 'namespace/repo_name': '/mnt/d/llmbak/llama-2-7b-chat-hf-chinese/1.1'. Use `repo_type` argument if needed.
或者:HFValidationError: Repo id must be in the form 'repo_name' or 'namespace/repo_name': '/model/vicuna-7b-delta-v1.1/'. Use `repo_type` argument if needed.
解决:报错是因为找不到模型路径,尝试修改为相对路径,修改后成功运行。
标签:Use,name,argument,HFValidationError,repo,id From: https://www.cnblogs.com/tommickey/p/17856519.html