demo

wsl --install -d Ubuntu

# config follow reference-1
export PATH=/usr/local/cuda/bin/:$PATH           # cuda是操纵GPU的

# config follow reference-6
/mnt/c$ bash Anaconda3-2025.06-0-Linux-x86_64.sh   # anaconda是操作python的

# download LLaMA
git clone https://github.com/hiyouga/LLaMA-Factory 
cd LLaMA-Factory 
pip install -e ".[torch,metrics]"  

LLaMA Factory

让下游生产者以最小的成本参与调参。
PEFT(Parameter-Efficient Fine-Tuning)

reference

  1. 官方安装conda:https://developer.nvidia.com/cuda-downloads?target_os=Linux&target_arch=x86_64&Distribution=WSL-Ubuntu&target_version=2.0&target_type=deb_network
  2. https://blog.csdn.net/weixin_53004531/article/details/151727782
  3. https://blog.csdn.net/weixin_37897145/article/details/138834235
  4. https://llamafactory.readthedocs.io/en/latest/
  5. https://www.anaconda.com/download
  6. https://zhuanlan.zhihu.com/p/166102942