How do we generate the tokens after pip install kokoro?

#3
by Oscarchuncha - opened

How do we generate the tokens after pip install kokoro?

ONNX Community org
edited 16 days ago

You can do the following:

  1. Convert text to phonemes using https://github.com/hexgrad/misaki
  2. Map phonemes to input ids using https://huggingface.co/hexgrad/Kokoro-82M/blob/main/config.json#L34-L148

Will add this info to the README.

Sign up or log in to comment