MiniGPTv2Options

Options & Configuration · AiDotNet.VisionLanguage.InstructionTuned

Options for MiniGPT-v2 (multi-task with task-specific tokens, LLaMA-2 backbone).

Inheritance: ModelOptions → GenerativeVLMOptions → InstructionTunedVLMOptions → MiniGPTv2Options

Constructors

Constructor Summary
MiniGPTv2Options() Initializes a new instance with default values.
MiniGPTv2Options(MiniGPTv2Options other) Initializes a new instance by copying from another instance.

Properties

Property Summary
int NumQFormerHeads { get; set; } Gets or sets the number of Q-Former attention heads.
int NumQFormerLayers { get; set; } Gets or sets the number of Q-Former layers.
int NumQueryTokens { get; set; } Gets or sets the number of learnable query tokens.
int QFormerDim { get; set; } Gets or sets the Q-Former dimension.