Instructions to use unity/inference-engine-whisper-tiny with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- unity-sentis
How to use unity/inference-engine-whisper-tiny with unity-sentis:
string modelName = "[Your model name here].sentis"; Model model = ModelLoader.Load(Application.streamingAssetsPath + "/" + modelName); IWorker engine = WorkerFactory.CreateWorker(BackendType.GPUCompute, model); // Please see provided C# file for more details
- Notebooks
- Google Colab
- Kaggle
Fix wrong tensor shape leading to words duplication
#11
by dmitry-yudakov - opened
The initial context tokens are 3 but the tensor shape is set to [1,2] - after the inference step the next token is set to the correct position but the shape is again with 1 less than it should be.
It leads to words doubling and seemingly hallucinations even with the provided audio sample.