summaryrefslogtreecommitdiff
path: root/makima/sh
diff options
context:
space:
mode:
authorsoryu <soryu@soryu.co>2026-01-30 02:59:45 +0000
committersoryu <soryu@soryu.co>2026-01-30 02:59:45 +0000
commita9655dccdad116db2b92c13794ddd559f160148d (patch)
treec916b810afff885142af08694648bc92e15e5c40 /makima/sh
parentdac1adb138f532245a36fa16524f1e4fb9990173 (diff)
downloadsoryu-a9655dccdad116db2b92c13794ddd559f160148d.tar.gz
soryu-a9655dccdad116db2b92c13794ddd559f160148d.zip
Download vocab.json and merges.txt in container image
Diffstat (limited to 'makima/sh')
-rwxr-xr-xmakima/sh/download-models.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/makima/sh/download-models.sh b/makima/sh/download-models.sh
index e5e3689..4f188f3 100755
--- a/makima/sh/download-models.sh
+++ b/makima/sh/download-models.sh
@@ -121,7 +121,8 @@ download_qwen3_tts() {
if [ -d "$QWEN3_TTS_DIR" ] && \
[ -f "$QWEN3_TTS_DIR/model.safetensors" ] && \
[ -f "$QWEN3_TTS_DIR/speech_tokenizer.safetensors" ] && \
- [ -f "$QWEN3_TTS_DIR/tokenizer.json" ] && \
+ [ -f "$QWEN3_TTS_DIR/vocab.json" ] && \
+ [ -f "$QWEN3_TTS_DIR/merges.txt" ] && \
[ -f "$QWEN3_TTS_DIR/config.json" ]; then
echo "Qwen3-TTS models already exist, skipping..."
return 0
@@ -131,11 +132,13 @@ download_qwen3_tts() {
mkdir -p "$QWEN3_TTS_DIR"
# Download base TTS model files from Qwen/Qwen3-TTS-12Hz-0.6B-Base
+ # Note: This repo uses vocab.json + merges.txt (not tokenizer.json)
echo "Downloading Qwen3-TTS-12Hz-0.6B-Base..."
hf download Qwen/Qwen3-TTS-12Hz-0.6B-Base \
model.safetensors \
config.json \
- tokenizer.json \
+ vocab.json \
+ merges.txt \
tokenizer_config.json \
--local-dir "$QWEN3_TTS_DIR"