通过model = SentenceTransformer("Alibaba-NLP/gte-Qwen2-7B-instruct", trust_remote_code=True)无法使用,报错会说无法访问到文件

#20
by hhgz - opened

[Alibaba-NLP/gte-Qwen2-7B-instruct](OSError: You are trying to access a gated repo.
Make sure to have access to it at https://huggingface.co/Alibaba-NLP/gte-Qwen1.5-7B-instruct.
401 Client Error. (Request ID: Root=1-6683e3c8-6c8d65f622cada824c49ba61;ccac8827-640a-4856-b125-d6febd24e35a)

Cannot access gated repo for url https://huggingface.co/Alibaba-NLP/gte-Qwen1.5-7B-instruct/resolve/main/config.json.
Access to model Alibaba-NLP/gte-Qwen1.5-7B-instruct is restricted. You must be authenticated to access it.)

Sign up or log in to comment