
大模型应用报错与修改
莓莓不加糖
这个作者很懒,什么都没留下…
展开
-
OpenAI调用报错:openai.BadRequestError: Error code: 400 - {‘error‘: {‘message‘: ‘The completion operation
找到下面这个调用语句,修改model的名称即可。具体修改成什么请看你的OpenAI KEY提供商有哪些模型,原创 2024-11-19 09:39:54 · 3066 阅读 · 0 评论 -
从huggingface下载embedding大模型报错OSError: Error no file named pytorch_model.bin, model.safetensors
报错:OSError: Error no file named pytorch_model.bin, model.safetensors, tf_model.h5, model.ckpt.index or flax_model.msgpack。解决:去huggingface详细核对文件夹下面的包有没有遗漏,一般是少了pytorch_model.bin文件,下载下来放进去就好。我是用的git命令拷贝的,但回头核对发现还是少了pytorch_model.bin文件。原创 2024-11-14 11:34:24 · 1026 阅读 · 0 评论