Text-to-Audio
Transformers
Safetensors
qadit
feature-extraction
diffusion
dit
audio
educational
research
custom_code
Instructions to use QuarkML/QaDiT-160 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use QuarkML/QaDiT-160 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-to-audio", model="QuarkML/QaDiT-160", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("QuarkML/QaDiT-160", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -38,7 +38,7 @@ model = AutoModel.from_pretrained("QuarkML/QaDiT", trust_remote_code=True)
|
|
| 38 |
model = model.to("cuda" if torch.cuda.is_available() else "cpu").eval()
|
| 39 |
|
| 40 |
out = model.generate(
|
| 41 |
-
"A
|
| 42 |
num_inference_steps=50,
|
| 43 |
guidance_scale=4.0,
|
| 44 |
seed=0,
|
|
|
|
| 38 |
model = model.to("cuda" if torch.cuda.is_available() else "cpu").eval()
|
| 39 |
|
| 40 |
out = model.generate(
|
| 41 |
+
"A small waterfall flows through a forest while insects buzz and birds sing.",
|
| 42 |
num_inference_steps=50,
|
| 43 |
guidance_scale=4.0,
|
| 44 |
seed=0,
|