如果无法连接国外的大模型,这个代码不进行修改,根本跑不通,希望老师能,增加国内大模型的示例
直接运行代码报下面的错误:
OSError: We couldn't connect to 'https://huggingface.co' to load the files, and couldn't find them in the cached files.
Checkout your internet connection or see how to run the library in offline mode at 'https://huggingface.co/docs/transformers/installation#offline-mode'.