Model

GGUF.ModelType
Model

Represents a GGUF model. It contains the metadata and the tensor data.

See also: open

source
GGUF.metadataFunction
metadata(m::Model)

Returns the metadata of the given model.

The metadata is a dictionary with the keys being the metadata keys and the values being the metadata values.

The metadata values can be of the following types:

  • UInt8
  • UInt16
  • UInt32
  • UInt64
  • Int8
  • Int16
  • Int32
  • Int64
  • Float32
  • Float64
  • Bool
  • String
  • Array of the above types

Types are defined in the MetadataValueType enum.

source