Sistema de Procesamiento y Transcripción de Audio con Spleeter y Whisper
{"ggml-tiny.en", "ggml-tiny", "ggml-base.en", "ggml-base", "ggml-small.en", "ggml-small", "ggml-medium.en", "ggml-medium", "ggml-large-v1", "ggml-large-v2", "ggml-large-v3"}
./build/go-model-download -out models ggml-small.en.bin
./build/go-whisper -model ./models/ggml-small.en.bin -out-file testdata/text2.txt testdata/jfk.wav
Donde:
- -model representa el modelo a usar,
- -out-file representa el archivo donde se escribira los datos. ese se creara automaticamente.
samples\jfk.wav
es la ruta donde se encuentra el audio a decodificar.
swag init --parseDependency --parseInternal
https://github.com/cosmtrek/air
go install github.com/cosmtrek/air@latest
air
https://github.com/ggerganov/whisper.cpp/tree/master/bindings/go https://github.com/djthorpe/go-whisper