epsilver commited on
Commit
5970afc
·
verified ·
1 Parent(s): fcdaec6

Remove download script

Browse files
Files changed (1) hide show
  1. download.sh +0 -71
download.sh DELETED
@@ -1,71 +0,0 @@
1
- #!/bin/bash
2
- BASE="https://huggingface.co/verticalrectangle/pop-maker-studio-models/resolve/main"
3
- DIR="/home/alexis/dev/pop-maker-studio-models"
4
- cd "$DIR"
5
-
6
- # --- Whisper ---
7
- echo "=== Whisper large ==="
8
- curl -fsSL -o whisper/ggml-large-v3-turbo-q5_0.bin \
9
- "https://huggingface.co/ggerganov/whisper.cpp/resolve/main/ggml-large-v3-turbo-q5_0.bin"
10
-
11
- echo "=== Whisper tiny ==="
12
- curl -fsSL -o whisper/ggml-tiny.en.bin \
13
- "https://huggingface.co/ggerganov/whisper.cpp/resolve/main/ggml-tiny.en.bin"
14
-
15
- # --- Vocal separation ---
16
- echo "=== Kim Vocal 2 ==="
17
- curl -fsSL -o separation/Kim_Vocal_2.onnx \
18
- "https://huggingface.co/Politrees/UVR_resources/resolve/main/models/MDXNet/Kim_Vocal_2.onnx"
19
-
20
- # --- U2Net (bundled, just copy) ---
21
- echo "=== U2Net ==="
22
- cp /home/alexis/dev/pop-maker-studio/models/u2netp_human_seg.onnx background/
23
-
24
- # --- HuBERT ---
25
- echo "=== HuBERT checkpoint ==="
26
- curl -fsSL -o hubert/hubert_base.pt \
27
- "https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/hubert_base.pt"
28
- echo "=== Exporting HuBERT to ONNX ==="
29
- /home/alexis/dev/pop-maker-studio/build/export-hubert hubert/hubert_base.pt hubert/hubert.onnx
30
-
31
- # --- RMVPE ---
32
- echo "=== RMVPE ==="
33
- curl -fsSL -o rvc/rmvpe.onnx \
34
- "https://huggingface.co/lj1995/VoiceConversionWebUI/resolve/main/rmvpe.onnx"
35
-
36
- # --- wav2vec2 ---
37
- echo "=== wav2vec2 ==="
38
- curl -fsSL -o alignment/wav2vec2_ctc.onnx \
39
- "https://huggingface.co/Xenova/wav2vec2-base-960h/resolve/main/onnx/model_quantized.onnx"
40
- curl -fsSL -o alignment/wav2vec2_vocab.json \
41
- "https://huggingface.co/facebook/wav2vec2-base-960h/resolve/main/vocab.json"
42
-
43
- # --- Moondream2 vision ---
44
- echo "=== Moondream ==="
45
- MOON="https://huggingface.co/Xenova/moondream2/resolve/main"
46
- curl -fsSL -o vision/vision_encoder_q4.onnx \
47
- "${MOON}/onnx/vision_encoder_q4.onnx"
48
- curl -fsSL -o vision/embed_tokens_q4.onnx \
49
- "${MOON}/onnx/embed_tokens_q4.onnx"
50
- curl -fsSL -o vision/decoder_model_merged_q4.onnx \
51
- "${MOON}/onnx/decoder_model_merged_q4.onnx"
52
- curl -fsSL -o vision/tokenizer.json \
53
- "${MOON}/tokenizer.json"
54
-
55
- # --- Piper voices ---
56
- echo "=== Piper voices ==="
57
- PIPER="https://huggingface.co/rhasspy/piper-voices/resolve/main"
58
- for VOICE in en_US-amy-medium en_US-ryan-medium en_US-lessac-medium en_GB-alan-medium; do
59
- LANG="${VOICE%%-*}"
60
- LANG2="${LANG%%_*}"
61
- QUALITY="${VOICE##*-}"
62
- TMP="${VOICE#${LANG}-}"
63
- NAME="${TMP%-${QUALITY}}"
64
- for EXT in onnx onnx.json; do
65
- curl -fsSL -o "piper/${VOICE}.${EXT}" \
66
- "${PIPER}/${LANG2}/${LANG}/${NAME}/${QUALITY}/${VOICE}.${EXT}"
67
- done
68
- done
69
-
70
- echo "=== Done downloading ==="
71
- ls -lhR .