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.3.tar.gz (14.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.0.3-py3-none-any.whl (14.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: diajax-0.0.3.tar.gz
  • Upload date:
  • Size: 14.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.0.3.tar.gz
Algorithm Hash digest
SHA256 11402e56dabe150075b2fe8340cf3749217b8b77232df0876c9702590e8489f7
MD5 1c7cfa4cce28c103329faf4a7e445f91
BLAKE2b-256 5b7e3aed0dc5daa6331b4d0e154b1f5e3a99a9f6d99615159d1a329f50b32908

See more details on using hashes here.

File details

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

File metadata

  • Download URL: diajax-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 14.7 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 904f06daea76a3051017619c08f26ab45578a47893b15e171d71cb62f4e3413f
MD5 06123dd3d844e2250763d4dd1288b2f1
BLAKE2b-256 9f0d6a868aa2b5b2304b6c7b4c09e498114b7a891946015aa5099112c7c6931b

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