docs: optimize installation steps for Windows beginners and add HF mirror tip

pull/789/head
Dujus 2026-06-01 10:59:18 +08:00
parent 4a68da72d5
commit 99c26e9043
1 changed files with 11 additions and 0 deletions

View File

@ -230,6 +230,10 @@ minimind2系列旧模型均经过权重映射+(微调训练)QKVO线性层校
# 克隆仓库、安装依赖 # 克隆仓库、安装依赖
git clone --depth 1 https://github.com/jingyaogong/minimind git clone --depth 1 https://github.com/jingyaogong/minimind
cd minimind && pip install -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple cd minimind && pip install -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple
#部分老版本Windows powershell不能识别&&,Windows用户应将&&链式命令改为分行写法
git clone --depth 1 https://github.com/jingyaogong/minimind
cd minimind
pip install -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple
``` ```
## Ⅰ 🚀 模型推理 ## Ⅰ 🚀 模型推理
@ -242,6 +246,13 @@ cd minimind && pip install -r requirements.txt -i https://mirrors.aliyun.com/pyp
modelscope download --model gongjy/minimind-3 --local_dir ./minimind-3 modelscope download --model gongjy/minimind-3 --local_dir ./minimind-3
# 方式2 # 方式2
git clone https://huggingface.co/jingyaogong/minimind-3 git clone https://huggingface.co/jingyaogong/minimind-3
# 国内网络进入huggingface网站存在困难,可使用镜像站
# Windows
$env:HF_ENDPOINT = "https://hf-mirror.com"
git clone https://hf-mirror.com/jingyaogong/minimind-3
#Linux
export HF_ENDPOINT="https://hf-mirror.com"
git clone https://hf-mirror.com/jingyaogong/minimind-3
``` ```
### 2' CLI 推理 ### 2' CLI 推理