« CrispASR » : différence entre les versions
De Le Wiki de Lug
Autres actions
| Ligne 29 : | Ligne 29 : | ||
Via le client [[Llama.cpp#Téléchargement_via_le_client_Hugging_Face_(méthode_recommandée)|Hugging Face]] | Via le client [[Llama.cpp#Téléchargement_via_le_client_Hugging_Face_(méthode_recommandée)|Hugging Face]] | ||
# hf download cstr/parakeet-tdt-0.6b-v3-GGUF --include "*q4_k*.gguf" --local-dir /opt/models/stt/parakeet-tdt-0.6b-v3/q4_k | # hf download cstr/parakeet-tdt-0.6b-v3-GGUF --include "*q4_k*.gguf" --local-dir /opt/models/stt/parakeet-tdt-0.6b-v3/q4_k | ||
[Unit] | |||
Description=CrispASR Speech-to-Text Server | |||
After=network.target | |||
[Service] | |||
Type=simple | |||
WorkingDirectory=/opt/CrispASR | |||
ExecStart=/opt/CrispASR/build/bin/crispasr \ | |||
--server \ | |||
--backend parakeet \ | |||
--model /opt/models/stt/parakeet-tdt-0.6b-v3/q4_k/parakeet-tdt-0.6b-v3-q4_k.gguf \ | |||
--port 8080 | |||
Restart=on-failure | |||
RestartSec=5 | |||
[Install] | |||
WantedBy=multi-user.target | |||
Version du 21 juillet 2026 à 11:53
Installation
- On récupère le projet :
# cd /opt/ # git clone --recurse-submodules https://github.com/CrispStrobe/CrispASR # cd CrispASR
- On configure la compilation en choisissant le backend adapté au matériel utilisé.
Version CPU :
# cmake -B build -DCMAKE_BUILD_TYPE=Release
Version NVIDIA avec CUDA — nécessite l’installation préalable du CUDA Toolkit :
# cmake -B build -DCMAKE_BUILD_TYPE=Release -DGGML_CUDA=ON
Version Apple Silicon avec Metal :
# cmake -B build -DCMAKE_BUILD_TYPE=Release -DGGML_METAL=ON
Version Vulkan — nécessite l’installation préalable des bibliothèques et outils de développement Vulkan :
# cmake -B build -DCMAKE_BUILD_TYPE=Release -DGGML_VULKAN=ON
- On lance ensuite la compilation :
# cmake --build build -j$(nproc)
Les exécutables sont générés dans le répertoire /opt/CrispASR/build/bin/.
Exemples
Speech-to-Text
Via le client Hugging Face
# hf download cstr/parakeet-tdt-0.6b-v3-GGUF --include "*q4_k*.gguf" --local-dir /opt/models/stt/parakeet-tdt-0.6b-v3/q4_k
[Unit]
Description=CrispASR Speech-to-Text Server
After=network.target
[Service]
Type=simple
WorkingDirectory=/opt/CrispASR
ExecStart=/opt/CrispASR/build/bin/crispasr \
--server \
--backend parakeet \
--model /opt/models/stt/parakeet-tdt-0.6b-v3/q4_k/parakeet-tdt-0.6b-v3-q4_k.gguf \
--port 8080
Restart=on-failure
RestartSec=5
[Install]
WantedBy=multi-user.target