Instructions to use Fabisch/Dia2-2B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Dia2
How to use Fabisch/Dia2-2B with Dia2:
from dia2 import Dia2, GenerationConfig, SamplingConfig dia = Dia2.from_repo("Fabisch/Dia2-2B", device="cuda", dtype="bfloat16") config = GenerationConfig( cfg_scale=2.0, audio=SamplingConfig(temperature=0.8, top_k=50), use_cuda_graph=True, ) result = dia.generate("[S1] Hello Dia2!", config=config, output_wav="hello.wav", verbose=True) - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- 64dff3f85e97ec3cf336b4d16d9fd0a3fe3786d4d3f6a1e5b614a665888350ba
- Size of remote file:
- 507 kB
- SHA256:
- 105a36923d4ba608173c7c0ed6c6b02879d81dae79bf9fbdc7d6be6dd123b844
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.