如何加载本地的模型?

#77
by gefeifan - opened

如题,我提前下载了bge-m3到本地,然后尝试使用BGEM3FlagModel去加载本地的模型,却发现只支持repo_name。由于一些网络问题,我无法连接hf,请问如何加载本地模型

Beijing Academy of Artificial Intelligence org

把repo_name改成本地模型的路径就可以的

gefeifan changed discussion status to closed

Sign up or log in to comment