Instructions to use hubertsiuzdak/snac_44khz with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hubertsiuzdak/snac_44khz with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("hubertsiuzdak/snac_44khz", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
e715b4f
1
Parent(s): b67b9e8
update model weights and config (v1.0)
Browse files- config.json +4 -2
- pytorch_model.bin +2 -2
config.json
CHANGED
|
@@ -1,8 +1,10 @@
|
|
| 1 |
{
|
|
|
|
| 2 |
"encoder_dim": 64,
|
| 3 |
-
"encoder_rates": [
|
| 4 |
"decoder_dim": 1536,
|
| 5 |
-
"decoder_rates": [
|
|
|
|
| 6 |
"codebook_size": 4096,
|
| 7 |
"codebook_dim": 8,
|
| 8 |
"vq_strides": [8, 4, 2, 1],
|
|
|
|
| 1 |
{
|
| 2 |
+
"sampling_rate": 44100,
|
| 3 |
"encoder_dim": 64,
|
| 4 |
+
"encoder_rates": [2, 3, 8, 8],
|
| 5 |
"decoder_dim": 1536,
|
| 6 |
+
"decoder_rates": [8, 8, 3, 2],
|
| 7 |
+
"attn_window_size": 32,
|
| 8 |
"codebook_size": 4096,
|
| 9 |
"codebook_dim": 8,
|
| 10 |
"vq_strides": [8, 4, 2, 1],
|
pytorch_model.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b0a676cbdc8d1cc53186f6d777bc956fb7932ceacdc657a4c3741646e9e7ead0
|
| 3 |
+
size 218308802
|