Open tt1998215 opened 11 months ago
试了下DEFAULT_CKPT_PATH = 'WisdomShell/CodeShell-7B-Chat' 是没问题的
默认地址与您本地的配置有关,如果是手动下载的模型,建议将DEFAULT_CKPT_PATH改为绝对地址
默认地址与您本地的配置有关,如果是手动下载的模型,建议将DEFAULT_CKPT_PATH改为绝对地址
Special tokens have been added in the vocabulary, make sure the associated word embeddings are fine-tuned or trained. A new version of the following files was downloaded from https://huggingface.co/WisdomShell/CodeShell-7B-Chat-int4:
好像是在服务器上找到了两个版本 然后 也不知道 该输入个啥 最后啥也没下载
我修改了 webdemo.py DEFAULT_CKPT_PATH = 'WisdomShell/CodeShell-7B-Chat-int4'
然后运行报错
我把hugginface上的模型 下载了 去缓存 /root/.cache/huggingface/modules/transformers_modules/WisdomShell/CodeShell-7B-Chat-int4 /root/codeshell/demos/WisdomShell/CodeShell-7B-Chat-int4
在这两地方 都放了 还是找不到 到底应该把模型放在哪呢