Qwen2TextConditionerOptions
Options & Configuration · AiDotNet.Diffusion.Conditioning
Configuration options for the Qwen2TextConditioner text conditioner.
Inheritance: ModelOptions → NeuralNetworkOptions → ModelHyperparameterOptions → TextConditionerOptions → Qwen2TextConditionerOptions
How It Works
Introduced by issue #2090: the variant was a constructor parameter, so the conditioner advertised no configuration surface and nothing could be set through an options object.
Constructors
| Constructor | Summary |
|---|---|
Qwen2TextConditionerOptions() |
Properties
| Property | Summary |
|---|---|
Qwen2Variant Variant { get; set; } |
Gets or sets which published size of the model to build. |
int? NumKvHeads { get; set; } |
Key/value heads for grouped-query attention; must divide NumHeads. |
Methods
| Method | Summary |
|---|---|
void Validate() |
Throws when a value on this instance cannot produce a working conditioner. |