MatryoshkaEmbeddingOptions

Options & Configuration · AiDotNet.NeuralNetworks.Options

Configuration options for the Matryoshka Embedding model.

Inheritance: ModelOptions → NeuralNetworkOptions → ModelHyperparameterOptions → EmbeddingModelOptions → TransformerEmbeddingOptions → MatryoshkaEmbeddingOptions

Constructors

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

Properties

Property Summary
int[] NestedDimensions { get; set; } Gets or sets the nesting ladder — the prefix widths a single embedding can be truncated to (Kusupati et al.

Methods

Method Summary
void Validate() Throws if the nesting ladder cannot be honoured by an embedding of EmbeddingDimension.