#!/usr/bin/env bash # Downloads the model GGUF straight into the `models` named volume via a # one-off container — no huggingface-cli or host bind-mount needed. # # ponytail: hardcodes the one model this stack is built for (see the # `downloader` service in docker-compose.yml for the actual URL/filename). # Set LLAMA_MODEL_FILE in .env first if you're using a different quant. set -euo pipefail cd "$(dirname "$0")/.." docker compose --profile tools run --rm downloader echo "Model downloaded into the 'models' volume."