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>
11 lines
465 B
Bash
11 lines
465 B
Bash
#!/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
|