FlamingoOptions
Options & Configuration · AiDotNet.NeuralNetworks.Options
Configuration options for the FlamingoNeuralNetwork.
Inheritance: ModelOptions → NeuralNetworkOptions → ModelHyperparameterOptions → VisionLanguageInputOptions → VisionLanguageModelOptions → FlamingoOptions
Constructors
| Constructor | Summary |
|---|---|
FlamingoOptions() |
Initializes a new instance of the FlamingoOptions class carrying this model’s shipped defaults. |
Properties
| Property | Summary |
|---|---|
LanguageModelBackbone LanguageModelBackbone { get; set; } |
Gets or sets the language model backbone. |
double LearningRate { get; set; } |
Gets or sets the learning rate. |
int LmHiddenDim { get; set; } |
Gets or sets the lm hidden dim. |
int MaxImagesInContext { get; set; } |
Gets or sets the max images in context. |
int NumLmLayers { get; set; } |
Gets or sets the number of language-model transformer layers. |
int NumPerceiverLayers { get; set; } |
Gets or sets the num perceiver layers. |
int NumPerceiverTokens { get; set; } |
Gets or sets the num perceiver tokens. |
Methods
| Method | Summary |
|---|---|
void Validate() |
Throws if a value this model requires has been left unset or is not positive. |