Skip to main content

ollama_profile

Function ollama_profile 

Source
pub fn ollama_profile(
    has_projector: bool,
    architecture: Option<&str>,
) -> GgufArchitectureProfile
Expand description

The profile for an Ollama model: vision when it ships a projector, otherwise the profile of architecture, the one its weight blob’s GGUF header names, if recognized, else the plain chat default.