This is the Whisper Tiny model running in Unity 6 with Inference Engine. It is a speech-to-text model that transcribes 16kHz wav audio to text.
com.unity.ai.inference from the package manager;RunWhisper.cs script to the Main Camera;decoder_model.onnx asset from the models folder into the Audio Decoder 1 field;decoder_with_past_model.onnx asset from the models folder into the Audio Decoder 2 field;encoder_model.onnx asset from the models folder into the Audio Encoder field;logmel_spectrogram.onnx asset from the models folder into the Log Mel Spectro field;vocab.json asset from the data folder into the Vocab Asset field;data/answering-machine16kHz.wav to the Audio Clip field. Ensure the Normalize flag is set on asset import for best results.Enter play mode. If working correctly the transcribed audio will be logged to the console.
Inference Engine is a neural network inference library for Unity. Find out more here.
models/decoder_model.onnx 198 MBmodels/decoder_with_past_model.onnx 193 MBmodels/encoder_model.onnx 33 MBmodels/logmel_spectrogram.onnx 1 MB