Whisper-Tiny model in Unity Sentis (Version 1.4.0-pre.3*)
(*Sentis files from 1.3.0 and earlier will not be compatible and would need to be recreated.)
This is the
Whisper Tiny
model tested to work in Unity 2023. It is a speech-to-text model. You feed in a 16kHz wav file and it outputs the best guess for what was said in the audio.
How to Use
Open a new scene in Unity 2023
Import package
com.unity.sentis
version
1.4.0-pre.3
from the package manager.
Put the
RunWhisper.cs
on the Main Camera
Put the *.sentis files and the
vocab.json
in the Assets/StreamingAssets folder
Add a 16kHz mono audio file up to 30 seconds long to your project and drag on to the audioClip field.
IMPORTANT:
The audio must be 16kHz. In the audio inspector select "Force Mono". And "Decompress on Load".
You can add a step to convert 44kHz or 22kHz audio to 16kHz with
this model
When you press play the transcription of the audio will be displayed in the console window.
Languages
The output starts with 4 tokens which you can set. One token specifies the input language. One token specifies whether it is straight transcription into the specified language or if it is translated to English. See
here
for more details.
These special tokens are defined in the added_tokens.json file.
Runs of unity sentis-whisper-tiny on huggingface.co
283
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
0
30-day runs
More Information About sentis-whisper-tiny huggingface.co Model
sentis-whisper-tiny huggingface.co is an AI model on huggingface.co that provides sentis-whisper-tiny's model effect (), which can be used instantly with this unity sentis-whisper-tiny model. huggingface.co supports a free trial of the sentis-whisper-tiny model, and also provides paid use of the sentis-whisper-tiny. Support call sentis-whisper-tiny model through api, including Node.js, Python, http.
sentis-whisper-tiny huggingface.co is an online trial and call api platform, which integrates sentis-whisper-tiny's modeling effects, including api services, and provides a free online trial of sentis-whisper-tiny, you can try sentis-whisper-tiny online for free by clicking the link below.
unity sentis-whisper-tiny online free url in huggingface.co:
sentis-whisper-tiny is an open source model from GitHub that offers a free installation service, and any user can find sentis-whisper-tiny on GitHub to install. At the same time, huggingface.co provides the effect of sentis-whisper-tiny install, users can directly use sentis-whisper-tiny installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
sentis-whisper-tiny install url in huggingface.co: