Skip to main content
This guide uses AssemblyAI and Nvidia’s NeMo framework. We’ll be using TitaNet, a state of the art open source model that is trained for speaker recognition tasks. TitaNet will allow us to generate audio embeddings for speakers, which can be used to identify semantic similarity matches between two speakers.

Quickstart

Get Started

Before we begin, make sure you have an AssemblyAI account and an API key. You can sign up for an AssemblyAI account and get your API key from your dashboard.

Step-by-step instructions

Install Dependencies

AssemblyAI Setup, Transcript Setup, and Load the Model Using NeMO

In this section, we’ll import dependencies and add functions to transcribe and store transcript IDs if needed.

Helper Functions

The function below requests a transcript based on a transcript ID.
Our main inference function will make use of these functions:

Inference

Add the links to the WAV file clips you have stored on your server.

New Clip Utterances

The clip utterances returned by the process_clips function will contain the corrected utterances, which can be seen by printing out the utterances or by using the display_transcript function.

Additional Resources