bailing icon indicating copy to clipboard operation
bailing copied to clipboard

首次启动时,rag报错

Open secslim opened this issue 9 months ago • 2 comments

首次启动时,通过huggingface下载bge模型失败,手动下载bge模型后,使用HuggingFaceBgeEmbeddings加载本地模型还是报错,报错如下: huggingface_hub.errors.LocalEntryNotFoundError: Cannot find an appropriate cached snapshot folder for the specified revision on the local disk and outgoing traffic has been disabled. To enable repo look-ups and downloads online, pass 'local_files_only=False' as input. 请问有哪位大佬遇到过吗?

secslim avatar Feb 27 '25 09:02 secslim

请问您解决了吗 我也遇到了同样的问题

yi123-stack avatar May 07 '25 06:05 yi123-stack

可能是要更改这个参数为False,代码逻辑里默认可能是从外网下载模型权重所以还是报了这个错。

jt-z avatar Oct 15 '25 08:10 jt-z