yum-archive/TaSTT-Whisper

High-performance GPGPU inference of OpenAI's Whisper automatic speech recognition (ASR) model

git clone https://git.yummers.dev/yum-archive/TaSTT-Whisper

KonstantinSource codes8c4603c

master
690 B25 linesraw
1#pragma once
2
3namespace Whisper
4{
5	struct SpecialTokens
6	{
7		// The end of a transcription, token_eot
8		int TranscriptionEnd;
9		// Start of a transcription, token_sot
10		int TranscriptionStart;
11		// Represents the previous word in the transcription. It is used to help the model predict the current word based on the context of the words that came before it.
12		int PreviousWord;   // token_prev
13		// Start of a sentence
14		int SentenceStart;   // token_solm
15		//Represents the word "not" in the transcription
16		int Not;    // token_not
17		//New transcription
18		int TranscriptionBegin;    // token_beg
19
20		// token_translate
21		int TaskTranslate;
22		// token_transcribe
23		int TaskTranscribe;
24	};
25}