Class LM.LoadingOptions
Represents options for loading a model, allowing customization of the loading process.
public sealed class LM.LoadingOptions
- Inheritance
-
LM.LoadingOptions
- Inherited Members
Properties
- LoadTensors
Gets or sets a value indicating whether model weights should be loaded. Setting this property to false allows for quicker access to model properties like metadata and vocabulary without loading the weights.
- MetadataOverrides
Gets or sets a collection of metadata overrides to apply during the model loading process.
Methods
- Clone()
Creates a deep clone of the current LM.LoadingOptions instance.