Update README.md
Browse files
README.md
CHANGED
@@ -1,8 +1,6 @@
|
|
1 |
---
|
2 |
license: apache-2.0
|
3 |
pipeline_tag: feature-extraction
|
4 |
-
base_model:
|
5 |
-
- nvidia/nemo-nano-codec-22khz-0.6kbps-12.5fps
|
6 |
library_name: mlx
|
7 |
tags:
|
8 |
- audio
|
@@ -24,14 +22,13 @@ This is an MLX implementation of [NVIDIA NeMo NanoCodec](https://huggingface.co/
|
|
24 |
## Installation
|
25 |
|
26 |
```bash
|
27 |
-
pip install mlx
|
28 |
-
# Install your mlx_codec package
|
29 |
```
|
30 |
|
31 |
## Usage
|
32 |
|
33 |
```python
|
34 |
-
from
|
35 |
import soundfile as sf
|
36 |
import mlx.core as mx
|
37 |
import numpy as np
|
@@ -70,7 +67,7 @@ sf.write("output.wav", output, 22050)
|
|
70 |
|
71 |
This code is licensed under the Apache License 2.0.
|
72 |
|
73 |
-
The original NVIDIA NeMo NanoCodec model weights and architecture are developed by NVIDIA and are licensed under the NVIDIA Open Model License. See [NOTICE](NOTICE) for attribution.
|
74 |
|
75 |
When using this project, you must comply with both licenses.
|
76 |
|
|
|
1 |
---
|
2 |
license: apache-2.0
|
3 |
pipeline_tag: feature-extraction
|
|
|
|
|
4 |
library_name: mlx
|
5 |
tags:
|
6 |
- audio
|
|
|
22 |
## Installation
|
23 |
|
24 |
```bash
|
25 |
+
pip install nanocodec-mlx soundfile
|
|
|
26 |
```
|
27 |
|
28 |
## Usage
|
29 |
|
30 |
```python
|
31 |
+
from nanocodec_mlx.models.audio_codec import AudioCodecModel
|
32 |
import soundfile as sf
|
33 |
import mlx.core as mx
|
34 |
import numpy as np
|
|
|
67 |
|
68 |
This code is licensed under the Apache License 2.0.
|
69 |
|
70 |
+
The original NVIDIA NeMo NanoCodec model weights and architecture are developed by NVIDIA and are licensed under the [NVIDIA Open Model License](https://developer.download.nvidia.com/licenses/nvidia-open-model-license-agreement-june-2024.pdf). See [NOTICE](NOTICE) for attribution.
|
71 |
|
72 |
When using this project, you must comply with both licenses.
|
73 |
|