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.4.tar.gz (17.7 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.4-py3-none-any.whl (17.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: diajax-0.1.4.tar.gz
  • Upload date:
  • Size: 17.7 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.4.tar.gz
Algorithm Hash digest
SHA256 85e1c40f84adc4271b40560bb08e26ad99b2e94a76116b105eb01736e6c89ba9
MD5 31def1d2cccaa73f13a040b51985d349
BLAKE2b-256 1af7e024b36d063138214289c1e7e3b7ecf3c7d506057c7796bc3896a6506535

See more details on using hashes here.

File details

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

File metadata

  • Download URL: diajax-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 17.4 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 0d49c6c69c1010352b86cb2813566842992a489abccebcfeede9ba9ef80d10c8
MD5 a7cedf50ccdfab917ff754d78f4b98d9
BLAKE2b-256 cb967382f906abd415728efcc852eb0b3e0a78ec760164d5d4b023a51d14d4aa

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