add ch6 code

This commit is contained in:
Logan Zou
2025-04-25 10:04:43 +08:00
parent b034735b42
commit b4327f741a
9 changed files with 1424 additions and 445 deletions

View File

@@ -0,0 +1,7 @@
import os
# 设置环境变量
os.environ['HF_ENDPOINT'] = 'https://hf-mirror.com'
# 下载模型
os.system('huggingface-cli download --resume-download Qwen/Qwen2.5-1.5B --local-dir autodl-tmp/qwen-1.5b')