type ModelDescription struct {
Dimensions uint
Context uint
Quantization Scalar
MemoryUsage uint
CPUClass CPUClass
GPUClass GPUClass
TokenWidth uint
ChoiceTemperatureGroups uint
} Mirrors uform_model_description_t field for field, so the library writes it in place.
Fields
Dimensions | uint | Dimensions is the scalars per embedding row; Matryoshka prefixes of it are embeddings too. |
|---|---|---|
Context | uint | Context is the tokens one item may span before it is truncated: bytes of text, patches of an image, tubes of a clip, frames of a recording. |
Quantization | Scalar | Quantization is the scalar the transformer blocks run in. |
MemoryUsage | uint | MemoryUsage is the bytes the model holds; activations are the executor's. |
CPUClass | CPUClass | CPUClass is the class a RAM model's tower was packed for, CPUClassUnknown for a VRAM model. |
GPUClass | GPUClass | GPUClass is the class every replica of a VRAM model runs as, GPUClassUnknown for a RAM model. |
TokenWidth | uint | TokenWidth is the scalars per token vector, zero when the checkpoint carries no token head. |
ChoiceTemperatureGroups | uint | ChoiceTemperatureGroups counts the question types the choice temperatures were calibrated over: zero without the byte decoder, one when uncalibrated. |