chmod +x /etc/rc.d/rc.local
echo “dhclient -6 ens3” >> /etc/rc.d/rc.local
就是开机运行dhclient -6 ens3的命令
chmod +x /etc/rc.d/rc.local
echo “dhclient -6 ens3” >> /etc/rc.d/rc.local
就是开机运行dhclient -6 ens3的命令
模型下载
安装git lfs
curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | sudo bash
apt-get install git-lfs
git lfs install
git clone https://huggingface.co/THUDM/chatglm-6b
这样就下载完成了。
如果是llama.app
https://github.com/ggerganov/llama.cpp
下载程序
git clone https://github.com/ggerganov/llama.cpp
cd llama.cppOn Windows:
w64devkit on your pc.w64devkit.exe.cd command to reach the llama.cpp folder.makepython3 convert.py models/7B/上面命令转换成ggml-model-f16.bin文件然后./quantize ./models/7B/ggml-model-f16.bin ./models/7B/ggml-model-q4_0.bin q4_0转换成gml-model-q4_0.bin文件运行下面命令就可以运行了:./main -m ./models/7B/ggml-model-q4_0.bin -n 128
安装飞桨版本:https://www.paddlepaddle.org.cn/install/quick?docurl=/documentation/docs/zh/develop/install/pip/windows-pip.html 命令: python -m pip...