Text-to-Audio
Transformers
Safetensors
English
dasheng_audiogen
feature-extraction
audio-generation
text-to-speech
text-to-music
sound-effects
diffusion
custom_code
Run this model with HF Jobs
Run mispeech/Dasheng-AudioGen 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/mispeech/Dasheng-AudioGen. 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/mispeech/Dasheng-AudioGen 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 mispeech/Dasheng-AudioGen with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mispeech/Dasheng-AudioGen with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-to-audio", model="mispeech/Dasheng-AudioGen", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("mispeech/Dasheng-AudioGen", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Jiahao mei commited on
Delete config.yaml
Browse files12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273instruction_embedding: t5_embeddings.h5sample_rate: 16000downsampling_ratio: 640model: _target_: dasheng_audiogen.models.flow_matching.DummyContentAudioFlowMatching content_dim: 1024 frame_resolution: 0.005 duration_offset: 1.0 cfg_drop_ratio: 0.2 autoencoder: _target_: dasheng_audiogen.models.autoencoder.waveform.dasheng_tokenizer.Dasheng checkpoint_path: mispeech/dashengtokenizer io_channels: 1 latent_dim: 1280 downsampling_ratio: 640 sample_rate: 16000 pretrained_ckpt: null backbone: _target_: dasheng_audiogen.models.dit.audio_dit.LayerFusionAudioDiT img_size: 1000 patch_size: 1 in_chans: 1280 out_chans: 1280 input_type: 1d embed_dim: 1536 depth: 32 num_heads: 24 mlp_ratio: 4.0 qkv_bias: false qk_scale: null qk_norm: layernorm norm_layer: layernorm act_layer: geglu context_norm: true use_checkpoint: true time_fusion: ada ada_sola_rank: 32 ada_sola_alpha: 32 cls_dim: null ta_context_dim: 1024 ta_context_fusion: add ta_context_norm: true context_dim: 1024 context_fusion: cross context_max_length: null context_pe_method: none pe_method: none rope_mode: shared use_conv: true skip: true skip_norm: true content_adapter: _target_: dasheng_audiogen.models.content_adapter.CrossAttentionAdapter content_dim: 1024 d_out: 1024 prefix_dim: 1024 num_heads: 16 dropout: 0.2 duration_grad_scale: 0.1 duration_predictor: _target_: dasheng_audiogen.models.content_adapter.DurationPredictor in_channels: 1024 filter_channels: 512 n_layers: 5 kernel_size: 3 p_dropout: 0.5 content_encoder: _target_: dasheng_audiogen.models.content_encoder.content_encoder.ContentEncoder embed_dim: 1024 text_encoder: _target_: dasheng_audiogen.models.content_encoder.text_encoder.T5TextEncoder model_name: google/flan-t5-large embed_dim: 1024config.yamlDeleted-73