VideoCLIPVideoOptions

Options & Configuration · AiDotNet.Video.Options

Configuration options for the VideoCLIP video understanding model.

Inheritance: ModelOptions → NeuralNetworkOptions → ModelHyperparameterOptions → VideoHyperparameterOptions → VideoCLIPVideoOptions

Constructors

Constructor Summary
VideoCLIPVideoOptions() Initializes a new instance of the VideoCLIPVideoOptions class carrying this model’s shipped defaults.

Properties

Property Summary
double Beta1 { get; set; } Gets or sets Adam’s first-moment decay.
double Beta2 { get; set; } Gets or sets Adam’s second-moment decay.
double DecayPower { get; set; } Gets or sets the exponent of the polynomial decay that follows warm-up.
double LearningRate { get; set; } Gets or sets the learning rate used by the default Adam optimizer.
double MaxGradientNorm { get; set; } Gets or sets the gradient-clipping norm.
double Temperature { get; set; } Gets or sets the temperature.
int EmbeddingDim { get; set; } Gets or sets the embedding dim.
int HiddenDim { get; set; } Gets or sets the hidden dim.
int HiddenDimension { get; set; } Gets or sets the hidden width of the video and text encoders.
int NumSpatialBlocks { get; set; } Gets or sets the number of spatial video encoder blocks.
int NumTemporalBlocks { get; set; } Gets or sets the number of temporal video encoder blocks.
int NumTextBlocks { get; set; } Gets or sets the number of text transformer blocks.
int TextMaxLength { get; set; } Gets or sets the text max length.
int TotalTrainingSteps { get; set; } Gets or sets the total optimizer steps the decay schedule spans.
int VocabSize { get; set; } Gets or sets the vocab size.
int WarmupSteps { get; set; } Gets or sets the number of linear warm-up steps before decay begins.
string MergesPath { get; set; } Gets or sets the merges path.
string VocabPath { get; set; } Gets or sets the vocab path.

Methods

Method Summary
void Validate() Throws if a value this model requires has been left unset or is not positive.