Files
2026-07-05 18:11:23 +07:00

23 lines
439 B
Bash
Executable File

#!/bin/bash
# Download pre-quantized OmniVoice GGUF models from HuggingFace.
# Usage: ./models.sh
set -eu
REPO="Serveurperso/omnivoice.cpp-GGUF"
DIR="models"
mkdir -p "$DIR"
dl() {
local file="$1"
if [ -f "$DIR/$file" ]; then
echo "[OK] $file"
return
fi
echo "[Download] $file"
hf download --quiet "$REPO" "$file" --local-dir "$DIR"
}
dl "omnivoice-base-Q8_0.gguf"
dl "omnivoice-tokenizer-F32.gguf"