Add get-qwen.sh download helper
Terminal paste wraps long HF URLs and breaks the command; fetch the script from Gitea on the mac-mini instead. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
10
get-qwen.sh
Normal file
10
get-qwen.sh
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
#!/bin/zsh
|
||||||
|
# 下載 Qwen3-Coder-30B-A3B-Instruct IQ4_XS (16.4 GB) 到 llmfit 模型目錄
|
||||||
|
# ponytail: 存在的理由是繞過終端機貼上長 URL 被折行的問題
|
||||||
|
set -e
|
||||||
|
mkdir -p ~/.cache/llmfit/models
|
||||||
|
cd ~/.cache/llmfit/models
|
||||||
|
URL="https://huggingface.co/unsloth/Qwen3-Coder-30B-A3B-Instruct-GGUF/resolve/main/Qwen3-Coder-30B-A3B-Instruct-IQ4_XS.gguf"
|
||||||
|
curl -fL -C - -o qwen3-coder-30b-iq4xs.gguf "$URL"
|
||||||
|
echo "=== 完成 ==="
|
||||||
|
ls -lh qwen3-coder-30b-iq4xs.gguf
|
||||||
Reference in New Issue
Block a user