Skip to content

Commit

Permalink
Add "little" model
Browse files Browse the repository at this point in the history
  • Loading branch information
jmvalin committed Apr 15, 2024
1 parent 0b50c45 commit 904a876
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -111,3 +111,10 @@ be closed.

To avoid including the default model in the build (e.g. to reduce download
size) and rely only on model loading, add -DUSE_WEIGHTS_FILE to the CFLAGS.
To be able to load different models, the model size (and header file) needs
to patch the size use during build. Otherwise the model will not load
We provide a "little" model with half as an alternative. To use the smaller
model, rename rnnoise_data_little.c to rnnoise_data.c. It is possible
to build both the regular and little binary weights and load any of them
at run time since the little model has the same size as the regular one
(except for the increased sparsity).
2 changes: 1 addition & 1 deletion model_version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2828242
0b50c45

0 comments on commit 904a876

Please sign in to comment.