speechVariantOf function

Lfm3SpeechVariant speechVariantOf(
  1. GgufFile mmproj
)

The model a speech mmproj belongs to. Omni mmprojs also carry the LFM3-VL vision tower and projector.

Implementation

Lfm3SpeechVariant speechVariantOf(GgufFile mmproj) =>
    mmproj.metadata['clip.vision.projector_type'] == 'lfm3vl'
    ? Lfm3SpeechVariant.omni
    : Lfm3SpeechVariant.audio;