FastTextOptions
Options & Configuration · AiDotNet.NeuralNetworks.Options
Configuration options for the FastText model.
Inheritance: ModelOptions → NeuralNetworkOptions → ModelHyperparameterOptions → EmbeddingModelOptions → FastTextOptions
Constructors
| Constructor | Summary |
|---|---|
FastTextOptions() |
Initializes a new instance of the FastTextOptions class carrying this model’s shipped defaults. |
Properties
| Property | Summary |
|---|---|
int BucketSize { get; set; } |
Gets or sets the bucket size. |
int MaxNgramLength { get; set; } |
Gets or sets the longest character n-gram a word is split into; 0 turns subwords off. |
int MinNgramLength { get; set; } |
Gets or sets the shortest character n-gram a word is split into. |
Methods
| Method | Summary |
|---|---|
void Validate() |
Throws if a value this model requires has been left unset or is not positive. |