-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.sh
More file actions
30 lines (22 loc) · 681 Bytes
/
setup.sh
File metadata and controls
30 lines (22 loc) · 681 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/bin/bash
set -e
cd core
# Clone whisper.cpp if not already present
if [ ! -d "whisper.cpp" ]; then
git clone https://github.com/ggml-org/whisper.cpp.git
fi
cd whisper.cpp/models
# Download English-only quantized models
echo "Downloading whisper English models..."
bash download-ggml-model.sh tiny.en-q5_1
bash download-ggml-model.sh base.en-q5_1
# Download Multilingual quantized models
echo ""
echo "Downloading whisper Multilingual models..."
bash download-ggml-model.sh tiny-q5_1
bash download-ggml-model.sh base-q5_1
echo ""
echo "All models downloaded successfully!"
echo ""
echo "Available models:"
ls -lh ggml-*.bin 2>/dev/null || echo "No model files found"