赞
踩
https://blog.csdn.net/sonapingo/article/details/130900170
https://blog.csdn.net/qq_41264055/article/details/132092447
Copy # This is a sample .condarc file. # It adds mirror-channel(Tsinghua University) of anaconda and enables # the show_channel_urls option. # channel locations. These override conda defaults, i.e., conda will # search *only* the channels listed here, in the order given. # Use "defaults" to automatically include all default channels. # Non-url channels will be interpreted as Anaconda.org usernames # (this can be changed by modifying the channel_alias key; see below). # The default is just 'defaults'. channels: - defaults default_channels: - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/r - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/msys2 custom_channels: conda-forge: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud msys2: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud bioconda: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud menpo: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud pytorch: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud simpleitk: https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud # Show channel URLs when displaying what is going to be downloaded # and in 'conda list'. The default is False. show_channel_urls: true # For more information about this file see: # https://conda.io/docs/user-guide/configuration/use-condarc.html
git lfs install
git clone https://huggingface.co/THUDM/chatglm2-6b-32k /your_path/chatglm2-6b
注意:由于模型较大,下载经常会失败,需要根据 git 提示,重试多次。
git clone https://huggingface.co/moka-ai/m3e-base /your_path/m3e
https://github.com/chatchat-space/Langchain-Chatchat/tags
,建议下载稳定 tag 版本,要不然一堆坑。pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple/
pip list
查看 torch 的安装版本,或者在 python 环境通过以下命令判断:Copy
import torch
print(torch.__version__) # 2.0.1+cu117 ,带 +cu117 类似格式的,表示装的 gpu 版本 ,不带这种格式的默认是 cpu 版本
print(torch.cuda.is_available()) # True 表示支持 gpu ,False 的话将使用 cpu
python init_database.py --recreate-vs
python startup.py --all-webui
启动 web ui 页面作为一名热心肠的互联网老兵,我意识到有很多经验和知识值得分享给大家,也可以通过我们的能力和经验解答大家在人工智能学习中的很多困惑,所以在工作繁忙的情况下还是坚持各种整理和分享。
但苦于知识传播途径有限,很多互联网行业朋友无法获得正确的资料得到学习提升,故此将并将重要的 AI大模型资料
包括AI大模型入门学习思维导图、精品AI大模型学习书籍手册、视频教程、实战学习等录播视频免费分享出来。
所有资料 ⚡️ ,朋友们如果有需要全套 《LLM大模型入门+进阶学习资源包》,扫码获取~
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/爱喝兽奶帝天荒/article/detail/896170
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。