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 - this one to see if scan broken on colab tpu too

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=100
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.0.5a1.tar.gz (15.9 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.5a1-py3-none-any.whl (15.7 kB view details)

Uploaded Python 3

File details

Details for the file diajax-0.0.5a1.tar.gz.

File metadata

  • Download URL: diajax-0.0.5a1.tar.gz
  • Upload date:
  • Size: 15.9 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.5a1.tar.gz
Algorithm Hash digest
SHA256 0e0d22e609d43e6e39175d4cb21eac202d0c3de47892829346502dfb11aaa8fb
MD5 9a3fe27c501fc8f31a201d3b259d87df
BLAKE2b-256 f3f03e89eba55a5e0e81b3d99b75cddf6d5cf19fe68e619a285fa8035d0f4325

See more details on using hashes here.

File details

Details for the file diajax-0.0.5a1-py3-none-any.whl.

File metadata

  • Download URL: diajax-0.0.5a1-py3-none-any.whl
  • Upload date:
  • Size: 15.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.5a1-py3-none-any.whl
Algorithm Hash digest
SHA256 bb315724e0c518408cf702d8117776c851e457bf42747df0cb153df5fded1d2e
MD5 74ea8bf193f97eab1aec23dc4ba4096f
BLAKE2b-256 8d567d2d9451f3c361259e465c5129be2f2c464265b10b6e090b84b0546a711a

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