Instructions to use bezzam/xcodec2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use bezzam/xcodec2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="bezzam/xcodec2")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("bezzam/xcodec2", dtype="auto") - Notebooks
- Google Colab
- Kaggle
Upload model
Browse files- config.json +1 -1
- model.safetensors +2 -2
config.json
CHANGED
|
@@ -13,7 +13,7 @@
|
|
| 13 |
5
|
| 14 |
],
|
| 15 |
"dtype": "float32",
|
| 16 |
-
"encoder_hidden_size":
|
| 17 |
"head_dim": 64,
|
| 18 |
"hidden_act": "silu",
|
| 19 |
"initializer_range": 0.02,
|
|
|
|
| 13 |
5
|
| 14 |
],
|
| 15 |
"dtype": "float32",
|
| 16 |
+
"encoder_hidden_size": 48,
|
| 17 |
"head_dim": 64,
|
| 18 |
"hidden_act": "silu",
|
| 19 |
"initializer_range": 0.02,
|
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:436639da52c913fe8b5b720f104c0546383f0652397a9d697ba58e58e64e75a3
|
| 3 |
+
size 3291053040
|