RAG-Book icon indicating copy to clipboard operation
RAG-Book copied to clipboard

中文模型Yi加载出错

Open srj990 opened this issue 2 years ago • 1 comments

第七章,chatpdf应用开发中,书中写的是中文模型是Yi-chat-6b,但代码里面写的是model_path = 'yi-chat-6B-GGUF/yi-chat-6b.f16.gguf',不知道下载哪个?hugging face上比较多

srj990 avatar Oct 18 '24 08:10 srj990

@srj990 模型可以自己选,例如"neopolita/yi-6b-chat-gguf"模型,可以用weget获取:wget --no-check-certificate -O yi-6b-chat_q2_k.gguf https://hf-mirror.com/neopolita/yi-6b-chat-gguf/resolve/main/yi-6b-chat_q2_k.gguf。也可以选其他模型,不一定非要用yi

bianlongpeng avatar Nov 18 '24 12:11 bianlongpeng