“DeepSeek Harness”并不是 DeepSeek 官方发布的一个独立下载包。通常大家说的 harness 是评测框架,常见有两类:
1. 如果你指的是评测 DeepSeek 的 harness
通用语言评测:lm-evaluation-harness
git clone https://github.com/EleutherAI/lm-evaluation-harness.git
cd lm-evaluation-harness
pip install -e .
# 或者直接装
pip install lm-eval验证:
lm_eval --help代码评测:bigcode-evaluation-harness
git clone https://github.com/bigcode-project/bigcode-evaluation-harness.git
cd bigcode-evaluation-harness
pip install -e .DeepSeek 论文/模型卡里做评测时,经常用的就是这两个,而不是一个叫“DeepSeek Harness”的官方项目。
2. 如果你想下载 DeepSeek 官方代码和模型
下载 GitHub 代码
git clone https://github.com/deepseek-ai/DeepSeek-R1.git
# 或
git clone https://github.com/deepseek-ai/DeepSeek-V3.git从 Hugging Face 下载模型
先装工具:
pip install -U "huggingface_hub[cli]"下载完整版:
huggingface-cli download deepseek-ai/DeepSeek-R1 --local-dir ./DeepSeek-R1国内网络可用镜像:
export HF_ENDPOINT=https://hf-mirror.com
huggingface-cli download deepseek-ai/DeepSeek-R1 --local-dir ./DeepSeek-R1从 ModelScope 下载
pip install modelscope
modelscope download --model deepseek-ai/DeepSeek-R1 --local_dir ./DeepSeek-R13. 注意
- DeepSeek-R1 / V3 完整版模型非常大,下载前确认磁盘和显存。
- 如果只是想本地跑,建议下载蒸馏版,例如:
huggingface-cli download deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B --local-dir ./DeepSeek-R1-Distill-Qwen-1.5B - 如果你说的“DeepSeek Harness”是某个具体仓库或工具,把全名/链接发我,我可以给你对应的下载命令。




