Instructions to use facebook/encodec_32khz with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use facebook/encodec_32khz with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="facebook/encodec_32khz")# Load model directly from transformers import AutoFeatureExtractor, AutoModel extractor = AutoFeatureExtractor.from_pretrained("facebook/encodec_32khz") model = AutoModel.from_pretrained("facebook/encodec_32khz") - Notebooks
- Google Colab
- Kaggle
sanchit-gandhi commited on
Commit ·
4966e19
1
Parent(s): 4a85b2d
Correct weights and config for skip conv
Browse files- config.json +1 -1
- model.safetensors +2 -2
- pytorch_model.bin +2 -2
config.json
CHANGED
|
@@ -34,5 +34,5 @@
|
|
| 34 |
4
|
| 35 |
],
|
| 36 |
"use_causal_conv": false,
|
| 37 |
-
"use_conv_shortcut":
|
| 38 |
}
|
|
|
|
| 34 |
4
|
| 35 |
],
|
| 36 |
"use_causal_conv": false,
|
| 37 |
+
"use_conv_shortcut": false
|
| 38 |
}
|
model.safetensors
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:0e78f34d2ff3259f29bd51f7a99060151fe4ba5776fee216f58847f06082f1ca
|
| 3 |
+
size 235972432
|
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:e67175a1bedb126fc0871e4f7b3a29a2fc1711e8ad80c258a160910b6748b711
|
| 3 |
+
size 235996573
|