Skip to content

jakeatmsft/whisper-azureml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

whisper-azureml

Introduction

Whisper is a state-of-the-art speech to text model developed by OpenAI and recently released to the public. It is easy to use and offers very accurate results for Speech-To-Text processing in a variety of environments. This library serves to enable deployment of the Whisper models in AzureML using Managed Endpoints to provide easy, scalable, and performant inferencing of the models.

Pre-requisites

Steps

  • Pull Down Repository
  • Deploy Environment Setup
    • Navigate to the "notebooks" folder and begin by opening the CreateEnvironment
    • Run the first cell to load the Whisper model and save it in your local environment.
      • Please note that even if the model fails to load in your development environment, check the "models" folder to see if the file has been downloaded. If the model file is present please proceed to the next step.
    • Next run cells to connect to AzureML Workspace and deploy the model as well as the inferencing environment.
  • Deploy Managed Endpoint
    • Navigate to the "deploy" folder and run the "deploy.sh" bash script to deploy the model:
      • The script will first deploy a "Managed Endpoint" that will serve as an access point for inferencing.
      • Then the script will create a "Deployment" to the "Managed Endpoint" that contains the actual model to be used.
  • Test the model by opening the "test-whisper-endpoint.ipynb":
    • Fill in the endpoint details from the deployment.
    • Run notebook to encode the "sample1.flac" audio and submit the audio file for Speech-To-Text recognition.
    • Analyze the result of the recognition in the response to validate that the model is working as expected.

References

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published