From f78c64ffa046d28783916ff80de17104cead90ba Mon Sep 17 00:00:00 2001 From: PAB Date: Mon, 9 Oct 2023 18:37:52 +0200 Subject: [PATCH] doc: update README (#12) --- README.md | 30 +++++++++++++++++++++++------- 1 file changed, 23 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 9e82887..18c8753 100644 --- a/README.md +++ b/README.md @@ -6,19 +6,15 @@ High-performance inference of [Meta's Encodec](https://github.com/facebookresear The entire implementation of the model is contained in 3 source files: -Tensor operations: ggml.h / ggml.c +Tensor operations: ggml.h / ggml.c
Inference: encodec.h / encodec.cpp -Utils operations: encoder.h / encoder.cpp ## Roadmap - [x] Support of 24Khz model - [ ] Support of 48Khz model - [ ] Encodec's language model support -- [ ] Mixed F16 / F32 precision -- [ ] 4-bit / 8-bit quantization support -- [ ] Add Encodec's original language model -- [ ] Support of 48khz model +- [x] Mixed F16 / F32 precision ## Implementation details @@ -27,4 +23,24 @@ Utils operations: encoder.h / encoder.cpp - The encoder-decoder architecture and the high-level C-style API are implemented in C++ ([encodec.h](encodec.h) / [encodec.cpp](encodec.cpp)) - Sample usage is demonstrated in [main.cpp](examples/main) -## Quick start +## Usage + +Here are the steps for the bark model. + +### Get the code + +```bash +git clone https://github.com/PABannier/encodec.cpp.git +cd encodec.cpp +``` + +### Build + +In order to build encodec.cpp you must use `CMake`: + +```bash +mkdir build +cd build +cmake .. +cmake --build . --config Release +```