Module model

Source
Expand description

Large language model traits and types

Modules§

common
Common functions for model evaluation

Structs§

ModelParameters
Parameters for tuning model instances
OutputRequest
Used in a call to Model::evaluate or InferenceSession::infer to request information from the model. If a value is set to Some, the Vec will be cleared, resized, and filled with the related data.

Enums§

HyperparametersWriteError
Reported from functions that write

Traits§

Hyperparameters
Implemented by model hyperparameters for interacting with hyperparameters without knowing what they are, as well as writing/reading them as required.
KnownModel
Interfaces for creating and interacting with a large language model with a known type of hyperparameters.
Model
A type-erased model to allow for interacting with a model without knowing its hyperparameters.