#!/bin/sh # Optional: local English subtitles. Hy-MT2-1.8B (Tencent Hunyuan MT, Q4_K_M, ~1.1 GB) # is a dedicated translation model — small, fast, and much better on short fragments # than a general chat model. Needs llama-server (llama.cpp) on PATH. set -eu dest=${1:-models/mt} name=Hy-MT2-1.8B-Q4_K_M.gguf base=https://huggingface.co/tencent/Hy-MT2-1.8B-GGUF/resolve/main mkdir -p "$dest" if [ -f "$dest/$name" ]; then echo "already have $dest/$name" exit 0 fi echo "downloading $name (~1.1 GB)" curl -L --fail -C - -o "$dest/$name" "$base/$name" ls -la "$dest/$name"