OllamaModelCard
Represents metadata and configuration details about an Ollama model card. This class contains descriptive properties about the model, such as its name, family of models it belongs to, capabilities it supports, and specific technical attributes like parameter count and size.
Properties
A list of capabilities supported by the model, represented as instances of the LLMCapability
class. This provides details on functionalities such as tools , embeddings, and specific processing abilities.
The maximum context length supported by the model, defining how much text input the model can process at once.
The size of the embedding vector produced by the model, if applicable.
Returns the model name without any associated tags. This property extracts and provides a clean version of the name
property from the OllamaModelCard
by removing any tags or additional decorations.
The number of parameters in the model, indicating its complexity or capacity.
The quantization level of the model, describing any compression or optimization techniques applied to the model weights.