Setup:export CKPT=/path/to/LFM2.5-Audio-1.5B-GGUF
export INPUT_WAV=/path/to/input.wav
export OUTPUT_WAV=/path/to/output.wav
ASR (Audio to Text):./llama-liquid-audio-cli -m $CKPT/LFM2.5-Audio-1.5B-Q4_0.gguf \
-mm $CKPT/mmproj-LFM2.5-Audio-1.5B-Q4_0.gguf \
-mv $CKPT/vocoder-LFM2.5-Audio-1.5B-Q4_0.gguf \
--tts-speaker-file $CKPT/tokenizer-LFM2.5-Audio-1.5B-Q4_0.gguf \
-sys "Perform ASR." --audio $INPUT_WAV
TTS (Text to Audio):./llama-liquid-audio-cli -m $CKPT/LFM2.5-Audio-1.5B-Q4_0.gguf \
-mm $CKPT/mmproj-LFM2.5-Audio-1.5B-Q4_0.gguf \
-mv $CKPT/vocoder-LFM2.5-Audio-1.5B-Q4_0.gguf \
--tts-speaker-file $CKPT/tokenizer-LFM2.5-Audio-1.5B-Q4_0.gguf \
-sys "Perform TTS." -p "Hi, how are you?" --output $OUTPUT_WAV
Interleaved Mode:./llama-liquid-audio-cli -m $CKPT/LFM2.5-Audio-1.5B-Q4_0.gguf \
-mm $CKPT/mmproj-LFM2.5-Audio-1.5B-Q4_0.gguf \
-mv $CKPT/vocoder-LFM2.5-Audio-1.5B-Q4_0.gguf \
--tts-speaker-file $CKPT/tokenizer-LFM2.5-Audio-1.5B-Q4_0.gguf \
-sys "Respond with interleaved text and audio." \
--audio $INPUT_WAV --output $OUTPUT_WAV
Server Mode:./llama-liquid-audio-server -m $CKPT/LFM2.5-Audio-1.5B-Q4_0.gguf \
-mm $CKPT/mmproj-LFM2.5-Audio-1.5B-Q4_0.gguf \
-mv $CKPT/vocoder-LFM2.5-Audio-1.5B-Q4_0.gguf \
--tts-speaker-file $CKPT/tokenizer-LFM2.5-Audio-1.5B-Q4_0.gguf
Runners are available for macos-arm64, ubuntu-arm64, ubuntu-x64, and android-arm64.