README: explain the llama.cpp + codec.cpp split; llama.rn usage
Browse files32 unmodified lines33343536373839404132 unmodified lines./build/codec-cli decode --model codecs/ibm-research--DAC.speech.gguf --codes codes.npy --out decoded.wav```Build instructions, GPU flags and the Python API are in the[codec.cpp README](https://github.com/mybigday/codec.cpp).## LicenseEach codec keeps its original license: DAC.speech CDLA-Permissive-2.0, NeMo Nano Codec the NVIDIA Open Model License, WavTokenizer MIT.32 unmodified lines3334353637383940414243444546474849505152535455565732 unmodified lines./build/codec-cli decode --model codecs/ibm-research--DAC.speech.gguf --codes codes.npy --out decoded.wav```Python (`pip install .` in a codec.cpp checkout; see[python/README.md](https://github.com/mybigday/codec.cpp/blob/main/python/README.md)):```pythonimport codec_cpp, soundfile as sfctx = codec_cpp.Model("codecs/ibm-research--DAC.speech.gguf").context()pcm, sr = sf.read("speech.wav", dtype="float32")codes = ctx.encode(pcm, sr) # int32 (n_frames, n_q)audio, sr = ctx.decode(codes)```Build instructions and GPU flags are in the[codec.cpp README](https://github.com/mybigday/codec.cpp).These codecs are also the audio side of TTS models: there a llama.cpp LMbackbone writes the codes and codec.cpp turns them into audio (see the`*-GGUF` TTS repos of this organization).## LicenseEach codec keeps its original license: DAC.speech CDLA-Permissive-2.0, NeMo Nano Codec the NVIDIA Open Model License, WavTokenizer MIT.
README.md+17-1