WhisperHyperParameters
data class WhisperHyperParameters(val vocabularySize: Int, val audioContext: Int, val audioState: Int, val audioHeads: Int, val audioLayers: Int, val textContext: Int, val textState: Int, val textHeads: Int, val textLayers: Int, val melBands: Int, val fileTypeId: Int, val quantizationVersion: Int)(source)
Hyper-parameters of a whisper.cpp ggml model file (whisper_hparams, in file order).
Constructors
Properties
Link copied to clipboard
n_audio_ctx: encoder positions (1500 = 30 s of audio).
Link copied to clipboard
n_audio_head: encoder attention heads.
Link copied to clipboard
n_audio_layer: encoder layers (identifies the model size, see WhisperModelHeader.modelType).
Link copied to clipboard
n_audio_state: encoder width.
Link copied to clipboard
ggml_ftype with the quantization version factor removed.
Link copied to clipboard
GGML_QNT_VERSION the file was quantized with (0 for unquantized files).
Link copied to clipboard
n_text_ctx: decoder positions.
Link copied to clipboard
n_text_layer: decoder layers.
Link copied to clipboard
n_vocab: tokens in the vocabulary.