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

Open In Colab

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

Quickstart

output.mp3

pip install -U 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=600
import diajax
model = diajax.load()
output = diajax.generate(model, "[S1] Dear Jacks, to generate audio from text from any machine. [S2] Any machine? (laughs) How? [S1] With flacks and an axe. (coughs)")
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.1.4a0.tar.gz (17.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.1.4a0-py3-none-any.whl (17.2 kB view details)

Uploaded Python 3

File details

Details for the file diajax-0.1.4a0.tar.gz.

File metadata

  • Download URL: diajax-0.1.4a0.tar.gz
  • Upload date:
  • Size: 17.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.1.4a0.tar.gz
Algorithm Hash digest
SHA256 d07563d8bd7052af5434f10991759ae885ea656ca006806384e3d0398adc7e14
MD5 aa5faae94b30f68fbdf53016200a0290
BLAKE2b-256 04edd4ccff10390bd84985d822479b840395f8f4c8d0e9082ea5dce3307362c7

See more details on using hashes here.

File details

Details for the file diajax-0.1.4a0-py3-none-any.whl.

File metadata

  • Download URL: diajax-0.1.4a0-py3-none-any.whl
  • Upload date:
  • Size: 17.2 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.1.4a0-py3-none-any.whl
Algorithm Hash digest
SHA256 6d6a80c924f9611452d0ed2404489c9287a2fbcda5d8007e5980f5034dcc98e6
MD5 976bdb06ef703c8df4a3e04793d8d41e
BLAKE2b-256 83e1ad2f9bdafcdc0c963e23e5332fb1207cc3b3ab3489ac870cf997cc1f8cd5

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