Skip to main content

Dia-JAX: A JAX port of Dia, the text-to-speech model for generating realistic dialogue from text with emotion and tone control.

Project description

Dia-JAX

An experimental JAX port of Dia, the 1.6B parameter text-to-speech model from Nari Labs

Quickstart

Note: Currently only recommended for experimental/development use due to memory issues

output.mp3

pip install diajax
dia --text "[S1] Dear Jacks, to generate audio from text from any machine. [S2] Any machine? (gasps) How? [S1] With flakes and an axe. (chuckle) " --max-tokens=100
import diajax
model, config = diajax.load()
output = diajax.generate(model, config, text)
diajax.save(output)

Acknowledgments

This project is a port of the original Dia model by Nari Labs. We thank them for releasing their model and code, which made this port possible.

License

This project is licensed under the same terms as the original Dia model. See LICENSE for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

diajax-0.0.2.tar.gz (14.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

diajax-0.0.2-py3-none-any.whl (14.5 kB view details)

Uploaded Python 3

File details

Details for the file diajax-0.0.2.tar.gz.

File metadata

  • Download URL: diajax-0.0.2.tar.gz
  • Upload date:
  • Size: 14.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for diajax-0.0.2.tar.gz
Algorithm Hash digest
SHA256 f8e6a56e7c5cd259986ce07a98593e563c1525af45c280156031e744a75ccd5c
MD5 3bf60d1b07b1be882ca35a7a54727a68
BLAKE2b-256 eea2fcf0ce09b97b4e516e8e5b4a6ccbdc1d1c68aa9a331d3a85ee369bf0d790

See more details on using hashes here.

File details

Details for the file diajax-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: diajax-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 14.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for diajax-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 bd33e1b28e0a70e8e3cfdbb54c6e117b46c8d8d2b2ebd7b7985a581a49a7d431
MD5 b6e184313795eb0ddc3e57160f632b58
BLAKE2b-256 a7b432f50aab696b6e2c6695b543919b940e6f11b5bb0bb0ea0086347066132a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page