Run this model with HF Jobs

Run Sky-Kim/supertonic3-unity on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/Sky-Kim/supertonic3-unity. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/Sky-Kim/supertonic3-unity on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

supertonic3-tts-unity

Unity 6 demo for Supertonic 3 text-to-speech inference.

References:

Environment

  • Unity: 6000.4.5f1
  • Sentis: com.unity.ai.inference 2.6.1

Quick Start

  1. Open Assets/Scenes/SampleScene.unity.
  2. Select Supertonic TTS Player.
  3. In the Inspector, configure:
    • Language
    • Utterance Text
    • Voice Style Resource Name (M1 by default)
    • Total Step and Speed
  4. Enter Play mode.
  5. Use the runtime UI:
    • Startup warmup loads the FP16 .sentis models and runs a short silent dry run first, while the lower-right generation label shows the warmup state.
    • Select a language from the dropdown.
    • Select a voice style from the dropdown.
    • Enter the text to speak.
    • Click Play.

Custom Voices

You can create a custom Supertonic voice with Supertonic Voice Builder:

Voice Builder lets you record or upload source audio and create a downloadable voice-style JSON for Supertonic. To use a purchased/exported voice in this Unity demo, place the JSON file under Assets/StreamingAssets/Supertonic/VoiceStyles/. The runtime Voice Style Resource Name dropdown is populated from those JSON files by filename, so a file such as MyVoice.json appears as MyVoice.

Inference Pipeline

The Unity runner follows the official Supertonic inference contract through FP16 .sentis model files in StreamingAssets:

  1. duration_predictor_fp16.sentis
  2. text_encoder_fp16.sentis
  3. vector_estimator_fp16.sentis
  4. vocoder_fp16.sentis

The generated waveform is converted into a Unity AudioClip and played through the AudioSource on the demo GameObject.

Notes

  • Supported languages: en, ko, ja, ar, bg, cs, da, de, el, es, et, fi, fr, hi, hr, hu, id, it, lt, lv, nl, pl, pt, ro, ru, sk, sl, sv, tr, uk, vi
  • Supported bundled voices: F1-F5, M1-M5

License

This repository is a Unity integration demo around Supertonic 3 assets. The upstream Supertonic repository identifies its sample code as MIT-licensed, while the Supertonic 3 pre-trained model weights and related model assets are provided under the upstream OpenRAIL-M terms.

Downloads last month
22
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for Sky-Kim/supertonic3-unity

Finetuned
(17)
this model