Gguf

A GGUF file.

Constructors

Link copied to clipboard
constructor(header: GgufModelHeader)

Properties

Link copied to clipboard
open override val contextLength: Long?

training context (LLMs) or text context (Whisper), or null.

Link copied to clipboard

pre-load peak RAM estimate with default options.

Link copied to clipboard
open override val format: ModelFormat

the file format.

Link copied to clipboard

the parsed GGUF header.

Link copied to clipboard
open override val parameterCount: Long

total tensor elements.

Link copied to clipboard
open override val quantization: String?

quantization label (for example Q4_K_M, F16), or null if unknown.