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
Upload folder using huggingface_hub
Browse filesFiles changed (2)
- README.md+13-1
- README_zh.md+13-1
20 unmodified lines212223242526279 unmodified lines37383940414220 unmodified linesThis is the checkpoint evaluated in the paper, using `google/flan-t5-large` as the text encoder.- GitHub: [https://github.com/nicollasm/Dasheng-AudioGen](https://github.com/nicollasm/Dasheng-AudioGen)- Demo: [https://huggingface.co/spaces/mispeech/Dasheng-AudioGen](https://huggingface.co/spaces/mispeech/Dasheng-AudioGen)- Web Demo: [https://nieeim.github.io/Dasheng-AudioGen-Web/](https://nieeim.github.io/Dasheng-AudioGen-Web/)- Multilingual variant: [mispeech/Dasheng-AudioGen-Multilingual](https://huggingface.co/mispeech/Dasheng-AudioGen-Multilingual)9 unmodified lines## Usage### Python API```python20 unmodified lines212223242526279 unmodified lines37383940414243444546474849505152535420 unmodified linesThis is the checkpoint evaluated in the paper, using `google/flan-t5-large` as the text encoder.- GitHub: [https://github.com/xiaomi-research/dasheng-audiogen](https://github.com/xiaomi-research/dasheng-audiogen)- Demo: [https://huggingface.co/spaces/mispeech/Dasheng-AudioGen](https://huggingface.co/spaces/mispeech/Dasheng-AudioGen)- Web Demo: [https://nieeim.github.io/Dasheng-AudioGen-Web/](https://nieeim.github.io/Dasheng-AudioGen-Web/)- Multilingual variant: [mispeech/Dasheng-AudioGen-Multilingual](https://huggingface.co/mispeech/Dasheng-AudioGen-Multilingual)9 unmodified lines## Usage### Installation```bashgit clone https://github.com/xiaomi-research/dasheng-audiogen.gitcd dasheng-audiogenconda create -n dasheng-audiogen python=3.10conda activate dasheng-audiogenpip install -r requirements.txt```> torch 2.8.0+cu128 is recommended.### Python API```python
5 unmodified lines67891011129 unmodified lines2223242526275 unmodified lines本模型是论文中评估使用的版本,文本编码器为 `google/flan-t5-large`。- GitHub: [https://github.com/nicollasm/Dasheng-AudioGen](https://github.com/nicollasm/Dasheng-AudioGen)- Demo: [https://huggingface.co/spaces/mispeech/Dasheng-AudioGen](https://huggingface.co/spaces/mispeech/Dasheng-AudioGen)- Web Demo: [https://nieeim.github.io/Dasheng-AudioGen-Web/](https://nieeim.github.io/Dasheng-AudioGen-Web/)- 多语言版本: [mispeech/Dasheng-AudioGen-Multilingual](https://huggingface.co/mispeech/Dasheng-AudioGen-Multilingual)9 unmodified lines## 使用方法### Python API```python5 unmodified lines67891011129 unmodified lines2223242526272829303132333435363738395 unmodified lines本模型是论文中评估使用的版本,文本编码器为 `google/flan-t5-large`。- GitHub: [https://github.com/xiaomi-research/dasheng-audiogen](https://github.com/xiaomi-research/dasheng-audiogen)- Demo: [https://huggingface.co/spaces/mispeech/Dasheng-AudioGen](https://huggingface.co/spaces/mispeech/Dasheng-AudioGen)- Web Demo: [https://nieeim.github.io/Dasheng-AudioGen-Web/](https://nieeim.github.io/Dasheng-AudioGen-Web/)- 多语言版本: [mispeech/Dasheng-AudioGen-Multilingual](https://huggingface.co/mispeech/Dasheng-AudioGen-Multilingual)9 unmodified lines## 使用方法### 安装```bashgit clone https://github.com/xiaomi-research/dasheng-audiogen.gitcd dasheng-audiogenconda create -n dasheng-audiogen python=3.10conda activate dasheng-audiogenpip install -r requirements.txt```> 推荐使用 torch 2.8.0+cu128。### Python API```python
README.md+13-1
README_zh.md+13-1