Instructions to use Manel/X-Codec with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Manel/X-Codec with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Manel/X-Codec", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download preprocessor_config.json from Manel/X-Codec: direct link, hf CLI and curl.
- Browser
- Download file 234 Bytes
-
https://huggingface.co/Manel/X-Codec/resolve/main/preprocessor_config.json
- Command line
-
hf download hf://Manel/X-Codec/preprocessor_config.json
-
curl -L -o preprocessor_config.json https://huggingface.co/Manel/X-Codec/resolve/main/preprocessor_config.json
234 Bytes
| { | |
| "chunk_length_s": null, | |
| "feature_extractor_type": "EncodecFeatureExtractor", | |
| "feature_size": 1, | |
| "overlap": null, | |
| "padding_side": "right", | |
| "padding_value": 0.0, | |
| "return_attention_mask": true, | |
| "sampling_rate": 16000 | |
| } | |