Run this model with HF Jobs
Run Manel/X-Codec on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/Manel/X-Codec. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/Manel/X-Codec on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
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
Upload config
Browse files24 unmodified lines25262728293031323334352 unmodified lines383940414243444546474849505152535455565758596070 unmodified lines13113213313413513613724 unmodified lines2]},"architectures": ["XcodecModel"],"audio_channels": 1,"bandwidth": 4,"block_dilations": [1,12 unmodified lines1,1],"code_dim": 768,"codebook_dim": 1024,"codebook_size": 1024,"decoder_channels": 768,"encoder_channels": 768,"fc1_in_dim": 1024,"fc1_out_dim": 768,"fc2_in_dim": 1024,"fc2_out_dim": 256,"fc_in_dim": 1024,"fc_out_dim": 1024,"initializer_range": 0.02,"input_channels": 768,"kernel_size": 3,"model_type": "xcodec","num_quantizers": 8,"output_channels": 768,"sample_rate": 16000,"semantic_model_config": {"activation_dropout": 0.1,70 unmodified lines2,4],"torch_dtype": "float32","transformers_version": "4.52.0.dev0","unit_kernel_size": 3}24 unmodified lines252627282930312 unmodified lines3435363738394041424344454647484950515270 unmodified lines12312412512612712824 unmodified lines2]},"audio_channels": 1,"block_dilations": [1,12 unmodified lines1,1],"codebook_dim": 1024,"codebook_size": 1024,"decoder_channels": 768,"encoder_channels": 768,"hidden_dim": 1024,"initializer_range": 0.02,"input_channels": 768,"intermediate_dim": 768,"kernel_size": 3,"model_type": "xcodec","num_quantizers": 8,"output_channels": 768,"output_dim": 256,"sample_rate": 16000,"semantic_model_config": {"activation_dropout": 0.1,70 unmodified lines2,4],"transformers_version": "4.52.0.dev0","unit_kernel_size": 3}
config.json+3-12