jadechoghari
commited on
Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: diffusers
|
3 |
+
tags:
|
4 |
+
- music
|
5 |
+
---
|
6 |
+
|
7 |
+
# Hugging Face Diffusers Implementation of QA-MDT
|
8 |
+
**QADMT: Quality-Aware Diffusion for Text-to-Music 🎶**
|
9 |
+
|
10 |
+
QADMT brings a new approach to text-to-music generation by using quality-aware training to tackle issues like low-fidelity audio and weak labeling in datasets.
|
11 |
+
|
12 |
+
With a masked diffusion transformer (MDT), QADMT delivers SOTA results on MusicCaps and Song-Describer, enhancing both quality and musicality.
|
13 |
+
|
14 |
+
|
15 |
+
## Usage:
|
16 |
+
|
17 |
+
```bash
|
18 |
+
!git lfs install
|
19 |
+
!git clone https://huggingface.co/jadechoghari/qa-mdt
|
20 |
+
```
|
21 |
+
|
22 |
+
```python
|
23 |
+
from qa_mdt.pipeline import MOSDiffusionPipeline
|
24 |
+
|
25 |
+
pipe = MOSDiffusionPipeline(
|
26 |
+
config_yaml="qa_mdt/audioldm_train/config/mos_as_token/qa_mdt.yaml",
|
27 |
+
list_inference="qa_mdt/test_prompts/good_prompts_1.lst",
|
28 |
+
reload_from_ckpt="qamdt/checkpoints/checkpoint_389999.ckpt",
|
29 |
+
base_folder=None
|
30 |
+
)
|
31 |
+
|
32 |
+
pipe()
|
33 |
+
```
|